Skip to content

Commit

Permalink
Merge pull request #577 from akto-api-security/hotfix/remove_export_v…
Browse files Browse the repository at this point in the history
…ulnerability_button

remove export vulnerability report from all places other than testing
  • Loading branch information
shivam-rawat-akto authored Sep 20, 2023
2 parents a229953 + ba13d24 commit 8db3eb3
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
color="var(--themeColorDark)"
text="Export vulnerability report"
@click="$emit('exportAsHTML')"
v-if="!hideDownloadCSVIcon"
v-if="showExportVulnerabilityButton"
/>
</div>
</template>
Expand Down Expand Up @@ -97,6 +97,7 @@ export default {
actions: obj.arrN,
allowNewRow: obj.boolN,
hideDownloadCSVIcon: obj.boolN,
showExportVulnerabilityButton: obj.boolN,
showName: obj.boolN,
showGridView:obj.boolN,
leftView:obj.boolN,
Expand Down
2 changes: 0 additions & 2 deletions apps/dashboard/web/src/apps/dashboard/tools/SelectorModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,6 @@ export default {
span_text: 'API',
items: [],
}
console.log(this.field1, this.field2)
}
},
customTest(newVal){
Expand Down
1 change: 0 additions & 1 deletion apps/dashboard/web/src/apps/dashboard/tools/TextEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,6 @@ export default {
if (!(this.mapRequestsToId[testId] && this.mapRequestsToId[testId].length > 0)) {
testId = Object.keys(this.mapRequestsToId)[0]
}
debugger
if (this.mapRequestsToId[testId] && this.mapRequestsToId[testId][0] && !doNotUpdateAPIjson) {
this.selectedUrl = {}
this.messageJson = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@
<script>
import obj from "@/util/obj"
import api from '../api'
import inventoryApi from "@/apps/dashboard/views/observe/inventory/api";
import func from "@/util/func";
export default {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
:dense="true"
@rowClicked="openDetails"
@exportAsHTML="exportAsHTML"
:showExportVulnerabilityButton="true"
>
<template #item.severity="{item}">
<sensitive-chip-group
Expand Down Expand Up @@ -111,7 +112,6 @@ import StackedChart from '@/apps/dashboard/shared/components/charts/StackedChart
import SimpleTable from '@/apps/dashboard/shared/components/SimpleTable'
import SensitiveChipGroup from '@/apps/dashboard/shared/components/SensitiveChipGroup'
import TestResultsDialog from "./TestResultsDialog";
import PDFExportHTML from "./PDFExportHTML.vue";
import WorkflowTestBuilder from '../../observe/inventory/components/WorkflowTestBuilder'
import Spinner from '@/apps/dashboard/shared/components/Spinner'
Expand Down Expand Up @@ -139,8 +139,7 @@ export default {
SensitiveChipGroup,
TestResultsDialog,
WorkflowTestBuilder,
Spinner,
PDFExportHTML,
Spinner
},
data () {
let endTimestamp = this.defaultEndTimestamp || func.timeNow()
Expand Down

0 comments on commit 8db3eb3

Please sign in to comment.