get https://{hostname}/appsec/v1/configs//versions//security-policies
Returns a list of security policies available for the specified security configuration. Products: All.
Responses
Returns a list of security policies available for the specified security configuration. Products: All.
xxxxxxxxxx
curl --request GET \
--url https://hostname/appsec/v1/configs/configId/versions/versionNumber/security-policies \
--header 'accept: application/json'
xxxxxxxxxx
48}
{
"configId": 51074,
"policies": [
{
"hasRatePolicyWithApiKey": true,
"policyId": "NN3_61",
"policyName": "NN FW 3",
"policySecurityControls": {
"applyApiConstraints": false,
"applyApplicationLayerControls": true,
"applyBotmanControls": true,
"applyNetworkLayerControls": true,
"applyRateControls": false,
"applyReputationControls": false,
"applySlowPostControls": false
}
},
{
"hasRatePolicyWithApiKey": false,
"policyId": "NN_2",
"policyName": "NN FW 1",
"policySecurityControls": {
"applyApiConstraints": false,
"applyApplicationLayerControls": true,
"applyBotmanControls": false,