All Products
Search
Document Center

Security Center:ModifyContainerScanConfig

Last Updated:Feb 20, 2024

Modifies the configurations of vulnerability scan for a running container.

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
ClusterIdstringNo

The cluster ID.

Note You can call the DescribeGroupedContainerInstances operation to query the IDs of clusters.
cfb7a55a81f7246b5ac18845ea79a****
AppNamesstringNo

The name of the container application.

[\"logtail-ds\",\"alicloud-monitor-controller\",\"storage-snapshot-manager\"]
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

Databoolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true
RequestIdstring

The request ID.

BFF355BC-8A40-55F3-8CBC-CC3E9DAC****
HttpStatusCodeinteger

The HTTP status code.

200

Examples

Sample success responses

JSONformat

{
  "Data": true,
  "RequestId": "BFF355BC-8A40-55F3-8CBC-CC3E9DAC****",
  "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.

Change history

Change timeSummary of changesOperation
2023-10-07The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 500