Skip to content

Commit 089201f

Browse files
alias: :security/nvd-scan & :security/nvd-fix library vulnerabilities scan and fix
Check the library dependencies of a project for security vulnerabilities against the NIST national vulnerabilities database Resolve #87
1 parent 82fd01f commit 089201f

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

CHANGELOG.org

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
** Added
1212
- dev: megalinter-upgrade task to upgrade config
1313
- dev: megalinter grafana dashboard connections via github organization secrets
14+
- alias: `:security/nvd-scan` and `:security/nvd-fix` library vulnerabilities scan and fix
1415

1516
** Updated
1617
- dev: update megalinter config to version 8

deps.edn

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,23 @@
325325
;; https://clojure.org/guides/tools_build
326326
;; ---------------------------------------------------
327327

328+
;; ---------------------------------------------------
329+
;; Security
330+
331+
;; clj-holmes/clj-watson/
332+
;; Request an API key from: https://nvd.nist.gov/developers/request-an-api-key
333+
;; `CLJ_WATSON_NVD_API_KEY` set to API key value
334+
:security/nvd-scan
335+
{:replace-deps
336+
{io.github.clj-holmes/clj-watson {:git/tag "v6.0.0" :git/sha "cb02879"}}
337+
:main-opts ["-m" "clj-watson.cli" "scan" "-p" "./deps.edn"]}
338+
339+
:security/nvd-fix
340+
{:replace-deps
341+
{io.github.clj-holmes/clj-watson {:git/tag "v6.0.0" :git/sha "cb02879"}}
342+
:main-opts ["-m" "clj-watson.cli" "scan" "-s" "-p" "deps.edn"]}
343+
;; ---------------------------------------------------
344+
328345
;; ---------------------------------------------------
329346
;; Project Deployment
330347

0 commit comments

Comments
 (0)