Skip to content

Commit

Permalink
Merge branch 'master' into synapse-3xx
Browse files Browse the repository at this point in the history
  • Loading branch information
Cisphyx authored Feb 20, 2024
2 parents 113a324 + 46aacd1 commit 66ad247
Show file tree
Hide file tree
Showing 30 changed files with 922 additions and 109 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.161.0
current_version = 2.162.0
commit = True
tag = True
tag_message =
Expand Down
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ commands:
command: |
. venv/bin/activate
mkdir test-reports
circleci tests glob synapse/tests/test_*.py synapse/vendor/*/tests/test_*.py | circleci tests split --split-by=timings | xargs python3 -m pytest -v -s -rs --durations 6 --maxfail 6 -p no:logging --junitxml=test-reports/junit.xml -o junit_family=xunit1 ${COVERAGE_ARGS}
circleci tests glob synapse/tests/test_*.py synapse/vendor/*/tests/test_*.py | circleci tests run --split-by=timings --command "xargs python3 -m pytest -v -s -rs --durations 6 --maxfail 6 -p no:logging --junitxml=test-reports/junit.xml -o junit_family=xunit1 ${COVERAGE_ARGS}"
test_steps_doc:
description: "Documentation test steps"
Expand Down
153 changes: 152 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,162 @@
.. vim: set textwidth=79
-.. _changelog:
.. _changelog:

*****************
Synapse Changelog
*****************

v2.162.0 - 2024-02-15
=====================

Model Changes
-------------
- Updates to the ``inet``, ``infotech``, ``ou``, ``proj``, and ``risk`` models.
(`#3549 <https://github.com/vertexproject/synapse/pull/3549>`_)
(`#3551 <https://github.com/vertexproject/synapse/pull/3551>`_)
(`#3564 <https://github.com/vertexproject/synapse/pull/3564>`_)

**New Properties**

``inet:email:message``
The form had the following properties added to it:

``received:from:ipv4``
The sending SMTP server IPv4, potentially from the Received: header.

``received:from:ipv6``
The sending SMTP server IPv6, potentially from the Received: header.

``received:from:fqdn``
The sending server FQDN, potentially from the Received: header.

``ou:oid:type``
The form had the following property added to it:

``url``
The official URL of the issuer.

``proj:project``
The form had the following property added to it:

``type``
The project type.

``risk:alert``
The form had the following properties added to it:

``status``
The status of the alert.

``assignee``
The Synapse user who is assigned to investigate the alert.

``ext:assignee``
The alert assignee contact information from an external system.

``risk:mitigation``
The form had the following properties added to it:

``reporter``
The organization reporting on the mitigation.

``reporter:name``
The name of the organization reporting on the mitigation.

``tag``
The tag used to annotate nodes which have the mitigation in place.

**New Forms**

``proj:project:type:taxonomy``
A type taxonomy for projects.

**Deprecated Properties**

``it:mitre:attack:group``
The ``it:mitre:attack:group`` form had the following property marked as deprecated:

* ``tag``

``it:mitre:attack:tactic``
The ``it:mitre:attack:tactic`` form had the following property marked as deprecated:

* ``tag``

``it:mitre:attack:technique``
The ``it:mitre:attack:technique`` form had the following property marked as deprecated:

* ``tag``

``it:mitre:attack:software``
The ``it:mitre:attack:software`` form had the following property marked as deprecated:

* ``tag``

``it:mitre:attack:campaign``
The ``it:mitre:attack:campaign`` form had the following property marked as deprecated:

* ``tag``

