Demisto-sdk

Latest version: v1.30.0

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

Scan your dependencies

Page 14 of 32

1.6.8

* Fixed an issue where **validate** did not fail on invalid playbook entities' versions (i.e. subplaybooks or scripts with higher fromversion than their parent playbook).
* Added support for running lint via a remote docker ssh connection. Use `DOCKER_HOST` env variable to specify a remote docker connection, such as: `DOCKER_HOST=ssh://myusermyhost.com`.
* Fixed an issue where the pack cache in *get_marketplaces* caused the function to return invalid values.
* Fixed an issue where running format on a pack with XSIAM entities would fail.
* Added the new `display_name` field to relevant entities in the **create-id-set** command.
* Added a new validation to the **validate** command to verify the existence of "Reliability" parameter if the integration have reputation command.
* Fixed a bug where terminating the **lint** command failed (`ctrl + c`).
* Removed the validation of a subtype change in integrations and scripts from **validate**.
* Fixed an issue where **download** did not behave as expected when prompting for a version update. Reported by K-Yo
* Added support for adoption release notes.
* Fixed an issue where **merge-id-sets** failed when a key was missing in one id-set.json.
* Fixed a bug where some mypy messages were not parsed properly in **lint**.
* Added a validation to the **validate** command, failing when '`fromversion`' or '`toversion`' in a content entity are incorrect format.
* Added a validation to the **validate** command, checking if `fromversion` <= `toversion`.
* Fixed an issue where coverage reports used the wrong logging level, marking debug logs as errors.
* Added a new validation to the **validate** command, to check when the discouraged `http` prefixes are used when setting defaultvalue, rather than `https`.
* Added a check to the **lint** command for finding hard-coded usage of the http protocol.
* Locked the dependency on Docker.
* Removed a traceback line from the **init** command templates: BaseIntegration, BaseScript.
* Updated the token in **_add_pr_comment** method from the content-bot token to the xsoar-bot token.

1.6.7

