Demisto-sdk

Latest version: v1.29.3

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

Scan your dependencies

Page 9 of 31

1.14.2

* Added the `--staged-only` flag to **pre-commit**.
* Fixed an issue where **run-unit-tests** failed running on items with `test_data`.
* Fixed an issue where **pre-commit** ran on unchanged files.
* Add the ability to run **secrets** in **pre-commit** by passing a `--secrets` flag.
* Added support to override the log file with the **DEMISTO_SDK_LOG_FILE_PATH** environment variable.

1.14.1

* Fixed an issue where **update-release-notes** command failed when running on a pack that contains deprecated integrations without the `commands` section.
* Added toVersion and fromVersion to XSIAM content items schema.
* Fixed an issue where **validate** failed when attempting to map null values in a classifier and layout.
* Added search marketplace functionality to XSIAM client.
* Fixed an issue in **pre-commit** command where `MYPYPATH` was not set properly.
* Updated the integration category list in the **init** command.
* Fixed an issue where in some environments docker errors were not caught.
* Added a validation that the **validate** command will fail on README files if an image does not exist in the specified path.

1.14.0

* Added the `DEMISTO_SDK_GRAPH_FORCE_CREATE` environment variable. Use it to force the SDK to recreate the graph, rather than update it.
* Added support for code importing multi-level ApiModules to **lint**.
* Added a validation that the **modeling-rules test** command will fail if no test data file exist.
* Added support for the `<~XPANSE>` marketplace tag in release notes.
* Added support for marketplace tags in the **doc-review** command.
* Added **generate-unit-tests** documentation to the repo README.
* Added the `hiddenpassword` field to the integration schema, allowing **validate** to run on integrations with username-only inputs.
* Improved logs and error handling in the **modeling-rules test** command.
* Improved the warning message displayed for Contribution PRs editing outdated code.
* Improved the clarity of error messages for cases where yml files cannot be parsed as a dictionary.
* Updated the `XSIAMReport` schema.
* Standardized repo-wide logging. All logs are now created in one logger instance.
* **lint** now prevents unit-tests from accessing online resources in runtime.
* Updated the logs shown during lint when running in docker.
* Fixed an issue where **validate** showed errors twice.
* Fixed an issue where **validate** did not fail when xif files had wrong naming.
* Fixed an issue where **doc-review** required dot suffixes in release notes describing new content.
* Fixed an issue where **download** command failed when running on a beta integration.
* Fixed an issue where **update-release-notes** generated release notes for packs in their initial version (1.0.0).
* Fixed an issue with **update-content-graph** where `--use-git` parameter was ignored when using `--imported-path` parameter.
* Fixed an issue where **validate** failed on playbooks with valid inputs, since it did not collect the playbook inputs occurrences properly.

1.13.0

* Added the pack version to the code files when calling **unify**. The same value is removed when calling **split**.
* Added a message showing the output path when **prepare-content** is called.
* Contribution PRs that update outdated packs now display a warning message.
* Fixed an issue when kebab-case has a misspelling in one of the sub words, the suggestion might be confusing.
* Improved caching and stability for **lint**.
* Added support for *.xif* files in the **secrets** command.
* Fixed an issue where **validate** would fail when playbook inputs contain Transform Language (DT).
* Added a new **validate** check, making sure a first level header exist in release notes (RN116)
* Fixed an issue where **lint** would not properly handle multiple ApiModules imports.

1.12.0

* Added the **pre-commit** command, to improve code quality of XSOAR content.
* Added the **run-unit-tests** command, to run unit tests of given content items inside their respective docker images.
* Added support for filepath arguments in the **validate** and **format** commands.
* Added pre-commit hooks for `validate`, `format`, `run-unit-tests` and `update-docker-image` commands.
* Fixed an issue in the **download** command where layouts were overriden even without the `-f` option.
* Fixed an issue where Demisto-SDK did not detect layout ID when using the **download** command.
* Fixed an issue where the **lint** command ran on `native:dev` supported content when passing the `--docker-image all` flag, instead it will run on `native:candidate`.
* Added support for `native:candidate` as a docker image flag for **lint** command.
* Added a modification for layouts in **prepare-content**, replacing `Related Incidents`, `Linked Incidents` and `Child Incidents` with the suitable `... Alerts` name when uploading to XSIAM.
* Fixed an issue where logs and messages would not show when using the **download** command.
* Fixed an issue where the `server_min_version` field in metadata was an empty value when parsing packs without content items.
* Fixed an issue where running **openapi-codegen** resulted in false-positive error messages.
* Fixed an issue where **generate-python-to-yml** generated input arguments as required even though required=False was specified.
* Fixed an issue where **generate-python-to-yml** generated input arguments a default arguments when default=some_value was provided.
* Fixed a bug where **validate** returned error on playbook inputs with special characters.
* Fixed an issue where **validate** did not properly check `conf.json` when the latter is modified.
* Fixed an issue in the **upload** command, where a prompt was not showing on the console.
* Fixed an issue where running **lint** failed installing dependencies in containers.

1.11.0

* **Note: Demisto-SDK will soon stop supporting Python 3.8**
* Fixed an issue where using **download** on non-unicode content, merging them into existing files caused an error.
* Changed an internal setting to allow writing non-ascii content (unicode) using `YAMLHandler` and `JSONHandler`.
* Fixed an issue where an error message in **unify** was unclear for invalid input.
* Fixed an issue where running **validate** failed with **is_valid_integration_file_path_in_folder** on integrations that use API modules.
* Fixed an issue where **validate** failed with **is_valid_integration_file_path_in_folder** on integrations that use the `MSAPIModule`.
* Added **validate** check for the `modules` field in `pack_metadata.json` files.
* Changed **lint** to skip deprecated content, unless when using the `-i` flag.
* Fixed an issue where **update-release-notes** failed when a new *Parsing Rule* was added to a pack.
* Refactored the logging framework. Demisto-SDK logs will now be written to `.demist_sdk_debug.log` under the content path (when detected) or the current directory.
* Added `GR105` validation to **validate** command to check that no duplicate IDs are used.
* Added support for API Modules imported in API modules in the **unify** command.
* Added **validate** check, to make sure every Python file has a corresponding unit test file.

Page 9 of 31

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.