UpdateAclCheckDetailStatus

Updated at:

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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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:

  • en :

    English.

  • zh :

    Chinese (default)

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 :

    Pending.

  • Ignored :

    Ignored.

  • Processed :

    Processed.

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: Inbound traffic.

  • out: Outbound traffic.

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: source CIDR block.

  • group: source address book.

  • location: source location.

net

ApplicationName

string

The Protocol Type supported by the access control policy. Valid values:

  • FTP

  • HTTP

  • HTTPS

  • Memcache

  • MongoDB

  • MQTT

  • MySQL

  • RDP

  • Redis

  • SMTP

  • SMTPS

  • SSH

  • SSL_No_Cert

  • SSL

  • VNC

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: IP address book, which contains one or more CIDR blocks.

  • tag: ECS tag-based address book, which contains IP addresses of one or more ECS tags.

  • domain: domain name address book, which contains one or more domain names.

  • threat: threat intelligence address book, which contains one or more malicious IP addresses or domain names.

  • backsrc: back-to-origin address book, which contains back-to-origin IP addresses of one or more Anti-DDoS or WAF instances.

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:

  • TCP

  • UDP

  • ICMP

  • ANY: all protocol types.

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:

  • ip: IP address book, which contains one or more CIDR blocks.

  • tag: ECS tag-based address book, which contains IP addresses of one or more ECS tags.

  • domain: domain name address book, which contains one or more domain names.

  • threat: threat intelligence address book, which contains one or more malicious IP addresses or domain names.

  • backsrc: back-to-origin address book, which contains back-to-origin IP addresses of one or more Anti-DDoS or WAF instances.

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.

  • If DestinationType is set to net, the destination address is a CIDR block. Example: 10.0.3.0/24.

  • If DestinationType is set to domain, the destination address is a domain name. Example: aliyun.

  • If DestinationType is set to group, the destination address is the name of an address book. Example: db_group.

  • If DestinationType is set to location, the destination address is an area name. For more information about specific area positional encoding, see AddControlPolicy. Example: ["BJ11", "ZB"].

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: port.

  • group: port address book.

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: port.

  • group: port address book.

port

Source

string

The source address in the access control policy. Valid values:

  • If SourceType is set to net, the value of Source is a source CIDR block. Example: 10.2.4.0/24.

  • If SourceType is set to group, the value of Source is the name of a source address book. Example: db_group.

10.71.94.24

DestinationType

string

The destination address type in the access control policy. Valid values:

  • net: destination CIDR block.

  • group: destination address book.

  • domain: destination domain name.

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: IPv4. This is the default value.

  • 6: IPv6.

4

AclAction

string

The action that Cloud Firewall performs on the traffic in the access control policy. Valid values:

  • accept: allows the traffic.

  • drop: blocks the traffic.

  • log: monitors the traffic.

log

Release

string

The enabling status of the access control policy. By default, a policy is enabled after it is created. Valid values:

  • true: The access control policy is enabled.

  • false: The access control policy is disabled.

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:

  • Permanent: always. This is the default value.

  • None: specified single time.

  • Daily: every day.

  • Weekly: every week.

  • Monthly: every month.

None

RepeatDays

array

The recurrence days of the Policy Validity Period for the access control policy.

  • If RepeatType is set to Permanent, None, or Daily, RepeatDays is an empty set. Example: [].

  • If RepeatType is set to Weekly, RepeatDays cannot be empty. Example: [0, 6].

Note

When RepeatType is set to Weekly, the values in RepeatDays cannot be duplicate.

  • If RepeatType is set to Monthly, RepeatDays cannot be empty. Example: [1, 31].

Note

When RepeatType is set to Monthly, the values in RepeatDays cannot be duplicate.

integer

The recurrence days of the Policy Validity Period for the access control policy.

  • If RepeatType is set to Permanent, None, or Daily, RepeatDays is an empty set. Example: [].

  • If RepeatType is set to Weekly, RepeatDays cannot be empty. Example: [0, 6].

Note

When RepeatType is set to Weekly, the values in RepeatDays cannot be duplicate.

  • If RepeatType is set to Monthly, RepeatDays cannot be empty. Example: [1, 31].

Note

When RepeatType is set to Monthly, the values in RepeatDays cannot be duplicate.

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 Permanent or None, RepeatStartTime is empty. If RepeatType is set to Daily, Weekly, or Monthly, RepeatStartTime must be specified.

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 Permanent or None, RepeatEndTime is empty. If RepeatType is set to Daily, Weekly, or Monthly, RepeatEndTime must be specified.

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:

  • ip: IP address book.

  • domain: domain name address book.

  • port: port address book.

  • tag: ECS tag-based address book.

  • allCloud: cloud service address book.

  • threat: threat intelligence address book.

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:

  • FQDN: FQDN-based resolution.

  • DNS: DNS-based dynamic resolution.

  • FQDN_AND_DNS: FQDN- and DNS-based dynamic resolution.

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: Policies with no traffic hits.

  • PolicySourceDestinationSame: Invalid policy with the same source and destination objects.

  • PolicyDuplicate: Duplicate or redundant policy.

  • PolicyConflict: Policy that conflicts with business.

  • DefaultPolicyNotDeny: The default policy does not use the deny-all whitelist mechanism.

  • PolicyPortHighRisk: Risky policies that allow traffic on high-risk ports.

  • PolicyTooLoose: Overly loose control policy.

  • AddressBookIpSeparated: Duplicate, overlapping, or scattered IP address books.

  • AddressBookPortSeparated: Duplicate, overlapping, or scattered port address books.

  • AddressBookDomainValid: Validity check for domain name address books.

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.