Commit Graph

  • 6f680be8a6 Add stix2.__version__ clenk 2017-07-06 09:39:33 -0400
  • 9bfc240008 Merge pull request #27 from oasis-open/issue26 Greg Back 2017-07-06 13:36:06 +0000
  • 1d3c59cc44 Move TLP constants up to stix2 namespace clenk 2017-07-05 13:21:06 -0400
  • 1ea9671b68 Allow passing a list to Bundle constructor Fix #26 clenk 2017-07-05 11:31:56 -0400
  • f8e3a4f0e8 Merge pull request #25 from oasis-open/issue24 Greg Back 2017-06-29 20:41:15 +0000
  • 2c8efc93bb Add information on API layers Greg Back 2017-06-29 12:51:17 +0000
  • 29d9467ce0 Add more timestamp test cases, address suggestions clenk 2017-06-28 15:55:23 -0400
  • e01ce132db Add timestamp precision for `created` and `modified` Fix #24 clenk 2017-06-22 18:47:35 -0400
  • 07ccf9ec03 Merge pull request #22 from oasis-open/custom Greg Back 2017-06-15 16:11:55 +0000
  • fdbb6ff337 Add custom Cyber Observables clenk 2017-06-14 09:34:42 -0400
  • d4e92dd813 Allow adding validation to custom object types clenk 2017-06-13 10:26:43 -0400
  • bcfb13f23c Add custom STIX Object types clenk 2017-06-12 16:15:12 -0400
  • 8f1ae4e6d3 Add custom properties via 'allow_custom' Custom properties can be specified by passing them to a STIX object constructor in the 'custom_properties' argument, or with the 'allow_custom' argument set to True, which will add any unrecognized keyword arguments as properties on the object. The 'allow_custom' argument can also be used with the parse() and parse_observable() functions. An error is now raised when attempting to parse objects without a 'type' property, such as external references, kill chain phases, and granular markings. The object which contains them is what should be parsed, not these objects themselves. clenk 2017-06-12 12:54:05 -0400
  • bf740b21eb Initial selector and marking_ref validation. Emmanuelle Vargas-Gonzalez 2017-06-12 08:06:37 -0400
  • ee4618f6c8 Add new marking errors. Emmanuelle Vargas-Gonzalez 2017-06-12 08:06:13 -0400
  • 1f258551e1 Add and update tests for markings API. Emmanuelle Vargas-Gonzalez 2017-06-09 14:22:56 -0400
  • 1b7695c4f6 Initial marking code. Emmanuelle Vargas-Gonzalez 2017-06-09 14:21:42 -0400
  • 069c82abf1 Add markings.utils.py Emmanuelle Vargas-Gonzalez 2017-06-09 14:20:16 -0400
  • 9036c7f7b8 Add custom properties clenk 2017-06-09 12:20:40 -0400
  • 41481139bf Merge pull request #21 from emmanvg/master Greg Back 2017-06-08 10:04:09 -0500
  • c1ce2bd3f1 Add markings package structure. Emmanuelle Vargas-Gonzalez 2017-06-08 10:44:23 -0400
  • c1c5c05f47 Some changes to Process and EmailMessage objects. Added tests. Emmanuelle Vargas-Gonzalez 2017-06-08 10:09:18 -0400
  • b9f63e8de6 Minor Code Changes. Emmanuelle Vargas-Gonzalez 2017-06-08 08:42:32 -0400
  • 860efcc230 Make object attribute access act like dictionary access, raising an error for any property (including custom or optional) not set on the object. clenk 2017-06-07 11:06:20 -0400
  • 35e973243f Merge pull request #20 from emmanvg/master Greg Back 2017-06-05 09:30:04 -0500
  • a38b912d19 Change _check_property_dependency() to also check for values for the required properties. Emmanuelle Vargas-Gonzalez 2017-06-02 13:48:44 -0400
  • 653eef4b95 Revert changes to test_file_example_encryption_error() Emmanuelle Vargas-Gonzalez 2017-06-02 13:47:08 -0400
  • e11b3adb3f Style change. Emmanuelle Vargas-Gonzalez 2017-06-02 10:22:31 -0400
  • 51e28f64da Change __getattr__() to use __getitem__() instead. Other minor changes. Emmanuelle Vargas-Gonzalez 2017-06-02 10:10:50 -0400
  • d579c12172 Update ImmutableError test cases. Emmanuelle Vargas-Gonzalez 2017-06-02 07:34:37 -0400
  • fceef4d85a Use class name for ImmutableError message. Emmanuelle Vargas-Gonzalez 2017-06-02 07:33:31 -0400
  • 0cf0f97143 Merge branch 'master' of github.com:oasis-open/cti-python-stix2 Emmanuelle Vargas-Gonzalez 2017-06-02 07:15:01 -0400
  • 229ab5d323 Fix import order clenk 2017-06-01 17:17:03 -0400
  • 61c1e07433 Move codecov invocation from Tox to Travis This avoids errors when running Tox locally. Also display line numbers missing test coverage. clenk 2017-06-01 17:00:22 -0400
  • f321447ecc Make Travis happy with cosmetic fixes clenk 2017-06-01 16:47:56 -0400
  • e1e7bade3f Updated this test since setting the value to False should not be a reason to fail the test. Emmanuelle Vargas-Gonzalez 2017-06-01 15:25:46 -0400
  • 4d58fc3dbb Explicitly check for None, when intention is to set empty values or False. fixes #17 Emmanuelle Vargas-Gonzalez 2017-06-01 15:25:03 -0400
  • 5dc049d65a getattr() checks for attribute membership, returns the value if not None and raises AttributeError when is not present. fixes #19 Emmanuelle Vargas-Gonzalez 2017-06-01 15:23:44 -0400
  • ad46474663 Update immutable tests. Emmanuelle Vargas-Gonzalez 2017-06-01 12:43:42 -0400
  • 49f58ff513 Make Immutable error more descriptive. Also fixes #13 Emmanuelle Vargas-Gonzalez 2017-06-01 12:43:06 -0400
  • 9dbde93031 Bump version: 0.1.0 → 0.2.0 v0.2.0 Greg Back 2017-05-31 10:03:50 -0500
  • ea1e408b50 More style fixes Greg Back 2017-05-31 10:02:37 -0500
  • 9a504fda66 Merge pull request #18 from mitre/taxii-data-source Greg Back 2017-05-31 09:54:52 -0500
  • 53ddf32e8c Style/lint fixes Greg Back 2017-05-31 08:58:14 -0500
  • 6c3a689f02 fixed indentation = 2017-05-31 09:47:36 -0400
  • 03f9af4b96 Merge branch 'taxii-data-source' of https://github.com/mitre/cti-python-stix2 into taxii-data-source = 2017-05-31 09:41:32 -0400
  • d207ada05e in order to pull = 2017-05-31 09:41:19 -0400
  • c65055bb0e tests for TAXII data source; some bug fixes = 2017-05-30 16:56:27 -0400
  • bff7901417 Merge pull request #1 from emmanvg/taxii-data-source Greg Back 2017-05-30 09:13:17 -0500
  • 835d675162 Merge fork changes. Emmanuelle Vargas-Gonzalez 2017-05-26 15:30:30 -0400
  • 2a8af45ec2 Code style changes. Emmanuelle Vargas-Gonzalez 2017-05-26 15:24:33 -0400
  • fc1ce6d56d Add some tests Greg Back 2017-05-25 12:31:45 -0500
  • 97d8d732fc Initial code for TAXII data source. Michael Kouremetis 2017-05-24 10:25:40 -0500
  • 33cc4caa36 Bump version: 0.0.1 → 0.1.0 v0.1.0 Greg Back 2017-05-22 10:17:39 -0500
  • b4dfa07a20 Improve coverage of utils.py Also fix bugs this discovers. Fix #15. clenk 2017-05-22 11:11:42 -0400
  • 41f2ceb8e5 Change remaining 'fields' to 'properties' Greg Back 2017-05-19 12:51:59 -0500
  • a913d9d5ad Merge pull request #14 from oasis-open/parse-cyber-observables Greg Back 2017-05-19 09:15:00 -0500
  • 9bc3242736 Refactor extension properties to inherit from a base class so all extension classes will include the check for at least one property clenk 2017-05-18 14:04:28 -0400
  • 0d736509e2 Fix tests clenk 2017-05-18 11:24:43 -0400
  • 931de31a10 Merge branch 'parse-cyber-observables' of https://github.com/oasis-open/cti-python-stix2 into parse-cyber-observables clenk 2017-05-18 11:08:12 -0400
  • b6e22bcbdf Merge pull request #12 from rpiazza/cyber-observables Chris Lenk 2017-05-18 11:02:10 -0400
  • f8242cffe4 correct misspelling on _check_object_constraints Richard Piazza 2017-05-18 09:48:01 -0400
  • 8827149ef0 avoid {} set notation. It doesn't seem to be in 2.6 Richard Piazza 2017-05-17 15:51:07 -0400
  • f56ea8e951 added tests for process and file extensions if no properties are passed to _check_at_least_one_property assume its all properties when extensions are involved always check them in _check_at_least_one_property (caused by raising the exception on the enclosing type) added _check_object_constaints to extensions, where appropriate Richard Piazza 2017-05-17 15:33:28 -0400
  • 3e0e80141b For object reference properties, check the type of the object referenced, not only that it is included in the local scope. clenk 2017-05-17 15:21:02 -0400
  • 7c71b9e577 added tests for File and Process extensions fixed typo in WindowsPEOptionalHeaderType Richard Piazza 2017-05-16 12:39:04 -0400
  • 9761c37f20 Replace 'field' with 'property' to be consistent with the specification clenk 2017-05-16 12:27:30 -0400
  • a520a67511 Add tests for the Network Traffic extension and User Account extensions clenk 2017-05-16 11:35:43 -0400
  • 2460fb75be Rework select properties to use get_dict(), which automatically coerces values to a dictionary if possible clenk 2017-05-16 09:25:08 -0400
  • 0e2a3b4818 Merge pull request #5 from oasis-open/parse-cyber-observables Rich Piazza 2017-05-15 16:01:16 -0400
  • aa69c38444 Merge pull request #11 from rpiazza/cyber-observables Chris Lenk 2017-05-15 15:29:59 -0400
  • 826b6af644 added missing required properties Richard Piazza 2017-05-15 15:21:59 -0400
  • 6456e490cc added rest of cyber observables extensions and embedded objects set up EXT_MAPs added FloatProperty implemented ExtensionsProperty Richard Piazza 2017-05-15 13:48:41 -0400
  • f937e2bb3f Merge pull request #10 from oasis-open/issue9 Greg Back 2017-05-15 12:40:38 -0500
  • 958e60b01d Add 'labels' property to COMMON_PROPERTIES clenk 2017-05-15 10:57:40 -0400
  • c20f640910 Merge branch 'cyber-observables' of https://github.com/rpiazza/cti-python-stix2 into cyber-observables Richard Piazza 2017-05-12 13:18:40 -0400
  • a95e91005c too Chris' suggestions to improve interproperty constraint methods added interproperty constraint check to ExternalReferences Richard Piazza 2017-05-12 13:18:02 -0400
  • dd7da48697 Merge pull request #4 from oasis-open/parse-cyber-observables Rich Piazza 2017-05-12 13:14:26 -0400
  • 9273207576 Merge branch 'parse-cyber-observables' of https://github.com/oasis-open/cti-python-stix2 into parse-cyber-observables clenk 2017-05-12 12:19:54 -0400
  • 84cdc1c204 Merge pull request #8 from rpiazza/cyber-observables Chris Lenk 2017-05-12 11:32:57 -0400
  • 0568a0e671 Add ExtensionsProperty and ArchiveExt clenk 2017-05-12 11:22:23 -0400
  • 29871427b7 fix import error Richard Piazza 2017-05-11 15:42:56 -0400
  • 191b14a4bb fix import error Richard Piazza 2017-05-11 15:33:45 -0400
  • ae5fb51564 Merge branch 'parse-cyber-observables' into cyber-observables Rich Piazza 2017-05-11 15:29:15 -0400
  • 94f4f48329 Changes so File object creation doesn't violate on of the MUSTs Added three new exceptions: DependentPropertiestError, AtLeastOnePropertyError, MutuallyExclusivePropertiesError Added tests for NetworkTraffic, Process, URL, WindowsRegistryKey and X509Certificate Added error tests for EmailMessage, NetworkTraffic, Artifact, Added interproperty checker methods to the base class: _check_mutually_exclusive_properties, _check_at_least_one_property and _check_properties_dependency Added interproperty checkers to Artifact, EmailMIMEComponent, EmailMessage, NetworkTraffic Made NetworkTraffic.protocols required Added X509V3ExtenstionsType class Use EmbeddedObjectProperty for X509Certificate.x509_v3_extensions Richard Piazza 2017-05-11 15:22:46 -0400
  • 13245d28ce Add EnumProperty, use it in WindowsRegistryValueType clenk 2017-05-10 11:52:59 -0400
  • b18259af77 Merge branch 'parse-cyber-observables' of https://github.com/oasis-open/cti-python-stix2 into parse-cyber-observables clenk 2017-05-10 09:20:09 -0400
  • aed8e2cdef Merge pull request #7 from rpiazza/cyber-observables Chris Lenk 2017-05-10 09:18:17 -0400
  • 67935d08fe Fix isort settings, rename Observable to clarify it's an internal class clenk 2017-05-09 18:03:46 -0400
  • 643941a950 Merge branch 'cyber-observables' of https://github.com/rpiazza/cti-python-stix2 into cyber-observables Richard Piazza 2017-05-09 15:52:23 -0400
  • 4493ac9cae style issue Richard Piazza 2017-05-09 15:51:52 -0400
  • 7c1fd1e7f0 Merge branch 'parse-cyber-observables' into cyber-observables Rich Piazza 2017-05-09 15:36:59 -0400
  • 075b8485e5 fix conflict Richard Piazza 2017-05-09 15:35:44 -0400
  • c3477b83bf encryption_algorithm was misspelled uncomment test_file_example_encryption_error added _check_object_constrains and properties_populated to base class added ObjectConstraintError added _check_object_constrains for File Richard Piazza 2017-05-09 15:28:32 -0400
  • bdd18be6c3 Switch to isort for checking import order because it has a pre-commit hook clenk 2017-05-09 15:10:53 -0400
  • 5de2cfe6a8 Merge pull request #3 from oasis-open/parse-cyber-observables Rich Piazza 2017-05-09 12:45:10 -0400
  • f4c813d84b Merge branch 'parse-cyber-observables' clenk 2017-05-09 12:39:17 -0400
  • 28d9304e6e Merge pull request #6 from rpiazza/cyber-observables Chris Lenk 2017-05-09 12:19:44 -0400
  • 555c81d30f Add EmailMessage and EmbeddedObjectProperty (for embedded object types like EmailMIMEComponent) clenk 2017-05-09 11:03:19 -0400
  • 549372048c style issues Richard Piazza 2017-05-08 21:14:32 -0400