From bdc273e5236277dc9be1fab2b47d8b7c7aa5b1c7 Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 2 Jun 2015 21:22:38 +0000 Subject: [PATCH] add decep extension --- stix/extensions/deception/__init__.py | 2 ++ stix/extensions/deception/deception.py | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 stix/extensions/deception/__init__.py create mode 100644 stix/extensions/deception/deception.py diff --git a/stix/extensions/deception/__init__.py b/stix/extensions/deception/__init__.py new file mode 100644 index 00000000..9a9569c5 --- /dev/null +++ b/stix/extensions/deception/__init__.py @@ -0,0 +1,2 @@ +# Copyright (c) 2015, The MITRE Corporation. All rights reserved. +# See LICENSE.txt for complete terms. diff --git a/stix/extensions/deception/deception.py b/stix/extensions/deception/deception.py new file mode 100644 index 00000000..3f1f8ae7 --- /dev/null +++ b/stix/extensions/deception/deception.py @@ -0,0 +1,17 @@ +from stix.common.vocabs import VocabString +from stix.common.vocabs import register_vocab + +@register_vocab +class Deception_1_0(VocabString): + _namespace = 'http://stix.mitre.org/deception-1' + _XSI_TYPE = 'stixVocabs:DeceptionVocab-1.0' + _VOCAB_VERSION = '1.0' + + TERM_PURPOSE = 'Purpose' + TERM_COLLECT = "Collect Intelligence" + TERM_DESIGN = "Design Cover Story" + TERM_PLAN ="Plan" + TERM_PREPARE="Prepare" + TERM_EXECUTE ="Execute" + TERM_MONITOR ="Monitor" + TERM_REINFORCE = 'Reinforce' \ No newline at end of file