Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit d42da93

Browse files
JeremyCloarecmaelv-filigran
authored andcommitted
[client] fix settings fragment (#1025)
1 parent 9e795bd commit d42da93

File tree

2 files changed

+19
-39
lines changed

2 files changed

+19
-39
lines changed

pycti/entities/opencti_settings.py

Lines changed: 18 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -39,25 +39,24 @@ def __init__(self, opencti):
3939
platform_user_statuses {
4040
status, message
4141
}
42-
platform_theme
43-
platform_theme_dark_background
44-
platform_theme_dark_paper
45-
platform_theme_dark_nav
46-
platform_theme_dark_primary
47-
platform_theme_dark_secondary
48-
platform_theme_dark_accent
49-
platform_theme_dark_logo
50-
platform_theme_dark_logo_collapsed
51-
platform_theme_dark_logo_login
52-
platform_theme_light_background
53-
platform_theme_light_paper
54-
platform_theme_light_nav
55-
platform_theme_light_primary
56-
platform_theme_light_secondary
57-
platform_theme_light_accent
58-
platform_theme_light_logo
59-
platform_theme_light_logo_collapsed
60-
platform_theme_light_logo_login
42+
platform_theme {
43+
id
44+
standard_id
45+
entity_type
46+
parent_types
47+
name
48+
theme_background
49+
theme_paper
50+
theme_nav
51+
theme_primary
52+
theme_secondary
53+
theme_accent:
54+
theme_logo
55+
theme_logo_collapsed
56+
theme_logo_login
57+
theme_text_color
58+
built_in
59+
}
6160
platform_map_tile_server_dark
6261
platform_map_tile_server_light
6362
platform_ai_enabled
@@ -171,25 +170,6 @@ def __init__(self, opencti):
171170
platform_favicon
172171
platform_email
173172
platform_language
174-
platform_theme
175-
platform_theme_dark_background
176-
platform_theme_dark_paper
177-
platform_theme_dark_nav
178-
platform_theme_dark_primary
179-
platform_theme_dark_secondary
180-
platform_theme_dark_accent
181-
platform_theme_dark_logo
182-
platform_theme_dark_logo_collapsed
183-
platform_theme_dark_logo_login
184-
platform_theme_light_background
185-
platform_theme_light_paper
186-
platform_theme_light_nav
187-
platform_theme_light_primary
188-
platform_theme_light_secondary
189-
platform_theme_light_accent
190-
platform_theme_light_logo
191-
platform_theme_light_logo_collapsed
192-
platform_theme_light_logo_login
193173
platform_login_message
194174
platform_consent_message
195175
platform_consent_confirm_text

tests/cases/entities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ def base_class(self):
13181318
return self.own_class()
13191319

13201320
def update_data(self):
1321-
return {"platform_title": "This is a test platform", "platform_theme": "light"}
1321+
return {"platform_title": "This is a test platform"}
13221322

13231323
def get_filter(self):
13241324
return None

0 commit comments

Comments
 (0)