All Products
Search
Document Center

Security Center:GetSasContainerWebDefenseRuleApplication

Last Updated:Feb 20, 2024

Queries the applications that are specified in a rule for container tamper-proofing.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RuleIdlongNo

The ID of the rule.

Note You can call the ListSasContainerWebDefenseRule operation to query the IDs of rules.
400599

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

09969D2C-4FAD-429E-BFBF-9A60DEF8****
ContainerWebDefenseAppListobject []

The applications.

GmtCreatelong

The time when the application was created. Unit: milliseconds.

1677839038000
AliUidlong

The user ID.

5944922169365****
Tagstring

The value of the application label.

app:test
GmtModifiedlong

The last modification time. Unit: milliseconds.

1667891185000
Idlong

The ID of the node.

143761
RuleIdlong

The ID of the rule.

403327
ClusterIdstring

The ID of the container cluster.

Note The IDs of clusters can be obtained by using the DescribeGroupedContainerInstances operation.
cfb41a869c71e4678a97021582dd8****

Examples

Sample success responses

JSONformat

{
  "RequestId": "09969D2C-4FAD-429E-BFBF-9A60DEF8****",
  "ContainerWebDefenseAppList": [
    {
      "GmtCreate": 1677839038000,
      "AliUid": 0,
      "Tag": "app:test",
      "GmtModified": 1667891185000,
      "Id": 143761,
      "RuleId": 403327,
      "ClusterId": "cfb41a869c71e4678a97021582dd8****"
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.