From ad1300767f7b7757867a8c01ffb4c7d6fa308540 Mon Sep 17 00:00:00 2001 From: Sascha Rommelfangen Date: Wed, 10 Jul 2019 15:15:16 +0200 Subject: [PATCH] add: btc wallet and transaction object templates --- objects/btc-transaction/definition.json | 50 +++++++++++++++++++++++++ objects/btc-wallet/definition.json | 41 ++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 objects/btc-transaction/definition.json create mode 100644 objects/btc-wallet/definition.json diff --git a/objects/btc-transaction/definition.json b/objects/btc-transaction/definition.json new file mode 100644 index 0000000..a9501c5 --- /dev/null +++ b/objects/btc-transaction/definition.json @@ -0,0 +1,50 @@ +{ + "requiredOneOf": [ + "wallet-address", + "value_BTC", + "time" + ], + "attributes": { + "transaction-number": { + "description": "A Bitcoin transaction number in a sequence of transactions", + "ui-priority": 0, + "misp-attribute": "integer" + }, + "time": { + "description": "Date and time of transaction", + "ui-priority": 0, + "disable_correlation": true, + "misp-attribute": "datetime" + }, + "value_BTC": { + "description": "Value in BTC at date/time displayed in field 'time'", + "ui-priority": 0, + "disable_correlation": true, + "misp-attribute": "float" + }, + "value_EUR": { + "description": "Value in EUR with conversion rate as of date/time displayed in field 'time'", + "ui-priority": 0, + "disable_correlation": true, + "misp-attribute": "float" + }, + "value_USD": { + "description": "Value in USD with conversion rate as of date/time displayed in field 'time'", + "ui-priority": 0, + "disable_correlation": true, + "misp-attribute": "float" + }, + "btc-address": { + "description": "A Bitcoin transactional address", + "ui-priority": 0, + "disable_correlation": true, + "misp-attribute": "btc" + } + + }, + "version": 1, + "description": "An object to describe a Bitcoin transaction. Best to be used with bitcoin-wallet.", + "meta-category": "financial", + "uuid": "B7341729-5A8A-439F-A775-6D814DA3C7B5", + "name": "btc-transaction" +} diff --git a/objects/btc-wallet/definition.json b/objects/btc-wallet/definition.json new file mode 100644 index 0000000..8cb0d22 --- /dev/null +++ b/objects/btc-wallet/definition.json @@ -0,0 +1,41 @@ +{ + "requiredOneOf": [ + "wallet-address" + ], + "attributes": { + "wallet-address": { + "description": "A Bitcoin wallet address", + "ui-priority": 0, + "misp-attribute": "btc" + }, + "balance_BTC": { + "description": "Value in BTC at date/time displayed in field 'time'", + "ui-priority": 0, + "disable_correlation": true, + "misp-attribute": "float" + }, + "balance_EUR": { + "description": "Value in EUR with conversion rate as of date/time displayed in field 'time'", + "ui-priority": 0, + "disable_correlation": true, + "misp-attribute": "float" + }, + "balance_USD": { + "description": "Value in USD with conversion rate as of date/time displayed in field 'time'", + "ui-priority": 0, + "disable_correlation": true, + "misp-attribute": "float" + }, + "time": { + "description": "Date and time of lookup/conversion", + "ui-priority": 0, + "disable_correlation": true, + "misp-attribute": "datetime" + } + }, + "version": 1, + "description": "An object to describe a Bitcoin wallet. Best to be used with bitcoin-transactions.", + "meta-category": "financial", + "uuid": "22910C83-DD0E-4ED2-9823-45F8CAD562A4", + "name": "btc-wallet" +}