UpdateCisScanConfiguration - Inspector


Updates a CIS scan configuration.

Request Syntax

POST /cis/scan-configuration/update HTTP/1.1 Content-type: application/json { "scanConfigurationArn": "string", "scanName": "string", "schedule": { ... }, "securityLevel": "string", "targets": { "accountIds": [ "string" ], "targetResourceTags": { "string" : [ "string" ] } } }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.


The CIS scan configuration ARN.

Type: String

Pattern: ^arn:aws(-us-gov|-cn)?:inspector2:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}:owner/(o-[a-z0-9]+|[0-9]{12})/cis-configuration/[0-9a-fA-F-]+$

Required: Yes


The scan name for the CIS scan configuration.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Required: No


The schedule for the CIS scan configuration.

Type: Schedule object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No


The security level for the CIS scan configuration. Security level refers to the Benchmark levels that CIS assigns to a profile.

Type: String

Valid Values: LEVEL_1 | LEVEL_2

Required: No


The targets for the CIS scan configuration.

Type: UpdateCisTargets object

Required: No

Response Syntax

HTTP/1.1 200 Content-type: application/json { "scanConfigurationArn": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


The CIS scan configuration ARN.

Type: String

Pattern: ^arn:aws(-us-gov|-cn)?:inspector2:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}:owner/(o-[a-z0-9]+|[0-9]{12})/cis-configuration/[0-9a-fA-F-]+$


For information about the errors that are common to all actions, see Common Errors.


You do not have sufficient access to perform this action.

HTTP Status Code: 403


The request has failed due to an internal failure of the Amazon Inspector service.

HTTP Status Code: 500


The operation tried to access an invalid resource. Make sure the resource is specified correctly.

HTTP Status Code: 404


The limit on the number of requests per second was exceeded.

HTTP Status Code: 429


The request has failed validation due to missing required fields or having invalid inputs.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: