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

Commit 0baf047

Browse files
[client] Adapt for ee (#827)
1 parent f86050d commit 0baf047

File tree

1 file changed

+17
-27
lines changed

1 file changed

+17
-27
lines changed

pycti/entities/opencti_settings.py

Lines changed: 17 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -19,33 +19,26 @@ def __init__(self, opencti):
1919
standard_id
2020
entity_type
2121
parent_types
22-
2322
platform_organization {
2423
id, name, description
2524
}
26-
2725
platform_title
2826
platform_favicon
2927
platform_email
3028
platform_url
3129
platform_language
32-
3330
platform_cluster {
3431
instances_number
3532
}
36-
3733
platform_modules {
3834
id, enable, warning
3935
}
40-
4136
platform_providers {
4237
name, type, strategy, provider
4338
}
44-
4539
platform_user_statuses {
4640
status, message
4741
}
48-
4942
platform_theme
5043
platform_theme_dark_background
5144
platform_theme_dark_paper
@@ -67,36 +60,27 @@ def __init__(self, opencti):
6760
platform_theme_light_logo_login
6861
platform_map_tile_server_dark
6962
platform_map_tile_server_light
70-
7163
platform_openbas_url
7264
platform_openbas_disable_display
73-
7465
platform_openerm_url
7566
platform_openmtd_url
76-
7767
platform_ai_enabled
7868
platform_ai_type
7969
platform_ai_model
8070
platform_ai_has_token
81-
8271
platform_login_message
8372
platform_consent_message
8473
platform_consent_confirm_text
85-
8674
platform_banner_text
8775
platform_banner_level
88-
8976
platform_session_idle_timeout
9077
platform_session_timeout
91-
9278
platform_whitemark
9379
platform_demo
9480
platform_reference_attachment
95-
9681
platform_feature_flags {
9782
id, enable, warning
9883
}
99-
10084
platform_critical_alerts {
10185
message, type
10286
details {
@@ -105,9 +89,7 @@ def __init__(self, opencti):
10589
}
10690
}
10791
}
108-
10992
platform_trash_enabled
110-
11193
platform_protected_sensitive_config {
11294
enabled
11395
markings {
@@ -132,12 +114,25 @@ def __init__(self, opencti):
132114
enabled, protected_ids
133115
}
134116
}
135-
136117
created_at
137118
updated_at
138-
enterprise_edition
119+
platform_enterprise_edition {
120+
license_enterprise
121+
license_by_configuration
122+
license_customer
123+
license_validated
124+
license_valid_cert
125+
license_expired
126+
license_expiration_prevention
127+
license_start_date
128+
license_expiration_date
129+
license_platform
130+
license_type
131+
license_platform_match
132+
license_creator
133+
license_global
134+
}
139135
analytics_google_analytics_v4
140-
141136
activity_listeners {
142137
id, name, entity_type
143138
}
@@ -170,16 +165,13 @@ def __init__(self, opencti):
170165
self.editable_properties = (
171166
"""
172167
id
173-
174168
platform_organization {
175169
id
176170
}
177-
178171
platform_title
179172
platform_favicon
180173
platform_email
181174
platform_language
182-
183175
platform_theme
184176
platform_theme_dark_background
185177
platform_theme_dark_paper
@@ -199,16 +191,14 @@ def __init__(self, opencti):
199191
platform_theme_light_logo
200192
platform_theme_light_logo_collapsed
201193
platform_theme_light_logo_login
202-
203194
platform_login_message
204195
platform_consent_message
205196
platform_consent_confirm_text
206197
platform_banner_text
207198
platform_banner_level
208-
209199
platform_whitemark
210200
analytics_google_analytics_v4
211-
enterprise_edition
201+
enterprise_license
212202
"""
213203
+ self.password_policy_properties
214204
)

0 commit comments

Comments
 (0)