From 6e860d9509fbf648f934dcd4d5e9be999e35b6aa Mon Sep 17 00:00:00 2001 From: ashnashahgrover Date: Thu, 13 Jun 2024 17:10:20 +0530 Subject: [PATCH] docs(devcontainer): add trivy and its VSCode Extension Primary Changes 1) updated trivy version in the .devcontainer file and included trivy vs-code extension Changes required to incorporate 1) 3) included trivy vs-code extension in the .vscode/extensions.json file Fixes #2650 Signed-off-by: ashnashahgrover --- .devcontainer/devcontainer.json | 5 +++-- .vscode/extensions.json | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index b0e6cd76ee0..700d3477187 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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": { @@ -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" ] } }, diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 86f6098895b..6c66f1bb57c 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -14,6 +14,7 @@ "eamodio.gitlens", "streetsidesoftware.code-spell-checker", "github.vscode-pull-request-github", - "codeandstuff.package-json-upgrade" + "codeandstuff.package-json-upgrade", + "AquaSecurityOfficial.trivy-vulnerability-scanner" ] }