Features and Enhancements
-------------------------
- Add Storm API methods for inspecting and manipulating dictionary objects
in Storm. These are ``$lib.dict.has()``, ``$lib.dict.keys()``,
``$lib.dict.pop()``, ``$lib.dict.update()``, and ``$lib.dict.values()`
(`#3548 <https://github.com/vertexproject/synapse/pull/3548>`_)
- Add a ``json()`` method to the ``str`` type in Storm to deserialize a string
as JSON data.
(`#3555 <https://github.com/vertexproject/synapse/pull/3555>`_)
- Add an ``_ahainfo`` attribute to the ``Telepath.Proxy``, containing AHA
service name information if that is provided to the Dmon.
(`#3552 <https://github.com/vertexproject/synapse/pull/3552>`_)
- Add permissions checks to ``$lib.bytes`` APIs using ``axon.has`` for APIs
that check for information about the Axon or metrics; and ``axon.upload``
for APIs which put bytes in the Axon. These are checked with
``default=True`` for backward compatibility.
(`#3563 <https://github.com/vertexproject/synapse/pull/3563>`_)
- The rstorm ``storm-svc`` and ``storm-pkg`` directives now wait for any
``onload`` handlers to complete.
(`#3567 <https://github.com/vertexproject/synapse/pull/3567>`_)
- Update the Synapse Python package trove classifiers to list the platforms
we support using Synapse with.
(`#3557 <https://github.com/vertexproject/synapse/pull/3557>`_)

Bugfixes
--------
- Fix a bug in the ``Cell.updateHttpSessInfo()`` API when the Cell does not
have the session in memory.
(`#3556 <https://github.com/vertexproject/synapse/pull/3556>`_)
- Fix a bug where a user was allowed to vote for their own View merge request.
(`#3565 <https://github.com/vertexproject/synapse/pull/3565>`_)
- Include Storm variables from the current and parent scopes when resolving
STIX properties and relationships.
(`#3571 <https://github.com/vertexproject/synapse/pull/3571>`_)

Improved Documentation
----------------------
- Update the Storm automation documentation. Added additional information
about permissions used to manage automations. Added examples for
``edge:add`` and ``edge:del`` triggers. Added examples for managing Macro
permissions.
(`#3547 <https://github.com/vertexproject/synapse/pull/3547>`_)
- Update the Storm filtering and lifting documentation to add information
about using interfaces and wildcard values with those operations.
(`#3560 <https://github.com/vertexproject/synapse/pull/3560>`_)
- Update the Synapse introduction to note that Synapse is not intended to
replace big-data or data-lake solutions.
(`#3553 <https://github.com/vertexproject/synapse/pull/3553>`_)

Deprecations
------------
- The Storm function ``$lib.dict()`` has been deprecated, in favor of using
the ``({"key": "value"})`` style syntax for directly declaring a dictionary
in Storm.
(`#3548 <https://github.com/vertexproject/synapse/pull/3548>`_)
- Writeback layer mirrors and upstream layer mirrors have been marked as
deprecated configuration options.
(`#3562 <https://github.com/vertexproject/synapse/pull/3562>`_)

v2.161.0 - 2024-02-06
=====================

Expand Down
6 changes: 3 additions & 3 deletions docs/synapse/userguides/storm_adv_control.rstorm
Original file line number Diff line number Diff line change
Expand Up @@ -328,17 +328,17 @@ before attempting to download it.

<inbound file:bytes node(s)>

if $lib.bytes.has(:sha256) { }
if $lib.axon.has(:sha256) { }

else { | malware.download }


The Storm query above:

- takes an inbound ``file:bytes`` node;
- checks for the file in the Axon (:ref:`stormlibs-lib-bytes-has`) using the ``:sha256`` value of the inbound
- checks for the file in the Axon (:ref:`stormlibs-lib-axon-has`) using the ``:sha256`` value of the inbound
file;
- if ``$lib.bytes.has(:sha256)`` returns ``true`` (i.e., we have the file), do nothing (``{ }``);
- if ``$lib.axon.has(:sha256)`` returns ``true`` (i.e., we have the file), do nothing (``{ }``);
- otherwise call the ``malware.download`` service to attempt to download the file.

**Note:** In the above example, ``malware.download`` is used as an example Storm command; it does not exist
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = 'setuptools.build_meta'

[project]
name = 'synapse'
version = '2.161.0'
version = '2.162.0'
authors = [
{ name = 'The Vertex Project LLC', email = 'root@vertex.link'},
]
Expand Down
Loading

0 comments on commit 66ad247

Please sign in to comment.