Description
You can call this operation to obtain a whitelist of IP addresses that have been added to review security groups.
Request parameters
Name | Type | Required | Description |
---|---|---|---|
Action | String | Yes | The operation that you want to perform. Set the value to ListAuditSecurityIp. |
SecurityGroupName | String | No | The name of the review security group to which IP addresses are added. IP addresses in all review security groups are obtained by default. |
Response parameters
Name | Type | Description |
---|---|---|
RequestId | String | The GUID generated by Alibaba Cloud for the request. |
SecurityIpList | SecurityIp[] | The details of IP addresses in review security groups. |
SecurityIp
Name | Type | Description |
---|---|---|
Ips | String | The list of IP addresses in review security groups. |
SecurityGroupName | String | The name of the review security group. |
CreationTime | String | The creation time of the review security group. |
ModificationTime | String | The latest update time of the review security group. |
Examples
Sample requests
http://vod.cn-shanghai.aliyuncs.com/?AccessKeyId=LTAIcVGC9xcC6k&Action=ListAuditIpSecurity&Format=JSON&SecurityGroupName=Default&SignatureMethod=HMAC-SHA1&SignatureNonce=4abb5441-c297-4751-85fc-7e907e82a4c3&SignatureVersion=1.0&Timestamp=2018-05-22T07:56:41Z&Version=2017-03-14&Signature=uGlt1Ek9uLQdh9s6aSNvNqoaGdA=&Format=JSON&<Common request parameters>
Note: For more information about common request parameters, see Common parameters.
Sample responses
JSON format
{
"SecurityGroupList":[
{
"SecurityGroupName":"Default",
"Ips":"30.27.14.0/24,30.39.127.245",
"CreationTime":"2018-05-22T06:54:23Z",
"ModifyTime":"2018-05-22T06:55:14Z"
}, ....
"RequestId":"664BBD08-C7DB-4E6C-A873-9D0958D9A899",
}
Error codes
The following table lists the error codes that this operation can return. For more information, see Error codes.
Error code | Error message | HTTP status code | Description |
---|---|---|---|
SecurityIp.NotFound | The audit security ip does not exist. | 404 | The error message returned when the specified IP address in the review security group does not exist. |
ListSecurityIpFailed | List audit security ip has failed due to some unknown error. | 500 | The error message returned when the system failed to obtain the list of IP addresses in review security groups. Try again later. |