Skip to content

Releases: demisto/demisto-sdk

v1.32.2

06 Oct 16:35
0b22c86
Compare
Choose a tag to compare
  • GR107 validation has been removed from the legacy validate command to enhance performance. #4561
  • Added support in the schema for XSIAM custom hidden value. #4584
  • Moved GR107 validation to the new validate format. The validation ensures that deprecated content items are not used in other content items. #4561
  • Moved GR108 validation to the new validate format. The validation ensures that non-hidden packs do not depend on hidden packs. #4590
  • Enhanced the Graph interface to support multi-threaded environments. #4576
  • Moved GR101 validation to the new validate format. This validation checks whether the content item uses an item with a higher version (making it incompatible). #4570
  • Removed the validate warnings when the higher version is lower is not supported by Cortex anymore. #4570
  • Moved RM100 to the new validate format, The validation was split to 3 different validations RM100 - no empty sections, RM115 - no default sections, RM116 - readme not to short. #4371
  • Moved GR102 validation to the new validate format. This validation checks whether a content item has to_version higher than another one it uses. #4586
  • Removed the validate warnings when the source's to_version is higher than the general default version. #4586
  • Moved PA124 validation to the new validate format. The validation ensures that core packs do not depend on non-core packs. #4596
  • Fixed an issue where debug-logging in upload failed. #4591
  • Fixed an issue where debug-logging in test-modeling-rules failed. #4591
  • Fixed an issue where lint failed showing messages. #4582
  • Fixed an issue where generate-docs command used un-ordered dependency lists, which resulted in redundant git changes. #4533
  • Fixed an issue where debug-logging in setup-env failed. #4597
  • Fixed an issue where the update-release-notes command was not properly detecting existing items in the release notes. #4579
  • Upgrade the Neo4j version when working with the content graph in a local environment. #4571
  • Added support for GAR DockerHub proxy when running in a Gitlab CI environment. #4528
  • Added support for pre-commit hooks to save logs as Gitlab CI artifacts. #4581
  • Moved RN116 validation to the new validation format. The validation ensures that the RN contains a first level header. #4575
  • Upgrade pylint to 3.3.1 #4594
  • Improved implementation of the GR103 validation. #4568

v1.32.1

23 Sep 18:15
f8958f5
Compare
Choose a tag to compare
  • Modified the sdk-changelog script, to include the release date for each version in the title. #4553
  • Modified the xsoar-lint command to show GitHub Annotations for errors, when the GITHUB_ACTIONS environment key is set. Warnings are shown when the DEMISTO_SDK_XSOAR_LINTER_WARNING_ANNOTATIONS and GITHUB_ACTIONS are set. #4400
  • Fixed an issue where create artifacts failed logging in certain scenarios. #4574
  • Moved RN112 to the new validate format. The validation ensure that if RN contains 'breaking change' then the breaking change release note exist and filled correctly. #4559
  • Added the PA114 validation to the new validate command. The validation checks if the version in the pack_metadata.json file needs to be raised. #4342

v1.32.0

