Flood Shield 2.0

ListNonSharedWAFRuleExceptionsForWAFRules

갱신 시간: 2025-10-14 14:14:16

Get a list of exceptions for the WAF rules.

  • 단일 사용자 통화 빈도: 300/5min
  • 해당 상품(제품): Cloud Security 2.0,Flood Shield 2.0
API 인증에 관한 자세한 내용은 다음을 참조하십시오:API 인증 개요

요청 파라미터

요청 헤더

파라미터 이름설명
serviceTypeString
Security service type. Please enter a specific service type, if you purchase multiple security services.

Body 파라미터

파라미터 이름설명
*domainListList
Domain list.
*ruleIdListList
WAF rule ID list.

응답 파라미터

Body 파라미터

파라미터 이름설명
codeString
선택 가능한 값:매개변수 값 보기
Please refer to the error code for exceptions.
msgString
Description.
dataList
Data.
idString
Rule exception ID.
domainString
Domain.
ruleIdInteger
WAF rule ID.
typeString
선택 가능한 값:ippathuriurlParamNameurlParamValueuserAgenthttpHeaderNamehttpHeaderValuecookiebodybodyParamNamebodyParamValue
Matching conditions. ip: IP path: Path uri: URI urlParamName: URI Parameter Name urlParamValue: URI Parameter Value userAgent: User Agent httpHeaderName: Request Header Name httpHeaderValue: Request Header Value cookie: Cookie body: Body bodyParamName: Body Parameter Name bodyParamValue: Body Parameter Value
matchTypeString
선택 가능한 값:EQUALCONTAINREGEX
Match type,IP can only be EQUAL. EQUAL: Equal CONTAIN: Contains REGEX: Regular match
contentListList
Rule exceptions. When matchType=EQUAL, case-sensitive.

에러 코드

에러 코드(code)설명(message)HTTP 상태 코드설명
40010Request\nparameter\nerror.200Request\nparameter\nerror.
500Server\nerror.200Server\nerror.

예제

JSON
JSON
요청 예제
복사 복사 완료
#!/bin/bash
username="example_username"
# Note that this must be a single quote to avoid the special $ character
apiKey='example_apiKey'
date=`env LANG="en_US.UTF-8" date -u "+%a, %d %b %Y %H:%M:%S GMT"`
password=`echo -en "$date" | openssl dgst -sha1 -hmac $apiKey -binary | openssl enc -base64`

curl -i --url "https://api.cdnetworks.com/api/v1/waf/rule-exception/list-normal" \
-X "POST" \
-u "$username:$password" \
-H "Date: $date" \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
    "domainList": [
        "waap.example.com"
    ],
    "ruleIdList": [
        5005
    ]
}'
응답 예제
복사 복사 완료
{
    "code": 200,
    "msg": "Success",
    "data": [
        {
            "id": "1234567890123456789",
            "domain": "waap.example.com",
            "ruleId": 5005,
            "type": "ip",
            "matchType": "EQUAL",
            "contentList": [
                "1.1.1.1"
            ]
        }
    ]
}
이 문서의 내용이 도움이 되었습니까?
아니오
정상적으로 제출되었습니다.피드백을 주셔서 감사합니다.앞으로도 개선을 위해 노력하겠습니다.