Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .circleci/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,20 @@ jobs:
command: echo "export IMAGE_TO_USE=docker.io/security-sample:v1" >> "${BASH_ENV}"
- security/generate_sbom:
image: ${IMAGE_TO_USE}
out_path: /tmp/sample-sbom.json
- run:
name: Check SBOM output
command: |
if [ ! -f "/tmp/sample-sbom.json" ]; then
if [ ! -f "/tmp/security-orb/output/sbom.json" ]; then
echo "SBOM output not found"
exit 1
fi
- security/assess_image:
image: ${IMAGE_TO_USE}
severity: critical
report_path: /tmp/sample-vuln-report.json
- run:
name: Check vulnerability report
command: |
if [ ! -f "/tmp/sample-vuln-report.json" ]; then
if [ ! -f "/tmp/security-orb/output/image-findings.json" ]; then
echo "Vulnerability report not found"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion src/commands/assess_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ parameters:
conforming ot the CycloneDX specification.
report_path:
type: string
default: /tmp/vuln-report.json
default: /tmp/security-orb/output/image-findings.json
description: Path to the file to write the vulnerability report to.

steps:
Expand Down
2 changes: 1 addition & 1 deletion src/commands/generate_sbom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ parameters:
conforming to the CycloneDX specification.
out_path:
type: string
default: /tmp/sbom.json
default: /tmp/security-orb/output/sbom.json
description: Path to the file to write the SBOM report to.
exclude:
type: string
Expand Down