python3-core-api-client 7.0__py3-none-any.whl → 8.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cyberfusion/CoreApiClient/connector.py +12 -0
- cyberfusion/CoreApiClient/models.py +413 -55
- cyberfusion/CoreApiClient/resources/__init__.py +6 -0
- cyberfusion/CoreApiClient/resources/available_versions.py +51 -0
- cyberfusion/CoreApiClient/resources/carbon_txts.py +83 -0
- cyberfusion/CoreApiClient/resources/clusters.py +108 -38
- cyberfusion/CoreApiClient/resources/cmses.py +92 -0
- cyberfusion/CoreApiClient/resources/customers.py +2 -2
- cyberfusion/CoreApiClient/resources/daemons.py +20 -0
- cyberfusion/CoreApiClient/resources/database_users.py +22 -0
- cyberfusion/CoreApiClient/resources/node_add_ons.py +2 -2
- cyberfusion/CoreApiClient/resources/nodes.py +2 -2
- cyberfusion/CoreApiClient/resources/standards_scans.py +56 -0
- {python3_core_api_client-7.0.dist-info → python3_core_api_client-8.1.dist-info}/METADATA +2 -2
- {python3_core_api_client-7.0.dist-info → python3_core_api_client-8.1.dist-info}/RECORD +17 -14
- {python3_core_api_client-7.0.dist-info → python3_core_api_client-8.1.dist-info}/WHEEL +1 -1
- {python3_core_api_client-7.0.dist-info → python3_core_api_client-8.1.dist-info}/top_level.txt +0 -0
|
@@ -144,6 +144,13 @@ class BorgArchiveContentObjectTypeEnum(StrEnum):
|
|
|
144
144
|
SYMBOLIC_LINK = "symbolic_link"
|
|
145
145
|
|
|
146
146
|
|
|
147
|
+
class TimeUnitEnum(StrEnum):
|
|
148
|
+
HOURLY = "hourly"
|
|
149
|
+
DAILY = "daily"
|
|
150
|
+
WEEKLY = "weekly"
|
|
151
|
+
MONTHLY = "monthly"
|
|
152
|
+
|
|
153
|
+
|
|
147
154
|
class BorgArchiveCreateRequest(BaseCoreApiModel):
|
|
148
155
|
borg_repository_id: int
|
|
149
156
|
name: constr(pattern=r"^[a-zA-Z0-9-_]+$", min_length=1, max_length=64)
|
|
@@ -153,7 +160,7 @@ class BorgArchiveMetadata(BaseCoreApiModel):
|
|
|
153
160
|
name: constr(pattern=r"^[a-zA-Z0-9-_]+$", min_length=1, max_length=64)
|
|
154
161
|
borg_archive_id: int
|
|
155
162
|
exists_on_server: bool
|
|
156
|
-
contents_path:
|
|
163
|
+
contents_path: str
|
|
157
164
|
|
|
158
165
|
|
|
159
166
|
class BorgRepositoryCreateRequest(BaseCoreApiModel):
|
|
@@ -165,6 +172,7 @@ class BorgRepositoryCreateRequest(BaseCoreApiModel):
|
|
|
165
172
|
keep_monthly: Optional[int]
|
|
166
173
|
keep_yearly: Optional[int]
|
|
167
174
|
database_id: Optional[int]
|
|
175
|
+
frequency: TimeUnitEnum
|
|
168
176
|
|
|
169
177
|
|
|
170
178
|
class BorgRepositoryUpdateRequest(BaseCoreApiModel):
|
|
@@ -173,6 +181,7 @@ class BorgRepositoryUpdateRequest(BaseCoreApiModel):
|
|
|
173
181
|
keep_weekly: Optional[int] = None
|
|
174
182
|
keep_monthly: Optional[int] = None
|
|
175
183
|
keep_yearly: Optional[int] = None
|
|
184
|
+
frequency: Optional[TimeUnitEnum] = None
|
|
176
185
|
|
|
177
186
|
|
|
178
187
|
class CmsConfigurationConstant(BaseCoreApiModel):
|
|
@@ -205,7 +214,7 @@ class CmsInstallWordpressRequest(BaseCoreApiModel):
|
|
|
205
214
|
site_title: constr(pattern=r"^[a-zA-Z0-9-_ ]+$", min_length=1, max_length=253)
|
|
206
215
|
site_url: AnyUrl
|
|
207
216
|
locale: constr(pattern=r"^[a-zA-Z_]+$", min_length=1, max_length=15)
|
|
208
|
-
version: constr(pattern=r"^[0-9.]+$", min_length=1, max_length=
|
|
217
|
+
version: constr(pattern=r"^[0-9.]+$", min_length=1, max_length=20)
|
|
209
218
|
admin_email_address: EmailStr
|
|
210
219
|
|
|
211
220
|
|
|
@@ -242,6 +251,26 @@ class CmsThemeInstallFromUrlRequest(BaseCoreApiModel):
|
|
|
242
251
|
url: AnyUrl
|
|
243
252
|
|
|
244
253
|
|
|
254
|
+
class CmsConfigureRedisRequest(BaseCoreApiModel):
|
|
255
|
+
memory_limit: conint(ge=8)
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
class CmsAutoInstallWordpressRequest(BaseCoreApiModel):
|
|
259
|
+
site_title: constr(pattern=r"^[a-zA-Z0-9-_ ]+$", min_length=1, max_length=253)
|
|
260
|
+
locale: constr(pattern=r"^[a-zA-Z_]+$", min_length=1, max_length=15)
|
|
261
|
+
version: constr(pattern=r"^[0-9.]+$", min_length=1, max_length=20)
|
|
262
|
+
admin_email_address: EmailStr
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
class CmsWoocommerceHpos(BaseCoreApiModel):
|
|
266
|
+
enabled: bool
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
class CmsDatabaseIndex(BaseCoreApiModel):
|
|
270
|
+
table_name: constr(min_length=1)
|
|
271
|
+
column_name: constr(min_length=1)
|
|
272
|
+
|
|
273
|
+
|
|
245
274
|
class CmsUserCredentialsUpdateRequest(BaseCoreApiModel):
|
|
246
275
|
password: constr(pattern=r"^[ -~]+$", min_length=24, max_length=255)
|
|
247
276
|
|
|
@@ -273,10 +302,56 @@ class NodejsVersion(RootCoreApiModel):
|
|
|
273
302
|
root: constr(pattern=r"^[0-9]{1,2}\.[0-9]{1,2}$")
|
|
274
303
|
|
|
275
304
|
|
|
305
|
+
class NodejsVersionIncludes(BaseCoreApiModel):
|
|
306
|
+
pass
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
class NodejsVersionResource(BaseCoreApiModel):
|
|
310
|
+
id: int
|
|
311
|
+
created_at: datetime
|
|
312
|
+
updated_at: datetime
|
|
313
|
+
major_release: conint(ge=0)
|
|
314
|
+
minor_release: conint(ge=0)
|
|
315
|
+
point_release: conint(ge=0)
|
|
316
|
+
includes: NodejsVersionIncludes
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
class PhpVersionIncludes(BaseCoreApiModel):
|
|
320
|
+
pass
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
class PhpVersionResource(BaseCoreApiModel):
|
|
324
|
+
id: int
|
|
325
|
+
created_at: datetime
|
|
326
|
+
updated_at: datetime
|
|
327
|
+
version: str
|
|
328
|
+
security_support_ends_at: datetime
|
|
329
|
+
includes: PhpVersionIncludes
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
class WordpressVersionStabilityEnum(StrEnum):
|
|
333
|
+
LATEST = "latest"
|
|
334
|
+
OUTDATED = "outdated"
|
|
335
|
+
INSECURE = "insecure"
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
class WordpressVersionIncludes(BaseCoreApiModel):
|
|
339
|
+
pass
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
class WordpressVersionResource(BaseCoreApiModel):
|
|
343
|
+
id: int
|
|
344
|
+
created_at: datetime
|
|
345
|
+
updated_at: datetime
|
|
346
|
+
version: str
|
|
347
|
+
stability: WordpressVersionStabilityEnum
|
|
348
|
+
includes: WordpressVersionIncludes
|
|
349
|
+
|
|
350
|
+
|
|
276
351
|
class ClusterIpAddress(BaseCoreApiModel):
|
|
277
352
|
ip_address: Union[IPv6Address, IPv4Address]
|
|
278
353
|
dns_name: Optional[str]
|
|
279
|
-
l3_ddos_protection_enabled: bool
|
|
354
|
+
l3_ddos_protection_enabled: bool = False
|
|
280
355
|
|
|
281
356
|
|
|
282
357
|
class ClusterIpAddresses(RootModelCollectionMixin, RootCoreApiModel): # type: ignore[misc]
|
|
@@ -426,6 +501,44 @@ class DatabaseUsageResource(BaseCoreApiModel):
|
|
|
426
501
|
includes: DatabaseUsageIncludes
|
|
427
502
|
|
|
428
503
|
|
|
504
|
+
class DaemonCpuUsageMetricResource(BaseCoreApiModel):
|
|
505
|
+
daemon_name: str
|
|
506
|
+
node_hostname: str
|
|
507
|
+
timestamp: int
|
|
508
|
+
value: float
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
class DaemonMemoryUsageMetricResource(BaseCoreApiModel):
|
|
512
|
+
daemon_name: str
|
|
513
|
+
node_hostname: str
|
|
514
|
+
timestamp: int
|
|
515
|
+
value: int
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
class DaemonsMetricsResource(BaseCoreApiModel):
|
|
519
|
+
cpu_usages: List[DaemonCpuUsageMetricResource]
|
|
520
|
+
memory_usages: List[DaemonMemoryUsageMetricResource]
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
class DatabaseUserCpuUsageMetricResource(BaseCoreApiModel):
|
|
524
|
+
database_user_name: str
|
|
525
|
+
node_hostname: str
|
|
526
|
+
timestamp: int
|
|
527
|
+
value: float
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
class DatabaseUserTotalConnectionMetricResource(BaseCoreApiModel):
|
|
531
|
+
database_user_name: str
|
|
532
|
+
node_hostname: str
|
|
533
|
+
timestamp: int
|
|
534
|
+
value: float
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
class DatabaseUsersMetricsResource(BaseCoreApiModel):
|
|
538
|
+
total_connections: List[DatabaseUserTotalConnectionMetricResource]
|
|
539
|
+
cpu_usages: List[DatabaseUserCpuUsageMetricResource]
|
|
540
|
+
|
|
541
|
+
|
|
429
542
|
class DatabaseUserUpdateRequest(BaseCoreApiModel):
|
|
430
543
|
phpmyadmin_firewall_groups_ids: Optional[List[int]] = None
|
|
431
544
|
password: Optional[constr(pattern=r"^[ -~]+$", min_length=24, max_length=255)] = (
|
|
@@ -457,8 +570,11 @@ class DomainRouterUpdateRequest(BaseCoreApiModel):
|
|
|
457
570
|
node_id: Optional[int] = None
|
|
458
571
|
certificate_id: Optional[int] = None
|
|
459
572
|
security_txt_policy_id: Optional[int] = None
|
|
573
|
+
carbon_txt_id: Optional[int] = None
|
|
460
574
|
firewall_groups_ids: Optional[List[int]] = None
|
|
461
575
|
force_ssl: Optional[bool] = None
|
|
576
|
+
quic_enabled: Optional[bool] = None
|
|
577
|
+
is_standards_scan_enabled: Optional[bool] = None
|
|
462
578
|
|
|
463
579
|
|
|
464
580
|
class EncryptionTypeEnum(StrEnum):
|
|
@@ -469,7 +585,7 @@ class EncryptionTypeEnum(StrEnum):
|
|
|
469
585
|
|
|
470
586
|
class FpmPoolCreateRequest(BaseCoreApiModel):
|
|
471
587
|
name: constr(pattern=r"^[a-z0-9-_]+$", min_length=1, max_length=64)
|
|
472
|
-
version:
|
|
588
|
+
version: constr(pattern=r"^[0-9]{1,2}\.[0-9]{1,2}$", min_length=3, max_length=4)
|
|
473
589
|
unix_user_id: int
|
|
474
590
|
max_children: int = 25
|
|
475
591
|
max_requests: int = 20
|
|
@@ -844,9 +960,11 @@ class IpAddressFamilyEnum(StrEnum):
|
|
|
844
960
|
IPV4 = "IPv4"
|
|
845
961
|
|
|
846
962
|
|
|
847
|
-
class
|
|
848
|
-
|
|
849
|
-
|
|
963
|
+
class ProductTypeEnum(StrEnum):
|
|
964
|
+
NODE = "Node"
|
|
965
|
+
NODE_ADD_ON = "Node Add-On"
|
|
966
|
+
INCOMING_IP_ADDRESS = "Incoming IP Address"
|
|
967
|
+
OUTGOING_IP_ADDRESS = "Outgoing IP Address"
|
|
850
968
|
|
|
851
969
|
|
|
852
970
|
class LanguageCodeEnum(StrEnum):
|
|
@@ -958,17 +1076,6 @@ class NodeAddOnCreateRequest(BaseCoreApiModel):
|
|
|
958
1076
|
quantity: int
|
|
959
1077
|
|
|
960
1078
|
|
|
961
|
-
class NodeAddOnProduct(BaseCoreApiModel):
|
|
962
|
-
uuid: UUID4
|
|
963
|
-
name: constr(pattern=r"^[a-zA-Z0-9 ]+$", min_length=1, max_length=64)
|
|
964
|
-
memory_mib: Optional[int]
|
|
965
|
-
cpu_cores: Optional[int]
|
|
966
|
-
disk_gib: Optional[int]
|
|
967
|
-
price: confloat(ge=0.0)
|
|
968
|
-
period: constr(pattern=r"^[A-Z0-9]+$", min_length=2, max_length=2)
|
|
969
|
-
currency: constr(pattern=r"^[A-Z]+$", min_length=3, max_length=3)
|
|
970
|
-
|
|
971
|
-
|
|
972
1079
|
class NodeGroupEnum(StrEnum):
|
|
973
1080
|
ADMIN = "Admin"
|
|
974
1081
|
APACHE = "Apache"
|
|
@@ -1008,19 +1115,6 @@ class NodeMariadbGroupProperties(BaseCoreApiModel):
|
|
|
1008
1115
|
is_master: bool
|
|
1009
1116
|
|
|
1010
1117
|
|
|
1011
|
-
class NodeProduct(BaseCoreApiModel):
|
|
1012
|
-
uuid: UUID4
|
|
1013
|
-
name: constr(pattern=r"^[A-Z]+$", min_length=1, max_length=2)
|
|
1014
|
-
memory_mib: int
|
|
1015
|
-
cpu_cores: int
|
|
1016
|
-
disk_gib: int
|
|
1017
|
-
allow_upgrade_to: List[constr(pattern=r"^[A-Z]+$", min_length=1, max_length=2)]
|
|
1018
|
-
allow_downgrade_to: List[constr(pattern=r"^[A-Z]+$", min_length=1, max_length=2)]
|
|
1019
|
-
price: confloat(ge=0.0)
|
|
1020
|
-
period: constr(pattern=r"^[A-Z0-9]+$", min_length=2, max_length=2)
|
|
1021
|
-
currency: constr(pattern=r"^[A-Z]+$", min_length=3, max_length=3)
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
1118
|
class NodeRabbitmqGroupProperties(BaseCoreApiModel):
|
|
1025
1119
|
is_master: bool
|
|
1026
1120
|
|
|
@@ -1100,6 +1194,11 @@ class ObjectModelNameEnum(StrEnum):
|
|
|
1100
1194
|
CLUSTERS_OS_PROPERTIES = "ClustersOsProperties"
|
|
1101
1195
|
PROJECT = "Project"
|
|
1102
1196
|
PROJECT_ENVIRONMENT = "ProjectEnvironment"
|
|
1197
|
+
PRODUCT = "Product"
|
|
1198
|
+
TOMBSTONE = "Tombstone"
|
|
1199
|
+
MALWARE = "Malware"
|
|
1200
|
+
STANDARDS_SCAN = "StandardsScan"
|
|
1201
|
+
CARBON_TXT = "CarbonTxt"
|
|
1103
1202
|
|
|
1104
1203
|
|
|
1105
1204
|
class PhpExtensionEnum(StrEnum):
|
|
@@ -1138,6 +1237,7 @@ class PhpSettings(BaseCoreApiModel):
|
|
|
1138
1237
|
)
|
|
1139
1238
|
)
|
|
1140
1239
|
opcache_memory_consumption: conint(ge=192, le=1024) = 192
|
|
1240
|
+
opcache_interned_strings_buffer: conint(ge=8, le=4095) = 8
|
|
1141
1241
|
max_execution_time: conint(ge=30, le=120) = 120
|
|
1142
1242
|
max_file_uploads: conint(ge=100, le=1000) = 100
|
|
1143
1243
|
memory_limit: conint(ge=256, le=4096) = 256
|
|
@@ -1160,6 +1260,7 @@ class FpmPoolPhpSettings(BaseCoreApiModel):
|
|
|
1160
1260
|
constr(pattern=r"^[A-Z&~_ ]+$", min_length=1, max_length=255) | None
|
|
1161
1261
|
) = None
|
|
1162
1262
|
opcache_memory_consumption: conint(ge=192, le=1024) | None = None
|
|
1263
|
+
opcache_interned_strings_buffer: int | None = None
|
|
1163
1264
|
max_execution_time: conint(ge=30, le=120) | None = None
|
|
1164
1265
|
max_file_uploads: conint(ge=100, le=1000) | None = None
|
|
1165
1266
|
memory_limit: conint(ge=256, le=4096) | None = None
|
|
@@ -1214,7 +1315,7 @@ class RedisInstanceCreateRequest(BaseCoreApiModel):
|
|
|
1214
1315
|
password: constr(pattern=r"^[a-zA-Z0-9]+$", min_length=24, max_length=255)
|
|
1215
1316
|
memory_limit: conint(ge=8)
|
|
1216
1317
|
max_databases: int = 16
|
|
1217
|
-
eviction_policy: RedisEvictionPolicyEnum = RedisEvictionPolicyEnum.
|
|
1318
|
+
eviction_policy: RedisEvictionPolicyEnum = RedisEvictionPolicyEnum.ALLKEYS_LFU
|
|
1218
1319
|
|
|
1219
1320
|
|
|
1220
1321
|
class RedisInstanceUpdateRequest(BaseCoreApiModel):
|
|
@@ -1289,6 +1390,7 @@ class SecurityTxtPolicyUpdateRequest(BaseCoreApiModel):
|
|
|
1289
1390
|
|
|
1290
1391
|
class ServiceAccountGroupEnum(StrEnum):
|
|
1291
1392
|
SECURITY_TXT_POLICY_SERVER = "Security TXT Policy Server"
|
|
1393
|
+
CARBON_TXT_SERVER = "Carbon TXT Server"
|
|
1292
1394
|
LOAD_BALANCER = "Load Balancer"
|
|
1293
1395
|
BORG = "Borg"
|
|
1294
1396
|
MAIL_PROXY = "Mail Proxy"
|
|
@@ -1350,13 +1452,6 @@ class TemporaryFtpUserResource(BaseCoreApiModel):
|
|
|
1350
1452
|
file_manager_url: AnyUrl
|
|
1351
1453
|
|
|
1352
1454
|
|
|
1353
|
-
class TimeUnitEnum(StrEnum):
|
|
1354
|
-
HOURLY = "hourly"
|
|
1355
|
-
DAILY = "daily"
|
|
1356
|
-
WEEKLY = "weekly"
|
|
1357
|
-
MONTHLY = "monthly"
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
1455
|
class TokenTypeEnum(StrEnum):
|
|
1361
1456
|
BEARER = "bearer"
|
|
1362
1457
|
|
|
@@ -1377,12 +1472,15 @@ class UnixUserCreateRequest(BaseCoreApiModel):
|
|
|
1377
1472
|
password: Optional[constr(pattern=r"^[ -~]+$", min_length=24, max_length=255)]
|
|
1378
1473
|
shell_name: ShellNameEnum = ShellNameEnum.BASH
|
|
1379
1474
|
record_usage_files: bool = False
|
|
1380
|
-
default_php_version: Optional[
|
|
1475
|
+
default_php_version: Optional[
|
|
1476
|
+
constr(pattern=r"^[0-9]{1,2}\.[0-9]{1,2}$", min_length=3, max_length=4)
|
|
1477
|
+
] = None
|
|
1381
1478
|
default_nodejs_version: Optional[constr(pattern=r"^[0-9]{1,2}\.[0-9]{1,2}$")] = None
|
|
1382
1479
|
description: Optional[
|
|
1383
1480
|
constr(pattern=r"^[a-zA-Z0-9-_ ]+$", min_length=1, max_length=255)
|
|
1384
1481
|
] = None
|
|
1385
1482
|
shell_is_namespaced: bool = True
|
|
1483
|
+
create_borg_repository: bool = False
|
|
1386
1484
|
|
|
1387
1485
|
|
|
1388
1486
|
class UnixUserHomeDirectoryEnum(StrEnum):
|
|
@@ -1399,7 +1497,9 @@ class UnixUserUpdateRequest(BaseCoreApiModel):
|
|
|
1399
1497
|
)
|
|
1400
1498
|
shell_name: Optional[ShellNameEnum] = None
|
|
1401
1499
|
record_usage_files: Optional[bool] = None
|
|
1402
|
-
default_php_version: Optional[
|
|
1500
|
+
default_php_version: Optional[
|
|
1501
|
+
constr(pattern=r"^[0-9]{1,2}\.[0-9]{1,2}$", min_length=3, max_length=4)
|
|
1502
|
+
] = None
|
|
1403
1503
|
default_nodejs_version: Optional[constr(pattern=r"^[0-9]{1,2}\.[0-9]{1,2}$")] = None
|
|
1404
1504
|
description: Optional[
|
|
1405
1505
|
constr(pattern=r"^[a-zA-Z0-9-_ ]+$", min_length=1, max_length=255)
|
|
@@ -1642,6 +1742,7 @@ class DatabaseCreateRequest(BaseCoreApiModel):
|
|
|
1642
1742
|
cluster_id: int
|
|
1643
1743
|
optimizing_enabled: bool = False
|
|
1644
1744
|
backups_enabled: bool = True
|
|
1745
|
+
create_borg_repository: bool = False
|
|
1645
1746
|
|
|
1646
1747
|
|
|
1647
1748
|
class DatabaseIncludes(BaseCoreApiModel):
|
|
@@ -1767,10 +1868,19 @@ class HealthResource(BaseCoreApiModel):
|
|
|
1767
1868
|
status: HealthStatusEnum
|
|
1768
1869
|
|
|
1769
1870
|
|
|
1770
|
-
class
|
|
1771
|
-
|
|
1871
|
+
class ProductResource(BaseCoreApiModel):
|
|
1872
|
+
id: int
|
|
1873
|
+
created_at: datetime
|
|
1874
|
+
updated_at: datetime
|
|
1875
|
+
external_id: UUID4
|
|
1772
1876
|
name: constr(pattern=r"^[a-zA-Z0-9 ]+$", min_length=1, max_length=64)
|
|
1773
|
-
|
|
1877
|
+
identifier: constr(pattern=r"^[a-zA-Z0-9- ]+$", min_length=1, max_length=64)
|
|
1878
|
+
type: ProductTypeEnum
|
|
1879
|
+
memory_mib: Optional[int]
|
|
1880
|
+
cpu_cores: Optional[int]
|
|
1881
|
+
disk_gib: Optional[int]
|
|
1882
|
+
allow_upgrade_to: List[str]
|
|
1883
|
+
allow_downgrade_to: List[str]
|
|
1774
1884
|
price: confloat(ge=0.0)
|
|
1775
1885
|
period: constr(pattern=r"^[A-Z0-9]+$", min_length=2, max_length=2)
|
|
1776
1886
|
currency: constr(pattern=r"^[A-Z]+$", min_length=3, max_length=3)
|
|
@@ -1832,7 +1942,7 @@ class NodeResource(BaseCoreApiModel):
|
|
|
1832
1942
|
created_at: datetime
|
|
1833
1943
|
updated_at: datetime
|
|
1834
1944
|
hostname: str
|
|
1835
|
-
product: constr(pattern=r"^[
|
|
1945
|
+
product: constr(pattern=r"^[a-zA-Z0-9 ]+$", min_length=1, max_length=64)
|
|
1836
1946
|
cluster_id: int
|
|
1837
1947
|
groups: List[NodeGroupEnum]
|
|
1838
1948
|
comment: Optional[
|
|
@@ -2067,7 +2177,9 @@ class BorgRepositoryResource(BaseCoreApiModel):
|
|
|
2067
2177
|
keep_monthly: Optional[int]
|
|
2068
2178
|
keep_yearly: Optional[int]
|
|
2069
2179
|
unix_user_id: Optional[int]
|
|
2180
|
+
database_id: Optional[int]
|
|
2070
2181
|
unix_id: int
|
|
2182
|
+
frequency: str
|
|
2071
2183
|
deployment_status: DeploymentStatusEnum
|
|
2072
2184
|
includes: BorgRepositoryIncludes
|
|
2073
2185
|
|
|
@@ -2180,7 +2292,7 @@ class FpmPoolResource(BaseCoreApiModel):
|
|
|
2180
2292
|
updated_at: datetime
|
|
2181
2293
|
cluster_id: int
|
|
2182
2294
|
name: constr(pattern=r"^[a-z0-9-_]+$", min_length=1, max_length=64)
|
|
2183
|
-
version:
|
|
2295
|
+
version: constr(pattern=r"^[0-9]{1,2}\.[0-9]{1,2}$", min_length=3, max_length=4)
|
|
2184
2296
|
unix_user_id: int
|
|
2185
2297
|
max_children: int
|
|
2186
2298
|
max_requests: int
|
|
@@ -2365,7 +2477,7 @@ class NodeAddOnResource(BaseCoreApiModel):
|
|
|
2365
2477
|
|
|
2366
2478
|
|
|
2367
2479
|
class NodeCreateRequest(BaseCoreApiModel):
|
|
2368
|
-
product: constr(pattern=r"^[
|
|
2480
|
+
product: constr(pattern=r"^[a-zA-Z0-9 ]+$", min_length=1, max_length=64)
|
|
2369
2481
|
cluster_id: int
|
|
2370
2482
|
groups: List[NodeGroupEnum]
|
|
2371
2483
|
comment: Optional[
|
|
@@ -2504,6 +2616,7 @@ class BorgArchiveResource(BaseCoreApiModel):
|
|
|
2504
2616
|
cluster_id: int
|
|
2505
2617
|
borg_repository_id: int
|
|
2506
2618
|
name: constr(pattern=r"^[a-zA-Z0-9-_]+$", min_length=1, max_length=64)
|
|
2619
|
+
is_manually_created: bool
|
|
2507
2620
|
includes: BorgArchiveIncludes
|
|
2508
2621
|
|
|
2509
2622
|
|
|
@@ -2645,6 +2758,17 @@ class SimpleSpecificationsResource(RootModelCollectionMixin, RootCoreApiModel):
|
|
|
2645
2758
|
root: List[str]
|
|
2646
2759
|
|
|
2647
2760
|
|
|
2761
|
+
class PolicyResultResource(BaseCoreApiModel):
|
|
2762
|
+
satisfied: bool
|
|
2763
|
+
object_id: Optional[int]
|
|
2764
|
+
results: Dict[str, "PolicyResultResource"]
|
|
2765
|
+
|
|
2766
|
+
|
|
2767
|
+
class PolicyResultsResource(BaseCoreApiModel):
|
|
2768
|
+
summary: str
|
|
2769
|
+
results: Dict[str, PolicyResultResource]
|
|
2770
|
+
|
|
2771
|
+
|
|
2648
2772
|
class ConcreteSpecificationSatisfyResult(BaseCoreApiModel):
|
|
2649
2773
|
satisfied: bool
|
|
2650
2774
|
requirement: str
|
|
@@ -2805,7 +2929,7 @@ class ClusterLoadBalancingPropertiesIncludes(BaseCoreApiModel):
|
|
|
2805
2929
|
|
|
2806
2930
|
|
|
2807
2931
|
class ClusterMariadbPropertiesCreateRequest(BaseCoreApiModel):
|
|
2808
|
-
mariadb_version:
|
|
2932
|
+
mariadb_version: Literal["11.8"] = "11.8"
|
|
2809
2933
|
mariadb_backup_interval: conint(ge=1, le=24) = 24
|
|
2810
2934
|
mariadb_backup_local_retention: conint(ge=1, le=24) = 3
|
|
2811
2935
|
|
|
@@ -2818,7 +2942,7 @@ class ClusterMariadbPropertiesResource(BaseCoreApiModel):
|
|
|
2818
2942
|
id: int
|
|
2819
2943
|
created_at: datetime
|
|
2820
2944
|
updated_at: datetime
|
|
2821
|
-
mariadb_version:
|
|
2945
|
+
mariadb_version: constr(pattern=r"^[0-9]{1,2}\.[0-9]{1,2}$")
|
|
2822
2946
|
mariadb_backup_interval: conint(ge=1, le=24)
|
|
2823
2947
|
mariadb_backup_local_retention: conint(ge=1, le=24)
|
|
2824
2948
|
cluster_id: int
|
|
@@ -3122,7 +3246,9 @@ class ClusterMeilisearchPropertiesUpdateRequest(BaseCoreApiModel):
|
|
|
3122
3246
|
|
|
3123
3247
|
|
|
3124
3248
|
class ClusterPhpPropertiesCreateRequest(BaseCoreApiModel):
|
|
3125
|
-
php_versions: List[
|
|
3249
|
+
php_versions: List[
|
|
3250
|
+
constr(pattern=r"^[0-9]{1,2}\.[0-9]{1,2}$", min_length=3, max_length=4)
|
|
3251
|
+
]
|
|
3126
3252
|
custom_php_modules_names: List[PhpExtensionEnum] = Field(
|
|
3127
3253
|
[],
|
|
3128
3254
|
)
|
|
@@ -3135,7 +3261,9 @@ class ClusterPhpPropertiesResource(BaseCoreApiModel):
|
|
|
3135
3261
|
id: int
|
|
3136
3262
|
created_at: datetime
|
|
3137
3263
|
updated_at: datetime
|
|
3138
|
-
php_versions: List[
|
|
3264
|
+
php_versions: List[
|
|
3265
|
+
constr(pattern=r"^[0-9]{1,2}\.[0-9]{1,2}$", min_length=3, max_length=4)
|
|
3266
|
+
]
|
|
3139
3267
|
custom_php_modules_names: List[PhpExtensionEnum]
|
|
3140
3268
|
php_settings: PhpSettings
|
|
3141
3269
|
php_ioncube_enabled: bool
|
|
@@ -3146,7 +3274,9 @@ class ClusterPhpPropertiesResource(BaseCoreApiModel):
|
|
|
3146
3274
|
|
|
3147
3275
|
|
|
3148
3276
|
class ClusterPhpPropertiesUpdateRequest(BaseCoreApiModel):
|
|
3149
|
-
php_versions: Optional[
|
|
3277
|
+
php_versions: Optional[
|
|
3278
|
+
List[constr(pattern=r"^[0-9]{1,2}\.[0-9]{1,2}$", min_length=3, max_length=4)]
|
|
3279
|
+
] = None
|
|
3150
3280
|
custom_php_modules_names: Optional[List[PhpExtensionEnum]] = None
|
|
3151
3281
|
php_settings: Optional[PhpSettings] = None
|
|
3152
3282
|
php_ioncube_enabled: Optional[bool] = None
|
|
@@ -3163,6 +3293,24 @@ class ClusterUnixUsersPropertiesResource(BaseCoreApiModel):
|
|
|
3163
3293
|
includes: ClusterUnixUsersPropertiesIncludes
|
|
3164
3294
|
|
|
3165
3295
|
|
|
3296
|
+
class ClusterWebhookPropertiesIncludes(BaseCoreApiModel):
|
|
3297
|
+
pass
|
|
3298
|
+
|
|
3299
|
+
|
|
3300
|
+
class ClusterWebhookPropertiesResource(BaseCoreApiModel):
|
|
3301
|
+
id: int
|
|
3302
|
+
created_at: datetime
|
|
3303
|
+
updated_at: datetime
|
|
3304
|
+
callback_url: Optional[AnyUrl]
|
|
3305
|
+
cluster_id: int
|
|
3306
|
+
deployment_status: DeploymentStatusEnum
|
|
3307
|
+
includes: ClusterWebhookPropertiesIncludes
|
|
3308
|
+
|
|
3309
|
+
|
|
3310
|
+
class ClusterWebhookPropertiesUpdateRequest(BaseCoreApiModel):
|
|
3311
|
+
callback_url: Optional[AnyUrl] = None
|
|
3312
|
+
|
|
3313
|
+
|
|
3166
3314
|
class SpecificationModeEnum(StrEnum):
|
|
3167
3315
|
SINGLE = "Single"
|
|
3168
3316
|
OR = "Or"
|
|
@@ -3270,10 +3418,10 @@ class DatabaseInnodbReport(BaseCoreApiModel):
|
|
|
3270
3418
|
|
|
3271
3419
|
class FpmPoolChildStatus(BaseCoreApiModel):
|
|
3272
3420
|
current_request_duration: int
|
|
3273
|
-
http_method:
|
|
3421
|
+
http_method: str
|
|
3274
3422
|
http_uri: str
|
|
3275
3423
|
basic_authentication_user: Optional[str]
|
|
3276
|
-
script: str
|
|
3424
|
+
script: Optional[str]
|
|
3277
3425
|
|
|
3278
3426
|
|
|
3279
3427
|
class FpmPoolNodeStatus(BaseCoreApiModel):
|
|
@@ -3292,6 +3440,7 @@ class BasicAuthenticationRealmsSearchRequest(BaseCoreApiModel):
|
|
|
3292
3440
|
class BorgArchivesSearchRequest(BaseCoreApiModel):
|
|
3293
3441
|
cluster_id: Optional[int] = None
|
|
3294
3442
|
borg_repository_id: Optional[int] = None
|
|
3443
|
+
is_manually_created: Optional[bool] = None
|
|
3295
3444
|
name: Optional[str] = None
|
|
3296
3445
|
|
|
3297
3446
|
|
|
@@ -3303,6 +3452,10 @@ class BorgRepositoriesSearchRequest(BaseCoreApiModel):
|
|
|
3303
3452
|
database_id: Optional[int] = None
|
|
3304
3453
|
|
|
3305
3454
|
|
|
3455
|
+
class CarbonTxtsSearchRequest(BaseCoreApiModel):
|
|
3456
|
+
cluster_id: Optional[int] = None
|
|
3457
|
+
|
|
3458
|
+
|
|
3306
3459
|
class CertificatesSearchRequest(BaseCoreApiModel):
|
|
3307
3460
|
main_common_name: Optional[str] = None
|
|
3308
3461
|
common_names: Optional[str] = None
|
|
@@ -3407,6 +3560,8 @@ class CronsSearchRequest(BaseCoreApiModel):
|
|
|
3407
3560
|
email_address: Optional[EmailStr] = None
|
|
3408
3561
|
locking_enabled: Optional[bool] = None
|
|
3409
3562
|
is_active: Optional[bool] = None
|
|
3563
|
+
command: Optional[str] = None
|
|
3564
|
+
schedule: Optional[str] = None
|
|
3410
3565
|
|
|
3411
3566
|
|
|
3412
3567
|
class CustomConfigsSearchRequest(BaseCoreApiModel):
|
|
@@ -3431,6 +3586,9 @@ class DaemonsSearchRequest(BaseCoreApiModel):
|
|
|
3431
3586
|
|
|
3432
3587
|
class DatabaseUsersSearchRequest(BaseCoreApiModel):
|
|
3433
3588
|
phpmyadmin_firewall_group_id: Optional[int] = None
|
|
3589
|
+
name: Optional[str] = None
|
|
3590
|
+
server_software_name: Optional[DatabaseServerSoftwareNameEnum] = None
|
|
3591
|
+
cluster_id: Optional[int] = None
|
|
3434
3592
|
|
|
3435
3593
|
|
|
3436
3594
|
class DatabasesSearchRequest(BaseCoreApiModel):
|
|
@@ -3451,8 +3609,11 @@ class DomainRoutersSearchRequest(BaseCoreApiModel):
|
|
|
3451
3609
|
node_id: Optional[int] = None
|
|
3452
3610
|
certificate_id: Optional[int] = None
|
|
3453
3611
|
security_txt_policy_id: Optional[int] = None
|
|
3612
|
+
carbon_txt_id: Optional[int] = None
|
|
3454
3613
|
firewall_group_id: Optional[int] = None
|
|
3455
3614
|
force_ssl: Optional[bool] = None
|
|
3615
|
+
quic_enabled: Optional[bool] = None
|
|
3616
|
+
is_standards_scan_enabled: Optional[bool] = None
|
|
3456
3617
|
|
|
3457
3618
|
|
|
3458
3619
|
class FirewallGroupsSearchRequest(BaseCoreApiModel):
|
|
@@ -3589,12 +3750,73 @@ class N8nInstanceResource(BaseCoreApiModel):
|
|
|
3589
3750
|
includes: N8nInstanceIncludes
|
|
3590
3751
|
|
|
3591
3752
|
|
|
3753
|
+
class CarbonTxtDisclosureDocTypeEnum(StrEnum):
|
|
3754
|
+
WEB_PAGE = "web-page"
|
|
3755
|
+
ANNUAL_REPORT = "annual-report"
|
|
3756
|
+
SUSTAINABILITY_PAGE = "sustainability-page"
|
|
3757
|
+
CERTIFICATE = "certificate"
|
|
3758
|
+
CSRD_REPORT = "csrd-report"
|
|
3759
|
+
AI_MODEL_CARD = "ai-model-card"
|
|
3760
|
+
OTHER = "other"
|
|
3761
|
+
|
|
3762
|
+
|
|
3763
|
+
class CarbonTxtDisclosure(BaseCoreApiModel):
|
|
3764
|
+
doc_type: CarbonTxtDisclosureDocTypeEnum
|
|
3765
|
+
url: AnyUrl
|
|
3766
|
+
valid_until: Optional[datetime] = None
|
|
3767
|
+
title: Optional[constr(min_length=1, max_length=255)] = None
|
|
3768
|
+
|
|
3769
|
+
|
|
3770
|
+
class CarbonTxtUpstreamService(BaseCoreApiModel):
|
|
3771
|
+
domain: constr(min_length=1, max_length=255)
|
|
3772
|
+
service_type: Union[str, List[str]]
|
|
3773
|
+
|
|
3774
|
+
|
|
3775
|
+
class CarbonTxtCreateRequest(BaseCoreApiModel):
|
|
3776
|
+
cluster_id: int
|
|
3777
|
+
name: constr(pattern=r"^[a-zA-Z0-9-_ ]+$", min_length=1, max_length=32)
|
|
3778
|
+
is_default: bool
|
|
3779
|
+
disclosures: List[CarbonTxtDisclosure] = Field(
|
|
3780
|
+
[],
|
|
3781
|
+
)
|
|
3782
|
+
upstream_services: List[CarbonTxtUpstreamService] = Field(
|
|
3783
|
+
[],
|
|
3784
|
+
)
|
|
3785
|
+
|
|
3786
|
+
|
|
3787
|
+
class CarbonTxtUpdateRequest(BaseCoreApiModel):
|
|
3788
|
+
name: Optional[
|
|
3789
|
+
constr(pattern=r"^[a-zA-Z0-9-_ ]+$", min_length=1, max_length=32)
|
|
3790
|
+
] = None
|
|
3791
|
+
disclosures: Optional[List[CarbonTxtDisclosure]] = None
|
|
3792
|
+
upstream_services: Optional[List[CarbonTxtUpstreamService]] = None
|
|
3793
|
+
is_default: Optional[bool] = None
|
|
3794
|
+
|
|
3795
|
+
|
|
3796
|
+
class CarbonTxtIncludes(BaseCoreApiModel):
|
|
3797
|
+
cluster: Optional[ClusterResource]
|
|
3798
|
+
|
|
3799
|
+
|
|
3800
|
+
class CarbonTxtResource(BaseCoreApiModel):
|
|
3801
|
+
id: int
|
|
3802
|
+
created_at: datetime
|
|
3803
|
+
updated_at: datetime
|
|
3804
|
+
cluster_id: int
|
|
3805
|
+
name: constr(pattern=r"^[a-zA-Z0-9-_ ]+$", min_length=1, max_length=32)
|
|
3806
|
+
disclosures: List[CarbonTxtDisclosure]
|
|
3807
|
+
upstream_services: List[CarbonTxtUpstreamService]
|
|
3808
|
+
is_default: bool
|
|
3809
|
+
deployment_status: DeploymentStatusEnum
|
|
3810
|
+
includes: CarbonTxtIncludes
|
|
3811
|
+
|
|
3812
|
+
|
|
3592
3813
|
class DomainRouterIncludes(BaseCoreApiModel):
|
|
3593
3814
|
virtual_host: Optional[VirtualHostResource]
|
|
3594
3815
|
url_redirect: Optional[UrlRedirectResource]
|
|
3595
3816
|
node: Optional[NodeResource]
|
|
3596
3817
|
certificate: Optional[CertificateResource]
|
|
3597
3818
|
security_txt_policy: Optional[SecurityTxtPolicyResource]
|
|
3819
|
+
carbon_txt: Optional[CarbonTxtResource]
|
|
3598
3820
|
n8n_instance: Optional[N8nInstanceResource]
|
|
3599
3821
|
cluster: Optional[ClusterResource]
|
|
3600
3822
|
|
|
@@ -3612,8 +3834,11 @@ class DomainRouterResource(BaseCoreApiModel):
|
|
|
3612
3834
|
node_id: Optional[int]
|
|
3613
3835
|
certificate_id: Optional[int]
|
|
3614
3836
|
security_txt_policy_id: Optional[int]
|
|
3837
|
+
carbon_txt_id: Optional[int]
|
|
3615
3838
|
firewall_groups_ids: Optional[List[int]]
|
|
3616
3839
|
force_ssl: bool
|
|
3840
|
+
quic_enabled: bool
|
|
3841
|
+
is_standards_scan_enabled: bool
|
|
3617
3842
|
deployment_status: DeploymentStatusEnum
|
|
3618
3843
|
includes: DomainRouterIncludes
|
|
3619
3844
|
|
|
@@ -3683,7 +3908,9 @@ class UnixUsersSearchRequest(BaseCoreApiModel):
|
|
|
3683
3908
|
cluster_id: Optional[int] = None
|
|
3684
3909
|
shell_name: Optional[ShellNameEnum] = None
|
|
3685
3910
|
record_usage_files: Optional[bool] = None
|
|
3686
|
-
default_php_version: Optional[
|
|
3911
|
+
default_php_version: Optional[
|
|
3912
|
+
constr(pattern=r"^[0-9]{1,2}\.[0-9]{1,2}$", min_length=3, max_length=4)
|
|
3913
|
+
] = None
|
|
3687
3914
|
default_nodejs_version: Optional[str] = None
|
|
3688
3915
|
description: Optional[str] = None
|
|
3689
3916
|
|
|
@@ -3745,6 +3972,10 @@ class ClustersUnixUsersPropertiesSearchRequest(BaseCoreApiModel):
|
|
|
3745
3972
|
cluster_id: Optional[int] = None
|
|
3746
3973
|
|
|
3747
3974
|
|
|
3975
|
+
class ClustersWebhookPropertiesSearchRequest(BaseCoreApiModel):
|
|
3976
|
+
cluster_id: Optional[int] = None
|
|
3977
|
+
|
|
3978
|
+
|
|
3748
3979
|
class CustomConfigSnippetsSearchRequest(BaseCoreApiModel):
|
|
3749
3980
|
name: Optional[str] = None
|
|
3750
3981
|
server_software_name: Optional[VirtualHostServerSoftwareNameEnum] = None
|
|
@@ -3861,6 +4092,11 @@ class FpmPoolUpdateSettingPairUploadMaxFilesizeRequest(BaseCoreApiModel):
|
|
|
3861
4092
|
value: conint(ge=32, le=256)
|
|
3862
4093
|
|
|
3863
4094
|
|
|
4095
|
+
class FpmPoolUpdateSettingPairOpcacheInternedStringsBufferRequest(BaseCoreApiModel):
|
|
4096
|
+
setting: Literal["opcache_interned_strings_buffer"]
|
|
4097
|
+
value: conint(ge=8, le=4095)
|
|
4098
|
+
|
|
4099
|
+
|
|
3864
4100
|
class FpmPoolUpdateSettingPairRequest(RootCoreApiModel):
|
|
3865
4101
|
root: (
|
|
3866
4102
|
FpmPoolUpdateSettingPairApcEnableCliRequest
|
|
@@ -3869,6 +4105,7 @@ class FpmPoolUpdateSettingPairRequest(RootCoreApiModel):
|
|
|
3869
4105
|
| FpmPoolUpdateSettingPairShortOpenTagRequest
|
|
3870
4106
|
| FpmPoolUpdateSettingPairErrorReportingRequest
|
|
3871
4107
|
| FpmPoolUpdateSettingPairOpcacheMemoryConsumptionRequest
|
|
4108
|
+
| FpmPoolUpdateSettingPairOpcacheInternedStringsBufferRequest
|
|
3872
4109
|
| FpmPoolUpdateSettingPairSessionGcMaxlifetimeRequest
|
|
3873
4110
|
| FpmPoolUpdateSettingPairMaxExecutionTimeRequest
|
|
3874
4111
|
| FpmPoolUpdateSettingPairMaxFileUploadsRequest
|
|
@@ -3885,6 +4122,127 @@ class FpmPoolUpdateSettingsRequest(RootCoreApiModel):
|
|
|
3885
4122
|
root: list[FpmPoolUpdateSettingPairRequest]
|
|
3886
4123
|
|
|
3887
4124
|
|
|
4125
|
+
class StandardsScanVerdictEnum(StrEnum):
|
|
4126
|
+
GREAT = "great"
|
|
4127
|
+
GOOD = "good"
|
|
4128
|
+
FINE = "fine"
|
|
4129
|
+
BAD = "bad"
|
|
4130
|
+
|
|
4131
|
+
|
|
4132
|
+
class StandardsScanCheckStatusEnum(StrEnum):
|
|
4133
|
+
REGISTERING_DOMAINS = "registering_domains"
|
|
4134
|
+
TESTING_DOMAINS = "testing_domains"
|
|
4135
|
+
GENERATING_REPORT = "generating_report"
|
|
4136
|
+
COMPLETED = "completed"
|
|
4137
|
+
CANCELLED = "cancelled"
|
|
4138
|
+
REGISTRATION_FAILED = "registration_failed"
|
|
4139
|
+
|
|
4140
|
+
|
|
4141
|
+
class StandardsScanDnssecStatusEnum(StrEnum):
|
|
4142
|
+
SIGNED = "signed"
|
|
4143
|
+
NOT_CONFIGURED = "not_configured"
|
|
4144
|
+
INVALID_SIGNATURE = "invalid_signature"
|
|
4145
|
+
UNSUPPORTED_ALGORITHM = "unsupported_algorithm"
|
|
4146
|
+
RESOLVER_ERROR = "resolver_error"
|
|
4147
|
+
DNS_ERROR = "dns_error"
|
|
4148
|
+
|
|
4149
|
+
|
|
4150
|
+
class StandardsScanDomainCheckStatusEnum(StrEnum):
|
|
4151
|
+
COMPLETED = "completed"
|
|
4152
|
+
RESULTS_UNAVAILABLE = "results_unavailable"
|
|
4153
|
+
|
|
4154
|
+
|
|
4155
|
+
class StandardsScanHttpsRedirectEnum(StrEnum):
|
|
4156
|
+
ENFORCED = "enforced"
|
|
4157
|
+
NOT_ENFORCED = "not_enforced"
|
|
4158
|
+
HTTP_NOT_AVAILABLE = "http_not_available"
|
|
4159
|
+
HTTPS_NOT_AVAILABLE = "https_not_available"
|
|
4160
|
+
|
|
4161
|
+
|
|
4162
|
+
class StandardsScanScores(BaseCoreApiModel):
|
|
4163
|
+
great: float
|
|
4164
|
+
good: float
|
|
4165
|
+
fine: float
|
|
4166
|
+
bad: float
|
|
4167
|
+
|
|
4168
|
+
|
|
4169
|
+
class StandardsScanNameserverAddresses(BaseCoreApiModel):
|
|
4170
|
+
ipv4: Dict[str, bool]
|
|
4171
|
+
ipv6: Dict[str, bool]
|
|
4172
|
+
|
|
4173
|
+
|
|
4174
|
+
class StandardsScanReachability(BaseCoreApiModel):
|
|
4175
|
+
nameserver_reachable: Dict[str, StandardsScanNameserverAddresses]
|
|
4176
|
+
website_ipv4_reachable: Dict[str, Optional[bool]]
|
|
4177
|
+
website_ipv6_reachable: Dict[str, Optional[bool]]
|
|
4178
|
+
verdict: StandardsScanVerdictEnum
|
|
4179
|
+
|
|
4180
|
+
|
|
4181
|
+
class StandardsScanDns(BaseCoreApiModel):
|
|
4182
|
+
dnssec_status: StandardsScanDnssecStatusEnum
|
|
4183
|
+
caa_enabled: bool
|
|
4184
|
+
verdict: StandardsScanVerdictEnum
|
|
4185
|
+
|
|
4186
|
+
|
|
4187
|
+
class StandardsScanHttps(BaseCoreApiModel):
|
|
4188
|
+
ipv4_enabled: bool
|
|
4189
|
+
ipv6_enabled: bool
|
|
4190
|
+
redirect: StandardsScanHttpsRedirectEnum
|
|
4191
|
+
hsts: bool
|
|
4192
|
+
verdict: StandardsScanVerdictEnum
|
|
4193
|
+
|
|
4194
|
+
|
|
4195
|
+
class StandardsScanSecurityTxt(BaseCoreApiModel):
|
|
4196
|
+
enabled: bool
|
|
4197
|
+
verdict: StandardsScanVerdictEnum
|
|
4198
|
+
|
|
4199
|
+
|
|
4200
|
+
class StandardsScanSecurityHeaders(BaseCoreApiModel):
|
|
4201
|
+
x_frame_options_enabled: bool
|
|
4202
|
+
x_content_type_options_enabled: bool
|
|
4203
|
+
content_security_policy_enabled: bool
|
|
4204
|
+
referrer_policy_enabled: bool
|
|
4205
|
+
verdict: StandardsScanVerdictEnum
|
|
4206
|
+
|
|
4207
|
+
|
|
4208
|
+
class StandardsScanDomainResult(BaseCoreApiModel):
|
|
4209
|
+
domain: str
|
|
4210
|
+
check_status: StandardsScanDomainCheckStatusEnum
|
|
4211
|
+
verdict: StandardsScanVerdictEnum
|
|
4212
|
+
scores: StandardsScanScores
|
|
4213
|
+
reachability: StandardsScanReachability
|
|
4214
|
+
dns: StandardsScanDns
|
|
4215
|
+
https: StandardsScanHttps
|
|
4216
|
+
security_txt: StandardsScanSecurityTxt
|
|
4217
|
+
security_headers: StandardsScanSecurityHeaders
|
|
4218
|
+
|
|
4219
|
+
|
|
4220
|
+
class StandardsScanResults(BaseCoreApiModel):
|
|
4221
|
+
check_status: StandardsScanCheckStatusEnum
|
|
4222
|
+
scores: Optional[StandardsScanScores] = None
|
|
4223
|
+
domains: List[StandardsScanDomainResult]
|
|
4224
|
+
|
|
4225
|
+
|
|
4226
|
+
class StandardsScanIncludes(BaseCoreApiModel):
|
|
4227
|
+
cluster: Optional[ClusterResource]
|
|
4228
|
+
|
|
4229
|
+
|
|
4230
|
+
class StandardsScanResource(BaseCoreApiModel):
|
|
4231
|
+
id: int
|
|
4232
|
+
created_at: datetime
|
|
4233
|
+
updated_at: datetime
|
|
4234
|
+
cluster_id: int
|
|
4235
|
+
started_at: datetime
|
|
4236
|
+
domain_routers_ids: List[int]
|
|
4237
|
+
deployment_status: DeploymentStatusEnum
|
|
4238
|
+
includes: StandardsScanIncludes
|
|
4239
|
+
|
|
4240
|
+
|
|
4241
|
+
class StandardsScansSearchRequest(BaseCoreApiModel):
|
|
4242
|
+
cluster_id: Optional[int] = None
|
|
4243
|
+
|
|
4244
|
+
|
|
3888
4245
|
NestedPathsDict.model_rebuild()
|
|
3889
4246
|
CompositeSpecificationSatisfyResult.model_rebuild()
|
|
3890
4247
|
CompositeSpecificationSatisfyResultResource.model_rebuild()
|
|
4248
|
+
PolicyResultResource.model_rebuild()
|