diff --git a/MANIFEST.json b/MANIFEST.json index cd995d3..b1d6ed1 100644 --- a/MANIFEST.json +++ b/MANIFEST.json @@ -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", diff --git a/validate_all.sh b/validate_all.sh index e765da8..d15d106 100755 --- a/validate_all.sh +++ b/validate_all.sh @@ -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}: "