Updates the status of an access control list (ACL) check detail.
Operation description
QPS limit
The queries per second (QPS) limit for a single user is 10. If you exceed this limit, the system throttles your API calls, which may affect your business. Call this operation at a reasonable rate.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the content. Valid values: Valid values:
|
zh |
| TaskId |
string |
Yes |
The ID of the access control list (ACL) check task. |
task-c92d4544ef7b6a42 |
| Uuid |
string |
Yes |
The unique ID of the ACL policy in the ACL check details. |
bbbb43c9-a931-4d89-9939-86d509139a20 |
| Status |
string |
Yes |
The new status. Valid values: Valid values:
|
Pending |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
850A84D6************00090125EEB1 |
| CheckRecord |
object |
The ACL check record. |
|
| Acls |
array<object> |
A list of ACL check results. |
|
|
array<object> |
The ACL check result. |
||
| Acl |
object |
The ACL check result. |
|
| Direction |
string |
The traffic direction that the access control policy controls. Valid values:
|
in |
| Order |
integer |
The priority of the access control policy. The priority number starts from 1. A smaller number indicates a higher priority. |
desc |
| SourceType |
string |
The source address type in the access control policy. Valid values:
|
net |
| ApplicationName |
string |
The application type that the access control policy supports. Valid values:
Note
The supported application types depend on the value of Proto (Protocol Type). If Proto is set to TCP, you can select any of the preceding application types for ApplicationNameList. If you specify both ApplicationNameList and ApplicationName, ApplicationNameList takes precedence. |
ANY |
| HitTimes |
integer |
The number of hits on the access control policy. |
1 |
| Description |
string |
The description of the access control policy. |
test_policy |
| SourceGroupType |
string |
The type of the source address book in the access control policy. Valid values:
|
ip |
| DnsResultTime |
integer |
The timestamp of the DNS resolution. This value is a UNIX timestamp. Unit: seconds. |
1579261141 |
| DnsResult |
string |
The result of the DNS resolution. |
192.168.0.1/32 |
| Proto |
string |
The protocol type of the traffic in the access control policy. Valid values:
Note
If you do not set this parameter, all protocol types are queried. |
ANY |
| DestinationGroupType |
string |
The type of the destination address book in the access control policy. Valid values:
|
domain |
| Destination |
string |
The destination address in the access control policy. Fuzzy query is supported. The value of this parameter varies based on the value of DestinationType.
Note
If you do not set this parameter, all types of destination addresses are queried. |
kms.cn-shanghai.aliyuncs.com |
| HitLastTime |
integer |
The timestamp of the last hit. This value is a UNIX timestamp. Unit: seconds. |
1579261141 |
| DestPortGroup |
string |
The destination port type for the traffic in the access control policy. Valid values:
|
所有端口 |
| AclUuid |
string |
The unique ID of the access control policy. |
1e8ed1b2-cebc-4b95-a9cc-0cb7ce2c0c2c |
| DestPortType |
string |
The destination port type for the traffic in the access control policy. Valid values:
|
port |
| Source |
string |
The source address in the access control policy. Valid values:
|
10.71.94.24 |
| DestinationType |
string |
The destination address type in the access control policy. Valid values:
|
group |
| DestPort |
string |
The destination port for the traffic in the access control policy. |
22/22 |
| IpVersion |
integer |
The IP version of the asset that Cloud Firewall protects. Valid values:
|
4 |
| AclAction |
string |
The action that Cloud Firewall performs on the traffic. Valid values:
|
log |
| Release |
string |
The status of the access control policy. The policy is enabled by default after it is created. Valid values:
|
true |
| ApplicationId |
string |
The ID of the application that the access control policy uses. |
HTTP |
| DestinationGroupCidrs |
array |
A list of CIDR blocks in the destination address book of the access control policy. |
|
|
string |
A list of CIDR blocks in the destination address book of the access control policy. |
192.168.0.1/32 |
|
| DestPortGroupPorts |
array |
A list of ports in the destination port address book. |
|
|
string |
A list of ports in the destination port address book. |
22/22 |
|
| SourceGroupCidrs |
array |
A list of CIDR blocks in the source address book of the access control policy. |
|
|
string |
A list of CIDR blocks in the source address book of the access control policy. |
192.168.0.1/32 |
|
| ApplicationNameList |
array |
A list of application types that the access control policy supports. |
|
|
string |
A list of application types that the access control policy supports. |
SSH |
|
| SpreadCnt |
integer |
The number of specifications that the access control policy occupies. This is the cumulative value of the specifications occupied by each policy. The number of specifications occupied by a single policy = Number of source CIDR blocks × Number of destination addresses (IP address ranges, regions, or domain names) × Number of applications × Number of port ranges. |
10 |
| CreateTime |
integer |
The time when the policy was created. |
1761062400 |
| ModifyTime |
integer |
The time when the policy was last modified. |
1761062400 |
| RepeatType |
string |
The recurrence type for the policy validity period. Valid values:
|
None |
| RepeatDays |
array |
The days of the week or month on which the policy recurs.
Note
If RepeatType is set to Weekly, RepeatDays cannot contain duplicate values.
Note
If RepeatType is set to Monthly, RepeatDays cannot contain duplicate values. |
|
|
integer |
The days of the week or month on which the policy recurs.
Note
If RepeatType is set to Weekly, RepeatDays cannot contain duplicate values.
Note
If RepeatType is set to Monthly, RepeatDays cannot contain duplicate values. |
1 |
|
| RepeatStartTime |
string |
The start time of the recurrence. For example: 08:00. The time must be on the hour or half-hour, and at least 30 minutes earlier than the end time. Note
If RepeatType is set to Permanent or None, RepeatStartTime is empty. If RepeatType is set to Daily, Weekly, or Monthly, you must specify RepeatStartTime. |
08:00 |
| RepeatEndTime |
string |
The end time of the recurrence. For example: 23:30. The time must be on the hour or half-hour, and at least 30 minutes later than the start time. Note
If RepeatType is set to Permanent or None, RepeatEndTime is empty. If RepeatType is set to Daily, Weekly, or Monthly, you must specify RepeatEndTime. |
23:30 |
| StartTime |
integer |
The start time of the query. This value is a UNIX timestamp. Unit: seconds. |
1736130347 |
| EndTime |
integer |
The end time of the query. This value is a UNIX timestamp. Unit: seconds. |
1752754426 |
| AddressListCount |
integer |
The number of addresses in the address book. |
1 |
| GroupUuid |
string |
The unique ID of the address book. Note
For more information, see DescribeAddressBook. |
5a96a798-9b73-47f7-831e-1d7aa3c987a9 |
| AutoAddTagEcs |
integer |
Indicates whether to automatically add the public IP addresses of new ECS instances that match the specified tags to the address book. New ECS instances include newly purchased instances with configured tags and instances with modified tags. |
0 |
| GroupName |
string |
The name of the address book. |
subscribe |
| ReferenceCount |
integer |
The number of times the address book is referenced. |
1 |
| GroupType |
string |
The type of the address book. Valid values:
|
port |
| TagRelation |
string |
The relationship between multiple ECS tags. |
and |
| TagList |
array<object> |
A list of ECS tags. |
|
|
object |
The ECS tag. |
||
| TagValue |
string |
The value of the ECS tag. |
tfTestAcc0 |
| TagKey |
string |
The key of the ECS tag. |
produce |
| AddressList |
array |
A list of addresses in the address book. |
|
|
string |
A list of addresses in the address book. |
183.2.201.71/32,60.28.235.22/32,210.51.58.107/32,60.28.235.81/32,210.51.58.51/32,60.28.235.52/32,1.1.1.1/32,154.212.141.143/32,167.94.146.55/32,185.226.197.47/32,101.251.238.174/32 |
|
| NatGatewayId |
string |
The ID of the NAT Gateway. |
ngw-gw85zno51npz7lgc04z89 |
| DomainResolveType |
integer |
The domain name resolution method for the access control policy. Valid values:
|
0 |
| VpcFirewallId |
string |
The instance ID of the VPC firewall. |
cen-cw4z051hr8x53qniv5 |
| AclStatus |
string |
The status of the ACL check. |
configuring |
| AclAssessmentDetail |
string |
The assessment details of the ACL policy. |
无流量命中策略。 |
| RecordAssessmentDetail |
string |
The assessment details of the ACL check. |
由于业务下线或其它原因等,导致对象策略一段时间命中次数为0。 |
| CheckName |
string |
The name of the ACL check. Valid values:
|
PolicyHitCountZero |
| Description |
string |
The description of the rule. |
dwd_mysql_lingwan_faxing_chat_config_di |
| LastCheckTime |
string |
The timestamp of the last check. Unit: seconds. |
1724982259 |
| Level |
string |
The risk level. |
High |
| PolicyTotalCount |
integer |
The total number of policies. |
1 |
| TaskId |
string |
The ID of the ACL check task. |
task-c92d4544ef7b6a42 |
Examples
Success response
JSON format
{
"RequestId": "850A84D6************00090125EEB1",
"CheckRecord": {
"Acls": [
{
"Acl": {
"Direction": "in",
"Order": 0,
"SourceType": "net",
"ApplicationName": "ANY",
"HitTimes": 1,
"Description": "test_policy",
"SourceGroupType": "ip",
"DnsResultTime": 1579261141,
"DnsResult": "192.168.0.1/32",
"Proto": "ANY",
"DestinationGroupType": "domain",
"Destination": "kms.cn-shanghai.aliyuncs.com",
"HitLastTime": 1579261141,
"DestPortGroup": "所有端口",
"AclUuid": "1e8ed1b2-cebc-4b95-a9cc-0cb7ce2c0c2c",
"DestPortType": "port",
"Source": "10.71.94.24",
"DestinationType": "group",
"DestPort": "22/22",
"IpVersion": 4,
"AclAction": "log",
"Release": "true",
"ApplicationId": "HTTP",
"DestinationGroupCidrs": [
"192.168.0.1/32"
],
"DestPortGroupPorts": [
"22/22"
],
"SourceGroupCidrs": [
"192.168.0.1/32"
],
"ApplicationNameList": [
"SSH"
],
"SpreadCnt": 10,
"CreateTime": 1761062400,
"ModifyTime": 1761062400,
"RepeatType": "None",
"RepeatDays": [
1
],
"RepeatStartTime": "08:00",
"RepeatEndTime": "23:30",
"StartTime": 1736130347,
"EndTime": 1752754426,
"AddressListCount": 1,
"GroupUuid": "5a96a798-9b73-47f7-831e-1d7aa3c987a9",
"AutoAddTagEcs": 0,
"GroupName": "subscribe",
"ReferenceCount": 1,
"GroupType": "port",
"TagRelation": "and",
"TagList": [
{
"TagValue": "tfTestAcc0",
"TagKey": "produce"
}
],
"AddressList": [
"183.2.201.71/32,60.28.235.22/32,210.51.58.107/32,60.28.235.81/32,210.51.58.51/32,60.28.235.52/32,1.1.1.1/32,154.212.141.143/32,167.94.146.55/32,185.226.197.47/32,101.251.238.174/32"
],
"NatGatewayId": "ngw-gw85zno51npz7lgc04z89",
"DomainResolveType": 0,
"VpcFirewallId": "cen-cw4z051hr8x53qniv5"
},
"AclStatus": "configuring",
"AclAssessmentDetail": "无流量命中策略。"
}
],
"RecordAssessmentDetail": "由于业务下线或其它原因等,导致对象策略一段时间命中次数为0。",
"CheckName": "PolicyHitCountZero",
"Description": "dwd_mysql_lingwan_faxing_chat_config_di",
"LastCheckTime": "1724982259",
"Level": "High",
"PolicyTotalCount": 1,
"TaskId": "task-c92d4544ef7b6a42"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorAclCheckNotExist | ACL check not exist. | The access control configuration check does not exist. |
| 400 | ErrorAclCheckDetailNotExist | ACL check detail not exist. | The details of the access control configuration check do not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.