Skip to content

Commit

Permalink
added changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
rpiazza committed May 2, 2021
1 parent 93c472a commit c4d7eab
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,32 @@
CHANGELOG
=========

4.0.0 - 2021-05-02

The elevator and stepper are compliant with STIX 2.1 CS01

Python 3.5 is no longer supported.
All compatibility code to support Python 2.7 has been removed (e.g., the six package)

* Major Changes
- Support Extension feature described in section 7.3 of the specification
- Support Incident as a specification SDO
- Use handle_missing_properties method to encapsulate most extension/custom functionality
- Handle related objects with no know STIX 2.1 relationship

* Other Changes
- Handle ArchiveFile different for 2.0 vs 2.1
- email_message:message_id is only in 2.1
- Infer network-traffic protocol from extension type
- Handle registry key in example where there is no hive property
- Better handling of Sightings
- Add object data marking to Relationships when appropriate based on the source and target references
- Handle name and title properties of malware better

* Testing changes
- Added testing for python 3.9
- Test for the ignore missing policy for STIX 2.1

3.0.1 - 2020-12-09

* Update dependencies
Expand Down
8 changes: 4 additions & 4 deletions stix2elevator/test/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ def setup_options():


@pytest.mark.parametrize("opts", [
ElevatorOptions(policy="no_policy", spec_version="2.1", log_level="DEBUG", disabled=[212, 901]),
{"policy": "no_policy", "spec_version": "2.1", "log_level": "DEBUG", "disabled": [212, 901]},
Namespace(policy="no_policy", spec_version="2.1", log_level="DEBUG", disabled="212,901",
file_=None, incidents=False, missing_policy="add-to-description",
ElevatorOptions(policy="no_policy", spec_version=os.environ["VERSION"], log_level="DEBUG", disabled=[212, 901]),
{"policy": "no_policy", "spec_version": os.environ["VERSION"], "log_level": "DEBUG", "disabled": [212, 901]},
Namespace(policy="no_policy", spec_version=os.environ["VERSION"], log_level="DEBUG", disabled="212,901",
file_=None, incidents=False, missing_policy=os.environ["MISSING_POLICY"],
custom_property_prefix="elevator", infrastructure=False, package_created_by_id=None,
default_timestamp=None, validator_args="--strict-types", enabled=None, silent=False,
message_log_directory=None, output_directory=None, markings_allowed=""),
Expand Down

0 comments on commit c4d7eab

Please sign in to comment.