Demisto-sdk

Latest version: v1.30.0

Safety actively analyzes 638330 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 32

1.20.6

* Added the *--mode* argument to the **pre-commit** command, to run pre-commit with special mode (to run with different settings), supported mode are: 'nightly'.
* Modified the `validate` and `format` pre-commit hooks to run with the `--all` flag only when the `--mode=nightly` argument and `--all` flag were given.
* Modified the `ruff` pre-commit hook to run with `--config=nightly_ruff.toml` argument when running **pre-commit** command wite the `--mode=nightly` argument.
* Fixed an issue where deprecating parsing rules or modeling rules using **format** failed due to schema discrepancies.
* Fixed an issue where kebab-case arguments were not parsed correctly.
* Fixed an issue where **validate** falsely failed with error `RN115` on release notes with linefeed at the end of the file.
* Fixed an issue where **validate** falsely failed with error `DS108` on descriptions ending with new lines followed by square/curly brackets.
* Fixed an issue where **graph** commands would not clean their temporary files properly, causing successive commands to fail.
* Fixed an issue where an error log message changed the terminal color.

1.20.5

* Fixed an issue where **validate** falsely failed with error `DS108` on descriptions ending with brackets that contains a dot at the end of them.
* Fixed an issue where **modeling-rule test** command failed to properly render the comparison table when boolean value were printed.
* Fixed an issue were format added a dot at end of the description that already ends with question mark and exclamation mark.
* Fixed an issue where **upload** failed when trying to upload an indicator field.
* Updated the **update-content-graph** command to work with external repositories.
* Updated the **validate** command to work with external repositories when using the *--graph* flag.
* added support for `isfetchassets` flag in content graph

1.20.4

* Fixed an issue where using **prepare-content**, **upload**, **zip-packs** and **download** on machines with default encoding other than unicode caused errors.
* The **modeling-rules-test** will now ignore test data files containing the `test_data_config_ignore` key.
* Fixed an issue where **modeling-rules init-test-data** command failed on modeling rules that contain the text `call` even not as a separate word.
* Unlocked the dependency on `packaging`.

1.20.3

* Added the `FileType.VULTURE_WHITELIST` to the `FileType` enum for `.vulture_whitelist.py` files.
* Improved performance when reading `yml` files.
* Fixed an issue where **format** would add unnecessary period at the end of descriptions ending with brackets.
* Fixed an issue where **format** would not add a period at the end of descriptions, when running on in script files.
* Fixed an issue where running **validate -g** failed reading a `.pack-ignore` file that contained only newlines and spaces.
* Fixed an issue where **upload** failed when trying to upload a list content item.
* Fixed an issue where **download** would skip downloading list content items assigned to specific user roles with no roles.
* Demisto-SDK will now exit gracefully with an appropriate error message when *git* is not installed.
* Updated validation *RN116* to support the structure of **--force** flag in *update-release-notes* command.
* Fixed an issue where the release notes file was not added automatically to git when using the *update-release-notes* command.
* Fixed the structure in *update-release-notes* command when used with the **--force** flag. Now the header will display the pack display name.
* Fixed the support in **validate** for `svg` images to have their theme suffix.
* Modified **validate** to support only .svg files ending with *_dark* or *_light* suffixes.
* Fixed an issue where **modeling-rule test** command failed to properly compare types of fields.
* Fixed an issue where **validate** falsely failed with error `DS108` on descriptions ending with question mark and exclamation mark.
* Updated the **engineinfo** type in the script schema.
* Updated the **modeling-rules init & test** commands to support RULE section fields.
* Stability improvements for **graph create** and **graph update** commands.
* Fixed the *metadata* type in the XSIAM dashboard schema to *map*, with possible values: **lazy_load** and **cache_ttl**

1.20.2

* Updated the **pre-commit** command to run on all python versions in one run.
* Added the *--dry-run* flag to the **pre-commit** command, to create the config file without running the command.
* Fixed an issue where the **coverage-analyze** command was not parsing the logs correctly.
* Fixed an issue where **validate** falsly failed with error `DS108` on descriptions ending with a newline.
* Added formatting for script yml files when period is missing in the end of comment field, in the **format** command.
* Fixed an issue where **format** add a newline with a period when the description field missing a period.
* The content graph will now include the **python_version** field that each script/integration uses.
* Updated the **update-release-notes** command message structure when is run with **--force** flag.
* Added the **engineinfo** in to the script schema. This field specifies on which engine the script will run.
* Fixed an issue where **validate** falsely failed with error `DS108` on empty descriptions.
* Added support for lazy loading the of widgets in XSIAM dashboards.
* Added a **validate** check for correlation rules, making sure that `search_window` cannot be empty when `execution_mode` is set to `SCHEDULED`.
* Added the *metadata* key to the XSIAM dashboard schema. This field adds support for dynamic parameters in the dashboards.

1.20.1

* Added formatting for yml files when period is missing in the end of description field, in the **format** command.
* Fixed an issue where logging arguments were not in the standard kebab-case. The new arguments are: **console-log-threshold**, **file-log-threshold**, **log-file-path**.
* Added a new validation (`DS108`) to ensure that each description in the yml of script/integration ends with a dot.
* Fixed an issue where the **validate -g** failed reading a `.pack-ignore` file that was previously empty.
* Fixed an issue where the **update-release-notes** failed when changing the `.pack-ignore` file.
* Fixed an issue where the **GR103** validation output was malformed.
* Fixed an issue where the **upload** command failed for private repositories while trying to find the landing_page.json file.
* Added a log when a content item is missing from the repo, in **graph create** and **graph update**.
* Replaced logs with a progress bar in **graph create** and **graph update**.

Page 5 of 32

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.