From 40323d411e8e284a7f996dc39ed6c923ea00f64b Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Thu, 28 Sep 2023 10:14:34 +0200 Subject: [PATCH] new: [cryptocurrency-transaction] generic transaction object for any cryptocurrency --- .../definition.json | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 objects/cryptocurrency-transaction/definition.json diff --git a/objects/cryptocurrency-transaction/definition.json b/objects/cryptocurrency-transaction/definition.json new file mode 100644 index 0000000..d73ca09 --- /dev/null +++ b/objects/cryptocurrency-transaction/definition.json @@ -0,0 +1,84 @@ +{ + "attributes": { + "address": { + "description": "A cryptocurrency transactional address", + "misp-attribute": "btc", + "ui-priority": 0 + }, + "symbol": { + "description": "The (uppercase) symbol of the cryptocurrency used. Symbol should be from https://coinmarketcap.com/all/views/all/", + "disable_correlation": true, + "misp-attribute": "text", + "sane_default": [ + "BTC", + "ETH", + "BCH", + "XRP", + "MIOTA", + "DASH", + "BTG", + "LTC", + "ADA", + "XMR", + "ETC", + "NEO", + "NEM", + "EOS", + "XLM", + "BCC", + "LSK", + "OMG", + "QTUM", + "ZEC", + "USDT", + "HSR", + "STRAT", + "WAVES", + "PPT", + "ETN" + ], + "ui-priority": 1 + }, + "time": { + "description": "Date and time of transaction", + "disable_correlation": true, + "misp-attribute": "datetime", + "ui-priority": 0 + }, + "transaction-number": { + "description": "A transaction number in a sequence of transactions", + "misp-attribute": "text", + "multiple": true, + "ui-priority": 0 + }, + "value": { + "description": "Value in cryptocurrency at date/time displayed in field 'time'", + "disable_correlation": true, + "misp-attribute": "float", + "ui-priority": 0 + }, + "value_EUR": { + "description": "Value in EUR with conversion rate as of date/time displayed in field 'time'", + "disable_correlation": true, + "misp-attribute": "float", + "ui-priority": 0 + }, + "value_USD": { + "description": "Value in USD with conversion rate as of date/time displayed in field 'time'", + "disable_correlation": true, + "misp-attribute": "float", + "ui-priority": 0 + } + }, + "description": "An object to describe a cryptocurrency transaction.", + "meta-category": "financial", + "name": "cryptocurrency-transaction", + "requiredOneOf": [ + "transaction-number", + "time", + "value", + "address" + ], + "uuid": "B7341729-5A8A-439F-A775-6D814DA3C7B5", + "version": 1 +} \ No newline at end of file