Releases: demisto/demisto-sdk
Releases · demisto/demisto-sdk
v1.16.0
- Added a check to is_docker_image_latest_tag to only fail the validation on non-latest image tag when the current tag is older than 3 days.
- Fixed an issue where upload would not properly show the installed version in the UI.
- Fixed an issue where the
contribution_converter
failed replacing generated release notes with the contribution form release notes. - Fixed an issue where an extra levelname was added to a logging message.
- Modified the
mypy
pre-commit hook to run in a virtual environment, rather than the local mypy version. - Added support to run validate with
--git
flag on detached HEAD. - Added a validation that the validate command will fail if the pack name is not prefixed on XSIAM dashboard images.
- Fixed the generate-test-playbook which failed on an unexpected keyword argument - 'console_log_threshold'.
- Fixed an issue where prepare-content would not properly parse the
fromVersion
andtoVersion
attributes of XSIAM-Dashbaord and XSIAM-Report content items. - Fixed an issue where validate command did not fail on non-existent dependency ids of non-mandatory dependant content.
- Fixed pytest async io deprecation warning.
- Added the
--incident-id
argument (optional) to the run command. - Fixed an issue in run-unit-tests and update-content-graph where running commands in a docker container was done with insufficient permissions.
- Added the
_time
field to the output compare table of the modeling-rules test command. - Changed the endpoint download uses to get system content items.
- Fixed an issue where graph-related tasks failed when files were deleted from the repo.
- Added a validate check, and a format auto fix for the
fromversion
field in Correlation Rules and XSIAM Dashboards. - Update the format used for dev-dependencies in pyproject.toml to match modern versions of Poetry.
- Added timestamps to logging messages when running in a CI build.
v1.15.5
- Breaking Change: The default of the upload command
--zip
argument istrue
. To upload packs as custom content items use the--no-zip
argument. - Removed the
no-implicit-optional
hook from pre-commit. - Removed the
markdownlint
hook from pre-commit. - Fixed an issue in run-unit-tests to pass with warnings when no tests are collected.
- Fixed an issue in run-unit-tests with the coverage calculation.
- Fixed a notification about log file location appeared more than once.
- Updated the error message when code coverage is below the threshold in coverage-analyze to be printed in a more noticeable red color.
- Fixed an issue in upload that failed when a comma-separated list of paths is passed to the
--input
argument. - Running validate with the
--graph
flag will now run the graph validations after all other validations. - improved the generated release note for newly added XSIAM entities when running update-release-notes command.
- Fixed an issue where in some cases validation failed when mapping null values.
- Fixed an issue in upload command where the
--keep-zip
argument did not clean the working directory. - Fixed an issue where an extra levelname was added to a logging message.
- Fixed an issue in upload where uploading packs to XSIAM failed due to version mismatch.
v1.15.4
- Fixed an issue where update-release-notes and doc-review did not handle new content notes as expected.
- Fixed an issue in PEP484 (no-implicit-optional) hook to pre-commit.
- Fixed an issue in upload with
--input-config-file
where the content items weren't uploaded in the correct pack. - Added support to disable the default logging colors with the DEMISTO_SDK_LOG_NO_COLORS environment variable.
v1.15.3
- Added the
--init
flag to download. - Added the
--keep-empty-folders
flag to download. - Added
markdown-lint
to pre-commit - Added the PEP484 (no-implicit-optional) hook to pre-commit.
- Fixed an issue where the content-graph parsing failed on mappers with undefined mapping.
- Fixed an issue in validate where
pack_metadata.json
files were not collected proplely in--graph
option. - Fixed an issue where validate reputation commands outputs were not checked for new content.
- Added IN107 and DB100 error codes to ALLOWED_IGNORE_ERRORS list.
- Added a validation that assures feed integrations implement the
integration_reliability
configuration parameter. - Fixed an issue where the format command did not work as expected on pre-process rules files.
- Fixed an issue where upload command failed to upload when the XSOAR version is beta.
- Fixed an issue where upload command summary was inaccurate when uploading a
Pack
without the-z
flag. - Added pack name and pack version to upload command summary.
- Added support for modeling rules with multi datasets in modeling-rules test command.
- Fixed an issue where validate didn't recognize layouts with incident fields missing from
id_set.json
even when--post-commit
was indicated.
v1.15.2
- Fixed an issue where format added default arguments to reputation commands, which already have one.
- Fixed an issue where validate fails when adding the advance field to the integration required fields.
- Updated the integration Traffic Light Protocol (TLP) color list schema in the validate command.
- Fixed an issue where upload would not read a repo configuration file properly.
- Fixed an issue where upload would not handle the
-x
/--xsiam
flag properly.
1.15.1
v1.15.0
- Breaking Change: the upload command now only supports XSOAR 6.5 or newer (and all XSIAM versions).
- upload now uses content models, and calls the
prepare
method of each model before uploading (unless uploading a zipped pack). - Added a playbook modification to prepare-content, replacing
getIncident
calls withgetAlerts
, when uploading to XSIAM. - Added a playbook modification to prepare-content, replacing
${incident.fieldname}
context accessors with${alert.fieldname}
when uploading to XSIAM. - Added a playbook modification to prepare-content, replacing
incident
toalert
in task display names, when uploading to XSIAM. - Added a layout modification to prepare-content, replacing
Related/Child/Linked Incidents
to... Alerts
when uploading to XSIAM. - Added a script modification to prepare-content, automatically replacing the word
incident
withalert
when uploading to XSIAM. - Added a validation that the validate command will fail if the
dockerimage
field in scripts/integrations uses any py3-native docker image. - Updated the
ruff
version used in pre-commit to0.0.269
. - Fixed an issue in create-content-graph which caused missing detection of duplicated content items.
- Fixed an issue where run-unit-tests failed on python2 content items.
- Fixed an issue in validate where core packs validations were checked against the core packs defined on master branch, rather than on the current branch.
- Fixed an issue in pre-commit where
--input
flag was not filtered by the git files. - Skip reset containers for XSOAR NG and XSIAM(PANW-internal only).
- Fixed an issue where lint failed fetching docker image details from a PANW GitLab CI environment. (PANW-internal only).
v1.14.5
- Added logging in case the container fails to run in run-unit-tests.
- Disabled pre-commit multiprocessing for
validate
andformat
, as they use a service. - pre-commit now calls
format
with--assume-yes
and--no-validate
. - Fixed an issue where pre-commit ran multiple times when checking out build related files.
v1.14.4
- Added integration configuration for Cortex REST API integration.
- Removed
Flake8
from pre-commit, asruff
covers its basic rules. - Improved log readability by silencing non-critical
neo4j
(content graph infrastructure) logs. - Fixed an issue where run-unit-tests failed on python2 content items.
- Fixed an issue where modeling-rules test did not properly handle query fields that pointed to a string.
- Fixed an issue when trying to fetch remote files when not under the content repo.
- Fixed a validation that the modeling-rules test command will fail if no test data file exist.
- Fixed an issue where format command failed while updating the
fromversion
entry.