22 Sep 21:50
Compare
Choose a tag to compare
  • IN136 will be handled in the new validate format of RM102. #4535
  • Dropped support for Python 3.8. #4531
  • The validation GR103 has been removed from the old format to enhance performance. #4522
  • Move feed's expirationPolicy validation to a new validation - IN163. #4460
  • Modified the --release-notes flag which would previously support a specific changelog file format. Now it retrieves the release data from the GitHub tags info. #4554
  • Moved RM102 and IN136 validation to the new format. Ensures context outputs in README and YML files match. #4535
  • Moved RM110 validation to the new format. Ensuring all commands are documented in the README. #4542
  • Enhanced the format command logs by trimming whitespaces. #4529
  • Added 'StrictModelingRule' and 'StrictAssetsModelingRule' to the ST110 validation. #4560
  • Moved GR105 validation to the new format. Ensuring that each content item has a unique ID. #4545
  • Added 'ReleaseNotesConfig' and 'PackMetadata' to the ST110 validation. #4541
  • Modified the sdk-changelog script which would previously generate all release notes in one section. Now it generates the changelog with different sections separated by headers Fixed, Breaking Changes, and Internal. #4555
  • Modified the mypy pre-commit hook in the pre-commit command which would previously run locally. The hook now runs in Docker and is renamed to mypy-in-docker. #4468
  • Added 'AssetsModelingRuleSchema' to the ST110 validation. #4519
  • Discard 'canvas' tab from LO107 validation as it is now supported by XSIAM. #4544
  • Added support for a specific value in the hidden attribute of a script argument. #4550
  • Moved GR103 validation to the new validate format. The validation ensures that content items use other content items only if they exist in the repository. Additionally, removed this validation from the old format to improve performance. #4522
  • Fixed an issue in the init-validation script where it wasn't generating the correct execution mode for graph validations. #4543
  • Fix an issue with generate-docs command when an integration is missing a description. #4510
  • Fixed an issue where docker validations failed on API Modules in the new validate flow. #4539
  • Fixed an issue where running validate -a on specific validations failed ignored content items. #4539
  • Fixed an issue where RM106 failed on false positive cases of demisto word occurrence. #4539
  • Fixed an issue where the GR106 validation would fail on test playbooks that are marked as reputation tests. #4549
  • Fixed an issue where Threat Intel layouts created in the UI would fail when uploaded using the SDK upload command. #4548
  • Fixed an issue where logs would not show up correctly. #4514
  • Modified nltk version requirement to 3.9.1. #4540
  • Removed support for the Connection content item type. #4547
  • Deprecated. Removing the canvas-context-connections.yml schema's file. #4546
  • Fixed an issue where the run-test-playbook command (used internally) reported incorrect results. #4514

v1.31.11

09 Sep 08:03
2572ceb
Compare
Choose a tag to compare
  • Fixed an issue in RM114 where validate would not catch problematic images when their file type was not png or when their declaration within the README had additional characters present in it. #4512
  • Fixed an issue where the default validations would not run properly. #4532
  • Modified the ST110 validation to allow null values in XISAM-Report's default_template_id. #4525
  • Fixed an issue where the hidden files not uploaded to the artifact in github workflow. #4534

v1.31.10

