Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.
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
2 changes: 1 addition & 1 deletion .github/workflows/ossf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard (optional).
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
- uses: github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # v4
- uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4
with:
sarif_file: results.sarif
26 changes: 13 additions & 13 deletions .github/workflows/scans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

- uses: bridgecrewio/checkov-action@81ec5eb0ef150170f3bda7759e3878fa1a5bd413 # master
- uses: bridgecrewio/checkov-action@f99709f8ccc3496220c987b7d8729653237c23dc # master
with:
soft_fail: ${{ github.event_name != 'pull_request' }}

- if: ${{ success() || failure() }}
uses: github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # v4
uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4
with:
sarif_file: results.sarif

Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
db-file: matcher.db

- if: ${{ success() || failure() }}
uses: github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # v4
uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4
with:
sarif_file: clair_results.sarif

Expand All @@ -80,7 +80,7 @@ jobs:

- uses: microsoft/DevSkim-Action@4b5047945a44163b94642a1cecc0d93a3f428cc6 # v1

- uses: github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # v4
- uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4
with:
sarif_file: devskim-results.sarif

Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}

- if: ${{ success() || failure() }}
uses: github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # v4
uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4
with:
sarif_file: results.sarif

Expand All @@ -133,7 +133,7 @@ jobs:
only-fixed: true

- if: ${{ success() || failure() }}
uses: github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # v4
uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4
with:
sarif_file: ${{ steps.grype.outputs.sarif }}

Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
IMAGE_ID: ${{ steps.build.outputs.imageid }}

- if: ${{ success() || failure() }}
uses: github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # v4
uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4
with:
sarif_file: ${{ steps.grype.outputs.sarif }}

Expand All @@ -192,7 +192,7 @@ jobs:
bom: true

- if: ${{ success() || failure() }}
uses: github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # v4
uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4
with:
sarif_file: results.sarif

Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:
path: megalinter-reports

- if: ${{ success() || failure() }}
uses: github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # v4
uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4
with:
sarif_file: megalinter-reports/megalinter-report.sarif
ref: ${{ github.head_ref && format('refs/heads/{0}', github.head_ref) || github.ref }}
Expand Down Expand Up @@ -258,7 +258,7 @@ jobs:
- uses: microsoft/security-devops-action@08976cb623803b1b36d7112d4ff9f59eae704de0 # v1
id: msdo

- uses: github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # v4
- uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4
with:
sarif_file: ${{ steps.msdo.outputs.sarifFile }}

Expand Down Expand Up @@ -306,7 +306,7 @@ jobs:
only-fixed: true

- if: ${{ success() || failure() }}
uses: github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # v4
uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4
with:
sarif_file: ${{ steps.grype.outputs.sarif }}

Expand Down Expand Up @@ -337,7 +337,7 @@ jobs:
scanners: vuln,secret,misconfig
skip-setup-trivy: true

- uses: github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # v4
- uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4
with:
sarif_file: trivy-results.sarif

Expand Down Expand Up @@ -376,7 +376,7 @@ jobs:
severity: HIGH,CRITICAL
skip-setup-trivy: true

- uses: github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # v4
- uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4
with:
sarif_file: trivy-results.sarif

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
##
# base
##
FROM debian:stable-slim@sha256:4448d44b91bf4a13cb1b4e02d9d5f87ed40621d6e33f0ae7b6ddf71d57e29364 AS base
FROM debian:stable-slim@sha256:85dfcffff3c1e193877f143d05eaba8ae7f3f95cb0a32e0bc04a448077e1ac69 AS base

# set up user
ARG USER=user
Expand Down Expand Up @@ -33,7 +33,7 @@
APT::AutoRemove::SuggestsImportant "false";
EOF

RUN apt-get update && \

Check warning on line 36 in Dockerfile

View workflow job for this annotation

GitHub Actions / kics

[MEDIUM] Apt Get Install Pin Version Not Defined

When installing a package, its pin version should be defined
apt-get upgrade --yes && \
apt-get install --yes --no-install-recommends curl \
&& rm -rf /var/lib/apt/lists/*
Expand All @@ -43,7 +43,7 @@
##
FROM base AS dev

RUN apt-get update && \

Check warning on line 46 in Dockerfile

View workflow job for this annotation

GitHub Actions / kics

[MEDIUM] Apt Get Install Pin Version Not Defined

When installing a package, its pin version should be defined
apt-get install --yes --no-install-recommends build-essential \
&& rm -rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -91,7 +91,7 @@
FROM dev AS compile

USER root
RUN apt-get update && \

Check warning on line 94 in Dockerfile

View workflow job for this annotation

GitHub Actions / kics

[MEDIUM] Apt Get Install Pin Version Not Defined

When installing a package, its pin version should be defined

Check warning on line 94 in Dockerfile

View workflow job for this annotation

GitHub Actions / kics

[MEDIUM] Apt Get Install Pin Version Not Defined

When installing a package, its pin version should be defined
apt-get install --yes --no-install-recommends \
binutils \
patchelf \
Expand Down