Emmanuelle Vargas-Gonzalez
d31b110330
Update TAXII datastores
2017-11-03 08:58:47 -04:00
Emmanuelle Vargas-Gonzalez
d6c14139f3
Extend object serialization options for _STIXBase
2017-11-03 08:02:32 -04:00
Emmanuelle Vargas-Gonzalez
8c2af813b2
Define CustomProperty. Make sure to update _properties dict when allow_custom=True
2017-11-02 21:56:18 -04:00
Emmanuelle Vargas-Gonzalez
cd6c7982af
Update tests related to Datastores
2017-11-02 21:31:56 -04:00
Emmanuelle Vargas-Gonzalez
1e591a827d
ABC for DataSink, DataStore and DataSource. Fixes across the concrete objects
2017-11-02 21:29:25 -04:00
Greg Back
37e9049536
Merge pull request #93 from emmanvg/issue-91
...
Update stix2 Package Structure
2017-11-01 20:09:15 +00:00
Greg Back
f029a01f9a
Merge pull request #95 from oasis-open/filters
...
Change filters to allow filtering all properties
2017-11-01 20:04:48 +00:00
Emmanuelle Vargas-Gonzalez
b2ff16994f
Document new util method
2017-11-01 14:21:26 -04:00
Emmanuelle Vargas-Gonzalez
a17d770d34
Merge master
2017-11-01 14:17:41 -04:00
Chris Lenk
7dd222b202
Test MemoryStore saving/loading to/from file
...
Python 3 dict.values() returns a view, not a list. See
https://stackoverflow.com/a/17431716/
Fix #65 .
2017-11-01 12:51:04 -04:00
Emmanuelle Vargas-Gonzalez
7b9f09ee18
Minor change
2017-11-01 12:46:01 -04:00
Emmanuelle Vargas-Gonzalez
84fa86a2fd
Fix import statement
2017-11-01 11:03:02 -04:00
Emmanuelle Vargas-Gonzalez
06a50b0178
Update README, add DEFAULT_VERSION
2017-11-01 10:48:28 -04:00
Chris Lenk
c2d1e9777b
Clean up filters
...
- Simplify an if statement since split() with no matches returns single
item list
- Rename _all_filter -> _check_property and make it a method on Filter
- Raise an error instead of returning -1
- s/field/property
2017-11-01 10:40:10 -04:00
Emmanuelle Vargas-Gonzalez
ef20860400
Detele support.ipynb
2017-11-01 10:03:03 -04:00
Emmanuelle Vargas-Gonzalez
e985d3b1d5
Move ts_support to Jupiter Notebook
2017-11-01 10:01:41 -04:00
Greg Back
07a5d3a98e
Merge pull request #88 from oasis-open/76-filesystem-bundles
...
Filesystem Bundles and custom content
2017-10-31 19:44:43 +00:00
Chris Lenk
d93bf44c00
Merge branch 'master' into 76-filesystem-bundles
2017-10-31 14:10:29 -04:00
Chris Lenk
482135465b
Merge pull request #92 from oasis-open/issue66
...
Fix #66 - checking STIX obj ID from TAXII server
2017-10-31 14:06:34 -04:00
=
d8e4f1ab98
addessing requested changes
2017-10-31 13:48:31 -04:00
Chris Lenk
924c72e98a
Change filters to allow filtering all properties
...
(Not just common properties)
2017-10-30 17:25:32 -04:00
Emmanuelle Vargas-Gonzalez
a514c5a3df
Add test for _register_type()
2017-10-29 00:09:13 -04:00
Emmanuelle Vargas-Gonzalez
b9d25a8375
Add notebook docs, fix package distribution
2017-10-28 00:32:28 -04:00
Chris Lenk
4ffad6d34f
Remove stix2-validator dependency
...
Fixes #94 .
2017-10-27 16:01:51 -04:00
Chris Lenk
612f2fbab8
Increase code coverage for filesystem datastore
...
Found a couple bugs in the process and fixed them, too.
2017-10-27 15:50:43 -04:00
Emmanuelle Vargas-Gonzalez
942a95a4e2
Update documentation
2017-10-27 12:38:25 -04:00
Emmanuelle Vargas-Gonzalez
42317ddf31
Update filesystem.py to allow_custom and version
2017-10-27 12:38:03 -04:00
Emmanuelle Vargas-Gonzalez
71ee73c08a
Add MANIFEST to exclude test from final package
2017-10-27 12:37:08 -04:00
Chris Lenk
f103084439
Add `bundlify` parameter to FileSystemStore/Sink
...
This brings back the option (disabled by default) to wrap objects in a bundle
when saving them to the filesystem.
2017-10-27 12:23:57 -04:00
Greg Back
6b3e3e7c48
Merge pull request #90 from oasis-open/created-by
...
Add created_by() function to Environment
2017-10-27 15:15:27 +00:00
Chris Lenk
4e3752912d
Remove stray `print` statement
2017-10-26 15:35:19 -04:00
Emmanuelle Vargas-Gonzalez
9aefa61153
Small fix for Python 3.3, 3.4
2017-10-26 12:39:27 -04:00
Emmanuelle Vargas-Gonzalez
8c56adda21
Update package structure
2017-10-26 11:39:45 -04:00
=
082973f780
whitespace - somehow pre-commit got turned off??
2017-10-25 15:18:32 -04:00
=
313c6f56ff
guide output
2017-10-25 14:38:25 -04:00
=
7092990565
tested code with jupyter notebook and local TAXII server
2017-10-25 14:36:20 -04:00
Chris Lenk
5dffe74867
Clean up creator_of
...
(renamed from created_by)
2017-10-24 14:20:42 -04:00
Chris Lenk
47b11453fa
Increase test coverage for memory datastore
2017-10-24 12:43:30 -04:00
Chris Lenk
5c28074364
Add `allow_custom` to datastore docstrings
2017-10-24 09:15:09 -04:00
Chris Lenk
ca7bb77d87
Use a better link to the documentation
2017-10-23 14:38:58 -04:00
Chris Lenk
e1e368c0d2
Add created_by() function to Environment
2017-10-20 09:13:04 -04:00
Chris Lenk
476cd1ed5b
Add option for custom content to TAXII datastore
2017-10-18 18:34:08 -04:00
Chris Lenk
c6d5eee083
Separate out Memory datatstore tests
...
Makes sure custom content can be added to a MemoryStore.
2017-10-18 18:31:46 -04:00
Chris Lenk
e1d8c2872e
Don't Bundlify data in FileSystemStore
...
Don't wrap objects in a Bundle when adding them to a FileSystemStore,
but still support getting objects from FileSystemStore that were saved
in a bundle.
Also:
- Add option to allow custom content in FileSystemStore
- Simplify an if statement
- Improve FileSystem docstrings
- Remove an unnecessary parse() call in FileSystemSource.get()
2017-10-18 15:46:45 -04:00
Chris Lenk
84094e9f79
Separate out filesystem tests
2017-10-18 08:27:12 -04:00
Emmanuelle Vargas-Gonzalez
6deaddc04e
Make sure custom properties are returned by object. closes #85
2017-10-12 14:08:32 -04:00
Chris Lenk
134267bfd6
Add FileSystem test fixture, test adding bundle
2017-10-12 11:20:20 -04:00
Greg Back
374539a6cc
Don't try to re-parse STIX Objects when adding to Bundle.
2017-10-12 14:38:25 +00:00
Chris Lenk
09ef9353fc
Merge pull request #81 from emmanvg/issue-77
...
Make AS 'number' required, add missing props to SocketExt.
2017-10-11 17:30:42 -04:00
Emmanuelle Vargas-Gonzalez
cccd42d984
Make AS 'number' required, add missing props to SocketExt. closes #77
2017-10-11 15:10:06 -04:00