chg: [script] attachment field added

pull/216/head
Alexandre Dulaunoy 2019-12-04 13:41:08 +01:00
parent f083694a3d
commit 4185e2b8e2
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 8 additions and 2 deletions

View File

@ -1,7 +1,8 @@
{ {
"requiredOneOf": [ "requiredOneOf": [
"script", "script",
"filename" "filename",
"attachment"
], ],
"attributes": { "attributes": {
"script": { "script": {
@ -9,6 +10,11 @@
"ui-priority": 10, "ui-priority": 10,
"misp-attribute": "text" "misp-attribute": "text"
}, },
"script-as-attachment": {
"description": "Attachment of the script.",
"ui-priority": 10,
"misp-attribute": "attachment"
},
"comment": { "comment": {
"description": "Comment associated to the script.", "description": "Comment associated to the script.",
"ui-priority": 1, "ui-priority": 1,
@ -57,7 +63,7 @@
] ]
} }
}, },
"version": 5, "version": 6,
"description": "Object describing a computer program written to be run in a special run-time environment. The script or shell script can be used for malicious activities but also as support tools for threat analysts.", "description": "Object describing a computer program written to be run in a special run-time environment. The script or shell script can be used for malicious activities but also as support tools for threat analysts.",
"meta-category": "misc", "meta-category": "misc",
"uuid": "6bce7d01-dbec-4054-b3c2-3655a19382e2", "uuid": "6bce7d01-dbec-4054-b3c2-3655a19382e2",