Chris Lenk
9e04481acb
Update requirements.txt
...
Fix failing ReadTheDocs builds.
Related: https://github.com/readthedocs/readthedocs.org/issues/5332
2019-09-26 15:52:44 -04:00
Chris Lenk
c6936ae7a2
Bump version: 1.1.3 → 1.2.0
2019-09-25 16:04:07 -04:00
Chris Lenk
0124dbc0dc
Update CHANGELOG for v1.2.0
2019-09-25 16:02:26 -04:00
Chris Lenk
5fedd89606
Merge branch 'master' of github.com:oasis-open/cti-python-stix2
2019-09-25 15:21:11 -04:00
Chris Lenk
a55666f1a5
Merge pull request #289 from emmanvg/semantic-equivalence
...
Semantic Equivalence
2019-09-25 15:19:40 -04:00
Chris Lenk
47551b8cc1
Add documentation for semantic equivalence
2019-09-25 14:28:24 -04:00
Emmanuelle Vargas-Gonzalez
75b87f50dd
Update .isort.cfg
2019-09-23 23:33:04 -04:00
Emmanuelle Vargas-Gonzalez
de478df687
update test after merge, formatting
2019-09-23 23:27:43 -04:00
Emmanuelle Vargas-Gonzalez
88b883c91d
Merge branch 'master' into semantic-equivalence
2019-09-23 23:20:42 -04:00
Emmanuelle Vargas-Gonzalez
dc79a1f869
add docstrings for new public methods. add test with disabled spec_version check.
...
fix calculation for distance, using incorrect algorithm. update package settings, tox settings
2019-09-23 23:13:50 -04:00
Chris Lenk
9c4f044cc1
Merge pull request #291 from oasis-open/stix2.1
...
Update Support for STIX 2.1
2019-09-23 12:55:16 -04:00
Chris Lenk
401c9ad950
Merge branch 'master' into stix2.1
2019-09-23 12:26:27 -04:00
Emmanuelle Vargas-Gonzalez
4eaaee89dc
make changes according to feedback. allow for custom objects to be supplied to method
2019-09-23 09:44:09 -04:00
Chris Lenk
c3b2121f41
Merge pull request #290 from khdesai/wd05SCO
...
Remove at_least_one=False from Artifact SCO
2019-09-19 10:43:36 -04:00
Desai, Kartikey H
113d481e84
Make SCO deterministic ID namespace a global var for better software hygiene
2019-09-19 10:31:14 -04:00
Desai, Kartikey H
f241ed5c6c
Remove at_least_one=False from Artifact SCO
2019-09-18 10:56:42 -04:00
Chris Lenk
e1a88a4840
Merge pull request #285 from khdesai/wd05SCO
...
WD 05 SCO
2019-09-18 10:54:13 -04:00
Desai, Kartikey H
3b1c922ba6
Fix observed data property check for at least one property existing
2019-09-18 10:29:07 -04:00
Emmanuelle Vargas-Gonzalez
e138753576
add another test
2019-09-17 16:10:54 -04:00
Emmanuelle Vargas-Gonzalez
351362ae33
more tests for coverage
2019-09-17 15:55:12 -04:00
Emmanuelle Vargas-Gonzalez
09858ba263
create more tests to improve coverage
2019-09-17 15:28:37 -04:00
Emmanuelle Vargas-Gonzalez
98ecdf53e3
update timestamp comparison method
2019-09-17 11:08:01 -04:00
Chris Lenk
91f2e50321
Merge pull request #287 from zrush-mitre/master
...
Fixing precision not holding on a marking-definition during parsing and serialization
2019-09-17 09:10:51 -04:00
Emmanuelle Vargas-Gonzalez
ea0df70806
update test environment requirements
2019-09-16 14:45:01 -04:00
Emmanuelle Vargas-Gonzalez
e8eb7bcca2
fix logging messages, typos and add tests for the semantic equivalence method
2019-09-16 14:35:14 -04:00
Zach Rush
855bc96863
Avoid throwing exceptions when unneeded to avoid problems
2019-09-13 14:54:52 -04:00
Zach Rush
4c6519cf43
Changed 'six.text_type' to 'six.string_types', since the former didn't seem to work in python2.7
2019-09-13 12:09:02 -04:00
Zach Rush
4753519349
Marking-definitions are now checked for their attribute before being tested and tests were modified to expect the correct value
2019-09-13 10:52:50 -04:00
Zach Rush
5f3e41a9ab
Marking-definitions are now checked for their attribute before being tested and tests were modified to expect the correct value
2019-09-13 10:51:28 -04:00
Desai, Kartikey H
8447c9fcd9
Add few tests to improve some code coverage
2019-09-11 14:21:41 -04:00
Zach Rush
afa4af65c6
Fixing pre-commit things
2019-09-11 12:22:55 -04:00
Zach Rush
e7a6554395
Fixing pre-commit issues
2019-09-11 12:12:26 -04:00
Zach Rush
7c96d991e6
Added a function to ensure precision consistency
2019-09-11 10:55:09 -04:00
Desai, Kartikey H
9c7128d074
Fix indentation issue
2019-09-11 10:49:11 -04:00
Desai, Kartikey H
d828e41c78
End of changes
2019-09-11 10:44:14 -04:00
Emmanuelle Vargas-Gonzalez
6fa77adfe3
wrote all default weights, actually computing the equivalence score
...
logging for unsupported objects, finished implementing some methods. Missing to implement patterning.
2019-09-10 15:04:07 -04:00
Zach Rush
53db47b447
Statement-type definitions will now match the timestamp precision given to them
2019-09-09 21:38:58 -04:00
Desai, Kartikey H
5b6592e2dc
Some changes. More fixes coming soon, hopefully
2019-09-06 18:08:27 -04:00
Desai, Kartikey H
8f773fd556
Temp backup of some code changes. More coming soon
2019-09-06 00:25:42 -04:00
Desai, Kartikey H
abf2980336
Fix tests and ReferenceProperty
2019-09-04 19:08:34 -04:00
Desai, Kartikey H
44ebd64a16
Some test fixes. More coming soon
2019-08-30 03:47:47 -04:00
Desai, Kartikey H
f69b13a006
Some more updates, primarily to ReferenceProperty (and related code)
2019-08-29 17:15:51 -04:00
Chris Lenk
886ef8464d
Add contributing note about isort
2019-08-29 16:14:40 -04:00
Desai, Kartikey H
5825118ad4
Merge branch 'stix2.1' of https://github.com/oasis-open/cti-python-stix2 into wd05SCO
2019-08-27 17:37:14 -04:00
Desai, Kartikey H
49077352d7
Updates and corrections for SCO WD 05 updates. Temp backup; testing and more fixes coming soon
2019-08-27 17:36:45 -04:00
Chris Lenk
d2a649b4bc
Merge pull request #286 from chisholm/custom_content_error_fix
...
Fix handling of custom extensions: uncleaned property values
2019-08-27 13:02:11 -04:00
Michael Chisholm
94bb76f669
Fix docstring on the unit tests I added. I'd said "partially
...
cleaned" property, but actually, the cleaning algorithm works on
a dict copy, so aborting cleaning partway through doesn't
actually affect the object in that way. It would actually cause
the extensions property to be completely uncleaned, rather than
partially cleaned.
2019-08-26 17:49:55 -04:00
Michael Chisholm
c212c7c678
Fix handling of custom extensions: make sure when
...
allow_custom=True that you never get a half-cleaned property
value.
2019-08-26 17:10:54 -04:00
Desai, Kartikey H
7c9fc3fd08
Fix deterministic ID tests
2019-08-21 09:33:42 -04:00
Desai, Kartikey H
364daec40a
Add deterministic ID tests
2019-08-21 09:21:51 -04:00