* Added the `types-markdown` dependency, adding markdown capabilities to existing linters using the [Markdown](https://pypi.org/project/Markdown/) package.
* Added support in the **format** command to remove nonexistent incident/indicator fields from *layouts/mappers*
* Added the `Note: XXX` and `XXX now generally available.` release notes templates to **doc-review** command.
* Updated the logs shown during the docker build step.
* Removed a false warning about configuring the `GITLAB_TOKEN` environment variable when it's not needed.
* Removed duplicate identifiers for XSIAM integrations.
* Updated the *tags* and *use cases* in pack metadata validation to use the local files only.
* Fixed the error message in checkbox validation where the defaultvalue is wrong and added the name of the variable that should be fixed.
* Added types to `find_type_by_path` under tools.py.
* Fixed an issue where YAML files contained incorrect value type for `tests` key when running `format --deprecate`.
* Added a deprecation message to the `tests:` section of yaml files when running `format --deprecate`.
* Added use case for **validate** on *wizard* objects - set_playbook is mapped to all integrations.
* Added the 'integration-get-indicators' commands to be ignored by the **verify_yml_commands_match_readme** validation, the validation will no longer fail if these commands are not in the readme file.
* Added a new validation to the **validate** command to verify that if the phrase "breaking changes" is present in a pack release notes, a JSON file with the same name exists and contains the relevant breaking changes information.
* Improved logs when running test playbooks (in a build).
* Fixed an issue in **upload** did not include list-type content items. nicolas-rdgs
* Reverted release notes to old format.

1.6.6

* Added debug print when excluding item from ID set due to missing dependency.
* Added a validation to the **validate** command, failing when non-ignorable errors are present in .pack-ignore.
* Fixed an issue where `mdx server` did not close when stopped in mid run.
* Fixed an issue where `-vvv` flag did not print logs on debug level.
* enhanced ***validate*** command to list all command names affected by a backward compatibility break, instead of only one.
* Added support for Wizard content item in the **format**, **validate**, **upload**, **create-id-set**, **find-dependecies** and **create-content-artifacts** commands.
* Added a new flag to the **validate** command, allowing to run specific validations.
* Added support in **unify** and **create-content-artifacts** for displaying different documentations (detailed description + readme) for content items, depending on the marketplace version.
* Fixed an issue in **upload** where list items were not uploaded.
* Added a new validation to **validate** command to verify that *cliName* and *id* keys of the incident field or the indicator field are matches.
* Added the flag '-x', '--xsiam' to **upload** command to upload XSIAM entities to XSIAM server.
* Fixed the integration field *isFetchEvents* to be in lowercase.
* Fixed an issue where **validate -i** run after **format -i** on an existing file in the repo instead of **validate -g**.
* Added the following commands: 'update-remote-data', 'get-modified-remote-data', 'update-remote-system' to be ignored by the **verify_yml_commands_match_readme** validation, the validation will no longer fail if these commands are not in the readme file.
* Updated the release note template to include a uniform format for all items.
* Added HelloWorldSlim template option for *--template* flag in **demisto-sdk init** command.
* Fixed an issue where the HelloWorldSlim template in **demisto-sdk init** command had an integration id that was conflicting with HelloWorld integration id.
* Updated the SDK to use demisto-py 3.1.6, allowing use of a proxy with an environment variable.
* Set the default logger level to `warning`, to avoid unwanted debug logs.
* The **format** command now validates that default value of checkbox parameters is a string 'true' or 'false'.
* Fixed an issue where `FileType.PLAYBOOK` would show instead of `Playbook` in readme error messages.
* Added a new validation to **validate** proper defaultvalue for checkbox fields.

1.6.5

* Fixed an issue in the **format** command where the `id` field was overwritten for existing JSON files.
* Fixed an issue where the **doc-review** command was successful even when the release-note is malformed.
* Added timestamps to the `demisto-sdk` logger.
* Added time measurements to **lint**.
* Added the flag '-d', '--dependency' to **find-dependencies** command to get the content items that cause the dependencies between two packs.
* Fixed an issue where **update-release-notes** used the *trigger_id* field instead of the *trigger_name* field.
* Fixed an issue where **doc-review** failed to recognize script names, in scripts using the old file structure.
* Fixed an issue where concurrent processes created by **lint** caused deadlocks when opening files.
* Fixed an issue in the **format** command where `_dev` or `_copy` suffixes weren't removed from the subscript names in playbooks and layouts.
* Fixed an issue where **validate** failed on nonexistent `README.md` files.
* Added support of XSIAM content items to the **validate** command.
* Report **lint** summary results and failed packages after reporting time measurements.

1.6.4

* Added the new **generate-yml-from-python** command.
* Added a code *type* indication for integration and script objects in the *ID Set*.
* Added the [Vulture](https://github.com/jendrikseipp/vulture) linter to the pre-commit hook.
* The `demisto-sdk` pack will now be distributed via PyPi with a **wheel** file.
* Fixed a bug where any edited json file that contained a forward slash (`/`) escaped.
* Added a new validation to **validate** command to verify that the metadata *currentVersion* is
the same as the last release note version.
* The **validate** command now checks if there're none-deprecated integration commands that are missing from the readme file.
* Fixed an issue where *dockerimage* changes in Scripts weren't recognized by the **update-release-notes** command.
* Fixed an issue where **update-xsoar-config-file** did not properly insert the marketplace packs list to the file.
* Added the pack name to the known words by default when running the **doc-review** command.
* Added support for new XSIAM entities in **create-id-set** command.
* Added support for new XSIAM entities in **create-content-artifacts** command.
* Added support for Parsing/Modeling Rule content item in the **unify** command.
* Added the integration name, the commands name and the script name to the known words by default when running the **doc-review** command.
* Added an argument '-c' '--custom' to the **unify** command, if True will append to the unified yml name/display/id the custom label provided
* Added support for sub words suggestion in kebab-case sentences when running the **doc-review** command.
* Added support for new XSIAM entities in **update-release-notes** command.
* Enhanced the message of alternative suggestion words shown when running **doc-review** command.
* Fixed an incorrect error message, in case `node` is not installed on the machine.
* Fixed an issue in the **lint** command where the *check-dependent-api-modules* argument was set to true by default.
* Added a new command **generate-unit-tests**.
* Added a new validation to **validate** all SIEM integration have the same suffix.
* Fixed the destination path of the unified parsing/modeling rules in **create-content-artifacts** command.
* Fixed an issue in the **validate** command, where we validated wrongfully the existence of readme file for the *ApiModules* pack.
* Fixed an issue in the **validate** command, where an error message that was displayed for scripts validation was incorrect.
* Fixed an issue in the **validate** and **format** commands where *None* arguments in integration commands caused the commands to fail unexpectedly.
* Added support for running tests on XSIAM machines in the **test-content** command.
* Fixed an issue where the **validate** command did not work properly when deleting non-content items.
* Added the flag '-d', '--dependency' to **find-dependencies** command to get the content items that cause the dependencies between two packs.

1.6.3

* **Breaking change**: Fixed a typo in the **validate** `--quiet-bc-validation` flag (was `--quite-bc-validation`). upstart-swiss
* Dropped support for python 3.7: Demisto-SDK is now supported on Python 3.8 or newer.
* Added an argument to YAMLHandler, allowing to set a maximal width for YAML files. This fixes an issue where a wrong default was used.
* Added the detach mechanism to the **upload** command, If you set the --input-config-file flag, any files in the repo's SystemPacks folder will be detached.
* Added the reattach mechanism to the **upload** command, If you set the --input-config-file flag, any detached item in your XSOAR instance that isn't currently in the repo's SystemPacks folder will be re-attached.
* Fixed an issue in the **validate** command that did not work properly when using the *-g* flag.
* Enhanced the dependency message shown when running **lint**.
* Fixed an issue where **update-release-notes** didn't update the currentVersion in pack_metadata.
* Improved the logging in **test-content** for helping catch typos in external playbook configuration.

Page 14 of 32

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.