get https://{hostname}/appsec/v1/configs//custom-rules
All products Lists custom rules defined in a security configuration.
Response
All products Lists custom rules defined in a security configuration.
xxxxxxxxxx
curl --request GET \
--url https://hostname/appsec/v1/configs/configId/custom-rules \
--header 'accept: application/json'
xxxxxxxxxx
43}
{
"customRules": [
{
"effectiveTimePeriod": {
"endDate": "2021-11-02T01:00:00.000Z",
"startDate": "2021-08-05T01:00:00.000Z",
"status": "expired"
},
"id": 111111,
"link": "/appsec/v1/configs/99999/customRules/111111",
"name": "Example 1",
"samplingRate": 10,
"status": "activated",
"version": 1
},
{
"effectiveTimePeriod": {
"endDate": "2021-11-02T01:00:00.000Z",
"startDate": "2021-08-05T01:00:00.000Z",
"status": "expired"
},
"id": 111112,
"link": "/appsec/v1/configs/99999/customRules/111112",
"name": "Example 2",
"samplingRate": 10,