Skip to content

Commit

Permalink
docs(devcontainer): add trivy and its VSCode Extension
Browse files Browse the repository at this point in the history
Primary Changes
1) updated trivy verion in the .devcontainer file and
included AquaSecurityOfficial.trivy-vulnerability-scanner vs-code extension
2) updated trivy version in ci.yaml
3) included AquaSecurityOfficial.trivy-vulnerability-scanner
vs-code extension in the .vscode/extensions.json file
4) Updated node version so Dev container builds properly

Fixes #2650

Signed-off-by: ashnashahgrover <[email protected]>
  • Loading branch information
ashnashahgrover committed Jun 11, 2024
1 parent cc2f9c5 commit 499fef9
Show file tree
Hide file tree
Showing 7 changed files with 646 additions and 164 deletions.
7 changes: 4 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"ghcr.io/devcontainers/features/node:1": {
"nodeGypDependencies": true,
"version": "18.19.0"
"version": "20.11.1"
},
"ghcr.io/devcontainers/features/rust:1": {
"version": "1.74",
Expand All @@ -42,7 +42,7 @@
"version": "v3.20.3"
},
"ghcr.io/dhoeric/features/trivy:1.0.0": {
"version": "0.49.1"
"version": "0.52.1"
}
},
"customizations": {
Expand All @@ -62,7 +62,8 @@
"eamodio.gitlens",
"streetsidesoftware.code-spell-checker",
"github.vscode-pull-request-github",
"codeandstuff.package-json-upgrade"
"codeandstuff.package-json-upgrade",
"AquaSecurityOfficial.trivy-vulnerability-scanner"
]
}
},
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cacti-dev-container-vscode-publish.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: connector-fabric-publish

env:
NODEJS_VERSION: v20.3.0
NODEJS_VERSION: v20.11.1
IMAGE_NAME: cacti-dev-container-vscode

on:
Expand Down
Loading

0 comments on commit 499fef9

Please sign in to comment.