Demisto-sdk

Latest version: v1.29.3

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

Scan your dependencies

Page 8 of 31

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.

1.14.3

* Fixed an issue where **run-unit-tests** failed running on items with `test_data`.
* Updated the demisto-py to v3.2.10 which now supports url decoding for the proxy authentication password.
* Fixed an issue where **generate-outputs** did not generate context paths for empty lists or dictionaries in the response.

Page 8 of 31

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.