Skip to content

Commit 67a07b3

Browse files
author
Bryan Worrell
committed
Merge pull request #263 from STIXProject/next-1.2.0.0-dev
1.2.0.0
2 parents d8d5a84 + e99bb31 commit 67a07b3

File tree

140 files changed

+8557
-2556
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+8557
-2556
lines changed

CHANGES.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
Version 1.2.0.0
2+
2015-05-15
3+
- Support for parsing and creating STIX 1.2 content.
4+
- Added VocabString implementations for deprecated default STIX controlled
5+
vocabularies.
6+
- Refactored internal class resolution for xsi:types.
7+
- #262 Added support for STIX Report content
8+
- #261 Added deprecation warnings when setting fields that have been
9+
deprecated in STIX 1.2.
10+
- #260 Added Versioning controlled vocabulary.
11+
- #253 Added support for Kill Chain Phases and Related Pacakges on TTP
12+
13+
Version 1.1.1.5
14+
2015-04-29
15+
- #200 Refactored ns_dict behavior in to_xml() to allow custom namespace mappings
16+
- #254 Added information_source to MarkingSpecification class.
17+
- #188 Added nationalities to CIQ Identity extension.
18+
- #246 Added coa_requested to Incident class.
19+
- #248 Set include_schemalocs to False by default in to_xml()
20+
- #249 Removed "Work In Progress" label from RTD documentation.
21+
122
Version 1.1.1.4
223
2015-03-19
324
- #44 Added StructuredCOA support. This completes the COA structure.

README.rst

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
python-stix
22
===========
33

4-
A python library for parsing, manipulating, and generating STIX v1.1.1 content.
4+
A python library for parsing, manipulating, and generating STIX v1.2 content.
55

66
:Source: https://github.com/STIXProject/python-stix
77
:Documentation: http://stix.readthedocs.org
@@ -67,36 +67,38 @@ Layout
6767

6868
The python-stix package layout is as follows:
6969

70-
* ``stix/`` : root level package
70+
* ``stix/`` : root level package.
7171

72-
* ``examples/`` : example python scripts that leverage the python-stix library
72+
* ``examples/`` : example python scripts that leverage the python-stix library.
7373

7474
* ``stix/utils/`` : utility classes and modules used internally by the python-stix
75-
library
75+
library.
7676

7777
* ``stix/bindings/`` : generateDS generated xml-to-python bindings (leveraged for
78-
parsing and output of STIX XML content)
78+
parsing and output of STIX XML content).
7979

80-
* ``stix/campaign/`` : APIs for STIX Campaign constructs
80+
* ``stix/campaign/`` : APIs for STIX Campaign constructs.
8181

82-
* ``stix/coa/`` : APIs for STIX Course Of Action constructs
82+
* ``stix/coa/`` : APIs for STIX Course Of Action constructs.
8383

84-
* ``stix/core/`` : APIs for core STIX constructs (e.g., STIX Header, STIX Package)
84+
* ``stix/core/`` : APIs for core STIX constructs (e.g., STIX Header, STIX Package).
8585

8686
* ``stix/common/`` : APIs for common STIX constructs (e.g., Structured Text,
87-
Information Source)
87+
Information Source).
8888

89-
* ``stix/exploit_target/`` : APIs for STIX Exploit Target constructs
89+
* ``stix/exploit_target/`` : APIs for STIX Exploit Target constructs.
9090

91-
* ``stix/incident/`` : APIs for common Incident constructs
91+
* ``stix/incident/`` : APIs for common Incident constructs.
9292

93-
* ``stix/indicator/`` : APIs for STIX Indicator constructs
93+
* ``stix/indicator/`` : APIs for STIX Indicator constructs.
9494

95-
* ``stix/extensions/`` : APIs for STIX extensions (e.g., CIQ Identity)
95+
* ``stix/extensions/`` : APIs for STIX extensions (e.g., CIQ Identity).
9696

97-
* ``stix/threat_actor/`` : APIs for STIX Threat Actor constructs
97+
* ``stix/report/``: APIs for STIX Report constructs.
9898

99-
* ``stix/ttp/`` : APIs for STIX TTP constructs
99+
* ``stix/threat_actor/`` : APIs for STIX Threat Actor constructs.
100+
101+
* ``stix/ttp/`` : APIs for STIX TTP constructs.
100102

101103
Please refer to examples for concrete examples of how to interact with the
102-
python-stix library
104+
python-stix library.

docs/api/campaign/campaign.rst

Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,51 @@
33

44
.. module:: stix.campaign
55

6+
Overview
7+
--------
8+
9+
The :mod:`stix.campaign` module implements :class:`.Campaign`.
10+
11+
Campaigns are instances of ThreatActors pursuing an intent, as observed through
12+
sets of Incidents and/or TTP, potentially across organizations.
13+
14+
15+
Documentation Resources
16+
~~~~~~~~~~~~~~~~~~~~~~~
17+
18+
* `Campaign Data Model <http://stixproject.github.io/data-model/1.2/campaign/CampaignType/>`_
19+
620
Classes
721
-------
822

