Auto Mitigation
Site
Overview
Clean Pipe Auto Mitigation API
Version information
Version : 1.0.0.BETA
License information
Terms of service : https://www.nexusguard.com/
URI scheme
Host : api.nexusguard.com
BasePath : /api
Schemes : HTTPS
Paths
Get the profile list of auto mitigation.
GET /spe/customer/{customer_id}/cp/site/{site_id}/auto-mitigation/profiles
Description
Get the profile list of auto mitigation.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path | customer_id required |
Unique identifier of a customer. Can be obtained by invoking this API. | string |
Path | site_id required |
Unique identifier of a site. | string |
Query | access_token required |
Access token used to authenticate your access to the API. | string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 | Response sent when the API is successfully invoked. | Response 200 |
Name | Description | Schema |
---|---|---|
code optional |
Error code | integer |
msg optional |
Error message | string |
result optional |
< result > array |
Name | Description | Schema |
---|---|---|
profile_id optional |
Unique identifier of a profile. | string |
profile_name optional |
The name of the profile. | string |
type optional |
The ip type of the profile. | string |
Consumes
multipart/form-data
Produces
application/json
Security
Type | Name |
---|---|
apiKey | ApiKeyAuth |
Edit the policy for the FlexFilter/tcp option filter sets.
POST /spe/customer/{customer_id}/cp/site/{site_id}/auto-mitigation/tcp-option/filter-sets
Description
Edit the policy for the FlexFilter/tcp option filter sets.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path | customer_id required |
Unique identifier of a customer. Can be obtained by invoking this API. | string |
Path | site_id required |
Unique identifier of a site. Can be obtained by invoking this API for Origin Protection sites. | string |
Query | access_token required |
Access token used to authenticate your access to the API. | string |
Query | profile_id required |
Unique identifier of a profile. | string |
FormData | filter_set_id required |
Enter the filter set id you want to add.Currently only supports adding one option. | < string > array |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 | Response sent when the API is successfully invoked. | Result |
Consumes
multipart/form-data
Produces
application/json
Security
Type | Name |
---|---|
apiKey | ApiKeyAuth |
Edit the policy for the FlexFilter/tcp option filter sets.
GET /spe/customer/{customer_id}/cp/site/{site_id}/auto-mitigation/tcp-option/policy
Description
Edit the policy for the FlexFilter/tcp option filter sets.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path | customer_id required |
Unique identifier of a customer. Can be obtained by invoking this API. | string |
Path | site_id required |
Unique identifier of a site. | string |
Query | access_token required |
Access token used to authenticate your access to the API. | string |
Query | profile_id required |
Unique identifier of a profile. | string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 | This is the returned result. | Response 200 |
Name | Description | Schema |
---|---|---|
code optional |
Error code | integer |
msg optional |
Error message | string |
result optional |
result |
Name | Description | Schema |
---|---|---|
filter_sets optional |
< filter_sets > array | |
is_enabled optional |
Status of the tcp option filter. ‘0’ means off, ‘1’ means on. | integer |
Name | Description | Schema |
---|---|---|
filter_set_desc optional |
More details about the purpose of the policy. | string |
filter_set_id optional |
Unique identifier of filter set. | string |
filter_set_name optional |
The name of the policy. | string |
Consumes
multipart/form-data
Produces
application/json
Security
Type | Name |
---|---|
apiKey | ApiKeyAuth |
Edit the policy for the FlexFilter/tcp option filter sets.
POST /spe/customer/{customer_id}/cp/site/{site_id}/auto-mitigation/tcp-option/switch
Description
Edit the policy for the FlexFilter/tcp option filter sets.
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path | customer_id required |
Unique identifier of a customer. Can be obtained by invoking this API. | string |
Path | site_id required |
Unique identifier of a site. | string |
Query | access_token required |
Access token used to authenticate your access to the API. | string |
Query | profile_id required |
Unique identifier of a profile. | string |
FormData | is_enabled required |
0 means the switch of the basic network filtering is disabled whereas 1 means it is enabled. |
integer |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 | Response sent when the API is successfully invoked. | Result |
Consumes
multipart/form-data
Produces
application/json
Security
Type | Name |
---|---|
apiKey | ApiKeyAuth |
Definitions
Result
The returned result.
Name | Description | Schema |
---|---|---|
code optional |
Error code | integer |
msg optional |
Error message | string |
Security
ApiKeyAuth
Type : apiKey
Name : access_token
In : QUERY