28 Aug 09:37
bd0d8b4
Compare
Choose a tag to compare
  • The --ignore flag in the validate command no longer requires error codes to be listed under ignorable_errors in the config file. #4509
  • Fixed an issue where the DS107 validation (descriptions shouldn't contain the phrase demisto) failed when the Demisto Bot was mentioned. #4517

v1.31.9

22 Aug 17:21
10d572a
Compare
Choose a tag to compare
  • Modified ST110 validation. Improved validation logic and made structure_errors non-optional (return an empty list instead). #4493
  • Fixed an issue where redundant Paramiko logs were still being displayed, following the change in SDK v1.31.8 by locking the Paramiko package dependency in v3.4.1. #4507
  • Moved RN115 validation to the new validate format. The validation ensures there're not more than one new release note file per pack. #4501
  • Added authentication for pulling images in the pre-commit command when running in GitLab CI. #4515

v1.31.8

20 Aug 07:30
1c1a4b9
Compare
Choose a tag to compare
  • Added the --ignore flag to validate. #4385
  • Added validation GR106, to ensure every modified test playbook is used by at least one content item. #4446
  • Added a new pre-commit hook to prevent Python files from disabling mypy checks in the file level. #4405
  • Added a new optional field, marketplaces, in the release notes config (e.g. 1_2_3.json). Use it to choose marketplaces where breaking changes apply. When a list is not provided, the default is all marketplaces. Supports aggregated release notes and retroactive editing. #4483
  • Added validation PB127 that verifies default keys exist where marketplace suffix keys exist in playbooks. (e.g. using description:xsoar now requires description). #4401
  • Modified the unify and prepare-content commands to add a demisto.debug logging of the pack name and version, in Python files. #4437
  • Fixed an issue where PA102 failed when on valid modeling rules. #4497
  • Fixed an issue where reusing the content graph after a long period of inactivity resulted in a 409 error. #4495
  • Added a support attribute to all content items in the content graph. #4430
  • Locked the nltk version to 3.8.1, since 3.8.2 was surprisingly removed from PyPI. No effect on demisto-SDK users. #4496

v1.31.7

14 Aug 05:28
5622793
Compare
Choose a tag to compare
  • Added 'CaseLayoutRule' to the ST110 validation. #4491
  • Added 'GenericField', 'GenericModule', 'Job', 'List', 'Mapper', 'ModelingRule', 'ParsingRule' and 'PreProcessRule' to the ST110 validation. #4470
  • Added 'CaseLayout' to the ST110 validation. #4489
  • Added the native_nightly_packs attribute to the conf.json schema. #4479
  • Added 'AssetsModelingRule' to the ST110 validation. #4486
  • Added 'XSIAMReport' to the ST110 validation. #4484
  • Modified the testing of modeling rules on XSIAM by splitting the process to multiple machines #4441
  • Added 'IndicatorType' to the ST110 validation. #4485
  • Added 'CaseField' to the ST110 validation. #4488
  • Added 'Report', 'Trigger', 'Widget', 'Wizard', 'XDRCTemplate' and 'XSIAMDashboard' to the ST110 validation. #4478
  • Fixed an issue with the parallel logger not showing the thread id. #4487
  • Moved PR100 and XD100 validations to run the validate-content-path pre-commit hook. These validations ensure the ParsingRule and XSIAM Dashboard filenames are valid. #4476
  • Started supporting only a dict value for the "cloud_servers_api_keys" file provided. #4480
  • Removed the deprecated types-pkg-resources package dependency. demisto-sdk will use the types-setuptools package instead. #4474
  • Updated paramiko to v3.4.1, removing the warning that would occasionally show. #4470

v1.31.6

06 Aug 05:41
ce9ce4d
Compare
Choose a tag to compare
  • Added Classifier, Layout and LayoutRule to the ST110 validation. #4447
  • Added Playbook to the ST110 validation. #4461
  • Added CorrelationRule to the ST110 validation. #4462
  • Added Dashboard to the ST110 validation. #4467
  • Added GenericDefinition to the ST110 validation. #4469
  • ֹMoved RN114 validation to the new format. The validation verifies the release note's headers are valid. #4327
  • Fixed an issue where Integration and Script save failed due to Enum parsing issues. #4459
  • Fixed an issue where XSIAM Report objects would fail structure validate checks for having the metadata field, It's now added as optional. #4472
  • Moved RN108 validation to the new validate format. The validation ensures a new pack doesn't have any release notes. #4459
  • Applied the toml-sort hook on toml files in the repo. #4453
  • Modified pre-commit and validate commands to use a specific files list during the contribution flow instead of relying on Git diff. #4451

v1.31.5

28 Jul 18:24
ab8ac9a
Compare
Choose a tag to compare
  • Added new validation ST110. Checks schema validness for Integration, Script, Incident Field, Indicator Field and Generic Type objects. #4399
  • Added support for pack doc_files upload. #4438
  • Fixed an issue in BA124 validation where the validation wasn't case sensitive. #4450
  • Fixed an issue in the download command where a 'missing content' error was shown on playbook-type tasks of an uploaded playbook that was initially downloaded using this command. #4445
  • Replaced project formatter from Black to ruff-format and removed the Black dev-dependency. #4435
  • Modified the new validate is_valid method name to obtain_invalid_content_items. #4448
  • Moved IN147 validation to the new validate format as code BC114. The validation ensures no fields were removed/modified from the integration yml for a predefined list of fields. #4449
  • Moved PB124 validation to the new validate format. The validation ensures there're unhandled condition tasks in the playbook. #4424
  • Added support for different api key file structure in test-content command. #4442
  • Moved Tests/markteplace/Core_* and Approved_* files in content repo under the Config folder. #4417