2626
2727
2828 # modify this block to scan your intended artifact
29- - name : Scan container
29+ - name : Inspector Scan
3030 id : inspector
3131 uses : aws-actions/vulnerability-scan-github-action-for-amazon-inspector@main
3232 with :
@@ -40,13 +40,14 @@ jobs:
4040 artifact_path : ' ubuntu:14.04'
4141
4242 # If enabled, this setting will display Inspector's vulnerability scan findings
43- # as a GitHub actions job summary. See here for an example:
43+ # as a GitHub actions job summary. See here for an example summary :
4444 # https://github.com/aws-actions/vulnerability-scan-github-action-for-amazon-inspector/actions/runs/8800085041
45- display_vulnerability_findings : true
45+ display_vulnerability_findings : " enabled "
4646
47- # Set vulnerability thresholds; if the number of vulns is
48- # equal to or greater than any of the specified thresholds, set
49- # the 'vulnerability_threshold_exceeded' output flag to 1.
47+ # Set vulnerability thresholds; if the number of vulnerabilities is
48+ # equal to or greater than any of the specified thresholds, this
49+ # action will set the 'vulnerability_threshold_exceeded'
50+ # output flag to 1.
5051 critical_threshold : 1
5152 high_threshold : 1
5253 medium_threshold : 1
6970 - name : Display Inspector vulnerability scan results (CSV)
7071 run : cat ${{ steps.inspector.outputs.inspector_scan_results_csv }}
7172
72- # - name: Display Inspector vulnerability scan results (Markdown)
73- # run: cat ${{ steps.inspector.outputs.inspector_scan_results_markdown }}
73+ - name : Display Inspector vulnerability scan results (Markdown)
74+ run : cat ${{ steps.inspector.outputs.inspector_scan_results_markdown }}
7475
7576
7677 # The following steps illustrate how to
8384 ${{ steps.inspector.outputs.inspector_scan_results }}
8485 ${{ steps.inspector.outputs.inspector_scan_results_csv }}
8586 ${{ steps.inspector.outputs.artifact_sbom }}
86- # ${{ steps.inspector.outputs.inspector_scan_results_markdown }}
87+ ${{ steps.inspector.outputs.inspector_scan_results_markdown }}
8788
8889
8990 # This step illustrates how to add custom logic if
0 commit comments