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
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: npm test
env:
NODE_ENV: test
JWT_SECRET: "${{ secrets.JWT_SECRET }}"
JWT_SECRET: ci-test-demo-secret
STORAGE_BACKEND: json

- name: Check for vulnerabilities
Expand All @@ -50,10 +50,10 @@ jobs:
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: [REDACTED:high_entropy:21b90074]@v3
uses: docker/setup-buildx-action@v3

- name: Build image for scanning
uses: [REDACTED:high_entropy:3e3fdc23]@v5
uses: docker/build-push-action@v5
with:
context: .
push: false
Expand All @@ -68,6 +68,7 @@ jobs:
exit-code: 1
severity: CRITICAL,HIGH
ignore-unfixed: true
trivyignores: .trivyignore

- name: Trivy - Helm chart misconfiguration scan
uses: aquasecurity/trivy-action@master
Expand Down Expand Up @@ -106,7 +107,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: [REDACTED:high_entropy:21b90074]@v3
uses: docker/setup-buildx-action@v3

- name: Log in to GHCR
uses: docker/login-action@v3
Expand All @@ -125,7 +126,7 @@ jobs:
type=raw,value=latest

- name: Build and push
uses: [REDACTED:high_entropy:3e3fdc23]@v5
uses: docker/build-push-action@v5
with:
context: .
push: true
Expand Down
9 changes: 9 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Base image system npm vulnerabilities (node:lts-alpine)
# These are in /usr/local/lib/node_modules/npm/ — NOT app dependencies.
# Safe to ignore until the base image is updated.

# path-to-regexp: ReDoS via malformed URL parameters (system npm)
CVE-2026-4867

# picomatch: ReDoS via crafted extglob patterns (system npm)
CVE-2026-33671
4 changes: 2 additions & 2 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ securityContext:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: false
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000

Expand Down Expand Up @@ -84,7 +84,7 @@ env:

# Sensitive environment variables sourced from Kubernetes Secrets
# Create the secret first:
# kubectl create secret generic isms-builder-secrets [REDACTED:high_entropy:759cd97e]
# kubectl create secret generic isms-builder-secrets --from-literal=jwt-secret=YOUR_SECRET_HERE
secretEnv:
JWT_SECRET:
secretName: isms-builder-secrets
Expand Down
Loading