fix: Update API key reference in scan-vulnerabilities workflow to use environment variable for improved security
This commit is contained in:
1 parent
aa7852418b
commit
909a97bc5a
1 file changed
+1
-1
@@ -25,7 +25,7 @@ jobs:
|
||||
uses: DependencyTrack/gh-upload-sbom@v4
|
||||
with:
|
||||
server-hostname: "${{ vars.DT_HOSTNAME }}"
|
||||
api-key: "${{ secrets.DT_API_KEY }}"
|
||||
api-key: "${{ DT_API_KEY }}"
|
||||
project-name: "${{ github.repository }}"
|
||||
project-version: "latest"
|
||||
bom-filename: "sbom.json"
|
||||
|
||||
Reference in new issue
Block a user