Skip to content

Commit

Permalink
first step in fixing #453 by providing an optional nvdApiKey to depen…
Browse files Browse the repository at this point in the history
…dency-check
  • Loading branch information
northdpole committed Oct 30, 2024
1 parent 15fccdd commit fd4348a
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 fd4348a

Please sign in to comment.