gcore 0.9.0__py3-none-any.whl → 0.10.0__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.
Potentially problematic release.
This version of gcore might be problematic. Click here for more details.
- gcore/_version.py +1 -1
- gcore/resources/cloud/load_balancers/pools/health_monitors.py +8 -4
- gcore/resources/cloud/load_balancers/pools/members.py +2 -2
- gcore/resources/security/bgp_announces.py +15 -15
- gcore/resources/waap/__init__.py +14 -0
- gcore/resources/waap/custom_page_sets.py +40 -34
- gcore/resources/waap/domains/__init__.py +14 -28
- gcore/resources/waap/domains/advanced_rules.py +5 -8
- gcore/resources/waap/domains/{api_discovery/api_discovery.py → api_discovery.py} +292 -59
- gcore/resources/waap/domains/api_path_groups.py +5 -5
- gcore/resources/waap/domains/api_paths.py +15 -17
- gcore/resources/waap/domains/custom_rules.py +5 -8
- gcore/resources/waap/domains/domains.py +120 -64
- gcore/resources/waap/domains/firewall_rules.py +3 -5
- gcore/resources/waap/domains/insight_silences.py +28 -5
- gcore/resources/waap/domains/insights.py +36 -10
- gcore/resources/waap/domains/{analytics/analytics.py → statistics.py} +514 -213
- gcore/resources/waap/insights.py +233 -0
- gcore/resources/waap/ip_info/__init__.py +33 -0
- gcore/resources/waap/{ip_info.py → ip_info/ip_info.py} +149 -235
- gcore/resources/waap/ip_info/metrics.py +203 -0
- gcore/resources/waap/waap.py +40 -8
- gcore/types/cloud/health_monitor.py +6 -0
- gcore/types/cloud/load_balancer_create_params.py +8 -3
- gcore/types/cloud/load_balancers/pool_create_params.py +8 -3
- gcore/types/cloud/load_balancers/pool_update_params.py +8 -3
- gcore/types/cloud/load_balancers/pools/health_monitor_create_params.py +7 -2
- gcore/types/cloud/load_balancers/pools/member_add_params.py +1 -1
- gcore/types/cloud/region.py +0 -3
- gcore/types/security/__init__.py +1 -1
- gcore/types/security/{bgp_announce_change_params.py → bgp_announce_toggle_params.py} +2 -2
- gcore/types/waap/__init__.py +6 -54
- gcore/types/waap/custom_page_set_create_params.py +121 -14
- gcore/types/waap/custom_page_set_preview_params.py +11 -4
- gcore/types/waap/custom_page_set_update_params.py +122 -15
- gcore/types/waap/domain_list_params.py +1 -3
- gcore/types/waap/domains/__init__.py +28 -18
- gcore/types/waap/domains/advanced_rule_list_params.py +1 -3
- gcore/types/waap/domains/{api_discovery/scan_result_list_params.py → api_discovery_list_scan_results_params.py} +2 -2
- gcore/types/waap/domains/{api_path_group_list_response.py → api_path_group_list.py} +2 -2
- gcore/types/waap/domains/custom_rule_list_params.py +1 -3
- gcore/types/waap/domains/insight_list_params.py +16 -6
- gcore/types/waap/domains/insight_replace_params.py +2 -4
- gcore/types/waap/domains/insight_silence_list_params.py +13 -4
- gcore/types/waap/domains/{analytics_list_ddos_attacks_params.py → statistic_get_ddos_attacks_params.py} +2 -2
- gcore/types/waap/domains/{analytics_list_ddos_info_params.py → statistic_get_ddos_info_params.py} +2 -2
- gcore/types/waap/domains/{analytics_get_event_statistics_params.py → statistic_get_events_aggregated_params.py} +2 -2
- gcore/types/waap/domains/{analytics/request_list_params.py → statistic_get_requests_series_params.py} +27 -5
- gcore/types/waap/domains/{analytics_list_event_traffic_params.py → statistic_get_traffic_series_params.py} +4 -5
- gcore/types/waap/domains/statistic_get_traffic_series_response.py +10 -0
- gcore/types/waap/{waap_advanced_rule.py → domains/waap_advanced_rule.py} +1 -1
- gcore/types/waap/domains/{api_discovery_get_settings_response.py → waap_api_discovery_settings.py} +2 -2
- gcore/types/waap/domains/{api_path_get_response.py → waap_api_path.py} +2 -2
- gcore/types/waap/domains/{api_discovery/scan_result_get_response.py → waap_api_scan_result.py} +3 -3
- gcore/types/waap/{waap_blocked_statistics.py → domains/waap_blocked_statistics.py} +1 -1
- gcore/types/waap/{waap_count_statistics.py → domains/waap_count_statistics.py} +1 -1
- gcore/types/waap/{waap_custom_rule.py → domains/waap_custom_rule.py} +1 -1
- gcore/types/waap/{waap_ddos_attack.py → domains/waap_ddos_attack.py} +1 -1
- gcore/types/waap/{waap_ddos_info.py → domains/waap_ddos_info.py} +1 -1
- gcore/types/waap/{waap_event_statistics.py → domains/waap_event_statistics.py} +1 -1
- gcore/types/waap/{waap_firewall_rule.py → domains/waap_firewall_rule.py} +1 -1
- gcore/types/waap/{waap_insight.py → domains/waap_insight.py} +3 -3
- gcore/types/waap/{waap_insight_silence.py → domains/waap_insight_silence.py} +1 -1
- gcore/types/waap/domains/waap_request_details.py +185 -0
- gcore/types/waap/{waap_request_summary.py → domains/waap_request_summary.py} +1 -1
- gcore/types/waap/domains/{api_discovery_scan_openapi_response.py → waap_task_id.py} +2 -2
- gcore/types/waap/{waap_traffic_metrics.py → domains/waap_traffic_metrics.py} +1 -1
- gcore/types/waap/insight_list_types_params.py +28 -0
- gcore/types/waap/ip_info/__init__.py +6 -0
- gcore/types/waap/{ip_info_get_counts_params.py → ip_info/metric_list_params.py} +2 -2
- gcore/types/waap/{waap_ip_info_counts.py → ip_info/waap_ip_info_counts.py} +1 -1
- gcore/types/waap/{ip_info_get_params.py → ip_info_get_ip_info_params.py} +2 -2
- gcore/types/waap/{waap_ip_info.py → ip_info_get_ip_info_response.py} +2 -2
- gcore/types/waap/ip_info_get_top_urls_response.py +12 -3
- gcore/types/waap/{ip_info_get_top_sessions_params.py → ip_info_get_top_user_sessions_params.py} +2 -2
- gcore/types/waap/{ip_info_get_top_sessions_response.py → ip_info_get_top_user_sessions_response.py} +2 -2
- gcore/types/waap/waap_custom_page_set.py +113 -13
- gcore/types/waap/waap_detailed_domain.py +2 -2
- gcore/types/waap/waap_insight_type.py +33 -0
- gcore/types/waap/waap_rule_set.py +26 -3
- gcore/types/waap/waap_summary_domain.py +2 -2
- {gcore-0.9.0.dist-info → gcore-0.10.0.dist-info}/METADATA +1 -1
- {gcore-0.9.0.dist-info → gcore-0.10.0.dist-info}/RECORD +85 -124
- gcore/resources/waap/domains/analytics/__init__.py +0 -33
- gcore/resources/waap/domains/analytics/requests.py +0 -378
- gcore/resources/waap/domains/api_discovery/__init__.py +0 -33
- gcore/resources/waap/domains/api_discovery/scan_results.py +0 -352
- gcore/resources/waap/domains/policies.py +0 -173
- gcore/types/waap/domains/analytics/__init__.py +0 -5
- gcore/types/waap/domains/analytics_list_event_traffic_response.py +0 -10
- gcore/types/waap/domains/api_discovery/__init__.py +0 -7
- gcore/types/waap/domains/api_discovery/scan_result_list_response.py +0 -29
- gcore/types/waap/domains/api_discovery_update_settings_response.py +0 -36
- gcore/types/waap/domains/api_discovery_upload_openapi_response.py +0 -10
- gcore/types/waap/domains/api_path_create_response.py +0 -50
- gcore/types/waap/domains/api_path_list_response.py +0 -50
- gcore/types/waap/waap_block_csrf_page_data.py +0 -28
- gcore/types/waap/waap_block_csrf_page_data_param.py +0 -28
- gcore/types/waap/waap_block_page_data.py +0 -28
- gcore/types/waap/waap_block_page_data_param.py +0 -28
- gcore/types/waap/waap_captcha_page_data.py +0 -31
- gcore/types/waap/waap_captcha_page_data_param.py +0 -31
- gcore/types/waap/waap_common_tag.py +0 -16
- gcore/types/waap/waap_cookie_disabled_page_data.py +0 -18
- gcore/types/waap/waap_cookie_disabled_page_data_param.py +0 -18
- gcore/types/waap/waap_customer_rule_state.py +0 -7
- gcore/types/waap/waap_domain_policy.py +0 -29
- gcore/types/waap/waap_domain_status.py +0 -7
- gcore/types/waap/waap_handshake_page_data.py +0 -25
- gcore/types/waap/waap_handshake_page_data_param.py +0 -25
- gcore/types/waap/waap_insight_silence_sort_by.py +0 -9
- gcore/types/waap/waap_insight_sort_by.py +0 -20
- gcore/types/waap/waap_insight_status.py +0 -7
- gcore/types/waap/waap_javascript_disabled_page_data.py +0 -18
- gcore/types/waap/waap_javascript_disabled_page_data_param.py +0 -18
- gcore/types/waap/waap_network_details.py +0 -17
- gcore/types/waap/waap_page_type.py +0 -9
- gcore/types/waap/waap_paginated_custom_page_set.py +0 -22
- gcore/types/waap/waap_paginated_ddos_attack.py +0 -22
- gcore/types/waap/waap_paginated_ddos_info.py +0 -22
- gcore/types/waap/waap_paginated_request_summary.py +0 -22
- gcore/types/waap/waap_pattern_matched_tag.py +0 -37
- gcore/types/waap/waap_policy_action.py +0 -7
- gcore/types/waap/waap_request_details.py +0 -92
- gcore/types/waap/waap_request_organization.py +0 -13
- gcore/types/waap/waap_resolution.py +0 -7
- gcore/types/waap/waap_rule_action_type.py +0 -7
- gcore/types/waap/waap_top_url.py +0 -13
- gcore/types/waap/waap_traffic_type.py +0 -28
- gcore/types/waap/waap_user_agent_details.py +0 -40
- {gcore-0.9.0.dist-info → gcore-0.10.0.dist-info}/WHEEL +0 -0
- {gcore-0.9.0.dist-info → gcore-0.10.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import List
|
|
4
|
-
from datetime import datetime
|
|
5
|
-
from typing_extensions import Literal
|
|
6
|
-
|
|
7
|
-
from ...._models import BaseModel
|
|
8
|
-
|
|
9
|
-
__all__ = ["APIPathListResponse"]
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class APIPathListResponse(BaseModel):
|
|
13
|
-
id: str
|
|
14
|
-
"""The path ID"""
|
|
15
|
-
|
|
16
|
-
api_groups: List[str]
|
|
17
|
-
"""An array of api groups associated with the API path"""
|
|
18
|
-
|
|
19
|
-
api_version: str
|
|
20
|
-
"""The API version"""
|
|
21
|
-
|
|
22
|
-
first_detected: datetime
|
|
23
|
-
"""The date and time in ISO 8601 format the API path was first detected."""
|
|
24
|
-
|
|
25
|
-
http_scheme: Literal["HTTP", "HTTPS"]
|
|
26
|
-
"""The different HTTP schemes an API path can have"""
|
|
27
|
-
|
|
28
|
-
last_detected: datetime
|
|
29
|
-
"""The date and time in ISO 8601 format the API path was last detected."""
|
|
30
|
-
|
|
31
|
-
method: Literal["GET", "POST", "PUT", "PATCH", "DELETE", "TRACE", "HEAD", "OPTIONS"]
|
|
32
|
-
"""The different methods an API path can have"""
|
|
33
|
-
|
|
34
|
-
path: str
|
|
35
|
-
"""
|
|
36
|
-
The API path, locations that are saved for resource IDs will be put in curly
|
|
37
|
-
brackets
|
|
38
|
-
"""
|
|
39
|
-
|
|
40
|
-
request_count: int
|
|
41
|
-
"""The number of requests for this path in the last 24 hours"""
|
|
42
|
-
|
|
43
|
-
source: Literal["API_DESCRIPTION_FILE", "TRAFFIC_SCAN", "USER_DEFINED"]
|
|
44
|
-
"""The different sources an API path can have"""
|
|
45
|
-
|
|
46
|
-
status: Literal["CONFIRMED_API", "POTENTIAL_API", "NOT_API", "DELISTED_API"]
|
|
47
|
-
"""The different statuses an API path can have"""
|
|
48
|
-
|
|
49
|
-
tags: List[str]
|
|
50
|
-
"""An array of tags associated with the API path"""
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Optional
|
|
4
|
-
|
|
5
|
-
from ..._models import BaseModel
|
|
6
|
-
|
|
7
|
-
__all__ = ["WaapBlockCsrfPageData"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class WaapBlockCsrfPageData(BaseModel):
|
|
11
|
-
enabled: bool
|
|
12
|
-
"""Indicates whether the custom custom page is active or inactive"""
|
|
13
|
-
|
|
14
|
-
header: Optional[str] = None
|
|
15
|
-
"""The text to display in the header of the custom page"""
|
|
16
|
-
|
|
17
|
-
logo: Optional[str] = None
|
|
18
|
-
"""
|
|
19
|
-
Supported image types are JPEG, PNG and JPG, size is limited to width 450px,
|
|
20
|
-
height 130px. This should be a base 64 encoding of the full HTML img tag
|
|
21
|
-
compatible image, with the header included.
|
|
22
|
-
"""
|
|
23
|
-
|
|
24
|
-
text: Optional[str] = None
|
|
25
|
-
"""The text to display in the body of the custom page"""
|
|
26
|
-
|
|
27
|
-
title: Optional[str] = None
|
|
28
|
-
"""The text to display in the title of the custom page"""
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from typing_extensions import Required, TypedDict
|
|
6
|
-
|
|
7
|
-
__all__ = ["WaapBlockCsrfPageDataParam"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class WaapBlockCsrfPageDataParam(TypedDict, total=False):
|
|
11
|
-
enabled: Required[bool]
|
|
12
|
-
"""Indicates whether the custom custom page is active or inactive"""
|
|
13
|
-
|
|
14
|
-
header: str
|
|
15
|
-
"""The text to display in the header of the custom page"""
|
|
16
|
-
|
|
17
|
-
logo: str
|
|
18
|
-
"""
|
|
19
|
-
Supported image types are JPEG, PNG and JPG, size is limited to width 450px,
|
|
20
|
-
height 130px. This should be a base 64 encoding of the full HTML img tag
|
|
21
|
-
compatible image, with the header included.
|
|
22
|
-
"""
|
|
23
|
-
|
|
24
|
-
text: str
|
|
25
|
-
"""The text to display in the body of the custom page"""
|
|
26
|
-
|
|
27
|
-
title: str
|
|
28
|
-
"""The text to display in the title of the custom page"""
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Optional
|
|
4
|
-
|
|
5
|
-
from ..._models import BaseModel
|
|
6
|
-
|
|
7
|
-
__all__ = ["WaapBlockPageData"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class WaapBlockPageData(BaseModel):
|
|
11
|
-
enabled: bool
|
|
12
|
-
"""Indicates whether the custom custom page is active or inactive"""
|
|
13
|
-
|
|
14
|
-
header: Optional[str] = None
|
|
15
|
-
"""The text to display in the header of the custom page"""
|
|
16
|
-
|
|
17
|
-
logo: Optional[str] = None
|
|
18
|
-
"""
|
|
19
|
-
Supported image types are JPEG, PNG and JPG, size is limited to width 450px,
|
|
20
|
-
height 130px. This should be a base 64 encoding of the full HTML img tag
|
|
21
|
-
compatible image, with the header included.
|
|
22
|
-
"""
|
|
23
|
-
|
|
24
|
-
text: Optional[str] = None
|
|
25
|
-
"""The text to display in the body of the custom page"""
|
|
26
|
-
|
|
27
|
-
title: Optional[str] = None
|
|
28
|
-
"""The text to display in the title of the custom page"""
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from typing_extensions import Required, TypedDict
|
|
6
|
-
|
|
7
|
-
__all__ = ["WaapBlockPageDataParam"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class WaapBlockPageDataParam(TypedDict, total=False):
|
|
11
|
-
enabled: Required[bool]
|
|
12
|
-
"""Indicates whether the custom custom page is active or inactive"""
|
|
13
|
-
|
|
14
|
-
header: str
|
|
15
|
-
"""The text to display in the header of the custom page"""
|
|
16
|
-
|
|
17
|
-
logo: str
|
|
18
|
-
"""
|
|
19
|
-
Supported image types are JPEG, PNG and JPG, size is limited to width 450px,
|
|
20
|
-
height 130px. This should be a base 64 encoding of the full HTML img tag
|
|
21
|
-
compatible image, with the header included.
|
|
22
|
-
"""
|
|
23
|
-
|
|
24
|
-
text: str
|
|
25
|
-
"""The text to display in the body of the custom page"""
|
|
26
|
-
|
|
27
|
-
title: str
|
|
28
|
-
"""The text to display in the title of the custom page"""
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Optional
|
|
4
|
-
|
|
5
|
-
from ..._models import BaseModel
|
|
6
|
-
|
|
7
|
-
__all__ = ["WaapCaptchaPageData"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class WaapCaptchaPageData(BaseModel):
|
|
11
|
-
enabled: bool
|
|
12
|
-
"""Indicates whether the custom custom page is active or inactive"""
|
|
13
|
-
|
|
14
|
-
error: Optional[str] = None
|
|
15
|
-
"""Error message"""
|
|
16
|
-
|
|
17
|
-
header: Optional[str] = None
|
|
18
|
-
"""The text to display in the header of the custom page"""
|
|
19
|
-
|
|
20
|
-
logo: Optional[str] = None
|
|
21
|
-
"""
|
|
22
|
-
Supported image types are JPEG, PNG and JPG, size is limited to width 450px,
|
|
23
|
-
height 130px. This should be a base 64 encoding of the full HTML img tag
|
|
24
|
-
compatible image, with the header included.
|
|
25
|
-
"""
|
|
26
|
-
|
|
27
|
-
text: Optional[str] = None
|
|
28
|
-
"""The text to display in the body of the custom page"""
|
|
29
|
-
|
|
30
|
-
title: Optional[str] = None
|
|
31
|
-
"""The text to display in the title of the custom page"""
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from typing_extensions import Required, TypedDict
|
|
6
|
-
|
|
7
|
-
__all__ = ["WaapCaptchaPageDataParam"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class WaapCaptchaPageDataParam(TypedDict, total=False):
|
|
11
|
-
enabled: Required[bool]
|
|
12
|
-
"""Indicates whether the custom custom page is active or inactive"""
|
|
13
|
-
|
|
14
|
-
error: str
|
|
15
|
-
"""Error message"""
|
|
16
|
-
|
|
17
|
-
header: str
|
|
18
|
-
"""The text to display in the header of the custom page"""
|
|
19
|
-
|
|
20
|
-
logo: str
|
|
21
|
-
"""
|
|
22
|
-
Supported image types are JPEG, PNG and JPG, size is limited to width 450px,
|
|
23
|
-
height 130px. This should be a base 64 encoding of the full HTML img tag
|
|
24
|
-
compatible image, with the header included.
|
|
25
|
-
"""
|
|
26
|
-
|
|
27
|
-
text: str
|
|
28
|
-
"""The text to display in the body of the custom page"""
|
|
29
|
-
|
|
30
|
-
title: str
|
|
31
|
-
"""The text to display in the title of the custom page"""
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from ..._models import BaseModel
|
|
4
|
-
|
|
5
|
-
__all__ = ["WaapCommonTag"]
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class WaapCommonTag(BaseModel):
|
|
9
|
-
description: str
|
|
10
|
-
"""Tag description information"""
|
|
11
|
-
|
|
12
|
-
display_name: str
|
|
13
|
-
"""The tag's display name"""
|
|
14
|
-
|
|
15
|
-
tag: str
|
|
16
|
-
"""Tag name"""
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Optional
|
|
4
|
-
|
|
5
|
-
from ..._models import BaseModel
|
|
6
|
-
|
|
7
|
-
__all__ = ["WaapCookieDisabledPageData"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class WaapCookieDisabledPageData(BaseModel):
|
|
11
|
-
enabled: bool
|
|
12
|
-
"""Indicates whether the custom custom page is active or inactive"""
|
|
13
|
-
|
|
14
|
-
header: Optional[str] = None
|
|
15
|
-
"""The text to display in the header of the custom page"""
|
|
16
|
-
|
|
17
|
-
text: Optional[str] = None
|
|
18
|
-
"""The text to display in the body of the custom page"""
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from typing_extensions import Required, TypedDict
|
|
6
|
-
|
|
7
|
-
__all__ = ["WaapCookieDisabledPageDataParam"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class WaapCookieDisabledPageDataParam(TypedDict, total=False):
|
|
11
|
-
enabled: Required[bool]
|
|
12
|
-
"""Indicates whether the custom custom page is active or inactive"""
|
|
13
|
-
|
|
14
|
-
header: str
|
|
15
|
-
"""The text to display in the header of the custom page"""
|
|
16
|
-
|
|
17
|
-
text: str
|
|
18
|
-
"""The text to display in the body of the custom page"""
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from ..._models import BaseModel
|
|
4
|
-
from .waap_policy_action import WaapPolicyAction
|
|
5
|
-
|
|
6
|
-
__all__ = ["WaapDomainPolicy"]
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class WaapDomainPolicy(BaseModel):
|
|
10
|
-
id: str
|
|
11
|
-
"""Unique identifier for the security rule"""
|
|
12
|
-
|
|
13
|
-
action: WaapPolicyAction
|
|
14
|
-
"""The action taken by the WAAP upon rule activation."""
|
|
15
|
-
|
|
16
|
-
description: str
|
|
17
|
-
"""Detailed description of the security rule"""
|
|
18
|
-
|
|
19
|
-
group: str
|
|
20
|
-
"""The rule set group name to which the rule belongs"""
|
|
21
|
-
|
|
22
|
-
mode: bool
|
|
23
|
-
"""Indicates if the security rule is active"""
|
|
24
|
-
|
|
25
|
-
name: str
|
|
26
|
-
"""Name of the security rule"""
|
|
27
|
-
|
|
28
|
-
rule_set_id: int
|
|
29
|
-
"""Identifier of the rule set to which the rule belongs"""
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Optional
|
|
4
|
-
|
|
5
|
-
from ..._models import BaseModel
|
|
6
|
-
|
|
7
|
-
__all__ = ["WaapHandshakePageData"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class WaapHandshakePageData(BaseModel):
|
|
11
|
-
enabled: bool
|
|
12
|
-
"""Indicates whether the custom custom page is active or inactive"""
|
|
13
|
-
|
|
14
|
-
header: Optional[str] = None
|
|
15
|
-
"""The text to display in the header of the custom page"""
|
|
16
|
-
|
|
17
|
-
logo: Optional[str] = None
|
|
18
|
-
"""
|
|
19
|
-
Supported image types are JPEG, PNG and JPG, size is limited to width 450px,
|
|
20
|
-
height 130px. This should be a base 64 encoding of the full HTML img tag
|
|
21
|
-
compatible image, with the header included.
|
|
22
|
-
"""
|
|
23
|
-
|
|
24
|
-
title: Optional[str] = None
|
|
25
|
-
"""The text to display in the title of the custom page"""
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from typing_extensions import Required, TypedDict
|
|
6
|
-
|
|
7
|
-
__all__ = ["WaapHandshakePageDataParam"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class WaapHandshakePageDataParam(TypedDict, total=False):
|
|
11
|
-
enabled: Required[bool]
|
|
12
|
-
"""Indicates whether the custom custom page is active or inactive"""
|
|
13
|
-
|
|
14
|
-
header: str
|
|
15
|
-
"""The text to display in the header of the custom page"""
|
|
16
|
-
|
|
17
|
-
logo: str
|
|
18
|
-
"""
|
|
19
|
-
Supported image types are JPEG, PNG and JPG, size is limited to width 450px,
|
|
20
|
-
height 130px. This should be a base 64 encoding of the full HTML img tag
|
|
21
|
-
compatible image, with the header included.
|
|
22
|
-
"""
|
|
23
|
-
|
|
24
|
-
title: str
|
|
25
|
-
"""The text to display in the title of the custom page"""
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing_extensions import Literal, TypeAlias
|
|
4
|
-
|
|
5
|
-
__all__ = ["WaapInsightSilenceSortBy"]
|
|
6
|
-
|
|
7
|
-
WaapInsightSilenceSortBy: TypeAlias = Literal[
|
|
8
|
-
"id", "-id", "insight_type", "-insight_type", "comment", "-comment", "author", "-author", "expire_at", "-expire_at"
|
|
9
|
-
]
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing_extensions import Literal, TypeAlias
|
|
4
|
-
|
|
5
|
-
__all__ = ["WaapInsightSortBy"]
|
|
6
|
-
|
|
7
|
-
WaapInsightSortBy: TypeAlias = Literal[
|
|
8
|
-
"id",
|
|
9
|
-
"-id",
|
|
10
|
-
"insight_type",
|
|
11
|
-
"-insight_type",
|
|
12
|
-
"first_seen",
|
|
13
|
-
"-first_seen",
|
|
14
|
-
"last_seen",
|
|
15
|
-
"-last_seen",
|
|
16
|
-
"last_status_change",
|
|
17
|
-
"-last_status_change",
|
|
18
|
-
"status",
|
|
19
|
-
"-status",
|
|
20
|
-
]
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Optional
|
|
4
|
-
|
|
5
|
-
from ..._models import BaseModel
|
|
6
|
-
|
|
7
|
-
__all__ = ["WaapJavascriptDisabledPageData"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class WaapJavascriptDisabledPageData(BaseModel):
|
|
11
|
-
enabled: bool
|
|
12
|
-
"""Indicates whether the custom custom page is active or inactive"""
|
|
13
|
-
|
|
14
|
-
header: Optional[str] = None
|
|
15
|
-
"""The text to display in the header of the custom page"""
|
|
16
|
-
|
|
17
|
-
text: Optional[str] = None
|
|
18
|
-
"""The text to display in the body of the custom page"""
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from typing_extensions import Required, TypedDict
|
|
6
|
-
|
|
7
|
-
__all__ = ["WaapJavascriptDisabledPageDataParam"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class WaapJavascriptDisabledPageDataParam(TypedDict, total=False):
|
|
11
|
-
enabled: Required[bool]
|
|
12
|
-
"""Indicates whether the custom custom page is active or inactive"""
|
|
13
|
-
|
|
14
|
-
header: str
|
|
15
|
-
"""The text to display in the header of the custom page"""
|
|
16
|
-
|
|
17
|
-
text: str
|
|
18
|
-
"""The text to display in the body of the custom page"""
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from ..._models import BaseModel
|
|
4
|
-
from .waap_request_organization import WaapRequestOrganization
|
|
5
|
-
|
|
6
|
-
__all__ = ["WaapNetworkDetails"]
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class WaapNetworkDetails(BaseModel):
|
|
10
|
-
client_ip: str
|
|
11
|
-
"""Client IP"""
|
|
12
|
-
|
|
13
|
-
country: str
|
|
14
|
-
"""Country code"""
|
|
15
|
-
|
|
16
|
-
organization: WaapRequestOrganization
|
|
17
|
-
"""Organization details"""
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing_extensions import Literal, TypeAlias
|
|
4
|
-
|
|
5
|
-
__all__ = ["WaapPageType"]
|
|
6
|
-
|
|
7
|
-
WaapPageType: TypeAlias = Literal[
|
|
8
|
-
"block.html", "block_csrf.html", "captcha.html", "cookieDisabled.html", "handshake.html", "javascriptDisabled.html"
|
|
9
|
-
]
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import List
|
|
4
|
-
|
|
5
|
-
from ..._models import BaseModel
|
|
6
|
-
from .waap_custom_page_set import WaapCustomPageSet
|
|
7
|
-
|
|
8
|
-
__all__ = ["WaapPaginatedCustomPageSet"]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class WaapPaginatedCustomPageSet(BaseModel):
|
|
12
|
-
count: int
|
|
13
|
-
"""Number of items contain in the response"""
|
|
14
|
-
|
|
15
|
-
limit: int
|
|
16
|
-
"""Number of items requested in the response"""
|
|
17
|
-
|
|
18
|
-
offset: int
|
|
19
|
-
"""Items response offset used"""
|
|
20
|
-
|
|
21
|
-
results: List[WaapCustomPageSet]
|
|
22
|
-
"""List of items returned in the response following given criteria"""
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import List
|
|
4
|
-
|
|
5
|
-
from ..._models import BaseModel
|
|
6
|
-
from .waap_ddos_attack import WaapDDOSAttack
|
|
7
|
-
|
|
8
|
-
__all__ = ["WaapPaginatedDDOSAttack"]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class WaapPaginatedDDOSAttack(BaseModel):
|
|
12
|
-
count: int
|
|
13
|
-
"""Number of items contain in the response"""
|
|
14
|
-
|
|
15
|
-
limit: int
|
|
16
|
-
"""Number of items requested in the response"""
|
|
17
|
-
|
|
18
|
-
offset: int
|
|
19
|
-
"""Items response offset used"""
|
|
20
|
-
|
|
21
|
-
results: List[WaapDDOSAttack]
|
|
22
|
-
"""List of items returned in the response following given criteria"""
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import List
|
|
4
|
-
|
|
5
|
-
from ..._models import BaseModel
|
|
6
|
-
from .waap_ddos_info import WaapDDOSInfo
|
|
7
|
-
|
|
8
|
-
__all__ = ["WaapPaginatedDDOSInfo"]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class WaapPaginatedDDOSInfo(BaseModel):
|
|
12
|
-
count: int
|
|
13
|
-
"""Number of items contain in the response"""
|
|
14
|
-
|
|
15
|
-
limit: int
|
|
16
|
-
"""Number of items requested in the response"""
|
|
17
|
-
|
|
18
|
-
offset: int
|
|
19
|
-
"""Items response offset used"""
|
|
20
|
-
|
|
21
|
-
results: List[WaapDDOSInfo]
|
|
22
|
-
"""List of items returned in the response following given criteria"""
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import List
|
|
4
|
-
|
|
5
|
-
from ..._models import BaseModel
|
|
6
|
-
from .waap_request_summary import WaapRequestSummary
|
|
7
|
-
|
|
8
|
-
__all__ = ["WaapPaginatedRequestSummary"]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class WaapPaginatedRequestSummary(BaseModel):
|
|
12
|
-
count: int
|
|
13
|
-
"""Number of items contain in the response"""
|
|
14
|
-
|
|
15
|
-
limit: int
|
|
16
|
-
"""Number of items requested in the response"""
|
|
17
|
-
|
|
18
|
-
offset: int
|
|
19
|
-
"""Items response offset used"""
|
|
20
|
-
|
|
21
|
-
results: List[WaapRequestSummary]
|
|
22
|
-
"""List of items returned in the response following given criteria"""
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from ..._models import BaseModel
|
|
4
|
-
|
|
5
|
-
__all__ = ["WaapPatternMatchedTag"]
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class WaapPatternMatchedTag(BaseModel):
|
|
9
|
-
description: str
|
|
10
|
-
"""Tag description information"""
|
|
11
|
-
|
|
12
|
-
display_name: str
|
|
13
|
-
"""The tag's display name"""
|
|
14
|
-
|
|
15
|
-
execution_phase: str
|
|
16
|
-
"""
|
|
17
|
-
The phase in which the tag was triggered: access -> Request, `header_filter` ->
|
|
18
|
-
`response_header`, `body_filter` -> `response_body`
|
|
19
|
-
"""
|
|
20
|
-
|
|
21
|
-
field: str
|
|
22
|
-
"""The entity to which the variable that triggered the tag belong to.
|
|
23
|
-
|
|
24
|
-
For example: `request_headers`, uri, cookies etc.
|
|
25
|
-
"""
|
|
26
|
-
|
|
27
|
-
field_name: str
|
|
28
|
-
"""The name of the variable which holds the value that triggered the tag"""
|
|
29
|
-
|
|
30
|
-
pattern_name: str
|
|
31
|
-
"""The name of the detected regexp pattern"""
|
|
32
|
-
|
|
33
|
-
pattern_value: str
|
|
34
|
-
"""The pattern which triggered the tag"""
|
|
35
|
-
|
|
36
|
-
tag: str
|
|
37
|
-
"""Tag name"""
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing_extensions import Literal, TypeAlias
|
|
4
|
-
|
|
5
|
-
__all__ = ["WaapPolicyAction"]
|
|
6
|
-
|
|
7
|
-
WaapPolicyAction: TypeAlias = Literal["Allow", "Block", "Captcha", "Gateway", "Handshake", "Monitor", "Composite"]
|