- Added support for Python versions 3.11 and 3.12.
- Changed package management from pip to Poetry for better dependency handling and packaging.
- Fixed an issue where download command would fail when trying to convert bytes types to string.
- Added advanced key authentication support for XSIAM and XSOAR 8+.
- Added support for
DEMISTO_API_KEY_ID
and deprecated oldXSIAM_AUTH_ID
.
- Added URL decoding of proxy url credentials.
- Added the ability to add custom request headers.
- Fixed an issue where demisto-py used username/password authentication even when api-key was provided.
- Added an ability to change
DEMISTO_BASE_URL
environment variable to api url, when using XSIAM.
- Added support for proxy basic authentication.
- Fixed an issue where demisto-py failed to upload content to XSIAM when
DEMISTO_USERNAME
environment variable is set.
- Fixed an issue where demisto-py did not return partial errors when importing incident fields.
- Add reputation routes.
- Re-added Python 3.8 support.
- Raising an error when
base_url
is not provided.
- Removed testing with Python 3.7 and 3.8, and added testing with Python 3.9 and 3.10.
- Replaced the usage of the deprecated function
pytz.localize()
.
- Added a proxy environment variable that uses BASE_URL_DEMISTO.
- Fixed an issue where demisto-py failed when receiving
application/gzip
-encoded responses.
- Add support to Cortex XSIAM to the
generic_request
.
- Upgraded tzlocal from version 2.1 to 4.1.
- Add support to Cortex XSIAM.
- Support
skipValidation
argument inupload_content_packs
to skip upload packs validation, use when migrating existing custom content to packs.
- Drop support for Python 2 from PyPi.
- Support
skipVerify
argument inupload_content_packs
to skip pack signature verification, Use when uploading a custom or dev pack.
- Support
upload_report
to upload a new report/ update existing report. - Support
upload_content_packs
to upload zipped packs to marketplace.
- Support setting the number of parallel connections to a single host via the
DEMISTO_CONNECTION_POOL_MAXSIZE
environment variable.
- Drop support for Python 2. demisto-py now requires Python 3.7 or later. Pin to demisto-py <2.0.24 to maintain 2.7 support.
- Fixed bug in arguments required for the route:
/v2/inv-playbook/task/form/submit
.
- Support for adding feed indicators via the route:
/indicators/feed/json
.
- Don't cache last response in case
DONT_CACHE_LAST_RESPONSE
environment variable is set to true, this to avoid memory leaks.
- Log only headers in exceptions when
DEMISTO_EXCEPTION_HEADER_LOGGING
environment variable is set to true. This protects against possible sensitive data being logged in exceptions.
- Support
import_layout
to upload the new layout version(layoutscontainer). - Fixed
import_layout
when uploading an old layout version. - Removed testing with Python 3.6 and added testing with Python 3.8.
- Added to the
generic_request
function support forresponse_type
argument.
Fixed an issue where the attribute mapping for the search_incidents
model was incorrectly looking for incidents
not data
.
- Fixed the
filter
parameter insearch_incidents
method to be required as specified in the API.
- Fixed a bug in the
import_layout
method where an API endpoint was not working as planned.
- Added
import_playbook
method for importing a playbook to Demisto. - Added
import_script
method for importing a script to Demisto. - Added
import_incident_fields
method for importing an incident field to Demisto. - Added
import_incident_types_handler
method for importing an incident type to Demisto. - Added
import_widget
method for import a widget to Demisto. - Added
import_dashboard
method for import a dashboard to Demisto. - Added
import_classifier
method for importing a classifier to Demisto. - Added
import_layout
method for importing a layout to Demisto.
- Enabled host and path parameters to function with trailing or leading slashes.
- Improved error message when missing authentication parameters.
- Added
ssl_ca_cert
configuration option to specify an alternate certificate bundle. - Added support for additional configuration environment variables:
DEMISTO_VERIFY_SSL
SSL_CERT_FILE
- Added
investigation_add_entries_sync
method creating a new entry in existing investigation. - Added
download_file
method for downloading files by entry id. - Added
integration_upload
method for uploading integrations to Demisto.
Added support for user/password authentication option.
Removed unsupported user/password authentication option.
Fixed missing dependency (tzlocal).
- Fixed issue in
generic_request
where body was being ignored (#20) . - Added
content_type
andaccept
parameters togeneric_request
. - Fixed
datetime
object formatting to include timezone offset as specified in RFC 3339.
- Support for environment variables when configuring the client.
- Updated
create_incident
with CustomFields and removed invalidattachment
parameter. - Added
incident_file_upload
method for uploading files to an incident.
Improved the changelog and documentation.
Initial release of new Swagger based API for Demisto Server 4.5.0 and up.
Deprecated: demisto-py 1.x is officially in maintenance-mode only and can be obtained at: https://github.com/demisto/demisto-py/releases .