aws-cdk-lib.aws_securityhub.CfnAutomationRule.AutomationRulesFindingFieldsUpdateProperty

interface AutomationRulesFindingFieldsUpdateProperty

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

Identifies the finding fields that the automation rule action updates when a finding matches the defined criteria.

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 automationRulesFindingFieldsUpdateProperty: securityhub.CfnAutomationRule.AutomationRulesFindingFieldsUpdateProperty = {
  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',
  },
};

Properties

NameTypeDescription
confidence?numberThe rule action updates the Confidence field of a finding.
criticality?numberThe rule action updates the Criticality field of a finding.
note?IResolvable | NoteUpdatePropertyThe rule action will update the Note field of a finding.
relatedFindings?IResolvable | IResolvable | RelatedFindingProperty[]The rule action will update the RelatedFindings field of a finding.
severity?IResolvable | SeverityUpdatePropertyThe rule action will update the Severity field of a finding.
types?string[]The rule action updates the Types field of a finding.
userDefinedFields?IResolvable | { [string]: string }The rule action updates the UserDefinedFields field of a finding.
verificationState?stringThe rule action updates the VerificationState field of a finding.
workflow?IResolvable | WorkflowUpdatePropertyThe rule action will update the Workflow field of a finding.

confidence?

Type: number (optional)

The rule action updates the Confidence field of a finding.


criticality?

Type: number (optional)

The rule action updates the Criticality field of a finding.


note?

Type: IResolvable | NoteUpdateProperty (optional)

The rule action will update the Note field of a finding.


relatedFindings?

Type: IResolvable | IResolvable | RelatedFindingProperty[] (optional)

The rule action will update the RelatedFindings field of a finding.


severity?

Type: IResolvable | SeverityUpdateProperty (optional)

The rule action will update the Severity field of a finding.


types?

Type: string[] (optional)

The rule action updates the Types field of a finding.


userDefinedFields?

Type: IResolvable | { [string]: string } (optional)

The rule action updates the UserDefinedFields field of a finding.


verificationState?

Type: string (optional)

The rule action updates the VerificationState field of a finding.


workflow?

Type: IResolvable | WorkflowUpdateProperty (optional)

The rule action will update the Workflow field of a finding.