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 2 of 31

1.27.3

* Fixed an issue in **lint** and **pre-commit** with custom container registry [4039](https://github.com/demisto/demisto-sdk/pull/4039)

1.27.2

* Updated the *DO106* error code in the **validate** command to not fail when a docker image is younger than 3 months instead of 3 days. [4119](https://github.com/demisto/demisto-sdk/pull/4119)
* Fixed an issue where **lint** crashed when collecting invalid logs. [4072](https://github.com/demisto/demisto-sdk/pull/4072)
* Adds auto-update to existing integration README and fixes README generation for existing Packs in contribution flow. [3820](https://github.com/demisto/demisto-sdk/pull/3820)
* Fixed an issue where new release notes were generated without marketplace specific tags when needed. [4118](https://github.com/demisto/demisto-sdk/pull/4118)
* Improved reviewer instructions on outdated pack submissions. [4113](https://github.com/demisto/demisto-sdk/pull/4113)

1.27.1

* Updated the **validate** command (`PA114`) to verify the "currentVersion" field was raised in the pack_metadata when changing specific fields in the pack_metadata file. [3972](https://github.com/demisto/demisto-sdk/pull/3972)
* Added support for **update-release-notes** command to update release notes when changing specific fields in the pack_metadata file. [3972](https://github.com/demisto/demisto-sdk/pull/3972)
* Added support to load the correct file content when reading remote files according to its URL. [4050](https://github.com/demisto/demisto-sdk/pull/4050)
* Added to the **pre-commit** command a new hook `validate-deleted-files` which validates it is not possible to delete certain files. [4050](https://github.com/demisto/demisto-sdk/pull/4050)
* Added support for `hybrid` field in pack_metadata.json and the integration YAML. [4087](https://github.com/demisto/demisto-sdk/pull/4087)
* Improved error handling when reading files locally, remotely or from git. [4081](https://github.com/demisto/demisto-sdk/pull/4081)
* Added README to the **xsoar-lint** command [4043](https://github.com/demisto/demisto-sdk/pull/4043)
* Fixed an issue where SDK would crash when running on repoitories which do not have git configured. [4088](https://github.com/demisto/demisto-sdk/pull/4088)
* Fixed an issue where reading files on repositories which are not git repositories failed when the path provided was relative path. [4088](https://github.com/demisto/demisto-sdk/pull/4088)
* Fixed an issue where **lint** would crash without internet connectivity. [4098](https://github.com/demisto/demisto-sdk/pull/4098)
* Fixed an issue where SDK would crash when trying to read files which are not encoded with utf-8 directly from memory. [4081](https://github.com/demisto/demisto-sdk/pull/4081)
* Added description field to *Assets Modeling Rules* content item. [4005](https://github.com/demisto/demisto-sdk/pull/4005)
* Added the `validate-conf-json` pre-commit hook, checking for structure and linked content. [4051](https://github.com/demisto/demisto-sdk/pull/4051)

1.27.0

* Added the **graph get-dependencies** command. [3992](https://github.com/demisto/demisto-sdk/pull/3992)
* Added a new command **xsoar-lint** and added it as a hook to **pre-commit**. [3962](https://github.com/demisto/demisto-sdk/pull/3962)
* Fixed an issue where **lint** created containers with the same name leading the command to crash. [4019](https://github.com/demisto/demisto-sdk/pull/4019)
* Fixed an issue where **secrets** command failed in case of detached head git state [4041](https://github.com/demisto/demisto-sdk/pull/4041)
* Fixed an issue where a few USES relationships between playbooks were not collected by the playbook parser. [4032](https://github.com/demisto/demisto-sdk/pull/4032)
* Fixed an issue where *validate* failed *pre-processing rule* id-set file validation. [4042](https://github.com/demisto/demisto-sdk/pull/4042)
* Fixed an issue where **validate** would not mention the reason when failing to connect to MDX. [4048](https://github.com/demisto/demisto-sdk/pull/4048)
* Fixed an issue where reading files from git could not be read when a commit did not exist locally. [4052](https://github.com/demisto/demisto-sdk/pull/4052)
* Fixed an issue where the **upload** command failed when using the `DEMISTO_SDK_OFFLINE_ENV` environment variable. [4034](https://github.com/demisto/demisto-sdk/pull/4034)
* Fixed an issue where **setup-env** crashed when trying to upload an instance of an integration into xsoar. [4044](https://github.com/demisto/demisto-sdk/pull/4044)
* Fixed an issue where the *init* command sometimes failed in the dialogue when enter was pressed and not explicitly written false. [4058](https://github.com/demisto/demisto-sdk/pull/4058)
* Fixed an issue where validate would state that it failed, even though it shouldn't, and then it would display an empty list of content items when running on specific validations. [4006](https://github.com/demisto/demisto-sdk/pull/4006)
* Fixed an issue where reading files from git failed when sending file paths as absolute. [4060](https://github.com/demisto/demisto-sdk/pull/4060)
* Code readability improvements in the **error-code** command. [3322](https://github.com/demisto/demisto-sdk/pull/3322)
* Update `update_content_graph` function to create the graph from scratch if `DEMISTO_SDK_GRAPH_FORCE_CREATE` env is set to true. [4037](https://github.com/demisto/demisto-sdk/pull/4037)
* Updated the path of the `neo4j` directory, generated & used by the `graph` commands, to project's directory (`$HOME/.demisto-sdk`). [4010](https://github.com/demisto/demisto-sdk/pull/4010)
* Added a `DEMISTO_SDK_NEO4J_VERSION` environment variable to set a custom Docker tag to pull for the `neo4j` image instead of the default one. [4010](https://github.com/demisto/demisto-sdk/pull/4010)
* Added `comment:marketplacev2` to the script schema. [4077](https://github.com/demisto/demisto-sdk/pull/4077)
* Sped up the way **validate** checks for deprecated content items. [3578](https://github.com/demisto/demisto-sdk/pull/3578)
* Sped up the way **validate** reads pack_metadata.json files. [3578](https://github.com/demisto/demisto-sdk/pull/3578)
* Added support for SVG image files in the **validate** command. [4047](https://github.com/demisto/demisto-sdk/pull/4047)
* Added support to set `deprecated` field for specific marketplaces in content items. [4078](https://github.com/demisto/demisto-sdk/pull/4078)
* Added a new step in the **validate-changelog** to comment the changelog description in PR comments. [4040](https://github.com/demisto/demisto-sdk/pull/4040)
* Added support to query the pull request number automatically when running **sdk-changelog --init** command. [4040](https://github.com/demisto/demisto-sdk/pull/4040)
* Modified the logging level of a few messages accross the SDK. [3301](https://github.com/demisto/demisto-sdk/pull/3301)

1.26.2

* Added support to check the health status when initialing a client for xsoar-on-prem/xsoar-saas by default, will throw exception if server is not healthy. [3985](https://github.com/demisto/demisto-sdk/pull/3985)
* The `create-content-graph` command is now deprecated and will be removed in future releases. Use the `demisto-sdk graph create` command instead. [4027](https://github.com/demisto/demisto-sdk/pull/4027)
* The `update-content-graph` command is now deprecated and will be removed in future releases. Use the `demisto-sdk graph update` command instead. [4027](https://github.com/demisto/demisto-sdk/pull/4027)
* Fixed an issue where downloading custom content items with special YAML characters (like `:`) in their names would cause an error during UUID ID replacement when using the **download** command. [3990](https://github.com/demisto/demisto-sdk/pull/3990)
* Fixed an issue where **validate** failed on _data.json, when saved in a folder under `Lists` (rather than directly under `Lists`). [3997](https://github.com/demisto/demisto-sdk/pull/3997)
* Fixed an issue where the **pre-commit** pycln hook failed when the repo name contained hypens. [3998](https://github.com/demisto/demisto-sdk/pull/3998)
* Fixed an issue with **prepare-content** where partner event collectors which are supported by PANW add irrelevant suffixes to their display names. [4021](https://github.com/demisto/demisto-sdk/pull/4021)
* Fixed an issue in **setup-environment** command where `.env` files were not loaded correctly. [4029](https://github.com/demisto/demisto-sdk/pull/4029)
* Fixed an issue where **upload** failed when trying to upload a content item that was missing a *description* or *type* fields. [4020](https://github.com/demisto/demisto-sdk/pull/4020)
* Update the lock_integrations in **test-content** command to check if the current job still running (and not the pipeline). [4016](https://github.com/demisto/demisto-sdk/pull/4016)
* Fixed an issue where some unit-tests failed in github-actions CI. [4023](https://github.com/demisto/demisto-sdk/pull/4023)

1.26.1

* Added retry mechanism for create docker container. As default, will attempt three times. [3988](https://github.com/demisto/demisto-sdk/pull/3988)
* Fixed the init command to successfully create event collector integration [3995](https://github.com/demisto/demisto-sdk/pull/3995)
* Fixes an issue where running **pre-commit** with the `run-hook` argument didn't execute the hook in some cases. [3999](https://github.com/demisto/demisto-sdk/pull/3999)
* Fixed an issue where fetching from a git remote would cause a failure in cases where fetching is not necessary. [3878](https://github.com/demisto/demisto-sdk/pull/3878)
* Added support for DOCKER_REGISTRY_URL environment variable. [3975](https://github.com/demisto/demisto-sdk/pull/3975)

Page 2 of 31

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.