diff --git a/CHANGELOG.md b/CHANGELOG.md index 58ad902..bfe1a05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [6.0.0] - 2024-08-20 +- Split `SIEM_DEFECT_DOJO` Parent type into: + - CUSTODIAN_SIEM_DEFECT_DOJO + - RIGHTSIZER_SIEM_DEFECT_DOJO + ## [5.1.7] - 2024-08-20 - added more logs for RabbitMQ connection - rollback `pika` to fix breaking changes diff --git a/modular_sdk/commons/constants.py b/modular_sdk/commons/constants.py index 32e05ce..79ef21d 100644 --- a/modular_sdk/commons/constants.py +++ b/modular_sdk/commons/constants.py @@ -46,7 +46,8 @@ class ParentType(str, Enum): CUSTODIAN_LICENSES = 'CUSTODIAN_LICENSES' RIGHTSIZER_PARENT = 'RIGHTSIZER' RIGHTSIZER_LICENSES_PARENT = 'RIGHTSIZER_LICENSES' - SIEM_DEFECT_DOJO = 'SIEM_DEFECT_DOJO' + RIGHTSIZER_SIEM_DEFECT_DOJO = 'RIGHTSIZER_SIEM_DEFECT_DOJO' + CUSTODIAN_SIEM_DEFECT_DOJO = 'CUSTODIAN_SIEM_DEFECT_DOJO' PLATFORM_K8S = 'PLATFORM_K8S' GCP_CHRONICLE_INSTANCE = 'GCP_CHRONICLE_INSTANCE' @@ -77,7 +78,8 @@ def iter(cls): CUSTODIAN_LICENSES_TYPE = ParentType.CUSTODIAN_LICENSES.value RIGHTSIZER_PARENT_TYPE = ParentType.RIGHTSIZER_PARENT.value RIGHTSIZER_LICENSES_PARENT_TYPE = ParentType.RIGHTSIZER_LICENSES_PARENT.value -SIEM_DEFECT_DOJO_TYPE = ParentType.SIEM_DEFECT_DOJO.value +RIGHTSIZER_SIEM_DEFECT_DOJO_TYPE = ParentType.RIGHTSIZER_SIEM_DEFECT_DOJO.value +CUSTODIAN_SIEM_DEFECT_DOJO_TYPE = ParentType.CUSTODIAN_SIEM_DEFECT_DOJO.value ALL_PARENT_TYPES = list(ParentType.iter()) @@ -186,7 +188,10 @@ def iter(cls): TENANT_PARENT_MAP_CUSTODIAN_LICENSES_TYPE = CUSTODIAN_LICENSES_TYPE TENANT_PARENT_MAP_RIGHTSIZER_TYPE = 'RIGHTSIZER' TENANT_PARENT_MAP_RIGHTSIZER_LICENSES_TYPE = 'RIGHTSIZER_LICENSES' -TENANT_PARENT_MAP_SIEM_DEFECT_DOJO_TYPE = SIEM_DEFECT_DOJO_TYPE +TENANT_PARENT_MAP_RIGHTSIZER_SIEM_DEFECT_DOJO_TYPE = ( + RIGHTSIZER_SIEM_DEFECT_DOJO_TYPE) +TENANT_PARENT_MAP_CUSTODIAN_SIEM_DEFECT_DOJO_TYPE = ( + CUSTODIAN_SIEM_DEFECT_DOJO_TYPE) ALLOWED_TENANT_PARENT_MAP_KEYS = ( TENANT_PARENT_MAP_BILLING_TYPE, @@ -194,7 +199,8 @@ def iter(cls): TENANT_PARENT_MAP_CUSTODIAN_TYPE, TENANT_PARENT_MAP_RIGHTSIZER_TYPE, TENANT_PARENT_MAP_RIGHTSIZER_LICENSES_TYPE, - TENANT_PARENT_MAP_SIEM_DEFECT_DOJO_TYPE, + TENANT_PARENT_MAP_RIGHTSIZER_SIEM_DEFECT_DOJO_TYPE, + TENANT_PARENT_MAP_CUSTODIAN_SIEM_DEFECT_DOJO_TYPE, TENANT_PARENT_MAP_CUSTODIAN_LICENSES_TYPE, TENANT_PARENT_MAP_CUSTODIAN_ACCESS_TYPE ) diff --git a/pyproject.toml b/pyproject.toml index 6e7b0b1..fe8fd65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "modular_sdk" -version = "5.1.7" +version = "6.0.0" authors = [ {name = "EPAM Systems", email = "support@syndicate.team"} ]