diff --git a/pycti/entities/opencti_settings.py b/pycti/entities/opencti_settings.py index e0d950fda..98baa0568 100644 --- a/pycti/entities/opencti_settings.py +++ b/pycti/entities/opencti_settings.py @@ -39,25 +39,24 @@ def __init__(self, opencti): platform_user_statuses { status, message } - platform_theme - platform_theme_dark_background - platform_theme_dark_paper - platform_theme_dark_nav - platform_theme_dark_primary - platform_theme_dark_secondary - platform_theme_dark_accent - platform_theme_dark_logo - platform_theme_dark_logo_collapsed - platform_theme_dark_logo_login - platform_theme_light_background - platform_theme_light_paper - platform_theme_light_nav - platform_theme_light_primary - platform_theme_light_secondary - platform_theme_light_accent - platform_theme_light_logo - platform_theme_light_logo_collapsed - platform_theme_light_logo_login + platform_theme { + id + standard_id + entity_type + parent_types + name + theme_background + theme_paper + theme_nav + theme_primary + theme_secondary + theme_accent: + theme_logo + theme_logo_collapsed + theme_logo_login + theme_text_color + built_in + } platform_map_tile_server_dark platform_map_tile_server_light platform_openbas_url @@ -173,25 +172,6 @@ def __init__(self, opencti): platform_favicon platform_email platform_language - platform_theme - platform_theme_dark_background - platform_theme_dark_paper - platform_theme_dark_nav - platform_theme_dark_primary - platform_theme_dark_secondary - platform_theme_dark_accent - platform_theme_dark_logo - platform_theme_dark_logo_collapsed - platform_theme_dark_logo_login - platform_theme_light_background - platform_theme_light_paper - platform_theme_light_nav - platform_theme_light_primary - platform_theme_light_secondary - platform_theme_light_accent - platform_theme_light_logo - platform_theme_light_logo_collapsed - platform_theme_light_logo_login platform_login_message platform_consent_message platform_consent_confirm_text diff --git a/tests/cases/entities.py b/tests/cases/entities.py index 7d6451c9f..4a3f02249 100644 --- a/tests/cases/entities.py +++ b/tests/cases/entities.py @@ -1318,7 +1318,7 @@ def base_class(self): return self.own_class() def update_data(self): - return {"platform_title": "This is a test platform", "platform_theme": "light"} + return {"platform_title": "This is a test platform"} def get_filter(self): return None