Chris Lenk
198b4ecffa
Tweak property autodocumenter
...
- Skip the 'type' property, since it shouldn't be overridden.
- Add info on default values (currently this is only used for timestamp
properties, setting them to the current time).
- Rename it to STIXPropertyDocumenter since they're called properties in
STIX instead of attributes.
2018-03-16 16:14:21 -04:00
Emmanuelle Vargas-Gonzalez
c98abb18f5
Fix docs
2018-03-16 14:26:41 -04:00
Emmanuelle Vargas-Gonzalez
740debe7dd
Merge branch 'master' of github.com:oasis-open/cti-python-stix2 into issue-134
2018-03-16 13:58:56 -04:00
Michael K
1f5876d420
Undo last commit
...
Removing directive that is not needed, test packages are already excluded correctly.
2018-03-16 10:57:31 -04:00
Chris Lenk
bc72f93424
Add warning about TAXIICollection bug
...
Related: #125 .
2018-03-15 18:07:14 -04:00
=
017df285f9
so pip installs will not include test data directory
2018-03-15 16:11:22 -04:00
Emmanuelle Vargas-Gonzalez
7f9a3c49ea
Update TAXIICollectionSink.add() to use serialize(). Call parse() on dict objects. Pass UTF-8 strings to taxii2client. closes #134
2018-03-15 13:51:47 -04:00
=
2fbde05e6c
putting test files in stix type folder that exists on git (bc there are files in it)
2018-03-14 19:34:07 -04:00
=
f4558c0958
pre-commit errors
2018-03-14 19:09:25 -04:00
=
6f762e7ea0
woops forgot file, recommit of: more type checking of filesystem json files; added corresponding tests
2018-03-14 16:32:31 -04:00
=
af14cd4f88
more type checking of filesystem json files; added corresponding tests
2018-03-14 16:28:44 -04:00
Greg Back
5820fa0845
GH-138: ignore invalid JSON files.
2018-03-14 10:06:23 -05:00
Greg Back
bf233895ae
Merge pull request #142 from oasis-open/docs
...
Clarify serialization in documentation
2018-03-14 09:51:12 -05:00
Chris Lenk
955cad8385
Clarify serialization in documentation
2018-03-13 16:01:42 -04:00
Chris Lenk
f9523f24bf
Bump version: 0.5.0 → 0.5.1
2018-03-06 12:05:53 -05:00
Chris Lenk
b613e2a66f
Update CHANGELOG for v0.5.1
2018-03-06 12:05:25 -05:00
Chris Lenk
35679e6a6b
Bump version: 0.4.0 → 0.5.0
2018-03-06 11:45:06 -05:00
Chris Lenk
0e70e61451
Update CHANGELOG for v0.5.0
2018-03-06 11:44:49 -05:00
Chris Lenk
1e80086bdd
Merge pull request #133 from oasis-open/126-assume_allow_custom
...
Fix allow_custom in functions that call new_version()
2018-03-06 09:51:58 -05:00
Chris Lenk
5a71ef2e64
Fix allow_custom in functions calling new_version
2018-03-02 11:32:07 -05:00
Chris Lenk
1eab9b2832
Assume custom properties allowable in add_markings
2018-03-02 10:21:51 -05:00
Greg Back
4a9c38e0b5
Merge pull request #132 from oasis-open/114-116-datastore-renaming
...
Renaming "sources" and "DataStore"
2018-03-01 13:15:34 -06:00
Greg Back
307a85c8b1
Reorder modules for API documentation
2018-03-01 13:15:02 -06:00
Chris Lenk
eb2d87ce71
Rename "DataStore" class to "DataStoreMixin"
...
Fix #116 .
2018-03-01 11:27:37 -05:00
Chris Lenk
5f703509be
Rename "sources" subpackage to "datastore"
...
Fix #114 .
2018-03-01 09:04:42 -05:00
Chris Lenk
9402cff110
Merge pull request #131 from oasis-open/taxii_collection_source_404
...
Data source/store/sink changes
2018-02-27 17:04:14 -05:00
Chris Lenk
b6f14cdd4d
Fix MemoryStore docstrings
2018-02-27 16:53:05 -05:00
Chris Lenk
7bdf786f89
Remove deprecated tests
2018-02-27 12:17:26 -05:00
Greg Back
554cd081b2
Merge pull request #128 from oasis-open/120-attributes_atuodoc
...
GH-120 Attributes Autodoc
2018-02-27 10:24:57 -06:00
Chris Lenk
57eb709c48
Merge branch 'master' into taxii_collection_source_404
2018-02-26 17:08:28 -05:00
Chris Lenk
df57f4d159
Fix typos in datasources
2018-02-26 16:56:24 -05:00
Greg Back
a780bcfe86
Merge pull request #130 from emmanvg/stix2.1
...
STIX 2.1 Branch Update
2018-02-26 10:40:50 -06:00
Chris Lenk
e23d937204
Fix isort
2018-02-23 09:37:14 -05:00
Emmanuelle Vargas-Gonzalez
b6c22010bb
Fix imports for test_location.py
2018-02-23 08:52:34 -05:00
Emmanuelle Vargas-Gonzalez
d51f1014c7
Fix InstrusionSet 'last_seen' in 2.1
2018-02-23 08:24:26 -05:00
Emmanuelle Vargas-Gonzalez
06974c72f5
Merge branch 'master' of github.com:oasis-open/cti-python-stix2 into stix2.1
2018-02-23 08:21:16 -05:00
Chris Lenk
aaff2a3a04
Appease pycodestyle
2018-02-22 09:55:15 -05:00
Chris Lenk
2886ae9961
Add links to specs in STIX Objects' documentation
2018-02-21 16:46:13 -05:00
Chris Lenk
6f35978ba6
Document STIX object properties' metadata
...
(i.e. property type, whether it is required)
2018-02-21 16:46:13 -05:00
Chris Lenk
3263c3848f
List STIX objects' properties in documentation
2018-02-21 16:46:13 -05:00
Chris Lenk
f1813f17e0
Fix a couple links in documentation
...
Also upgrade nbsphinx version.
2018-02-21 16:46:13 -05:00
Greg Back
c682838239
Merge pull request #127 from oasis-open/122-new_version_with_related
...
New Version of ObservedData with related objects
2018-02-21 11:20:58 -06:00
Greg Back
0ae44bc66e
Merge branch 'master' into 122-new_version_with_related
2018-02-21 11:05:50 -06:00
Greg Back
b1a020bb38
Update imports to appease isort.
2018-02-21 11:02:08 -06:00
Chris Lenk
99addbaada
Allow Python nightly to fail in Travis
...
...without causing the entire build to fail, but still recording the result.
2018-02-19 15:43:25 -05:00
Chris Lenk
5427e79d71
Fix pycodestyle/isort issues
2018-02-19 15:03:20 -05:00
Chris Lenk
845934033e
Avoid checking valid refs when deepcopying
...
Using `deepcopy` on an Observable object that referenced another (e.g.
domain name -> resolves to -> IPv4 address) would fail because no
`_valid_refs` were available. Assuming that the references have
already been checked and are valid when using `deepcopy`, we can use a
special value ('*') to skip the valid_refs check.
This will also allow creating new versions of ObservedData objects that
contain related objects, since `new_version` calls `deepcopy`.
2018-02-19 14:44:28 -05:00
Greg Back
a790d8f561
Merge pull request #124 from m0jtaba/patch-1
...
Update datastore.ipynb
2018-02-01 09:34:41 -06:00
Mo
a758c7e1b2
Update datastore.ipynb
2018-01-31 17:24:57 +00:00
Greg Back
e2c9354d14
GH-121: Use correct property name for IntrusionSet.last_seen
...
Fix #121
2018-01-16 08:49:15 -06:00