aiwaf-add-ip-whitelist-rule
Add an IP whitelist rule on the AIWAF device.
aiwaf-add-ip-whitelist-rule profile=PROFILE name=NAME src-addrs=SRC-ADDRS [dst-addrs=DST-ADDRS] [description=DESCRIPTION] [commit=COMMIT]
- profile=PROFILE
- Connect profile code of AIWAF device.
- name=NAME
- 예: Whitelist Rule #10
- src-addrs=SRC-ADDRS
- Comma separated client IP addresses. Use hyphen to specify IP range. e.g. 10.0.0.1-10.0.0.255
- dst-addrs=DST-ADDRS
- Comma separated server IP:port or IP1-IP2:port pairs. e.g. 172.20.0.1-172.20.0.255:443
- description=DESCRIPTION
- e.g. API Gateway
- commit=COMMIT
- Specify 't' to commit immediately. 'f' by default.
Output Fields
Field | Type | Name | Description |
---|---|---|---|
profile | String | Connect profile | Connect profile code of AIWAF device. |
id | String | IP whitelist ID | IP whitelist rule ID |