Sélectionner vos préférences de cookies

Nous utilisons des cookies essentiels et des outils similaires qui sont nécessaires au fonctionnement de notre site et à la fourniture de nos services. Nous utilisons des cookies de performance pour collecter des statistiques anonymes afin de comprendre comment les clients utilisent notre site et d’apporter des améliorations. Les cookies essentiels ne peuvent pas être désactivés, mais vous pouvez cliquer sur « Personnaliser » ou « Refuser » pour refuser les cookies de performance.

Si vous êtes d’accord, AWS et les tiers approuvés utiliseront également des cookies pour fournir des fonctionnalités utiles au site, mémoriser vos préférences et afficher du contenu pertinent, y compris des publicités pertinentes. Pour accepter ou refuser tous les cookies non essentiels, cliquez sur « Accepter » ou « Refuser ». Pour effectuer des choix plus détaillés, cliquez sur « Personnaliser ».

BatchUpdateStandardsControlAssociations

Mode de mise au point
BatchUpdateStandardsControlAssociations - AWS Security Hub
Cette page n'a pas été traduite dans votre langue. Demande de traduction

For a batch of security controls and standards, this operation updates the enablement status of a control in a standard.

Request Syntax

PATCH /associations HTTP/1.1 Content-type: application/json { "StandardsControlAssociationUpdates": [ { "AssociationStatus": "string", "SecurityControlId": "string", "StandardsArn": "string", "UpdatedReason": "string" } ] }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

StandardsControlAssociationUpdates

Updates the enablement status of a security control in a specified standard.

Calls to this operation return a RESOURCE_NOT_FOUND_EXCEPTION error when the standard subscription for the control has StandardsControlsUpdatable value NOT_READY_FOR_UPDATES.

Type: Array of StandardsControlAssociationUpdate objects

Required: Yes

Response Syntax

HTTP/1.1 200 Content-type: application/json { "UnprocessedAssociationUpdates": [ { "ErrorCode": "string", "ErrorReason": "string", "StandardsControlAssociationUpdate": { "AssociationStatus": "string", "SecurityControlId": "string", "StandardsArn": "string", "UpdatedReason": "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.

UnprocessedAssociationUpdates

A security control (identified with SecurityControlId, SecurityControlArn, or a mix of both parameters) whose enablement status in a specified standard couldn't be updated.

Type: Array of UnprocessedStandardsControlAssociationUpdate objects

Errors

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

AccessDeniedException

You don't have permission to perform the action specified in the request.

HTTP Status Code: 403

InternalException

Internal server error.

HTTP Status Code: 500

InvalidAccessException

The account doesn't have permission to perform this action.

HTTP Status Code: 401

InvalidInputException

The request was rejected because you supplied an invalid or out-of-range value for an input parameter.

HTTP Status Code: 400

LimitExceededException

The request was rejected because it attempted to create resources beyond the current AWS account or throttling limits. The error code describes the limit exceeded.

HTTP Status Code: 429

See Also

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

Rubrique suivante :

CreateActionTarget

Rubrique précédente :

BatchUpdateFindings
ConfidentialitéConditions d'utilisation du sitePréférences de cookies
© 2025, Amazon Web Services, Inc. ou ses affiliés. Tous droits réservés.