Demisto-sdk

Latest version: v1.30.0

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

Scan your dependencies

Page 12 of 32

1.8.0

* Updated the supported python versions, as `>=3.8,<3.11`, as some of the dependencies are not supported on `3.11` yet.
* Added a **validate** step for **Modeling Rules** testdata files.
* Added the **update-content-graph** command.
* Added the ability to limit the number of CPU cores with `DEMISTO_SDK_MAX_CPU_CORES` envirment variable.
* Added the **prepare-content** command.
* Added support for fromversion/toversion in XSIAM content items (correlation rules, XSIAM dashboards, XSIAM reports and triggers).
* Added a **validate** step checking types of attributes in the schema file of modeling rule.
* Added a **validate** step checking that the dataset name of a modeling rule shows in the xif and schema files.
* Added a **validate** step checking that a correlation rule file does not start with a hyphen.
* Added a **validate** step checking that xsiam content items follow naming conventions.
* Fixed an issue where SDK commands failed on the deprecated `packaging.version.LegacyVersion`, by locking the `packaging` version to `<22`.
* Fixed an issue where **update-release-notes** failed when changing only xif file in **Modeling Rules**.
* Fixed an issue where *is_valid_category* and *is_categories_field_match_standard* failed when running in a private repo.
* Fixed an issue where **validate** didn't fail on the MR103 validation error.
* Fixed the *--release-notes* option, to support the new CHANGELOG format.
* Fixed an issue where **validate** failed when only changing a modeling rules's xif file.
* Fixed an issue where **format** failed on indicator files with a `None` value under the `tabs` key.
* Fixed an issue where **validate** only printed errors for one change of context path, rather than print all.
* Fixed an issue where **download** did not suggest using a username/password when authenticating with XSOAR and using invalid arguments.
* Fixed an issue where **download** failed when listing or downloading content items that are not unicode-encoded.
* Added support for fromversion/toversion in XSIAM content items (correlation rules, XSIAM dashboards, XSIAM reports and triggers).
* Updated the supported python versions, as `>=3.8,<3.11`, as some of the dependencies are not supported on `3.11` yet.
* Added **prepare-content** command which will prepare the pack or content item for the platform.
* Patched an issue where deprecated `packaging.version.LegacyVersion`, locking packaging version to `<22`.

1.7.9

* Fixed an issue where an error message in **validate** would not include the suggested fix.
* Added a validation that enforces predefined categories on MP Packs & integration yml files, the validation also ensures that each pack has only one category.
* Fixed an issue where **update-release-notes** did not generate release notes for **XDRC Templates**.
* Fixed an issue where **upload** failed without explaining the reason.
* Improved implementation of the docker_helper module.
* Fixed an issue where **validate** did not check changed pack_metadata.json files when running using git.
* Added support for **xdrctemplate** to content graph.
* Fixed an issue where local copies of the newly-introduced `DemistoClassApiModule.py` were validated.
* Added new release notes templates for the addition and modification of playbooks, layouts and types in the **doc-review** command.
* Fixed an issue where the **doc-review** command failed on descriptions of new content items.
* Added the `Command XXX is deprecated. Use XXX instead.` release notes templates to **doc-review** command.
* Fixed an issue where the **update-release-notes** command didn't add the modeling-rules description for new modeling-rules files.

1.7.8

* Added the capability to run the MDX server in a docker container for environments without node.
* Fixed an issue where **generate-docs** with `-c` argument updated sections of the incorrect commands.
* Added IF113 error code to **ALLOWED_IGNORE_ERRORS**.
* Fixed an issue where **validate** failed on playbooks with non-string input values.
* Added the `DEMISTO_SDK_IGNORE_CONTENT_WARNING` environment variable, to allow suppressing warnings when commands are not run under a content repo folder.
* Fixed an issue where **validate** failed to recognize integration tests that were missing from config.json
* Added support for **xpanse** marketplace in **create-id-set** and **create-content-artifacts** commands.
* Fixed an issue where **split** failed on yml files.
* Added support for marketplace-specific tags.
* Fixed an issue where **download** would not run `isort`. maxgubler
* Fixed an issue where XSIAM Dashboards and Reports images failed the build.
* Added support for **xpanse** marketplace to content graph.

1.7.7

* Fixed an issue where paybooks **generate-docs** didn't parse complex input values when no accessor field is given correctly.
* Fixed an issue in the **download** command, where an exception would be raised when downloading system playbooks.
* Fixed an issue where the **upload** failed on playbooks containing a value that starts with `=`.
* Fixed an issue where the **generate-unit-tests** failed to generate assertions, and generate unit tests when command names does not match method name.
* Fixed an issue where the **download** command did not honor the `--no-code-formatting` flag properly. maxgubler
* Added a new check to **validate**, making sure playbook task values are passed as references.
* Fixed an issue where the **update-release-notes** deleted existing release notes, now appending to it instead.
* Fixed an issue where **validate** printed blank space in case of validation failed and ignored.
* Renamed 'Agent Config' to 'XDRC Templates'.
* Fixed an issue where the **zip-packs** command did not work with the CommonServerUserPython and CommonServerUserPowerShell package.

1.7.6

* Fixed parsing of initialization arguments of client classes in the **generate-unit-tests** command.
* Added support for AgentConfig content item in the **upload**, **create-id-set**, **find-dependecies**, **unify** and **create-content-artifacts** commands.
* Added support for XSIAM Report preview image.

1.7.5

* Fixed an issue where the **upload** command did not work with the CommonServerUserPython package.
* Fixed an issue in the **download** command, where some playbooks were downloaded as test playbooks.
* Added playbook modification capabilities in **TestSuite**.
* Added a new command **create-content-graph**.
* Fixed an issue in the **upload** command, where the temporary zip would not clean up properly.
* Improved content items parsing in the **create-content-graph** command.
* Added an error when the docker daemon is unavailable when running **lint**.
* Removed the validation of a subtype change for scripts in the **validate** command.
* Fixed an issue where names of XSIAM content items were not normalized properly.
* Fixed an issue where the **download** command was downloading playbooks with **script** (id) and not **scriptName**.
* Fixed an issue where script yml files were not properly identified by `find_type`.
* Removed nightly integrations filtering when deciding if a test should run.
* Added support for XSIAM Dashboard preview image.
* Added the `--no-code-formatting` flag to the **download** command, allowing to skip autopep8 and isort.
* Fixed an issue in the **update-release-notes** command, where generating release notes for modeling rules schema file caused exception.

Page 12 of 32

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.