chg: [cs-beacon-config] encoded-data as file attachment instead of text

As encoded-data might be large and not really useful to be displayed in
the UI of MISP. We moved it to an `attachment` attribute type.

We keep the `attachment` as Base64 to avoid any risk of people
downloading or executing as potential malicious file. So it MUST be
encoded in Base64 as it was before.
pull/432/head
Alexandre Dulaunoy 2024-05-07 09:36:13 +02:00
parent e65878874e
commit a193e03ad2
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 3 additions and 3 deletions

View File

@ -81,8 +81,8 @@
"ui-priority": 0 "ui-priority": 0
}, },
"encoded-data": { "encoded-data": {
"description": "Encoded payload data in Base64", "description": "Encoded payload data in Base64 as file attachment",
"misp-attribute": "text", "misp-attribute": "attachment",
"ui-priority": 0 "ui-priority": 0
}, },
"encoded-length": { "encoded-length": {
@ -199,5 +199,5 @@
"watermark" "watermark"
], ],
"uuid": "d17355ef-ca1f-4b5a-86cd-65d877991f54", "uuid": "d17355ef-ca1f-4b5a-86cd-65d877991f54",
"version": 6 "version": 7
} }