Releases: vertexproject/synapse
Synapse v2.229.0
Features and Enhancements
- Updated deprecation warnings to be included in standard log messages instead
of using the Pythonwarningsmodule.
(#4582 <https://github.com/vertexproject/synapse/pull/4582>_) - Updated Python logging configuration to write messages in a separate thread
for better performance.
(#4601 <https://github.com/vertexproject/synapse/pull/4601>_) - Added
storm.sudopermission which allows users to optionally run Storm
queries as a global admin.
(#4607 <https://github.com/vertexproject/synapse/pull/4607>_)
Bugfixes
- Fixed a bug where the
auth.role.showcommand would show empty AuthGates
after all rules were removed from the gate.
(#4597 <https://github.com/vertexproject/synapse/pull/4597>_) - Fixed an issue where the maximum value allowed for unsigned integer types was
lower than the actual maximum value possible for the size.
(#4598 <https://github.com/vertexproject/synapse/pull/4598>_) - Fixed a bug where nodedata keys longer than 506 bytes would fail to set the
data and leak a Python exception into the Storm runtime.
(#4599 <https://github.com/vertexproject/synapse/pull/4599>_) - Fixed an issue with Telepath links not inheriting
certhashand
hostnameoptions from their parent link.
(#4608 <https://github.com/vertexproject/synapse/pull/4608>_)
Improved documentation
- Updated Storm type specific documentation to add information about the
dictionary basedguidconstructor syntax.
(#4600 <https://github.com/vertexproject/synapse/pull/4600>_)
Notes
- Removed log message indicating that the attempt to brute force the
it:prod:softver:versas a semver string failed. This log message was
misleading, since this functionality changed inv2.128.0.
(#4582 <https://github.com/vertexproject/synapse/pull/4582>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html
Synapse v2.228.0
Model Changes
- Added
media:news:versionto track the version of the news item.
(#4581 <https://github.com/vertexproject/synapse/pull/4581>_) - See :ref:
userguide_model_v2_228_0for more detailed model changes.
Features and Enhancements
- Updated autodoc functionality to improve command help in Storm package
documentation.
(#4579 <https://github.com/vertexproject/synapse/pull/4579>_) - Updated mirror writeback behavior to no longer wait for or receive the return
value of Nexus event execution on the leader.
(#4583 <https://github.com/vertexproject/synapse/pull/4583>)
(#4588 <https://github.com/vertexproject/synapse/pull/4588>)
(#4592 <https://github.com/vertexproject/synapse/pull/4592>_)
Bugfixes
- Fixed bug where Python exceptions were being leaked into the Storm runtime
when invalid idens were passed in with theidensoption.
(#4589 <https://github.com/vertexproject/synapse/pull/4589>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html
Synapse v2.227.0
Automatic Migrations
- Removed AuthGates for CronJobs which no longer exist.
(#4559 <https://github.com/vertexproject/synapse/pull/4559>_) - See :ref:
datamigrationfor more information about automatic migrations.
Model Changes
- Added
meta:feed:idto capture an identifier for a feed.
(#4555 <https://github.com/vertexproject/synapse/pull/4555>_) - See :ref:
userguide_model_v2_227_0for more detailed model changes.
Features and Enhancements
- Added
$lib.dict.fromlist()function to create dictionaries from arrays of
(key, value) tuples.
(#4557 <https://github.com/vertexproject/synapse/pull/4557>_) - Fail fast when trying to deserialize an empty value with
$lib.json.load().
(#4558 <https://github.com/vertexproject/synapse/pull/4558>_) - Improved the performance of the
syncLayersEventsandsyncIndexEvents
Cortex APIs when there are a large number of layers.
(#4560 <https://github.com/vertexproject/synapse/pull/4560>_) - Added
mutableproperty to Stormmodel:typetypes to check if a
particular model type is considered mutable.
(#4561 <https://github.com/vertexproject/synapse/pull/4561>_) - Added try syntax (
?=) when setting or modifying tag timestamps.
(#4562 <https://github.com/vertexproject/synapse/pull/4562>_) - Added
ipv4-addr,ipv6-addr,location,file,url, and
domain-nameto the default STIX types supported by
$lib.stix.import.ingest().
(#4568 <https://github.com/vertexproject/synapse/pull/4568>_)
Bugfixes
- Fixed bug where lists retrieved from
$lib.globalswere not mutable.
(#4544 <https://github.com/vertexproject/synapse/pull/4544>_) - Deprecated the
keyfield in the Storm packageinitsdictionary. The
version key is now automatically set tostorage:versionto properly
identify newly installed packages. If the key was previously set to
versionit will be migrated tostorage:version.
(#4554 <https://github.com/vertexproject/synapse/pull/4554>_) - Fixed a bug where default values passed to
$lib.globals.pop()would
return a copy of the value instead of the same value when the query was
executed on a mirror.
(#4544 <https://github.com/vertexproject/synapse/pull/4544>_) - Fixed an issue where adding a list of tags to a node would compute and apply
each tag value individually rather than in a single operation.
(#4569 <https://github.com/vertexproject/synapse/pull/4569>_) - Fixed issue where lists retrieved from
$lib.user.vars(user:vars:dict
Storm types) were not mutable.
(#4570 <https://github.com/vertexproject/synapse/pull/4570>_) - Fixed issue where lists in vault secrets/configs (
vault:dataStorm types)
were not mutable.
(#4570 <https://github.com/vertexproject/synapse/pull/4570>_) - Fixed issue where lists retrieved from
$lib.user.profile
(user:profile:dictStorm types) were not mutable.
(#4570 <https://github.com/vertexproject/synapse/pull/4570>_) - Fixed issue where lists in user profiles from
$lib.auth.users.get()
(auth:user:profileStorm types) were not mutable.
(#4570 <https://github.com/vertexproject/synapse/pull/4570>_) - Fixed issue where lists in user vars from
$lib.auth.users.get()
(auth:user:varsStorm types) were not mutable.
(#4570 <https://github.com/vertexproject/synapse/pull/4570>_)
Notes
- Updated
StormPkgTest.getTestCore()to wait for the
core:pkg:onload:completeevent associated with the package being loaded.
(#4552 <https://github.com/vertexproject/synapse/pull/4552>_)
Deprecations
- Deprecated comp types using mutable fields (data and array) and non-existent
types.
(#4561 <https://github.com/vertexproject/synapse/pull/4561>)
(#4575 <https://github.com/vertexproject/synapse/pull/4575>)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html
Synapse v2.226.0
Model Changes
- Added
inet:service:platform:typetaxonomy property to track platform
types.
(#4535 <https://github.com/vertexproject/synapse/pull/4535>_) - Added
inet:service:platform:familyto capture the family a platform
belongs to.
(#4540 <https://github.com/vertexproject/synapse/pull/4540>_) - Added an
aboutlight edge fromit:log:eventto any form.
(#4549 <https://github.com/vertexproject/synapse/pull/4549>_) - Added a
linkedlight edge between any two forms.
(#4549 <https://github.com/vertexproject/synapse/pull/4549>_) - See :ref:
userguide_model_v2_226_0for more detailed model changes.
Features and Enhancements
- Added
vm.dirty_bytesandvm.dirty_background_bytessysctl values to
thegetSystemInfo()APIs.
(#4545 <https://github.com/vertexproject/synapse/pull/4545>_)
Bugfixes
- Fixed a bug where assigning array, data, or some comp type node properties to
a variable would not make a mutable copy of the value.
(#4527 <https://github.com/vertexproject/synapse/pull/4527>_) - Fixed an issue where the
aha.svc.mirrorStorm command and
synapse.tools.aha.mirrorCLI tool could incorrectly list followers as
additional leaders.
(#4530 <https://github.com/vertexproject/synapse/pull/4530>_) - Fixed an issue where invalid cron jobs were not removed correctly.
(#4548 <https://github.com/vertexproject/synapse/pull/4548>_) - Fixed an issue where
cron.atjobs could cause an error in the scheduler
loop on a mirror that was promoted after the job had run.
(#4548 <https://github.com/vertexproject/synapse/pull/4548>_) - Fixed an issue where
cron.atjobs would only partially update their state
on mirrors after running, causing them to be removed from the mirror upon
restart.
(#4548 <https://github.com/vertexproject/synapse/pull/4548>_)
Deprecations
- Deprecated
asrootoption on Storm commands. Functionality requiring
elevated permissions should be in Storm modules.
(#4538 <https://github.com/vertexproject/synapse/pull/4538>_) - Deprecated
storm.asroot.mod.<modname>style permissions in favor of
asroot:permsfor Storm modules.
(#4538 <https://github.com/vertexproject/synapse/pull/4538>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html
Synapse v2.225.0
Model Changes
- Added
media:news:bodyto capture the body of a news item.
(#4525 <https://github.com/vertexproject/synapse/pull/4525>_) - Added
risk:mitigation:idto capture the identifier for a mitigation.
(#4526 <https://github.com/vertexproject/synapse/pull/4526>_) - Added
inet:service:account:usersto capture alternate user names.
(#4528 <https://github.com/vertexproject/synapse/pull/4528>_) - See :ref:
userguide_model_v2_225_0for more detailed model changes.
Features and Enhancements
-
Improved performance by reducing overhead on leader when distributing changes
to mirrors which are caught up with the leader.
(#4342 <https://github.com/vertexproject/synapse/pull/4342>_) -
Moved several tools hosted under the
synapse.toolsnamespace into
purpose specific modules. The following is a list of all the tools
that were moved, with the old and new names available:+-------------------+---------------------------+
| Old Tool | New Tool |
+===================+===========================+
| axon2axon | axon.copy |
+-------------------+---------------------------+
| pullfile | axon.get |
+-------------------+---------------------------+
| pushfile | axon.put |
+-------------------+---------------------------+
| csvtool | cortex.csv |
+-------------------+---------------------------+
| feed | cortex.feed |
+-------------------+---------------------------+
| apikey | service.apikey |
+-------------------+---------------------------+
| backup | service.backup |
+-------------------+---------------------------+
| demote | service.demote |
+-------------------+---------------------------+
| healthcheck | service.healthcheck |
+-------------------+---------------------------+
| livebackup | service.livebackup |
+-------------------+---------------------------+
| modrole | service.modrole |
+-------------------+---------------------------+
| moduser | service.moduser |
+-------------------+---------------------------+
| promote | service.promote |
+-------------------+---------------------------+
| reload | service.reload |
+-------------------+---------------------------+
| shutdown | service.shutdown |
+-------------------+---------------------------+
| genpkg | storm.pkg.gen |
+-------------------+---------------------------+
| pkg.gendoc | storm.pkg.doc |
+-------------------+---------------------------+
| autodoc | utils.autodoc |
+-------------------+---------------------------+
| changelog | utils.changelog |
+-------------------+---------------------------+
| easycert | utils.easycert |
+-------------------+---------------------------+
| guid | utils.guid |
+-------------------+---------------------------+
| json2mpk | utils.json2mpk |
+-------------------+---------------------------+
| rstorm | utils.rstorm |
+-------------------+---------------------------+These changes were made in a backwards compatible manner. The tools can
still be invoked with their previous names. For example,
synapse.tools.promotecan still be be used to invoke the
synapse.tools.service.promotetool.The old locations for these tools are considered deprecated.
(#4514 <https://github.com/vertexproject/synapse/pull/4514>)
(#4533 <https://github.com/vertexproject/synapse/pull/4533>)
Bugfixes
- Fixed bug with Storm command cmdconf dictionaries being mutable across
invocations.
(#4524 <https://github.com/vertexproject/synapse/pull/4524>_) - Fixed an issue where the maximum size allowed for headers in HTTP client
responses was insufficient for some use cases.
(#4529 <https://github.com/vertexproject/synapse/pull/4529>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html
Synapse v2.224.0
Model Changes
- Added the following properties to
inet:service:platform::id,
:zone,:zones,:parent,:status,:period,:creator,
:remover.
(#4508 <https://github.com/vertexproject/synapse/pull/4508>)
(#4511 <https://github.com/vertexproject/synapse/pull/4511>) - Added the
:updatedproperty andaboutedge torisk:alert.
(#4516 <https://github.com/vertexproject/synapse/pull/4516>_) - See :ref:
userguide_model_v2_224_0for more detailed model changes.
Features and Enhancements
- Added the following time format strings:
$lib.time.formats.iso8601,
$lib.time.formats.iso8601us,$lib.time.formats.rfc2822, and
$lib.time.formats.synapse.
(#4513 <https://github.com/vertexproject/synapse/pull/4513>_) - Added support for deprecating Storm commands and command args in the command
definitions.
(#4515 <https://github.com/vertexproject/synapse/pull/4515>_)
Bugfixes
- Fixed an issue where adding extended model elements to a mirror on a newer
version than the leader could fail on the leader.
(#4510 <https://github.com/vertexproject/synapse/pull/4510>_) - Fixed a bug in the Storm IMAP library where IMAP clients may fail to properly
close network resources.
(#4512 <https://github.com/vertexproject/synapse/pull/4512>_) - Fixed bug in telepath Layer APIs where permissions checks were skipped
because of missing awaits.
(#4521 <https://github.com/vertexproject/synapse/pull/4521>_)
Notes
- Updated
synapse.common.flattento allow float values.
(#4520 <https://github.com/vertexproject/synapse/pull/4520>_)
Deprecations
- Deprecated
$lib.psin favor of the$lib.tasklibrary.
(#4515 <https://github.com/vertexproject/synapse/pull/4515>_) - Deprecated
ps.killcommand in favor oftask.killcommand.
(#4515 <https://github.com/vertexproject/synapse/pull/4515>_) - Deprecated
ps.listcommand in favor oftask.listcommand.
(#4515 <https://github.com/vertexproject/synapse/pull/4515>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html
Synapse v2.223.0
Model Changes
- Updated
pe:langidtype toenums:strict=Falsewith a value range of
0x0000-0xFFFF.
(#4495 <https://github.com/vertexproject/synapse/pull/4495>_) - See :ref:
userguide_model_v2_223_0for more detailed model changes.
Features and Enhancements
- Updated trigger
$auto.optsto includeuser, indicating the user that
caused the trigger to fire.
(#4491 <https://github.com/vertexproject/synapse/pull/4491>_) - Added
$lib.pkg.queuesStorm API to manage persistent queues for a Storm
Package.
(#4496 <https://github.com/vertexproject/synapse/pull/4496>_) - Updated Storm package
initsto set the current version to the maximum of
the step version and version variable to allow for skipping later steps.
(#4497 <https://github.com/vertexproject/synapse/pull/4497>_) - Updated
$lib.mime.html.totext()to accept optionalseparatorand
striparguments so the caller can specify the separator used to join the
tag text and whether to strip whitespace from the beginning and end of the
tag text.
(#4502 <https://github.com/vertexproject/synapse/pull/4502>_) - Added
$lib.taskStorm APIs for interacting with tasks on a Cortex and its
mirrors.
(#4499 <https://github.com/vertexproject/synapse/pull/4499>_) - Added
task.listandtask.killcommands for listing and killing tasks
on a Cortex and its mirrors.
(#4499 <https://github.com/vertexproject/synapse/pull/4499>_)
Bugfixes
- Removed an erroneous comment in the example Kubernetes podspec for the AHA
service.
(#4489 <https://github.com/vertexproject/synapse/pull/4489>_) - Fixed an issue where attempting to use a variable containing a null value as
a walk target would raise a Python exception.
(#4506 <https://github.com/vertexproject/synapse/pull/4506>_)
Notes
- Added the local and remote offsets to the error log message indicating that a
mirror is out of sync from the remote service.
(#4498 <https://github.com/vertexproject/synapse/pull/4498>_)
Deprecations
- Deprecated the
synapse.cryotank.CryoTankCell.
(#4494 <https://github.com/vertexproject/synapse/pull/4494>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html
Synapse v2.222.0
Model Changes
- See :ref:
userguide_model_v2_222_0for more detailed model changes.
Features and Enhancements
- Added
asroot:ondeny:importto the Storm package module definition to
allow a user to import a module without elevated permissions.
(#4476 <https://github.com/vertexproject/synapse/pull/4476>_) - Updated rstorm to add a
storm-python-pathdirective to allow adding
additional Python paths tosys.pathwhen building rstorm documentation.
(#4486 <https://github.com/vertexproject/synapse/pull/4486>_)
Bugfixes
- Fixed bug when using deref syntax (
*$form) where a non-string value would
raise a Python exception in the Storm runtime.
(#4481 <https://github.com/vertexproject/synapse/pull/4481>_) - Fixed an issue where certain Layer storage node APIs could raise an exception
when used on mirrored layers.
(#4485 <https://github.com/vertexproject/synapse/pull/4485>_) - Fixed a bug in the default
Content-Typeheader used in the extended Storm
HTTP API.
(#4487 <https://github.com/vertexproject/synapse/pull/4487>_)
Notes
- Updated the execution of rstorm shell directives to inherit the calling
process's environment variables.
(#4482 <https://github.com/vertexproject/synapse/pull/4482>_)
Improved documentation
- Updated Cortex Permissions documentation to include existing Layer
permissions.
(#4483 <https://github.com/vertexproject/synapse/pull/4483>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html
Synapse v2.221.0
Features and Enhancements
- Added the Storm Layer API
hasEdge.
(#4470 <https://github.com/vertexproject/synapse/pull/4470>_) - Added an optional
verbargument to thegetEdgesByN1and
getEdgesByN2Storm Layer APIs.
(#4470 <https://github.com/vertexproject/synapse/pull/4470>_) - Added Storm Layer
delNodeData()API to delete node data in a layer.
(#4471 <https://github.com/vertexproject/synapse/pull/4471>_) - Added Storm Layer
delStorNode()API to delete node information in a
layer.
(#4471 <https://github.com/vertexproject/synapse/pull/4471>_) - Added Storm Layer
delEdge()API to delete edges in a layer.
(#4471 <https://github.com/vertexproject/synapse/pull/4471>_) - Added
$lib.utils.buid()to calculate buids in Storm.
(#4475 <https://github.com/vertexproject/synapse/pull/4475>_)
Bugfixes
- Fixed an issue with
$lib.env.get()where non-string values could be
returned when providing a default value. These are now coerced into strings.
(#4457 <https://github.com/vertexproject/synapse/pull/4457>_) - Fixed a bug in the Storm Layer API
getStorNodesByProp()where passing a
form name would not return anything.
(#4468 <https://github.com/vertexproject/synapse/pull/4468>_)
Improved documentation
- Updated Storm library documentation to enforce the existence of all argument
types.
(#4457 <https://github.com/vertexproject/synapse/pull/4457>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html
Synapse v2.220.0
Features and Enhancements
- Updated the IMAP client backend code for
$lib.inet.imap().
(#4439 <https://github.com/vertexproject/synapse/pull/4439>_) - Added an
xor()method on Stormbytesobjects.
(#4459 <https://github.com/vertexproject/synapse/pull/4459>_)
Bugfixes
- Fixed regression in JSON where serializing strings with control characters
would cause an error.
(#4463 <https://github.com/vertexproject/synapse/pull/4463>_) - Fixed bug where the
intersectcommand was not marked as readonly safe.
(#4465 <https://github.com/vertexproject/synapse/pull/4465>_)
For complete changelog entries, see the following https://synapse.docs.vertex.link/en/latest/synapse/changelog.html