Skip to content

Commit

Permalink
Add trivyignore
Browse files Browse the repository at this point in the history
Signed-off-by: galal-hussein <[email protected]>
  • Loading branch information
galal-hussein committed May 14, 2024
1 parent 731da0d commit f51fab1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
trivyignores: '.trivyignore'

build-arm64:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -70,4 +71,5 @@ jobs:
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
severity: 'CRITICAL,HIGH'
trivyignores: '.trivyignore'
7 changes: 7 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Upstream CVEs
# CVE-2023-47108 opentelemetry cve
CVE-2023-47108
# CVE-2023-39325 x/net cve
CVE-2023-39325
# GHSA-m425-mq94-257g grpc cve
GHSA-m425-mq94-257g
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ RUN set -x && \
make
# setup the build
ARG PKG=go.etcd.io/etcd
ARG SRC=github.com/galal-hussein/etcd
ARG TAG="v3.5.9-k3s2"
ARG SRC=github.com/rancher/etcd
ARG TAG="v3.5.9-k3s1"
ARG ARCH="amd64"
RUN git clone --depth=1 https://${SRC}.git $GOPATH/src/${PKG}
WORKDIR $GOPATH/src/${PKG}
Expand Down

0 comments on commit f51fab1

Please sign in to comment.