923
.. autoclass:: Campaign
10-
:show-inheritance:
11-
:members:
24+
:show-inheritance:
25+
:members: activity, add_activity, add_description, add_intended_effect,
26+
add_short_description, attribution, description, descriptions, find, id_,
27+
idref, information_source, intended_effects, short_description,
28+
short_descriptions, status, timestamp, title, to_dict, to_json, to_obj,
29+
version, walk
1230

1331
.. autoclass:: AssociatedCampaigns
14-
:show-inheritance:
15-
:members:
32+
:show-inheritance:
33+
:members:
1634

1735
.. autoclass:: Attribution
18-
:show-inheritance:
19-
:members:
36+
:show-inheritance:
37+
:members:
2038

2139
.. autoclass:: Names
22-
:show-inheritance:
23-
:members:
40+
:show-inheritance:
41+
:members:
2442

2543
.. autoclass:: RelatedIncidents
26-
:show-inheritance:
27-
:members:
44+
:show-inheritance:
45+
:members:
2846

2947
.. autoclass:: RelatedIndicators
30-
:show-inheritance:
31-
:members:
48+
:show-inheritance:
49+
:members:
3250

3351
.. autoclass:: RelatedTTPs
34-
:show-inheritance:
35-
:members:
52+
:show-inheritance:
53+
:members:

docs/api/coa/coa.rst

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,34 @@
11
:mod:`stix.coa` Module
2-
==================================
2+
======================
33

44
.. module:: stix.coa
55

6+
Overview
7+
--------
8+
9+
The :mod:`stix.coa` module implements :class:`.CourseOfAction`.
10+
11+
CoursesOfAction are specific measures to be taken to address threat whether
12+
they are corrective or preventative to address ExploitTargets, or responsive to
13+
counter or mitigate the potential impacts of Incidents
14+
15+
16+
Documentation Resources
17+
~~~~~~~~~~~~~~~~~~~~~~~
18+
19+
* `Course Of Action Data Model <http://stixproject.github.io/data-model/1.2/coa/CourseOfActionType/>`_
20+
21+
622
Classes
723
-------
824

925
.. autoclass:: CourseOfAction
1026
:show-inheritance:
11-
:members:
27+
:members: add_description, add_short_description, cost, description,
28+
descriptions, efficacy, find, handling, id_, idref, impact,
29+
information_source, objective, short_description, short_descriptions,
30+
stage, structured_coa, timestamp, title, to_dict, to_json, to_obj, type_,
31+
version, walk
1232

1333
.. autoclass:: RelatedCOAs
1434
:show-inheritance:

docs/api/common/identity.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,3 @@ Functions
1919

2020
.. autofunction:: add_extension
2121

22-
Constants
23-
---------
24-
25-
.. autodata:: _EXTENSION_MAP

docs/api/common/kill_chains.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@ Classes
77
-------
88

99
.. autoclass:: KillChain
10-
:show-inheritance:
11-
:members:
10+
:show-inheritance:
11+
:members:
1212

1313
.. autoclass:: KillChains
14-
:show-inheritance:
15-
:members:
14+
:show-inheritance:
15+
:members:
1616

1717
.. autoclass:: KillChainPhase
18-
:show-inheritance:
19-
:members:
18+
:show-inheritance:
19+
:members:
2020

2121
.. autoclass:: KillChainPhaseReference
22-
:show-inheritance:
23-
:members:
22+
:show-inheritance:
23+
:members:
2424

2525
.. autoclass:: KillChainPhasesReference
26-
:show-inheritance:
27-
:members:
26+
:show-inheritance:
27+
:members:
2828

2929
Lockheed Martin Kill Chain
3030
--------------------------

docs/api/common/related.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:mod:`stix.common.related` Module
2-
==================================
2+
=================================
33

44
.. module:: stix.common.related
55

@@ -61,3 +61,12 @@ Classes
6161
.. autoclass:: RelatedTTP
6262
:show-inheritance:
6363
:members:
64+
65+
.. autoclass:: RelatedReports
66+
:show-inheritance:
67+
:members:
68+
69+
.. autoclass:: RelatedReport
70+
:show-inheritance:
71+
:members:
72+

docs/api/common/structured_text.rst

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,13 @@ Classes
77
-------
88

99
.. autoclass:: StructuredText
10-
:show-inheritance:
11-
:members:
10+
:show-inheritance:
11+
:members: to_obj, from_obj, to_dict, from_dict, ordinality,
12+
__str__, __unicode__
13+
14+
.. autoclass:: StructuredTextList
15+
:show-inheritance:
16+
:members: __getitem__, __delitem__, __iter__, add, update,
17+
insert, remove, reset, sorted, next_ordinality, to_obj, to_dict
18+
19+

0 commit comments

Comments
 (0)