chg: [cortex-taxonomy] sort attributes

Make sure the attributes are sorted like a Cortex taxonomy
would normally be displayed/summarized:

`namespace:predicate="value"` with `level` as a meta information.
pull/264/head
Marc Hörsken 2020-07-02 08:38:14 +02:00 committed by Marc Hoersken
parent b7c2562a4f
commit 58fb163312
1 changed files with 7 additions and 7 deletions

View File

@ -14,7 +14,7 @@
"disable_correlation": true, "disable_correlation": true,
"misp-attribute": "text", "misp-attribute": "text",
"multiple": false, "multiple": false,
"ui-priority": 0, "ui-priority": 1,
"values_list": [ "values_list": [
"info", "info",
"safe", "safe",
@ -30,7 +30,7 @@
"disable_correlation": true, "disable_correlation": true,
"misp-attribute": "text", "misp-attribute": "text",
"multiple": false, "multiple": false,
"ui-priority": 0 "ui-priority": 4
}, },
"predicate": { "predicate": {
"categories": [ "categories": [
@ -40,7 +40,7 @@
"disable_correlation": true, "disable_correlation": true,
"misp-attribute": "text", "misp-attribute": "text",
"multiple": false, "multiple": false,
"ui-priority": 0 "ui-priority": 3
}, },
"value": { "value": {
"categories": [ "categories": [
@ -50,18 +50,18 @@
"disable_correlation": true, "disable_correlation": true,
"misp-attribute": "text", "misp-attribute": "text",
"multiple": false, "multiple": false,
"ui-priority": 0 "ui-priority": 2
} }
}, },
"description": "Cortex object describing an Cortex Taxonomy (or mini report)", "description": "Cortex object describing an Cortex Taxonomy (or mini report)",
"meta-category": "misc", "meta-category": "misc",
"name": "cortex-taxonomy", "name": "cortex-taxonomy",
"required": [ "required": [
"level", "namespace",
"predicate", "predicate",
"value", "value",
"namespace" "level"
], ],
"uuid": "bef7d23b-e796-4d46-803a-32e317896894", "uuid": "bef7d23b-e796-4d46-803a-32e317896894",
"version": 4 "version": 5
} }