Skip to content
v2.275.0

AutomationRulesActionProperty Struct ​

One or more actions that AWS Security Hub CSPM takes when a finding matches the defined criteria of a rule.

Example ​

ts
// 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';
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 ​

findingFieldsUpdateIResolvable | CfnAutomationRule.AutomationRulesFindingFieldsUpdatePropertyfinding_fields_updatetyping.Union[IResolvable, AutomationRulesFindingFieldsUpdateProperty]findingFieldsUpdateIResolvableFindingFieldsUpdateIResolvableFindingFieldsUpdateinterface{}required#
Specifies that the automation rule action is an update to a finding field.
typestringtypestrtypeStringTypestringType*stringrequired#
Specifies the type of action that Security Hub CSPM takes when a finding matches the defined criteria of a rule.