Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
create_owasp_settings | POST /service/{service_id}/wafs/{firewall_id}/owasp | Create an OWASP settings object |
get_owasp_settings | GET /service/{service_id}/wafs/{firewall_id}/owasp | Get the OWASP settings object |
update_owasp_settings | PATCH /service/{service_id}/wafs/{firewall_id}/owasp | Update the OWASP settings object |
Create an OWASP settings object for a particular service and firewall.
let cfg = &Configuration::default();
let params = CreateOwaspSettingsParams {
// parameters
};
create_owasp_settings(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] | |
firewall_id | String | Alphanumeric string identifying a Firewall. | [required] | |
request_body | Option<::std::collections::HashMap<String, serde_json::Value>> |
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
Get the OWASP settings object for a particular service and firewall.
let cfg = &Configuration::default();
let params = GetOwaspSettingsParams {
// parameters
};
get_owasp_settings(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] | |
firewall_id | String | Alphanumeric string identifying a Firewall. | [required] |
- Content-Type: Not defined
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
Update the OWASP settings object for a particular service and firewall.
let cfg = &Configuration::default();
let params = UpdateOwaspSettingsParams {
// parameters
};
update_owasp_settings(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
service_id | String | Alphanumeric string identifying the service. | [required] | |
firewall_id | String | Alphanumeric string identifying a Firewall. | [required] | |
request_body | Option<::std::collections::HashMap<String, serde_json::Value>> |
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json