Demisto-sdk

Latest version: v1.29.3

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

Scan your dependencies

Page 3 of 31

1.26.0

* Log file path (can be set by the `--log-file-path` flag or the `DEMISTO_SDK_LOG_FILE_PATH` environment variable) can now only accept directory values. Setting it to a file path is no longer supported (file name is now constantly `demisto_sdk_debug.log` and cannot be changed). The path will now be automatically generated if it doesn't exist. [3912](https://github.com/demisto/demisto-sdk/pull/3912)
* Log files will now be saved by default to `$HOME/.demisto-sdk/logs`. This behavior can be overridden by the `--log-file-path` flag, or the `DEMISTO_SDK_LOG_FILE_PATH` environment variable. [3912](https://github.com/demisto/demisto-sdk/pull/3912)
* Added warning when running on Windows (not supported) [3950](https://github.com/demisto/demisto-sdk/pull/3950)
* Fixed an issue where the ***validate*** command failed on pre-processing rules. [3977](https://github.com/demisto/demisto-sdk/pull/3977)
* Fixed an issue in **upload** where customFields with explicitly defined values (e.g., ${}) caused the command to fail. [3970](https://github.com/demisto/demisto-sdk/pull/3970)
* Fixed an issue where validate command failed with Lists folder containing a data json file. [3971](https://github.com/demisto/demisto-sdk/pull/3971)
* Added graph capabilities in **TestSuite**. [3932](https://github.com/demisto/demisto-sdk/pull/3932)

1.25.3

* Fixed false positives in **validate** in `GR103` validations [3873](https://github.com/demisto/demisto-sdk/pull/3873)
* Add command `sdk-changelog` for creating a yml file to describe the development changes in the SDK [3177](https://github.com/demisto/demisto-sdk/pull/3177)
* Locking the `CHANGELOG.md` file for changes when the PR is not a release process [3177](https://github.com/demisto/demisto-sdk/pull/3177)

1.25.2

* Fixed an issue in the **prepare-content** and the **upload** commands where the unified YAML/JSON file was parsed instead of the original file.
* Fixed an issue where **lint** command didn't work on detached heads.
* Added the *DockerHubClient* class to allow interaction with the dockerhub-api efficiency and easily.
* Added support to check the version of the modeling rule against the demisto version of the XSIAM tenant when running the **modeling-rule test** command, and skip incompatible modeling rules.
* Added support for JetBrains IDEs (PyCharm, IDEA, etc.) to the **setup-env** command, and added a new `--ide` flag.
* Internal: Fixed an issue where `nativeimage` tags were not uploaded to buckets.
* Fixed an issue where **lint -g** crashed when comparing changes against branches which are not `master`.
* Fixed an issue in **prepare-content** command where the `incident to alert` process was not triggered when the playbook is set to only XSIAM.
* Fixed an issue where **validate -g** command crashed when comparing changes against branches when in detached head state.
* Add support for tests to run on specified marketplaces.

1.25.1

* Added the `clean` flag to **setup-env** to delete temp files that were created by `lint` from the repo.
* Fixed an issue in **validate** where there is a specific value for marketplace in `isFetch` parameter.
* Fixed an issue where the build number was incorrectly shown in XSOAR marketplace when using the **upload** command on external repositories via GitLab Pipelines.
* Added support for `excluding_support_level` property in **pre-commit** command to exclude specific support level from running hooks.
* Added support for the `List` content-item to **prepare-content** and **split**.
* **Breaking change**: The **download** command will no longer download the content-item `List` in a unified file but instead will split the content-item `List` into two files (metadata and data).
* Fixed an issue in **generate-docs** where the description field was missing from an argument.
* Changed the log level of some **pre-commit** `DockerHook` messages from `info` to `debug`.

1.25.0

* Added support to detect automatically the playground-id when running cli commands in xsoar-6.
* Added support to return war-room entries when running cli commands.
* Added support to automatically detect the correct file model by file path when reading files.
* Fixed an issue where **run-playbook** command didn't work if the *url* argument was not provided.
* Fixed an issue where **validate** command failed on valid complex layout rules and triggers.
* Fixed an issue where *validate* command failed with release notes files for assets modeling rules folder.
* Added support for `skip` property in **pre-commit** hooks.
* **generate-unit-tests** command will require installation with `pip install demisto-sdk[generate-unit-tests]`.
* Added the *IN150* and *IN161* errors to *allowed ignore errors* list.
* Added support for `env`, `copy_files` property in **pre-commit** docker hooks.
* Added support to run specific hooks in **pre-commit**. Use with `demisto-sdk pre-commit <hook>`.
* **Breaking change**: Removed the command **run-unit-tests**. Use `demisto-sdk pre-commit pytest-in-docker` instead.
* **Breaking change**: Removed the `--unit-test` argument in **pre-commit**. To skip unit tests, run with `--no-docker` or with `skip=pytest-in-docker`,
* Fixed an issue where SDK commands were failing to execute correctly when supplied a path outside the Content repository.

1.24.0

* Fixed an issue where the error was not clear when trying to retrieve the server version.
* Fixed an issue in **prepare-content** where tags were added to metadata because of test scripts.
* Fixed an issue in **coverage-analyze** to exit gracefully in case that the .coverage file doesn't exist.
* Breaking change: **ValidateManager** was renamed to **OldValidateManager** and can now be found at the following [path](demisto_sdk/commands/validate/old_validate_manager.py).
* Fixed an issue where to_id_set_entity method failed on id extraction due to missing pack.
* Fixed an issue where **run-playbook** command did not work.
* Fixed an issue in **setup-env** command where the virtual environment failed to set up.
* Fixed an issue in **pre-commit** command where `False` properties were deleted.
* Added support for json5 file, allowing to write files and read files from specific git branches, local file system, or from any remote api .
* Fixed an issue in **upload** command where the `marketplace` field was not taken into consideration when uploading single content-items.
* Added support for *Assets Modeling Rule* new content item in all `demisto-sdk` commands.

Page 3 of 31

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.