forked from hyperledger-cacti/cacti
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(security): vulnerabilities found in keychain-vault-server
Fixes hyperledger-cacti#2058 Signed-off-by: aldousalvarez <aldousss.alvarez@gmail.com>
- Loading branch information
1 parent
25f2f54
commit e0193b3
Showing
3 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,5 @@ general: | |
vulnerabilities: | ||
#besu-all-in-one | ||
|
||
-CVE-2022-37734 | ||
-CVE-2022-25857 | ||
- CVE-2022-37734 | ||
- CVE-2022-25857 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: azure-container-image-scan | ||
|
||
on: | ||
push: | ||
pull_request: | ||
# Publish `main` as Docker `latest` image. | ||
branches: | ||
- main | ||
|
||
# Publish `v1.2.3` tags as releases. | ||
tags: | ||
- v* | ||
|
||
|
||
jobs: | ||
build-secure-and-push: | ||
name: Scan cactus-keychain-vault-server image | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2.4.0 | ||
env: | ||
# (Required) The token to use to make API calls to GitHub. | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
- uses: actions/checkout@v1 | ||
- name: Login to DockerHub Registry | ||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin | ||
|
||
|
||
- name: Build Images from Dockerfile | ||
run: DOCKER_BUILDKIT=1 docker build ./packages/cactus-plugin-keychain-vault/src/cactus-keychain-vault-server/ -f ./packages/cactus-plugin-keychain-vault/src/cactus-keychain-vault-server/Dockerfile -t cactus-keychain-vault-server | ||
|
||
- uses: Azure/container-scan@v0.1 | ||
name: Scan image for vulnerabilities | ||
id: container-scan | ||
continue-on-error: true | ||
with: | ||
image-name: cactus-keychain-vault-server |
2 changes: 1 addition & 1 deletion
2
packages/cactus-plugin-keychain-vault/src/cactus-keychain-vault-server/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters