Commit Graph

1501 Commits (c760e04c9a2702191ff4bacc349165ed20653b9e)

Author SHA1 Message Date
Emmanuelle Vargas-Gonzalez c760e04c9a rename module to serialization.py 2020-07-22 14:31:26 -04:00
Emmanuelle Vargas-Gonzalez 853bd0da21 move classes and methods from base.py to serialize.py 2020-07-22 13:56:24 -04:00
Emmanuelle Vargas-Gonzalez 37f0238fc6 add serialize.py module 2020-07-22 13:37:41 -04:00
Chris Lenk 55ea84ece2 Fix bug when adding custom obj to FileSystemSink
... if the object type hasn't been registered.

Related: #439.
2020-07-20 00:04:32 -04:00
Chris Lenk c49703803c
Merge pull request #427 from chisholm/remove_v21_protocol_family
Remove protocol_family from the v21 network socket SCO extension
2020-07-09 08:33:27 -04:00
Michael Chisholm d888eb60e2 Remove protocol_family and its uses from the v21 network
socket SCO extension.  It's a 2.0 property that got copied into
the 2.1 code by mistake.
2020-07-08 14:26:02 -04:00
Chris Lenk 2f08ad03b0
Merge pull request #424 from emmanvg/remove-rounding-semantic-equivalence
Semantic Equivalence - partial_string_based()
2020-07-08 12:27:18 -04:00
Emmanuelle Vargas-Gonzalez bf66744db3 remove round from `fuzz.token_sort_ratio(str1, str2)` call 2020-07-08 11:02:56 -04:00
Chris Lenk 457085a115
Merge pull request #377 from maxbachmann-forks/master
use rapidfuzz instead of fuzzywuzzy
2020-07-08 10:49:41 -04:00
Chris Lenk f1bb0b1b01 Bump version: 2.0.1 → 2.0.2 2020-07-07 09:42:01 -04:00
Chris Lenk 26d750dd1e Update CHANGELOG for v2.0.2 2020-07-07 09:41:16 -04:00
Chris Lenk 2fff3a6d45
Merge pull request #423 from oasis-open/fix-six-version
Fix six version
2020-07-07 09:32:53 -04:00
Chris Lenk b29527cae1 Fix for isort v5.0.0 2020-07-07 09:03:07 -04:00
Chris Lenk c92807a59a Restrict version of six library 2020-07-07 09:02:36 -04:00
Chris Lenk ee3425cc01 Bump version: 2.0.0 → 2.0.1 2020-07-06 16:44:29 -04:00
Chris Lenk eada36fc8f Update CHANGELOG for v2.0.1 2020-07-06 16:43:56 -04:00
Chris Lenk c8a9d31d7b Bump version: 1.4.0 → 2.0.0 2020-07-06 16:43:12 -04:00
Chris Lenk a584fa204a Update CHANGELOG for v2.0.0 2020-07-06 16:42:55 -04:00
Chris Lenk 8e785cbd05 Remove outdated comment 2020-07-06 16:42:33 -04:00
Chris Lenk 1e612688fe
Merge pull request #420 from oasis-open/default-to-2.1
Default to 2.1
2020-07-06 16:24:42 -04:00
Chris Lenk 4b02d22068 Simplify technical spec support explanation 2020-07-01 15:05:42 -04:00
Emmanuelle Vargas-Gonzalez 6daa9bd8a5 fix internal links to stix2.parsing.rst#stix2.parsing.parse 2020-07-01 11:21:53 -04:00
Emmanuelle Vargas-Gonzalez f2e044115b add newlines for stix2.v20.rst, stix2.v21.rst, stix2.confidence.rst 2020-07-01 10:32:51 -04:00
Emmanuelle Vargas-Gonzalez 1477effb2f add content for stix2.pattern_visitor.rst 2020-07-01 10:32:05 -04:00
Emmanuelle Vargas-Gonzalez 3150e1d6ea update section on `STIX 2 Technical Specification Support` README.rst 2020-07-01 10:30:05 -04:00
Emmanuelle Vargas-Gonzalez c3e5da4634 add `pattern_visitor` to api reference 2020-07-01 10:30:05 -04:00
Emmanuelle Vargas-Gonzalez fb0207fda8 add stix2.pattern_visitor.rst 2020-07-01 10:30:05 -04:00
Emmanuelle Vargas-Gonzalez 2ac3a4b524 add module docstring for versioning.py 2020-07-01 10:30:05 -04:00
Chris Lenk 53dbc5835e Add test for coverage
Tests creating a property with both required and default.
2020-07-01 09:54:50 -04:00
Chris Lenk 3397805367 Consolidate version-independent property tests 2020-07-01 09:41:10 -04:00
Emmanuelle Vargas-Gonzalez bc2a6322a9 update ts_support.ipynb 2020-06-30 23:11:59 -04:00
Emmanuelle Vargas-Gonzalez 056bc4de19 update custom.ipynb
update JSON to STIX 2.1
2020-06-30 22:54:40 -04:00
Emmanuelle Vargas-Gonzalez 03ca082a50 update stix2.parsing.rst 2020-06-30 22:39:58 -04:00
Emmanuelle Vargas-Gonzalez 1518a6d55e add file stix2.parsing.rst 2020-06-30 22:35:40 -04:00
Emmanuelle Vargas-Gonzalez 2f80b82139 update stix2.versioning.rst 2020-06-30 22:35:03 -04:00
Emmanuelle Vargas-Gonzalez a9af34b1e3 add file stix2.versioning.rst 2020-06-30 22:34:38 -04:00
Emmanuelle Vargas-Gonzalez 7ef3a02971 update docstrings environment.py and parsing.py 2020-06-30 22:32:04 -04:00
Emmanuelle Vargas-Gonzalez 21e109d881 remove `core` and added `parsing`, `versioning` to autosummary 2020-06-30 22:16:15 -04:00
Emmanuelle Vargas-Gonzalez de4ea5b805 edits to parsing.ipynb and workbench.ipynb
Create the warning admonitions correctly
2020-06-30 22:11:29 -04:00
Emmanuelle Vargas-Gonzalez e957e80126 remove stix2.core.rst 2020-06-30 22:04:40 -04:00
Emmanuelle Vargas-Gonzalez 9a0cb02ab3 nit-pick on v21 Indicator constructor 2020-06-30 13:58:19 -04:00
Chris Lenk e25734d2b6 Fix trailing commas 2020-06-26 16:43:19 -04:00
Chris Lenk d5d664ba41 Update docs for 2.1 as default 2020-06-26 16:43:19 -04:00
Chris Lenk 10bdfe9e25 Fix KeyError in TAXII DataStore 2020-06-26 16:43:19 -04:00
Chris Lenk 3ef63d5e17 Update Workbench for 2.1 2020-06-26 16:43:19 -04:00
Chris Lenk d62f5ee141 Remove 'encoding' param from json.loads
It's ignored since Python 3.1 and we've dropped 2.7.
2020-06-26 16:43:19 -04:00
Chris Lenk e80d3bad2c Fix 2.0 HashesProperties 2020-06-26 16:43:19 -04:00
Chris Lenk f78b396648 Fix parsing tests 2020-06-26 16:43:19 -04:00
Chris Lenk b42b1cafa7 Move a couple tests for organization 2020-06-26 16:43:19 -04:00
Chris Lenk b2ee33208f Set STIX 2.1 as default, fix indicator.valid_from 2020-06-26 16:43:19 -04:00