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 8 of 32

1.15.3

* Added the `--init` flag to **download**.
* Added the `--keep-empty-folders` flag to **download**.
* Added `markdown-lint` to **pre-commit**
* Added the PEP484 (no-implicit-optional) hook to **pre-commit**.
* Fixed an issue where the content-graph parsing failed on mappers with undefined mapping.
* Fixed an issue in **validate** where `pack_metadata.json` files were not collected proplely in `--graph` option.
* Fixed an issue where *validate* reputation commands outputs were not checked for new content.
* Added *IN107* and *DB100* error codes to *ALLOWED_IGNORE_ERRORS* list.
* Added a validation that assures feed integrations implement the `integration_reliability` configuration parameter.
* Fixed an issue where the format command did not work as expected on pre-process rules files.
* Fixed an issue where **upload** command failed to upload when the XSOAR version is beta.
* Fixed an issue where **upload** command summary was inaccurate when uploading a `Pack` without the `-z` flag.
* Added pack name and pack version to **upload** command summary.
* Added support for modeling rules with multi datasets in ****modeling-rules test**** command.
* Fixed an issue where **validate** didn't recognize layouts with incident fields missing from `id_set.json` even when `--post-commit` was indicated.

1.15.2

* Fixed an issue where **format** added default arguments to reputation commands which already have one.
* Fixed an issue where **validate** fails when adding the *advance* field to the integration required fields.
* Updated the integration Traffic Light Protocol (TLP) color list schema in the **validate** command.
* Fixed an issue where **upload** would not read a repo configuration file properly.
* Fixed an issue where **upload** would not handle the `-x`/`--xsiam` flag properly.
* Fixed an issue where **format** failed to use input from the user, when asking about a `from_version`.
* Added the `-n`/`--assume_no` flag to **format**.

1.15.1

* Fixed an issue where **generate-docs** generated fields with double html escaping.
* Fixed an issue where **upload** failed when using the `-z` flag.

1.15.0

* **Breaking Change**: the **upload** command now only supports **XSOAR 6.5** or newer (and all XSIAM versions).
* **upload** now uses content models, and calls the `prepare` method of each model before uploading (unless uploading a zipped pack).
* Added a *playbook* modification to **prepare-content**, replacing `getIncident` calls with `getAlerts`, when uploading to XSIAM.
* Added a *playbook* modification to **prepare-content**, replacing `${incident.fieldname}` context accessors with `${alert.fieldname}` when uploading to XSIAM.
* Added a *playbook* modification to **prepare-content**, replacing `incident` to `alert` in task display names, when uploading to XSIAM.
* Added a *layout* modification to **prepare-content**, replacing `Related/Child/Linked Incidents` to `... Alerts` when uploading to XSIAM.
* Added a *script* modification to **prepare-content**, automatically replacing the word `incident` with `alert` when uploading to XSIAM.
* Added a validation that the **validate** command will fail if the `dockerimage` field in scripts/integrations uses any py3-native docker image.
* Updated the `ruff` version used in **pre-commit** to `0.0.269`.
* Fixed an issue in **create-content-graph** which caused missing detection of duplicated content items.
* Fixed an issue where **run-unit-tests** failed on python2 content items.
* Fixed an issue in **validate** where core packs validations were checked against the core packs defined on master branch, rather than on the current branch.
* Fixed an issue in **pre-commit** where `--input` flag was not filtered by the git files.
* Skip reset containers for XSOAR NG and XSIAM(PANW-internal only).
* Fixed an issue where **lint** failed fetching docker image details from a PANW GitLab CI environment. (PANW-internal only).

1.14.5

* Added logging in case the container fails to run in **run-unit-tests**.
* Disabled **pre-commit** multiprocessing for `validate` and `format`, as they use a service.
* **pre-commit** now calls `format` with `--assume-yes` and `--no-validate`.
* Fixed an issue where **pre-commit** ran multiple times when checking out build related files.

1.14.4

* Added integration configuration for *Cortex REST API* integration.
* Removed `Flake8` from **pre-commit**, as `ruff` covers its basic rules.
* Improved log readability by silencing non-critical `neo4j` (content graph infrastructure) logs.
* Fixed an issue where **run-unit-tests** failed on python2 content items.
* Fixed an issue where **modeling-rules test** did not properly handle query fields that pointed to a string.
* Fixed an issue when trying to fetch remote files when not under the content repo.
* Fixed a validation that the **modeling-rules test** command will fail if no test data file exist.
* Fixed an issue where **format** command failed while updating the `fromversion` entry.
* Added support for mapping uuid to names for Layout files in the **download** command.

Page 8 of 32

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.