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

Commit 5dc59ed

Browse files
[client] fix settings fragment (#1025)
1 parent e1adae4 commit 5dc59ed

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_openbas_url
@@ -173,25 +172,6 @@ def __init__(self, opencti):
173172
platform_favicon
174173
platform_email
175174
platform_language
176-
platform_theme
177-
platform_theme_dark_background
178-
platform_theme_dark_paper
179-
platform_theme_dark_nav
180-
platform_theme_dark_primary
181-
platform_theme_dark_secondary
182-
platform_theme_dark_accent
183-
platform_theme_dark_logo
184-
platform_theme_dark_logo_collapsed
185-
platform_theme_dark_logo_login
186-
platform_theme_light_background
187-
platform_theme_light_paper
188-
platform_theme_light_nav
189-
platform_theme_light_primary
190-
platform_theme_light_secondary
191-
platform_theme_light_accent
192-
platform_theme_light_logo
193-
platform_theme_light_logo_collapsed
194-
platform_theme_light_logo_login
195175
platform_login_message
196176
platform_consent_message
197177
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)