From 21c118adf0e8a7f73ba4182c46b66be663d89560 Mon Sep 17 00:00:00 2001 From: Shikou Date: Tue, 17 Dec 2024 11:26:56 +0900 Subject: [PATCH] describe how to use vulnrichment in readme --- scripts/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/scripts/README.md b/scripts/README.md index eeb01f72..013d5b67 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -188,6 +188,28 @@ python3 trivydb2tc.py -d ~/.cache/trivy/db/trivy.db --force-update "http://local ``` +# :bulb: Topic Update from Vulnrichment + +Purpose: To update topics from Vulnrichment to regist exploitation and automatable in topic. + +## :triangular_flag_on_post: Usage + +Run the following commands to clone vulnrichment + +```bash +git clone https://github.com/cisagov/vulnrichment + +``` + +Run the following commands to update topics from vulnrichment: + +```bash +export THREATCONNECTOME_REFRESHTOKEN="XXXXXXXXX" +# For local development environment +python3 vulnrichment2tc.py -v vulnrichment + +``` + # :bulb: Read and parse CycloneDX v1.5 files Purpose: To parse CycloneDX v1.5 files (Trivy, Syft) and output JSON for Threatconnectome registration.