From 0db749dff8c872181282b2bf595ac4aeac4913b8 Mon Sep 17 00:00:00 2001 From: Ruud Senden <8635138+rsenden@users.noreply.github.com> Date: Wed, 11 Sep 2024 15:29:44 +0200 Subject: [PATCH] chore: Various fixes --- internal/run-script/scripts/fod-scan.sh | 2 +- internal/run-script/scripts/sc-sast-and-debricked-scan.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/run-script/scripts/fod-scan.sh b/internal/run-script/scripts/fod-scan.sh index 8f66ea1..aa5d419 100755 --- a/internal/run-script/scripts/fod-scan.sh +++ b/internal/run-script/scripts/fod-scan.sh @@ -30,7 +30,7 @@ This section provides a status overview of the scans types supported by this Git | SAST | ${SAST_SCAN_STATUS} | ${SAST_PUBLISH_STATUS} | If any of the statuses shows \`FAILED\`, please review job logs to identify the cause of the failure. If any of the statuses -shows \`FAILED\` or \`SKIPPED\`, the corresponding details listed in the summary below (if enabled) may represent older scan results. +shows \`FAILED\` or \`SKIPPED\`, the corresponding details listed in the summary below may represent older scan results. EOF run "JOB_SUMMARY" "${FCLI_CMD}" fod action run "${JOB_SUMMARY_ACTION:-release-summary}" \ diff --git a/internal/run-script/scripts/sc-sast-and-debricked-scan.sh b/internal/run-script/scripts/sc-sast-and-debricked-scan.sh index b1dc1e5..4aafce6 100755 --- a/internal/run-script/scripts/sc-sast-and-debricked-scan.sh +++ b/internal/run-script/scripts/sc-sast-and-debricked-scan.sh @@ -9,6 +9,7 @@ requireVar "SSC_APPVERSION" if [ "${DO_SC_SAST_SCAN}" == "true" ]; then requireSCSastSession requireVar "SC_SAST_SENSOR_VERSION" +fi if [ "${DO_DEBRICKED_SCAN}" == "true" ]; then requireDebrickedCLI requireVar "DEBRICKED_TOKEN" @@ -60,7 +61,7 @@ This section provides a status overview of the scans types supported by this Git | SCA | ${SAST_SCAN_STATUS} | ${SAST_SSC_PUBLISH_STATUS} | If any of the statuses shows \`FAILED\`, please review job logs to identify the cause of the failure. If any of the statuses -shows \`FAILED\` or \`SKIPPED\`, the corresponding details listed in the summary below (if enabled) may represent older scan results. +shows \`FAILED\` or \`SKIPPED\`, the corresponding details listed in the summary below may represent older scan results. EOF [ ! -z "${DEBRICKED_SCAN_RESULTS}" ] && cat <> $GITHUB_STEP_SUMMARY