From 4cac9751f66934103176f0a6652f85c56ade9808 Mon Sep 17 00:00:00 2001 From: Umesh Kumar <166806589+TangoBeeAkto@users.noreply.github.com> Date: Thu, 2 Jan 2025 15:18:57 +0530 Subject: [PATCH] reduce issues limit in vulnerability report and update toast message for clarity --- .../testing/vulnerability_report/VulnerabilityReport.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/testing/vulnerability_report/VulnerabilityReport.jsx b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/testing/vulnerability_report/VulnerabilityReport.jsx index c145b6be07..47ec2b2751 100644 --- a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/testing/vulnerability_report/VulnerabilityReport.jsx +++ b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/testing/vulnerability_report/VulnerabilityReport.jsx @@ -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() @@ -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 } @@ -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) {