File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22# # SPDX-License-Identifier: Apache-2.0
33# Performs a daily scan of:
4- # * The X-Ray Ruby SDK source code , using Trivy
4+ # * The X-Ray Ruby SDK published artifact dependencies , using Trivy
55# * Project dependencies, using DependencyCheck
66#
77# Publishes results to CloudWatch Metrics.
@@ -81,24 +81,24 @@ jobs:
8181 if : ${{ steps.dep_scan.outcome != 'success' }}
8282 run : less dependency-check-report.html
8383
84- - name : Perform high severity scan on built artifacts
84+ - name : Perform high severity scan on published artifact dependencies
8585 if : always()
8686 id : high_scan_latest
8787 uses : aquasecurity/trivy-action@97e0b3872f55f89b95b2f65b3dbab56962816478 # v0.34.2
8888 with :
8989 scan-type : ' fs'
90- scan-ref : ' . '
90+ scan-ref : ' scan-target/ '
9191 severity : ' CRITICAL,HIGH'
9292 exit-code : ' 1'
9393 scanners : ' vuln'
9494
95- - name : Perform low severity scan on built artifacts
95+ - name : Perform low severity scan on published artifact dependencies
9696 if : always()
9797 id : low_scan_latest
9898 uses : aquasecurity/trivy-action@97e0b3872f55f89b95b2f65b3dbab56962816478 # v0.34.2
9999 with :
100100 scan-type : ' fs'
101- scan-ref : ' . '
101+ scan-ref : ' scan-target/ '
102102 severity : ' MEDIUM,LOW,UNKNOWN'
103103 exit-code : ' 1'
104104 scanners : ' vuln'
You can’t perform that action at this time.
0 commit comments