Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
33 changes: 33 additions & 0 deletions .github/workflows/run-ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,39 @@ jobs:
run: |
make security-scan-backend-image BACKEND_IMAGE_NAME=owasp/nest:backend-staging
make security-scan-frontend-image FRONTEND_IMAGE_NAME=owasp/nest:frontend-staging

- name: Generate SBOM for backend image
Comment thread
OM-JADHAV25 marked this conversation as resolved.
continue-on-error: true
run: |
docker run --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
-v "$PWD:/work" \
-v ./.trivy-cache:/root/.cache/trivy \
aquasec/trivy:0.69.1 image \
--format cyclonedx \
--output /work/backend-sbom.cdx.json \
owasp/nest:backend-staging

- name: Generate SBOM for frontend image
continue-on-error: true
run: |
docker run --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
-v "$PWD:/work" \
-v ./.trivy-cache:/root/.cache/trivy \
aquasec/trivy:0.69.1 image \
--format cyclonedx \
--output /work/frontend-sbom.cdx.json \
owasp/nest:frontend-staging

- name: Upload SBOM artifacts
if: always()
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
with:
name: staging-sboms
path: |
backend-sbom.cdx.json
frontend-sbom.cdx.json
timeout-minutes: 5

deploy-staging-nest:
Expand Down
3 changes: 3 additions & 0 deletions cspell/custom-dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ bangbang
boardofdirectors
bsky
carryforward
cdx
certbot
collectstatic
coraza
Expand All @@ -79,6 +80,7 @@ csrfguard
csrfprotector
csrftoken
cva
cyclonedx
defectdojo
demojize
dismissable
Expand Down Expand Up @@ -164,6 +166,7 @@ rsc
saft
sakanashi
samm
sbom
schemathesis
semgrep
seo
Expand Down