aws-cdk-lib.aws_securityhub.CfnAutomationRule.AutomationRulesActionProperty

interface AutomationRulesActionProperty

LanguageType name
.NETAmazon.CDK.AWS.SecurityHub.CfnAutomationRule.AutomationRulesActionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssecurityhub#CfnAutomationRule_AutomationRulesActionProperty
Javasoftware.amazon.awscdk.services.securityhub.CfnAutomationRule.AutomationRulesActionProperty
Pythonaws_cdk.aws_securityhub.CfnAutomationRule.AutomationRulesActionProperty
TypeScript aws-cdk-lib » aws_securityhub » CfnAutomationRule » AutomationRulesActionProperty

One or more actions to update finding fields if a finding matches the defined criteria of the rule.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityhub as securityhub } from 'aws-cdk-lib';

declare const id: any;
declare const updatedBy: any;
const automationRulesActionProperty: securityhub.CfnAutomationRule.AutomationRulesActionProperty = {
  findingFieldsUpdate: {
    confidence: 123,
    criticality: 123,
    note: {
      text: 'text',
      updatedBy: updatedBy,
    },
    relatedFindings: [{
      id: id,
      productArn: 'productArn',
    }],
    severity: {
      label: 'label',
      normalized: 123,
      product: 123,
    },
    types: ['types'],
    userDefinedFields: {
      userDefinedFieldsKey: 'userDefinedFields',
    },
    verificationState: 'verificationState',
    workflow: {
      status: 'status',
    },
  },
  type: 'type',
};

Properties

NameTypeDescription
findingFieldsUpdateIResolvable | AutomationRulesFindingFieldsUpdatePropertySpecifies that the automation rule action is an update to a finding field.
typestringSpecifies that the rule action should update the Types finding field.

findingFieldsUpdate

Type: IResolvable | AutomationRulesFindingFieldsUpdateProperty

Specifies that the automation rule action is an update to a finding field.


type

Type: string

Specifies that the rule action should update the Types finding field.

The Types finding field classifies findings in the format of namespace/category/classifier. For more information, see Types taxonomy for ASFF in the AWS Security Hub User Guide .