UpdateAclCheckDetailStatus
Modifies the status of an ACL check detail.
Operation description
QPS limits
The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:UpdateAclCheckDetailStatus |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language. Valid values:
|
zh |
| TaskId |
string |
Yes |
The ID of the ACL check task. |
task-c92d4544ef7b6a42 |
| Uuid |
string |
Yes |
The UUID of the ACL policy in the ACL check detail. |
bbbb43c9-a931-4d89-9939-86d509139a20 |
| Status |
string |
Yes |
The new status. Valid values:
|
Pending |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
850A84D6************00090125EEB1 |
| CheckRecord |
object |
The ACL check record. |
|
| Acls |
array<object> |
The list of ACL check results. |
|
|
array<object> |
The ACL check result. |
||
| Acl |
object |
The ACL check result. |
|
| Direction |
string |
The traffic direction controlled by the access control policy. Valid values:
|
in |
| Order |
integer |
The priority of the access control policy. The priority value starts from 1 and increments sequentially. A smaller value indicates a higher priority. |
1 |
| SourceType |
string |
The source address type in the access control policy. Valid values:
|
net |
| ApplicationName |
string |
The Protocol Type supported by the access control policy. Valid values:
Note
The valid values of this parameter depend on the value of the Proto parameter. If Proto is set to TCP, ApplicationNameList supports all the preceding Protocol Types. If both ApplicationNameList and ApplicationName are specified, ApplicationNameList takes precedence. |
ANY |
| HitTimes |
integer |
The number of hits for the access control policy. |
1 |
| Description |
string |
The description of the access control policy. |
test_policy |
| SourceGroupType |
string |
The source address book type in the access control policy. Valid values:
|
ip |
| DnsResultTime |
integer |
The timestamp of the DNS resolution. The value is a UNIX timestamp measured in seconds. |
1579261141 |
| DnsResult |
string |
The DNS resolution result. |
192.168.0.1/32 |
| Proto |
string |
The protocol type of the traffic in the access control policy. Valid values:
Note
If this parameter is not specified, all protocol types are queried. |
ANY |
| DestinationGroupType |
string |
The destination address book type in the access control policy. Valid values:
|
domain |
| Destination |
string |
The destination address in the access control policy. Fuzzy match is supported. The value of this parameter varies based on the destination type.
Note
If this parameter is not specified, all types of destination addresses are queried. |
kms.cn-shanghai.aliyuncs.com |
| HitLastTime |
integer |
The UNIX timestamp of the last hit. The value is a UNIX timestamp measured in seconds. |
1579261141 |
| DestPortGroup |
string |
The destination port type in the access control policy. Valid values:
|
port |
| AclUuid |
string |
The unique ID of the access control policy. |
1e8ed1b2-cebc-4b95-a9cc-0cb7ce2c0c2c |
| DestPortType |
string |
The destination port type 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 of the traffic in the access control policy. |
22/22 |
| IpVersion |
integer |
The IP version of the asset protected by Cloud Firewall. Valid values:
|
4 |
| AclAction |
string |
The action that Cloud Firewall performs on the traffic in the access control policy. Valid values:
|
log |
| Release |
string |
The enabling status of the access control policy. By default, a policy is enabled after it is created. Valid values:
|
true |
| ApplicationId |
string |
The application ID of the traffic in the access control policy. |
HTTP |
| DestinationGroupCidrs |
array |
The list of CIDR blocks in the destination address book of the access control policy. |
|
|
string |
The list of CIDR blocks in the destination address book of the access control policy. |
192.168.0.1/32 |
|
| DestPortGroupPorts |
array |
The list of ports in the destination port address book. |
|
|
string |
The list of ports in the destination port address book. |
22/22 |
|
| SourceGroupCidrs |
array |
The list of CIDR blocks in the source address book of the access control policy. |
|
|
string |
The list of CIDR blocks in the source address book of the access control policy. |
192.168.0.1/32 |
|
| ApplicationNameList |
array |
The list of application types supported by the access control policy. |
|
|
string |
The list of application types supported by the access control policy. |
SSH |
|
| SpreadCnt |
integer |
The number of access control policy quotas consumed. This value is the sum of quotas consumed by each policy. The number of quotas consumed by a single policy = Number of source CIDR blocks × Number of destination addresses (CIDR blocks, locations, or domain names) × Number of applications × Number of port ranges. |
10 |
| CreateTime |
integer |
The time when the policy was created. The value is a UNIX timestamp measured in seconds. |
1761062400 |
| ModifyTime |
integer |
The time when the policy was last modified. The value is a UNIX timestamp measured in seconds. |
1761062400 |
| RepeatType |
string |
The recurrence type of the Policy Validity Period for the access control policy. Valid values:
|
None |
| RepeatDays |
array |
The recurrence days of the Policy Validity Period for the access control policy.
Note
When RepeatType is set to
Note
When RepeatType is set to |
|
|
integer |
The recurrence days of the Policy Validity Period for the access control policy.
Note
When RepeatType is set to
Note
When RepeatType is set to |
1 |
|
| RepeatStartTime |
string |
The recurrence start time of the policy validity period. The time must be in the HH:mm 24-hour format, such as 08:00. It must be on the hour or half-hour, and at least 30 minutes earlier than the recurrence end time. Note
If RepeatType is set to |
08:00 |
| RepeatEndTime |
string |
The recurrence end time of the policy validity period. The time must be in the HH:mm 24-hour format, such as 23:30. It must be on the hour or half-hour, and at least 30 minutes later than the recurrence start time. Note
If RepeatType is set to |
23:30 |
| StartTime |
integer |
The start time of the query. The value is a UNIX timestamp measured in seconds. |
1736130347 |
| EndTime |
integer |
The end time of the query. The value is a UNIX timestamp measured in seconds. |
1752754426 |
| AddressListCount |
integer |
The number of addresses in the address book. |
1 |
| GroupUuid |
string |
The unique ID of the address book. Note
Value source: List address books. |
5a96a798-9b73-47f7-831e-1d7aa3c987a9 |
| AutoAddTagEcs |
integer |
Specifies whether to automatically add the public IP addresses of newly matched ECS instances to the address book. Newly matched ECS instances refer to newly purchased ECS instances with tags configured or ECS 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> |
The list of ECS tags. |
|
|
object |
The ECS tag. |
||
| TagValue |
string |
The ECS tag key. |
tfTestAcc0 |
| TagKey |
string |
The ECS tag key. |
produce |
| AddressList |
array |
The address list information of the address book. |
|
|
string |
The address list information of 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 mode of the access control policy. Valid values:
|
0 |
| VpcFirewallId |
string |
The instance ID of the virtual private cloud (VPC) firewalls. |
cen-cw4z051hr8x53qniv5 |
| AclStatus |
string |
The ACL check status. |
configuring |
| AclAssessmentDetail |
string |
The assessment details of the ACL policy. |
No traffic hit policy. |
| RecordAssessmentDetail |
string |
The assessment details of the ACL check record. |
Due to business offline or other reasons, the number of hits of the object policy in a period of time is 0. |
| CheckName |
string |
The name of the ACL check. Valid values:
|
PolicyHitCountZero |
| Description |
string |
The rule description. |
dwd_mysql_lingwan_faxing_chat_config_di |
| LastCheckTime |
string |
The timestamp of the last check. The value is a UNIX timestamp measured in 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": 1,
"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": "port",
"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": "No traffic hit policy."
}
],
"RecordAssessmentDetail": "Due to business offline or other reasons, the number of hits of the object policy in a period of time is 0.\n",
"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.