From 1d0065e85255d6ebff5dd753d7e7ff3dfdd033a7 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Mon, 17 Feb 2020 07:46:58 +0100 Subject: [PATCH] new: [iot] a first version of the IoT object Ref: based on the workshop discussion in https://github.com/C00kie-/workshop-materials The idea is to have this root object when a new IoT device is documented and further objects will be connected such as firmware or even file object --- objects/iot-device/definition.json | 129 +++++++++++++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 objects/iot-device/definition.json diff --git a/objects/iot-device/definition.json b/objects/iot-device/definition.json new file mode 100644 index 0000000..9a20484 --- /dev/null +++ b/objects/iot-device/definition.json @@ -0,0 +1,129 @@ +{ + "requiredOneOf": [ + "model", + "vendor", + "architecture", + "boot-log", + "picture-pcb", + "picture-device" + ], + "attributes": { + "picture-pcb": { + "description": "Picture of the IoT device PCB", + "ui-priority": 10, + "misp-attribute": "attachment", + "multiple": true + }, + "picture-device": { + "description": "Picture of the IoT device", + "ui-priority": 10, + "misp-attribute": "attachment", + "multiple": true + }, + "fcc-id": { + "description": "FCC-ID of the IoT device", + "ui-priority": 10, + "misp-attribute": "text", + "multiple": true + }, + "boot-log": { + "description": "Boot log of the IoT device", + "ui-priority": 10, + "misp-attribute": "attachment", + "multiple": true + }, + "platform": { + "description": "Platform of of the IoT device", + "ui-priority": 10, + "misp-attribute": "text", + "sane_default": [ + "mach-aspeed", + "mach-at91", + "mach-bcm283x", + "mach-bcmstb", + "mach-cortina", + "mach-davinci", + "mach-exynos", + "mach-highbank", + "mach-imx", + "mach-integrator", + "mach-k3", + "mach-keystone", + "mach-kirkwood", + "mach-mediatek", + "mach-meson", + "mach-mvebu", + "mach-omap2", + "mach-orion5x", + "mach-owl", + "mach-qemu", + "mach-rmobile", + "mach-rockchip", + "mach-s5pc1xx", + "mach-snapdragon", + "mach-socfpga", + "mach-sti", + "mach-stm32", + "mach-stm32mp", + "mach-sunxi", + "mach-tegra", + "mach-u8500", + "mach-uniphier", + "mach-versal", + "mach-versatile", + "mach-zynq", + "mach-zynqmp", + "mach-zynqmp-r5", + "mcf5227x", + "mcf523x", + "mcf52x2", + "mcf530x", + "mcf532x", + "mcf5445x", + "mcf547x_8x", + "mach-ath79", + "mach-bmips", + "mach-jz47xx", + "mach-mscc", + "mach-mtmips", + "mach-pic32" + ] + }, + "architecture": { + "description": "architecture of the IoT device", + "ui-priority": 1, + "misp-attribute": "text", + "sane_default": [ + "ARC", + "ARM", + "M68000", + "MicroBlaze", + "MIPS", + "NSD32", + "Nios II", + "PowerPC", + "RISC-V", + "Sandbox", + "SH", + "x86", + "Xtensa" + ] + }, + "model": { + "description": "Model of the IoT device", + "ui-priority": 1, + "misp-attribute": "text", + "multiple": true + }, + "vendor": { + "description": "Vendor of the IoT device", + "ui-priority": 1, + "misp-attribute": "text" + } + }, + "version": 1, + "description": "An IoT device.", + "meta-category": "iot", + "uuid": "9f8cea74-16fe-4968-a2b4-026676949ac6", + "name": "iot-device" +}