An EDH marking extension API for python-stix.
Project description
An extension to python-stix supporting STIX Data Markings for the Enhance Shared Situational Awareness (ESSA) Initiative’s Information Sharing Architecture (ISA) Access Control Specification (ACS), which are based on the US Intelligence Community’s Enterprise Data Header (EDH) specification.
About the version numbers
stix-edh supports version 2.0 of the ISA Marking extensions for STIX, published January 19, 2016:
These schemas use version 3.0 of the Smart Data EDH Cyber Profile, and correspond to ACS Version 3.0.
NOTE: stix-edh does not currently support version 1.0 of the ISA Marking extensions (published February 26, 2015), which use the schemas below. Version 1.0 of the ISA Marking extensions use version 2.0 of the Smart Data EDH Cyber Profile, and corresponds to ACS Version 2.0.
The stix-edh library itself uses semantic versioning, and the version numbers are unrelated to the versions of EDH, ACS, or ISA.
Usage
To parse XML using with EDH data markings, just import stix_edh after import stix.
import stix
import stix_edh # automatically registers extensions with python-stix
# Go on to parse your stix package
from stix.core import STIXPackage
package = STIXPackage.from_xml('stix.xml')
To create data markings, create an instance of stix_edh.ISAMarkings or stix_edh.ISAMarkingsAssertions, and add it to a MarkingSpecification object as a MarkingStructure. See examples/create-isa.py in the source repository for more information.
Requirements
Python 3.7+
python-stix
for STIX 1.1.1: >= 1.1.1.8 and < 1.2.0.0
for STIX 1.2: >= 1.2.0.3
mixbox > 1.0.5
Notice
This software was produced for the U. S. Government, and is subject to the Rights in Data-General Clause 52.227-14, Alt. IV (DEC 2007).
Copyright (c) 2017, The MITRE Corporation. All Rights Reserved.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file stix_edh-1.0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: stix_edh-1.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 27.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 709483e53bbd8b77b0267f1cef9879d757f200f196149050b0a805e6b0623d9d |
|
MD5 | f1edf00d75cc0c645b1feec463bfa1c4 |
|
BLAKE2b-256 | e435ac76dfd5d6b08fa1ffc0d6f7b3948c23ec2e8ed7376caa241b2eb7ec69a2 |