Changelog
Version 6
Updated the underlying
argus-apito version2.0.0Breaking change: some autogenerated
argus-clicommands in theauthentication v1module have changed name.
Version 6.23.0
Add new flag to events search model.
Version 6.22.0
Added <source|destination>-ip-min-bits options to the argus-cli events search command.
Version 6.21.0
Added a argus-cli –version command showing the versions of argus-toolbelt
and its main dependencies.
Version 6.20.0
Migrated from customers v1 to v2 API.
Version 6.19.0
Added option reason-locale-delimiter to argus-cli cases change-status to support --reason comments in both Norwegian and English.
Version 6.18.0
Extends cases autocreate with option request_soc_analysis, which specifies whether to always request the “socAnalysis” workflow on case creation or update. Defaults to False.
6.18.x patches
6.18.1: Fixed bug where template comments would not be added to autocreated cases when new events are associated to the case using theargus-cli cases autocreatecommand.6.18.2: Fixed a bug incases autocreatewhere the--group-byoption would be ignored for test cases.
Version 6.17
Extends datastore sync and datastore update with options to lowercase keys (--lowercase-key) and values (--lowercase-value).
6.17.x patches
6.17.1: Fixed default value not being used if reading from a csv file with a single column.
6.17.2: Regression on default_value handling and fix bugs for changing case on keys
6.17.3: Updated the list of valid flags for event search
6.17.4: Fixed bug in datastore sync where datastore keys with escaped characters (ex.\\) caused large requests to fail.
Version 6.17
Extends datastore sync and datastore update with options to lowercase keys (--lowercase-key) and values (--lowercase-value).
Version 6.16
Changes the cases autocreate logic to only create one transaction for case status update and comment when --status-on-update option is provided.
Version 6.15
Extends the cases autocreate command with functionality to use case fields.
Deprecations
Usage of
--tagsis now deprecated. Any usage should use--fieldsinstead. Note that field names must be pre-defined in Argus before they can be used in a command.Anything reading the tags
CreatedByCron,case-autocreate-keyandcase-autocreate-groupshould now read from the corresponding case field instead of tag.CreatedByCronhas been re-named tocreated-by-cron.You can now use a new option
--use-fields [true/false](see additions below). This flag will be removed once tags as a whole is removed from the command.
Additions
You can pass case fields with
--fields, exactly in the same manner as--tags.Existing internal tags are now created as fields as well as tags.
If the tag
CreatedByCronis supplied, then it will be automatically added as the fieldcreated-by-cronas well.In a transition period,
--use-fields [true/false]can be set to use case fields for existing case identification instead of tags. The default for this isFalsefor now, but will be set toTruein some time. This flag will be removed when tags as a whole is removed.
Version 6.14
Adds the cases autocreate-yaml command to support configuration-based autoreports.
6.14.x patches
6.14.7: Fixed dependency requirements.
6.14.6: Fixed an issue with plugin loading affecting newer Python versions.
6.14.5: Fixed PyPI metadata.
6.14.4: Added--send-to-qaoption tocases autocreate.--internal-caseis now marked as deprecated.
6.14.3: Fixed an edge case in cases autocreate where it did not properly find an existing open case in some circumstances.
6.14.2: fixed a bug causing theevents searchcommand to return invalid output when no results were found.
6.14.1: fixed a critical bug preventing theevents searchcommand to function after the last release.
Version 6.13
6.13.x patches
6.13.2: removed references to discontinued legacy endpoints
6.13.1: Fix a bug where argus-cli datastores update –customer could not be used with environment authentication.
6.13.0
Added the
argus-cli cases autocreate --status-on-updateoption to the autocreate command, allowing setting the status of existing cases when new events are attached to them.
Version 6.12
Introduced compatibility with python 3.10.
6.12.x patches
6.12.9: fixed a bug that caused multiple options to have no effect
6.12.8: fixed a bug that caused the datastore values to be stored as OrderedDict objects
6.12.7: fixed a bug that caused the datastore synchronize command to fail when provided with the absolute path to a CSV file
6.12.6: fixed an issue where running argus-cli on python 3.8+ would display SyntaxWarnings
6.12.5: fixed a bug that caused the datastore synchronize command to fail
6.12.3: fixed a bug that prevented some options to be set.
6.12.2: Introduced compatibility withargus-api3.
6.12.1: fixed an issue where a bad combination of dependencies could be installed and cause the cli to crash.
Version 6.11
added a
argus-cli events search --no-paginateflag to the events search command, allowing theargus-cli events search --limitoption to set the total number of returned results.
Version 6.10
Rename the
argus-cli cases change-status --keywordoption to--keywords.--keywordis still supported but is considered deprecated and will be removed in a future version.
Version 6.9
Added the
argus-cli cases autocreate --explicit-accessoption to the autocreate command, allowing the creation of cases restricted to explicitly specified users.
6.9.x patches
6.9.2: fixed a bug where theargus-cli cases autocreate --request-workflowoption to the autocreate command would skip requesting the workflow if the same workflow had previously been acknowledged.
6.9.1: updated dependencies to requireargus-api2.7.2 or greater.
6.9.3: updated dependencies to requireargus-api2.7.2 or greater, addressing a bug where some commands could get stuck in an infinite loop.
Version 6.8
Added the
argus-cli cases autocreate --case-title-formatoption to the autocreate command, allowing the use of jinja syntax in case titles.Fixed a bug where the autocreate command would crash if a property referenced in the title did not exist. Missing properties are now ignored.
6.8.x patches
6.8.1: fixed a bug where theargus-cli cases change-statuscommand would crash and ignore remaining cases when failing to update a case’s status.
Version 6.7
Fixed the customer-networks update command.
Added the customer-networks list-locations command.
Added the Importing customer networks data into Argus with argus-cli guide to the docs.
Version 6.6
Added the
argus-cli cases autocreate --silent-updateoption to the autocreate command to disable comment creation upon adding new events to an existing case.
Version 6.5
Added the
argus-cli cases autocreate --case-title-enandargus-cli cases autocreate --case-title-nooptions to the autocreate command.
Version 6.4
Expanded possible formats for
customer-importsto include the following fields: -Networkfor ip address and subnet. -DescriptionandZonewith capital initial letters -Flags, separated by | -LocationShortNameto designate the location.These changes are backwards compatible with the old fields.
Flags will now properly be set when creating a network
Version 6.3
Updated jinja max version to <4.
Version 6.2
deprecated the
argus_cli.helpers.pagination. Using it will trigger a deprecation warning and will fail in future versions. Use theargus_api.paginationModule from theargus-apipackage instead.
Version 6.1
added the new
argus-cli cases autocreate --test-dataoption.
6.1.x patches
6.1.6: fixed an issue where the events search command would crash on empty result sets.6.1.5: fixed an issue where paginated queries would never terminate if the API returned an incorrect object count.6.1.4: fixed an issue where input time periods were subtracted a few milliseconds.6.1.3: Fixedargus-cli2.2.0compatibility warnings.6.1.1: Fixed a bug where a case description was generated as a comment when a pre-existing closed case existed and theargus-cli cases autocreate --closed-case-updateoption was set tonew-case.6.1.2: Fixed an issue where values expected for the--group-byparameter of theargus-cli events statisticscommand did not match those expected by the API.
6.0.x patches
6.0.1: Added case subject to autocreate output.6.0.2: Print case subject, description and associated events in autocreate output.
Version 5
Breaking change: includes support is now optional and will be enabled if the
pyyaml-includepackage is installed in the environment. the dependency can be installed with the toolbelt usingpip install argus-toolbelt[includes].
Version 5.1
added a
--exclude-customeroption to thecases remindcommand.
5.1.x patches
5.1.1: fixed typos in an error message
Version 5.0
5.0.x patches
5.0.9: addedAUTO_REPORTto the list of valid Argus event flags
5.0.8: updated dependencies
5.0.7: made dependency requirements more lax to avoid compatibility issues
5.0.6: fixed a bug that caused the autocreate command the autocreate command to fail when requesting a workflow that had already been requested and not acknowledged.
5.0.5: fixed an issue where thedatastore synccommand could crash when operating on many or very long keys.
5.0.4: notification-check will now be limited to customer subscribed to MSS services.
5.0.3: updated dependencies
5.0.2: excluded status-only changes from notification-check
5.0.1: toned down logging warnings during argument parser initialization.
Version 4
Breaking change: the autocreate command now reopens cases when attaching new events to existing but close cases, unless
argus-cli cases autocreate --close-after-createis used.New feature: added
argus-cli cases autocreate --closed-case-updateoption allowing to set the the command’s behavior when adding new events to an existing closed case.
Version 4.8
New feature: added the
argus-cli cases autocreate --request-workflow,argus-cli cases autocreate --acknowledge-workflowandargus-cli cases autocreate --workflow-commentoptions to the autocreate command
4.8.x patches
4.8.1: adjusted how the notification-check command filters cases, excluding internal and restricted cases.
Version 4.7
New feature: added support for includes in the configuration files, allowing to break it into multiple files.
Version 4.6
fixed a bug in the events search command where results over 10000 would not be fetched
New feature: added the
argus-cli events search --progressoption to display a progress bar during long event searches.New feature: added the
argus-cli events search --limitoption to set the amount of items to fetch per request during a search.
4.6.x patches
4.6.1: adjusted the logging output - theSetting up module for commandsmessage has been removed !
Version 4.5
New feature: added the
argus-cli cases notification-check --ignore-userto allow ignoring transactions made by specific users when checking for customer notifications.
4.5.x patches
4.5.1:
fixed a bug where the datastores dump command would only return the first 25 keys found.
new developer feature : added the
offset_paginated()function/decorator to help manage paginated result sets.
4.5.2: modified argument parser to support@current
Version 4.4
New developer feature : added
yellowandcyanoutput coloring helpers
4.4x patches
4.4.1- changed the notification-check command to ignore updates that only affected and case’s status and/or priority
Version 4.3
Updated the notification-check command :
the
--max-retriesoption has been removed (retries are now provided by the API library)updates that originate from Mnemonic are now excluded from the script’s output
4.3x patches
4.3.1- fixed a bug where the notification-check command would report customer updates
Version 4.2
New feature: Added support for changing the timeout of requests to the Argus API, see configuration: timeout
fixed
Version 4.1
New feature: added
argus-cli events search --min-countoption, allowing search filtering by aggregated count.
4.1x patches
4.1.4-4.1.5: Updated the minimum required version ofargus-apito fix a critical bug
4.1.3: Updated the minimum required version ofargus-apilibrary, which will now provide automatic retries on network errors and sane timeout defaults.
4.1.2: fixed a bug where the notification-check command would consider an update notified when only a mnemonic contact had been notified.
4.1.1: updated dependencies
Version 3
Version 3.8
New feature: Added the
argus-cli cases notification-check --max-retriesoption, allowing automatic retries on network failuresAPI : Added the new
argus_cli.helpers.retry.retry()helper, allowing retries of arbitrary callables
3.8x patches
3.8.2: added more retry cases whenargus-cli cases notification-check --max-retriesis used
3.8.1: will now retry on Argus API errors when theargus-cli cases notification-check --max-retriesoption is used in order to mitigate 503 errors
Version 3.7
New feature: Added the
argus-cli cases autocreate --tagsoption, allowing autocreate scripts to tag created cases.
3.7x patches
3.7.2: fixed a bug where grouping or sorting events by a field not set on one or more of the events would cause thecases autocreatecommand to crash3.7.1: added the Read The Docs theme as a dependency for documentation output