All Products
Search
Document Center

Security Center:DescribeContainerScanConfig

Last Updated:Feb 20, 2024

Queries the configurations of the vulnerability scan of one or more running container applications.

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
LangstringNo

The language of the content within the request and response. Default value: zh. Valid values:

  • zh: Chinese
  • en: English
zh

Response parameters

ParameterTypeDescriptionExample
object

PlainResult

Dataobject

The response parameters.

ClusterIdstring

The cluster ID.

c8ca91e0907d94efaba7fb0827eb9****
ClusterNamestring

The name of the cluster.

hhht-cluster-02
ChooseCountinteger

The number of selected container applications.

10
AllCountinteger

The total number of container applications in the cluster.

100
AppNamesstring

The names of the container applications.

[\"alicloud-monitor-controller\"]
RequestIdstring

The request ID.

69BFFCDE-37D6-5A49-A8BC-BB03AC83****
HttpStatusCodeinteger

The HTTP status code.

200

Examples

Sample success responses

JSONformat

{
  "Data": {
    "ClusterId": "c8ca91e0907d94efaba7fb0827eb9****",
    "ClusterName": "hhht-cluster-02",
    "ChooseCount": 10,
    "AllCount": 100,
    "AppNames": "[\\\"alicloud-monitor-controller\\\"]"
  },
  "RequestId": "69BFFCDE-37D6-5A49-A8BC-BB03AC83****",
  "HttpStatusCode": 200
}

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.