diff --git a/.github/workflows/amazon-inspector-image-scan.yml b/.github/workflows/amazon-inspector-image-scan.yml index 55a5e77..9aa9531 100644 --- a/.github/workflows/amazon-inspector-image-scan.yml +++ b/.github/workflows/amazon-inspector-image-scan.yml @@ -66,10 +66,10 @@ jobs: name: Retrieve Vulnerability Report run: > echo "report=$( - aws inspector-scan scan-sbom - --sbom file://"$inspector_sbomgen_output_path" - --endpoint "$inspector_scan_endpoint" - --region "$inspector_scan_region" + aws inspector-scan scan-sbom + --sbom file://"$inspector_sbomgen_output_path" + --endpoint "$inspector_scan_endpoint" + --region "$inspector_scan_region" )" >> $GITHUB_OUTPUT - name: Display report run: echo ${{ steps.scan_sbom.outputs.report }} \ No newline at end of file