Selecione suas preferências de cookies

Usamos cookies essenciais e ferramentas semelhantes que são necessárias para fornecer nosso site e serviços. Usamos cookies de desempenho para coletar estatísticas anônimas, para que possamos entender como os clientes usam nosso site e fazer as devidas melhorias. Cookies essenciais não podem ser desativados, mas você pode clicar em “Personalizar” ou “Recusar” para recusar cookies de desempenho.

Se você concordar, a AWS e terceiros aprovados também usarão cookies para fornecer recursos úteis do site, lembrar suas preferências e exibir conteúdo relevante, incluindo publicidade relevante. Para aceitar ou recusar todos os cookies não essenciais, clique em “Aceitar” ou “Recusar”. Para fazer escolhas mais detalhadas, clique em “Personalizar”.

AWS::SecurityHub::SecurityControl

Modo de foco
AWS::SecurityHub::SecurityControl - AWS CloudFormation
Esta página não foi traduzida para seu idioma. Solicitar tradução
Filtrar visualização

The AWS::SecurityHub::SecurityControl resource specifies custom parameter values for an AWS Security Hub control. For a list of controls that support custom parameters, see Security Hub controls reference. You can also use this resource to specify the use of default parameter values for a control. For more information about custom parameters, see Custom control parameters in the AWS Security Hub User Guide.

Tags aren't supported for this resource.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::SecurityHub::SecurityControl", "Properties" : { "LastUpdateReason" : String, "Parameters" : {Key: Value, ...}, "SecurityControlArn" : String, "SecurityControlId" : String } }

YAML

Type: AWS::SecurityHub::SecurityControl Properties: LastUpdateReason: String Parameters: Key: Value SecurityControlArn: String SecurityControlId: String

Properties

LastUpdateReason

The most recent reason for updating the customizable properties of a security control. This differs from the UpdateReason field of the BatchUpdateStandardsControlAssociations API, which tracks the reason for updating the enablement status of a control. This field accepts alphanumeric characters in addition to white spaces, dashes, and underscores.

Required: No

Type: String

Pattern: ^([^-]|[-_ a-zA-Z0-9])+$

Update requires: No interruption

Parameters

An object that identifies the name of a control parameter, its current value, and whether it has been customized.

Required: Yes

Type: Object of ParameterConfiguration

Update requires: No interruption

SecurityControlArn

The Amazon Resource Name (ARN) for a security control across standards, such as arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. This parameter doesn't mention a specific standard.

Required: No

Type: String

Pattern: .*\S.*

Update requires: No interruption

SecurityControlId

The unique identifier of a security control across standards. Values for this field typically consist of an AWS service name and a number, such as APIGateway.3.

Required: No

Type: String

Pattern: .*\S.*

Update requires: Replacement

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the identifier of the security control. For example, Config.1.

For more information about using the Ref function, see Ref.

Examples

Configuring control parameters

This example configures a parameter for the control ACM.1.

JSON

{ "Description": "Example template to configure control parameters", "Resources": { "ExampleSecurityControl": { "Type": "AWS::SecurityHub::SecurityControl", "Properties": { "SecurityControlId": "ACM.1", "Parameters": { "daysToExpiration": { "ValueType": "CUSTOM", "Value": { "Integer": 15 } } }, "LastUpdateReason": "Internal compliance requirement" } } } }

YAML

Description: Example template to configure control parameters Resources: ExampleSecurityControl: Type: 'AWS::SecurityHub::SecurityControl' Properties: SecurityControlId: 'ACM.1' Parameters: daysToExpiration: ValueType: 'CUSTOM' Value: Integer: 15 LastUpdateReason: 'Internal compliance requirement'

Nesta página

PrivacidadeTermos do sitePreferências de cookies
© 2025, Amazon Web Services, Inc. ou suas afiliadas. Todos os direitos reservados.