Update manifest
parent
3ff06bf3fb
commit
05ce75f7fe
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"taxonomies": [
|
||||
{
|
||||
"version": 1,
|
||||
"name": "accessnow",
|
||||
"description": "Access Now"
|
||||
},
|
||||
{
|
||||
"version": 1,
|
||||
"name": "admiralty-scale",
|
||||
|
@ -10,6 +15,16 @@
|
|||
"name": "adversary",
|
||||
"description": "An overview and description of the adversary infrastructure."
|
||||
},
|
||||
{
|
||||
"version": 1,
|
||||
"name": "analyst-assessment",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"version": 1,
|
||||
"name": "binary-class",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"version": 1,
|
||||
"name": "circl",
|
||||
|
@ -20,6 +35,11 @@
|
|||
"name": "csirt_case_classification",
|
||||
"description": "FIRST CSIRT Case Classification."
|
||||
},
|
||||
{
|
||||
"version": 1,
|
||||
"name": "cssa",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"version": 1,
|
||||
"name": "de-vs",
|
||||
|
|
|
@ -12,6 +12,14 @@ if ! [ $diffs -eq 0 ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
directories=`ls -d */ | wc -w`
|
||||
manifest_entries=`cat MANIFEST.json | jq '.taxonomies | length'`
|
||||
|
||||
if ! [ $directories -eq $manifest_entries ]; then
|
||||
echo "MANIFEST isn't up-to-date."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for dir in */machinetag.json
|
||||
do
|
||||
echo -n "${dir}: "
|
||||
|
|
Loading…
Reference in New Issue