Skip to content

Commit

Permalink
fix #453 by providing an optional nvdApiKey to dependency-check
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Oct 31, 2024
1 parent 67e2d5c commit 037ce31
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions components/producers/dependency-check/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ metadata:
v1.smithy.smithy-security.com/test-type: sca
spec:
description: Generate a Dependency-Check report from source code.
params:
- name: producer-dependency-check-nvd-api-key
type: string
default: ""
volumes:
- name: scratch
emptyDir: {}
Expand All @@ -19,6 +23,8 @@ spec:
image: owasp/dependency-check:10.0.3
command: [/usr/share/dependency-check/bin/dependency-check.sh]
args:
- --nvdApiKey
- $(params.producer-dependency-check-nvd-api-key)
- -f
- JSON
- -o
Expand Down

0 comments on commit 037ce31

Please sign in to comment.