Liam Sennitt
dbe9c3f087
fix custom STIX objects with nested dictionary error #184
2018-06-01 13:49:32 +01:00
Greg Back
3e159abd4d
WIP: Merge branch 'master' into stix2.1
2018-05-23 10:43:52 -05:00
Greg Back
d67f2da0ea
Merge pull request #181 from oasis-open/http_error
...
Http error
2018-05-22 12:53:29 -05:00
=
3fb1840289
safer error class
2018-05-22 10:03:06 -04:00
Chris Lenk
636630a5aa
Bump version: 1.0.1 → 1.0.2
2018-05-18 13:06:32 -04:00
Chris Lenk
1a62e62c4d
Update CHANGELOG for v1.0.2
2018-05-18 13:05:58 -04:00
=
e484b7c25f
formatting
2018-05-18 11:45:40 -04:00
=
6004ec597c
solution to get 404 mocking problem
2018-05-18 11:19:05 -04:00
Greg Back
be30caab70
Merge pull request #180 from oasis-open/179-allow-custom
...
Fix 2 more allow custom bugs
2018-05-17 12:21:12 -05:00
Chris Lenk
ddc09f70c7
Set allow_custom if using a custom_properties dict
...
Fixes #179 .
2018-05-17 09:04:44 -04:00
Chris Lenk
cf972479ed
Pass allow_custom to object dicts in a Bundle
2018-05-16 15:37:30 -04:00
=
8fc421e7d4
think the mock client was erroneous for get_object(), couldnt get object by id, just returned random object
2018-05-16 15:17:34 -04:00
=
a3313bc08f
creating native DataSourceError exception class to wrap taxii client and server errors
2018-05-16 13:23:50 -04:00
Greg Back
b536af8e48
Merge pull request #178 from oasis-open/176-allow_custom
...
Allow Custom when adding objects to ObservedData or extensions to a Cyber Observable
2018-05-16 11:33:08 -05:00
Chris Lenk
69c31ca3fc
Pass allow_custom to ExtensionsProperty
...
Also fix bug caused by _properties being a class variable rather than an
instance variable. If you created an object with allow_custom,
allow_custom would be set for all future instances.
2018-05-16 12:14:33 -04:00
Greg Back
275ca19998
Clean up isort settings.
2018-05-15 17:16:23 -05:00
=
2b4c5bf264
handling and modifying exception messages in a manner acceptable by all python versions
2018-05-15 17:42:19 -04:00
=
0d3f80f2fe
removing taxii 503 error test as not reproducible in Travis environment
2018-05-15 15:41:46 -04:00
=
2392912533
handle TAXII client/server errors according to decided policy
2018-05-15 11:28:34 -04:00
Chris Lenk
06e5a33639
Pass allow_custom when adding to ObservedData
2018-05-11 17:28:55 -04:00
Greg Back
3f80c07342
Add tox checks for README.
2018-05-02 12:37:44 -05:00
Chris Lenk
102623b29a
Bump version: 1.0.0 → 1.0.1
2018-04-27 16:51:47 -04:00
Chris Lenk
ab513be217
Update CHANGELOG for v1.0.1
2018-04-27 16:45:18 -04:00
Greg Back
784893e178
Merge pull request #172 from oasis-open/171-make-constant
...
Fix make_constant when value is already a constant
2018-04-26 10:39:05 -05:00
Chris Lenk
4229c380a2
Fix make_constant when value is already a constant
...
Fixes #171 .
2018-04-26 10:20:46 -04:00
Greg Back
f778a45b33
Remove dev and nightly Python builds from Travis.
2018-04-25 14:29:22 -05:00
Chris Lenk
740fd63734
Merge pull request #170 from emmanvg/issue-148
...
Better coverage for TAXIICollections
2018-04-24 16:12:42 -04:00
Emmanuelle Vargas-Gonzalez
5d96cf11f1
Update TAXII2 filter fields in documentation
2018-04-24 15:55:46 -04:00
Emmanuelle Vargas-Gonzalez
410296e6e1
Update file taxii_example.py
2018-04-23 15:22:38 -04:00
Emmanuelle Vargas-Gonzalez
c15267971d
Remove 'real_stix_objs1' as it is unused in the tests
2018-04-23 14:55:06 -04:00
Emmanuelle Vargas-Gonzalez
2043a514e1
Add two more tests for the `dict` case in TAXIICollectionSink
2018-04-23 14:47:32 -04:00
Emmanuelle Vargas-Gonzalez
7e5c8a9409
Sort import statements in tests.
2018-04-23 14:27:36 -04:00
Emmanuelle Vargas-Gonzalez
7788ad8583
Add `medallion` dependency to Travis CI tests
2018-04-23 14:26:26 -04:00
Emmanuelle Vargas-Gonzalez
2fe9a0f297
Finish adding new tests for TAXII datastore. closes #148
2018-04-23 14:15:02 -04:00
Emmanuelle Vargas-Gonzalez
e4a226cae6
Finish merging all the changes from @mbastian1135
2018-04-23 14:14:16 -04:00
Emmanuelle Vargas-Gonzalez
488012d39d
Add support for 'real_stix_objs' for test cases
2018-04-23 14:12:54 -04:00
Emmanuelle Vargas-Gonzalez
fb79e703b8
Simplify FilterSet instance in MemorySource
2018-04-23 14:12:16 -04:00
Emmanuelle Vargas-Gonzalez
8a9acfe487
Create TAXII query correctly. closes #169
2018-04-23 14:11:08 -04:00
Emmanuelle Vargas-Gonzalez
99a8f9e871
Merge branch 'master' into issue-148
...
# Conflicts:
# stix2/test/test_datastore.py
# tox.ini
2018-04-23 11:04:28 -04:00
Emmanuelle Vargas-Gonzalez
507e3995dd
Update .gitignore
2018-04-23 09:42:33 -04:00
Emmanuelle Vargas-Gonzalez
988dad79b9
WIP: Mock TAXIIClient Collection Endpoint
2018-04-23 09:11:59 -04:00
Emmanuelle Vargas-Gonzalez
84c09d7a8f
Rename stix object fixture
2018-04-23 09:08:29 -04:00
Chris Lenk
3373a66aef
Fix README for PyPI rendering
...
Title underline too short.
2018-04-16 15:47:25 -04:00
Chris Lenk
161e10ec40
Bump version: 0.5.1 → 1.0.0
2018-04-16 14:57:35 -04:00
Chris Lenk
f66fbb73d9
Update CHANGELOG, docs for v1.0.0
2018-04-16 14:56:23 -04:00
Chris Lenk
fef3717576
Merge pull request #168 from oasis-open/123-default-revoked
...
Provide default for revoked, sighting:summary.
2018-04-16 14:54:49 -04:00
Chris Lenk
14dce03616
Provide default for revoked, sighting:summary.
...
This allows filter on un-revoked objects. Changes default JSONEncoder to
drop optional properties with default values in the spec if set to the
default value. They can be included by passing
include_optional_defaults=True to serialize().
2018-04-16 14:37:07 -04:00
Chris Lenk
194672ee2b
Tweak FilterSet docstrings style
2018-04-13 17:11:07 -04:00
Chris Lenk
a1befe6387
Merge pull request #167 from oasis-open/invalid-type-names
...
Disallow invalid type names in custom classes
2018-04-13 16:52:36 -04:00
Chris Lenk
14d3543906
Merge branch 'master' into invalid-type-names
2018-04-13 16:38:17 -04:00