Skip to content

Commit fd6ace6

Browse files
authored
Revert "QINT-18550: GitHub Action WAS: Update WAS Scan Report URL"
1 parent a7410c3 commit fd6ace6

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/main/java/com/example/GitHubActionsQWas/service/QualysWASScanBuilder.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,9 @@ public void launchWebApplicationScan() {
243243
if (this.cancelOptions) {
244244
message1 += ", 'CANCEL_OPTION:" + cancelOptions + "', 'CANCEL_HOURS:" + cancelHours + " hrs'";
245245
}
246-
247246
String message2 = "Scan successfully launched with scan id: " + scanId + " and scan name: " + service.getScanName();
248247
String message3 = "Please switch to WAS Classic UI and Check for report...";
249-
String message4 = "To check scan result, please follow the url: " + portalServer + "/was/#/reports/online-reports/email-report/scan/" + scanId;
248+
String message4 = "To check scan result, please follow the url: " + portalServer + "/portal-front/module/was/#forward=/module/was/&scan-report=" + scanId;
250249
logger.info(message1);
251250
logger.info(message2);
252251
if (this.waitForResult) {

src/main/java/com/example/GitHubActionsQWas/service/QualysWASScanStatusService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public String fetchScanStatus(String scanId, String scanType, boolean severityCh
3232
if ((endTime - startTime) > timeoutInMillis) {
3333
String message1 = "Failed to get scan result; timeout of " + TimeUnit.SECONDS.toMinutes(TIMEOUT) + " minutes reached.";
3434
String message2 = "Please switch to WAS Classic UI and Check for report...";
35-
String message3 = "To check scan result, please follow the url: " + portalUrl + "/was/#/reports/online-reports/email-report/scan/" + scanId;
35+
String message3 = "To check scan result, please follow the url: " + portalUrl + "/portal-front/module/was/#forward=/module/was/&scan-report=" + scanId;
3636
logger.info(message1);
3737
logger.info(message2);
3838
logger.info(message3);

0 commit comments

Comments
 (0)