Commit Graph

1678 Commits (69cd079cc28118c37881120ae7027ef988b27a2d)

Author SHA1 Message Date
Greg Back c1a59265ae Remove unnecessary TODO comments. 2017-03-21 20:24:32 -04:00
Greg Back 79554a6491 Convert remaining properties from dicts to classes 2017-03-21 20:24:32 -04:00
Greg Back 9bcf064213 Convert most old-style properties to Property classes 2017-03-21 20:06:09 -04:00
Greg Back 19146c8327 Convert REF_PROPERTY to ReferenceProperty 2017-03-21 19:44:01 -04:00
Greg Back ef332a328b Convert BOOL_PROPERTY to BooleanProperty. 2017-03-21 19:33:43 -04:00
Greg Back aa1ecfa235 Remove unused code. 2017-02-24 13:08:18 -06:00
Greg Back a79df01449 Convert more fields to Property classes. 2017-02-24 13:07:54 -06:00
Greg Back 7ef6e20e9a Add tests for kill chain phases. 2017-02-24 12:53:57 -06:00
Greg Back 2768426a28 Used fixed property for Bundle spec_version 2017-02-24 12:33:47 -06:00
Greg Back 2645bf2c71 Convert 'type' to a new Property class. 2017-02-24 12:33:45 -06:00
Greg Back a264ca1e5e Convert ID properties to class style 2017-02-24 12:32:05 -06:00
Greg Back cf688c3851 WIP: Start transforming properties. 2017-02-24 12:29:51 -06:00
Greg Back e5610ff81b Start CHANGELOG
[ci skip]
2017-02-24 12:26:12 -06:00
Greg Back 7026808b28 Bump version: 0.0.0 → 0.0.1 2017-02-24 12:11:24 -06:00
Greg Back c5bec64143 Merge branch 'properties' 2017-02-24 12:04:35 -06:00
Greg Back 805c15c397 Add tests for all SDOs 2017-02-24 11:56:55 -06:00
clenk 61d3652514 Add more SDO skeletons
- Campaign
- CourseOfAction
- Identity
- ObservedData
- Report
- ThreatActor
- Vulnerability
2017-02-23 10:12:38 -05:00
clenk 375b915da4 Add KillChainPhase, AttackPattern, IntrusionSet, Tool 2017-02-22 10:06:35 -05:00
Greg Back abb0257c11 Merge pull request #1 from oasis-open/documentation
Add navigation to sidebar, fix typos
2017-02-21 09:37:03 -06:00
clenk 417b43b1fe Add revoked property 2017-02-20 16:19:07 -05:00
clenk 084a3cd32a Add navigation to sidebar, fix typos 2017-02-20 15:38:35 -05:00
clenk e2f60bc8c5 Add created_by_ref common property 2017-02-15 17:10:30 -05:00
Greg Back 87330fcf74 Initial documentation. 2017-02-14 17:33:15 -06:00
Greg Back 610f24fe54 Basic Sphinx site. 2017-02-14 15:56:09 -06:00
Greg Back be0e11fd5c Add Travis-CI config. 2017-02-14 14:58:07 -06:00
Greg Back fe61b00d78 Merge existing 'master' branch 2017-02-13 10:17:20 -06:00
Greg Back c96771ec02 Convert README to markdown; reorganize README content. 2017-02-13 10:12:12 -06:00
Greg Back 031cdc9931 Add blank line 2017-02-10 16:12:02 -06:00
Greg Back dbe98c664a More repr tests. 2017-02-10 16:09:37 -06:00
Greg Back bc66db94aa Add generic __repr__ to _STIXBase. 2017-02-10 15:58:17 -06:00
Greg Back 96e880b49b Refactor library into separate files. 2017-02-10 15:35:02 -06:00
robincover 950590b8fd Create boilerplate LICENSE text 2017-02-10 12:01:03 -06:00
robincover 277fd957be Update CONTRIBUTING.md 2017-02-10 11:59:09 -06:00
robincover 25f3df0b54 Create CONTRIBUTING.md 2017-02-10 11:54:42 -06:00
robincover 82a1997792 Install boilerplate README text 2017-02-10 11:53:49 -06:00
robincover 1532c6089e Initial commit 2017-02-10 11:50:13 -06:00
Greg Back b171f025c8 Test for exact exception strings. 2017-02-02 11:07:57 -06:00
Greg Back 1a46a4b073 Add external references. 2017-02-02 10:58:46 -06:00
Greg Back 3bcc327813 Add tox support. 2017-02-02 10:28:16 -06:00
Greg Back 5d7ed643bd Check for required args first, and check for them all at once.
This is necessary for versions of Python <3.6, where dictionaries are
unordered by default, meaning we can't ensure the order in which fields
are checked.
2017-02-02 10:17:13 -06:00
Greg Back 1ba064734b Special handling for timestamp fields.
If a type has more than one timestamp field that should be automatically generated,
we want them to all be same, not vary by milliseconds.
2017-02-02 09:50:35 -06:00
Greg Back 675a29dbfb Add support for required fields with no default values. 2017-02-02 08:53:46 -06:00
Greg Back 67c3311672 Handle ID fields in a generic way. 2017-02-02 08:33:36 -06:00
Greg Back e677167cb4 Refine tests. 2017-02-02 08:13:48 -06:00
Greg Back 724774900d Generic form of JSON serialization 2017-02-01 16:04:20 -06:00
Greg Back 2a1709a7de Allow passing objects to Bundle as args 2017-02-01 14:57:07 -06:00
Greg Back 58fccd7f7d Further refactoring bundle. 2017-02-01 14:52:18 -06:00
Greg Back ce31356839 start of automated property checking. 2017-02-01 14:35:41 -06:00
Greg Back b4eb6c1fd1 Refactor common ID check. 2017-02-01 13:44:57 -06:00
Greg Back b5ab54b6a9 WIP: convert bundle to using kwargs. 2017-02-01 13:34:44 -06:00