All Products
Search
Document Center

ListAuditSecurityIp

Last Updated: Mar 04, 2019

Description

You can call this operation to obtain a whitelist of IP addresses that have been added to review security groups.

Request parameters

NameTypeRequiredDescription
ActionStringYesThe operation that you want to perform. Set the value to ListAuditSecurityIp.
SecurityGroupName StringNoThe 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

NameTypeDescription
RequestId String The GUID generated by Alibaba Cloud for the request.
SecurityIpList SecurityIp[] The details of IP addresses in review security groups.

SecurityIp

NameTypeDescription
IpsStringThe list of IP addresses in review security groups.
SecurityGroupNameStringThe name of the review security group.
CreationTimeStringThe creation time of the review security group.
ModificationTimeStringThe latest update time of the review security group.

Examples

Sample requests

  1. 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

  1. {
  2. "SecurityGroupList":[
  3. {
  4. "SecurityGroupName":"Default",
  5. "Ips":"30.27.14.0/24,30.39.127.245",
  6. "CreationTime":"2018-05-22T06:54:23Z",
  7. "ModifyTime":"2018-05-22T06:55:14Z"
  8. }, ....
  9. "RequestId":"664BBD08-C7DB-4E6C-A873-9D0958D9A899",
  10. }

Error codes

The following table lists the error codes that this operation can return. For more information, see Error codes.

Error codeError messageHTTP status codeDescription
SecurityIp.NotFound The audit security ip does not exist.404The 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.500The error message returned when the system failed to obtain the list of IP addresses in review security groups. Try again later.