Skip to content

Commit

Permalink
Merge pull request #756 from snyk/fix/ignore-glibc-vuln-for-ubi
Browse files Browse the repository at this point in the history
fix: gnore glibc vuln for UBI images
  • Loading branch information
pavel-snyk authored May 7, 2024
2 parents 078a322 + 8254176 commit 123974f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ jobs:
- load-docker-image:
project_name: <<parameters.project_name>>
- snyk/scan:
additional-arguments: --policy-path=.snyk
docker-image-name: <<parameters.project_name>>:$CIRCLE_WORKFLOW_ID
fail-on-issues: <<pipeline.parameters.fail_on_issues>>
organization: platform-broker
Expand Down Expand Up @@ -1112,7 +1113,7 @@ workflows:
post-steps:
- notify-slack-on-failure
<<: *filter-tags-only

- build-and-save-docker-image:
name: Build bitbucket-server-bearer-auth image
context:
Expand Down Expand Up @@ -1518,7 +1519,7 @@ workflows:
post-steps:
- notify-slack-on-failure
<<: *filter-tags-only

- build-and-save-docker-image:
name: Build bitbucket-server-bearer-auth image (nlatest)
context:
Expand Down
20 changes: 11 additions & 9 deletions .snyk
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.12.0
version: v1.25.0
# ignores vulnerabilities until expiry date; change duration by modifying expiry date
ignore:
'npm:debug:20170905':
- primus > setheader > debug:
reason: Not vulnerable as `primus` doesn't run in debug mode
expires: '2024-02-09T12:00:00.000Z'
'SNYK-JS-PREDEFINE-1054935':
- primus > fusing > predefine:
reason: Fixed in https://github.com/snyk/broker/pull/336
expires: '2023-07-06T09:47:29.283Z'
SNYK-RHEL8-GLIBC-6656573:
- '*':
reason: No fix from RHEL available
expires: 2024-05-14T11:13:02.169Z
created: 2024-05-07T11:13:02.174Z
SNYK-RHEL8-GLIBC-6684409:
- '*':
reason: No fix from RHEL available
expires: 2024-05-14T11:13:13.154Z
created: 2024-05-07T11:13:13.157Z
patch: {}
2 changes: 1 addition & 1 deletion dockerfiles/base/Dockerfile.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG BROKER_VERSION=latest
ARG NODE_VERSION=20.11.0


FROM registry.access.redhat.com/ubi8/nodejs-18 as node-base
FROM registry.access.redhat.com/ubi8/nodejs-20 as node-base

ARG NODE_VERSION
ENV NODE_VERSION=${NODE_VERSION}
Expand Down

0 comments on commit 123974f

Please sign in to comment.