put https://{hostname}/appsec/v1/configs//versions//security-policies//protections
All products Update the security policy protections. This applies a set of protections that you can enable individually.
Responses
All products Update the security policy protections. This applies a set of protections that you can enable individually.
xxxxxxxxxx
curl --request PUT \
--url https://hostname/appsec/v1/configs/configId/versions/versionNumber/security-policies/policyId/protections \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
{
"applyApiConstraints": true,
"applyApplicationLayerControls": true,
"applyMalwareControls": true,
"applyNetworkLayerControls": true,
"applyRateControls": true,
"applyReputationControls": true,
"applySlowPostControls": true
}