Commit Graph

636 Commits (1536857b19307304ac9dea5e728c18e37514aabd)

Author SHA1 Message Date
Chris Lenk 1536857b19
Merge pull request #155 from oasis-open/emmanvg-patch-1
Update README.rst
2018-04-04 08:48:32 -04:00
Emmanuelle Vargas-Gonzalez fe1852d41e
Update README.rst
Update broken banners for Build_Status, Coverage and Version
2018-04-04 05:48:32 -04:00
Greg Back f61bc5e5ee
Merge pull request #154 from oasis-open/code-coverage
Increase code coverage, fix patterning bugs
2018-04-03 15:11:15 -05:00
Greg Back 537dff9d2a
Merge pull request #153 from oasis-open/118-allow-generic-obj
118-allow generic obj and 135- split up parse()
2018-04-03 15:06:25 -05:00
Robin Cover d5bcc902cc fixup program name w/ 'TC' to OASIS TC Open Repo... 2018-04-03 11:20:43 -05:00
Chris Lenk dd8f0f5c72 Increase code coverage slightly
An Environment will always have a CompositeDataSource, so there was no way
those exceptions could get raised.
2018-04-02 16:44:57 -04:00
Chris Lenk 3abfe7868a Add more patterning tests
... and fix bugs detected in doing so
2018-04-02 16:38:04 -04:00
Greg Back 8fd9fa92bc
Merge pull request #152 from emmanvg/remove-taxii-requirement
Update stix2 setup configuration
2018-04-02 13:42:52 -05:00
Chris Lenk 81e5fdd4cc
Merge pull request #151 from emmanvg/memory-store-typo
Fix on MemorySource.load_from_file()
2018-04-02 10:21:22 -04:00
Emmanuelle Vargas-Gonzalez 470b3ec092 Update setup.py to include taxii2-client as an extra dependency 2018-04-02 09:25:26 -04:00
Emmanuelle Vargas-Gonzalez c518533275 Update stix2 setup configuration
# Remove taxii2-client as a requirement to install stix2
# Add taxii2-client to the Tox configuration instead
# Re-factor the version and description loading
2018-04-02 07:51:51 -04:00
Emmanuelle Vargas-Gonzalez 0bb1bb37f1 Call parse() on stix_data
# Fix on MemorySource.load_from_file()
2018-04-02 07:40:25 -04:00
= 90834c5b95 docs and tests for parse() mod 2018-03-30 13:21:07 -04:00
Chris Lenk d453bf6f1a Add a couple granular markings tests 2018-03-30 13:12:51 -04:00
= 89cf4bc38f WIP:allow unknown custom objects to be processed by parse; WIP: splitting up parse utility into components; found bug in tests that wasnt providing for proper teardown cleaning, fixed 2018-03-29 11:49:30 -04:00
Greg Back e92db2417a
Merge pull request #147 from oasis-open/119-taxii-filters
119 taxii filters
2018-03-28 15:24:28 -05:00
= 51dcd6c184 same as last commit 2018-03-22 11:46:49 -04:00
= b1579ae265 same as last commit 2018-03-22 11:36:35 -04:00
= 9f19245c8a modify tests for python 3.x acceptance 2018-03-22 11:23:48 -04:00
= 536e56836c adding Filter check when the Filter property is 'type', checks the value has no underscores (issue #136) 2018-03-22 10:59:07 -04:00
Greg Back 369eb604ef
Merge pull request #146 from oasis-open/mbastian1135-patch-1
remove debug line
2018-03-22 07:55:53 -05:00
Michael K 383bf5755e
remove debug line 2018-03-21 22:06:46 -04:00
= 7880e4a89b passing TAXII query params in correct format to taxii2client; patching bug where TAXII query filters were being applied again locally to STIX objects via Filters (which doesnt work) 2018-03-21 17:19:05 -04:00
Greg Back 3c2d877bc3
Merge pull request #145 from oasis-open/138-non-json-files
138 non json files
2018-03-21 13:37:27 -05:00
Greg Back 33cfc4bb27
Merge pull request #143 from emmanvg/issue-134
Update TAXIICollectionSink.add() to use serialize()
2018-03-20 08:52:53 -05:00
Emmanuelle Vargas-Gonzalez eeb34ebbef Change logic for case `isinstance(stix_data, list)`` 2018-03-19 12:03:25 -04:00
Emmanuelle Vargas-Gonzalez 32cb62cca2 Make sure we return if there is nothing to add to the collection 2018-03-19 11:00:09 -04:00
Chris Lenk 4e5eb88458 Increase versioning code coverage slightly 2018-03-16 16:38:29 -04:00
Greg Back 8248fa4859
Merge pull request #144 from oasis-open/docs
Tweak property autodocumenter
2018-03-16 15:29:36 -05:00
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