aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2020-01-12 19:54:03 -0800
committerDavid Reyna <David.Reyna@windriver.com>2020-01-12 19:54:03 -0800
commitd9ba6051e173df1f5049e8df274c5e7f09fec3be (patch)
treeda0fb6365c73cd575d20d8db863cd5c81d076ce2
parent889781b5a04a7c9226e45161105ad4d6a95ad1e9 (diff)
downloadsrtool-d9ba6051e173df1f5049e8df274c5e7f09fec3be.tar.gz
srtool-d9ba6051e173df1f5049e8df274c5e7f09fec3be.tar.bz2
srtool-d9ba6051e173df1f5049e8df274c5e7f09fec3be.zip
srtool: add MITRE 2020
Add the MITRE 2020 data source [YOCTO #13734] Signed-off-by: David Reyna <David.Reyna@windriver.com>
-rwxr-xr-xbin/mitre/datasource_2020.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/mitre/datasource_2020.json b/bin/mitre/datasource_2020.json
new file mode 100755
index 00000000..b66d43a1
--- /dev/null
+++ b/bin/mitre/datasource_2020.json
@@ -0,0 +1,18 @@
+{
+ "datasource" : [
+ {
+ "key" : "0020-mitre-2020",
+ "data" : "cve",
+ "source" : "mitre",
+ "name" : "MITRE",
+ "description" : "MITRE 2020",
+ "cve_filter" : "CVE-2020",
+ "init" : "bin/mitre/srtool_mitre.py --initialize --source='Mitre 2020' --file=data/allitems-cvrf-year-2020.xml --url-file=allitems-cvrf-year-2020.xml",
+ "update" : "bin/mitre/srtool_mitre.py --update --source='Mitre 2020' --file=data/allitems-cvrf-year-2020.xml --url-file=allitems-cvrf-year-2020.xml",
+ "lookup" : "bin/mitre/srtool_mitre.py --file=data/allitems-cvrf-year-2020.xml %command%",
+ "update_frequency" : "3",
+ "_comment_" : "Update on Saturdays at 2:00 am",
+ "update_time" : "{\"weekday\":\"5\",\"hour\":\"2\"}"
+ }
+ ]
+}