File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,12 @@ jobs:
35
35
uses : aws-actions/vulnerability-scan-github-action-for-amazon-inspector@v1.1.3
36
36
with :
37
37
artifact_type : ' container'
38
- artifact_path : ' ubuntu:14.04 '
38
+ artifact_path : ' alpine:latest '
39
39
display_vulnerability_findings : " enabled"
40
- sbomgen_version : " 1.3.1 "
40
+ sbomgen_version : " 1.4.0 "
41
41
42
- - name : Display scan results
43
- run : cat ${{ steps.inspector.outputs.inspector_scan_results }}
42
+ - name : Display scan results (CSV)
43
+ run : cat ${{ steps.inspector.outputs.inspector_scan_results_csv }}
44
44
45
45
- name : Validate scan content
46
46
run : python3 validator/validate_inspector_scan.py --file ${{ steps.inspector.outputs.inspector_scan_results }}
Original file line number Diff line number Diff line change @@ -344,10 +344,6 @@ def install_sbomgen(args):
344
344
345
345
346
346
def write_pkg_vuln_report_csv (out_scan_csv , scan_result : exporter .InspectorScanResult ):
347
- if scan_result .total_vulns () == 0 :
348
- logging .info ("skipping package vulnerability CSV report because no vulnerabilities were detected" )
349
- return
350
-
351
347
csv_output = exporter .to_csv (scan_result )
352
348
353
349
logging .info (f"writing package vulnerability CSV report to: { out_scan_csv } " )
You can’t perform that action at this time.
0 commit comments