Skip to content

Commit

Permalink
Merge pull request #1894 from akto-api-security/hotfix/limit_issues_i…
Browse files Browse the repository at this point in the history
…n_vul_report

reduce issues limit in vulnerability report and update toast message …
  • Loading branch information
Ark2307 authored Jan 2, 2025
2 parents 047658f + 4cac975 commit 9ec09e8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const VulnerabilityReport = () => {
const [totalApisTested, setTotalApisTested] = useState(0)
const [subCategoryMap, setSubCategoryMap] = useState({})

const issuesLimit = 500
const issuesLimit = 200

const pdfRef = useRef()
const params = useParams()
Expand Down Expand Up @@ -121,7 +121,7 @@ const VulnerabilityReport = () => {
})
resultsCount += 50
if(vulnerableTestingRunResults.length >= issuesLimit) {
func.setToast(true, false, "Displaying the vulnerability report with only first " + issuesLimit + " issues.")
func.setToast(true, false, "Displaying the vulnerability report with only first " + issuesLimit + " issues. Apply filters to view more or export specific issues.")
break
}

Expand All @@ -148,7 +148,7 @@ const VulnerabilityReport = () => {
})
resultsCount += 50
if(vulnerableTestingRunResults.length >= issuesLimit) {
func.setToast(true, false, "Displaying the vulnerability report with only first " + issuesLimit + " issues.")
func.setToast(true, false, "Displaying the vulnerability report with only first " + issuesLimit + " issues. Apply filters to view more or export specific issues.")
break
}
if (testingRunCountsFromDB < 50 || resultsCount >= 1000) {
Expand Down

0 comments on commit 9ec09e8

Please sign in to comment.