ci: Make our security scans stricter

Our security scans previously alerted us on critical CVEs that have a
fix. In this commit, we ask to be alerted on CVEs that don't have a fix
yet, so that we can have them in our radar.

Since the introduction of these security checks, we have only once
encountered a case where our container was vulnerable to a CVE that
Alpine Linux had not fixed yet. This means that the maintenance burden
of this change will probably be minimal.
This commit is contained in:
Alex Pyrgiotis 2023-12-06 12:09:41 +02:00
parent 7fc797f913
commit 7f50ad2e48
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA
2 changed files with 8 additions and 8 deletions

View file

@ -22,7 +22,7 @@ jobs:
with:
image: "dangerzone.rocks/dangerzone:latest"
fail-build: false
only-fixed: true
only-fixed: false
severity-cutoff: critical
- name: Upload container scan report
uses: github/codeql-action/upload-sarif@v2
@ -36,7 +36,7 @@ jobs:
with:
image: "dangerzone.rocks/dangerzone:latest"
fail-build: true
only-fixed: true
only-fixed: false
severity-cutoff: critical
security-scan-app:
@ -52,7 +52,7 @@ jobs:
with:
path: "."
fail-build: false
only-fixed: true
only-fixed: false
severity-cutoff: critical
- name: Upload application scan report
uses: github/codeql-action/upload-sarif@v2
@ -66,5 +66,5 @@ jobs:
with:
path: "."
fail-build: true
only-fixed: true
only-fixed: false
severity-cutoff: critical

View file

@ -23,7 +23,7 @@ jobs:
with:
image: "dangerzone.rocks/dangerzone:latest"
fail-build: false
only-fixed: true
only-fixed: false
severity-cutoff: critical
- name: Upload container scan report
uses: github/codeql-action/upload-sarif@v2
@ -37,7 +37,7 @@ jobs:
with:
image: "dangerzone.rocks/dangerzone:latest"
fail-build: true
only-fixed: true
only-fixed: false
severity-cutoff: critical
security-scan-app:
@ -59,7 +59,7 @@ jobs:
with:
path: "."
fail-build: false
only-fixed: true
only-fixed: false
severity-cutoff: critical
- name: Upload application scan report
uses: github/codeql-action/upload-sarif@v2
@ -73,5 +73,5 @@ jobs:
with:
path: "."
fail-build: true
only-fixed: true
only-fixed: false
severity-cutoff: critical