Skip to content

Commit

Permalink
Merge pull request #75 from epam/develop
Browse files Browse the repository at this point in the history
6.0.0
  • Loading branch information
bohdan-onsha authored Aug 21, 2024
2 parents 1df253f + c400bae commit 9337b80
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 10 additions & 4 deletions modular_sdk/commons/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down Expand Up @@ -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())


Expand Down Expand Up @@ -186,15 +188,19 @@ 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,
TENANT_PARENT_MAP_MANAGEMENT_TYPE,
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
)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
]
Expand Down

0 comments on commit 9337b80

Please sign in to comment.