fix: version field added if stix2-pattern has multiple version in the future

pull/86/head
Alexandre Dulaunoy 2018-03-19 17:33:45 +01:00
parent e7e3878042
commit c92ee2e461
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 9 additions and 1 deletions

View File

@ -12,9 +12,17 @@
"description": "STIX 2 pattern", "description": "STIX 2 pattern",
"ui-priority": 0, "ui-priority": 0,
"misp-attribute": "stix2-pattern" "misp-attribute": "stix2-pattern"
},
"version": {
"description": "Version of STIX 2 pattern.",
"ui-priority": 0,
"misp-attribute": "text",
"sane_default": [
"stix 2.0"
]
} }
}, },
"version": 1, "version": 2,
"description": "An object describing a STIX pattern. The object can be linked via a relationship to other attributes or objects to describe how it can be represented as a STIX pattern.", "description": "An object describing a STIX pattern. The object can be linked via a relationship to other attributes or objects to describe how it can be represented as a STIX pattern.",
"meta-category": "misc", "meta-category": "misc",
"uuid": "0c5bd072-7c3e-4d45-86f7-a8104d9143b9", "uuid": "0c5bd072-7c3e-4d45-86f7-a8104d9143b9",