mirror of
https://github.com/DISARMFoundation/DISARMframeworks.git
synced 2024-12-19 12:54:20 -05:00
13 lines
403 B
Python
13 lines
403 B
Python
from stix2 import MarkingDefinition, StatementMarking
|
|
from objects import identity
|
|
|
|
|
|
def make_disarm_marking_definition(identity_id):
|
|
marking_definition = MarkingDefinition(
|
|
definition_type="statement",
|
|
created_by_ref=identity_id,
|
|
name="DISARM Foundation",
|
|
definition=StatementMarking(statement="CC-BY-SA-4.0 DISARM Foundation")
|
|
)
|
|
return [marking_definition]
|