Skip to content
v2.277.0

AutomationRulesFindingFieldsUpdateV2Property Struct ​

Allows you to define the structure for modifying specific fields in security findings.

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 automationRulesFindingFieldsUpdateV2Property: securityhub.CfnAutomationRuleV2.AutomationRulesFindingFieldsUpdateV2Property = {
  comment: 'comment',
  severityId: 123,
  statusId: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_securityhub as securityhub

automation_rules_finding_fields_update_v2_property = securityhub.CfnAutomationRuleV2.AutomationRulesFindingFieldsUpdateV2Property(
    comment="comment",
    severity_id=123,
    status_id=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.securityhub.*;

AutomationRulesFindingFieldsUpdateV2Property automationRulesFindingFieldsUpdateV2Property = AutomationRulesFindingFieldsUpdateV2Property.builder()
        .comment("comment")
        .severityId(123)
        .statusId(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SecurityHub;

var automationRulesFindingFieldsUpdateV2Property = new AutomationRulesFindingFieldsUpdateV2Property {
    Comment = "comment",
    SeverityId = 123,
    StatusId = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

automationRulesFindingFieldsUpdateV2Property := &AutomationRulesFindingFieldsUpdateV2Property{
	Comment: jsii.String("comment"),
	SeverityId: jsii.Number(123),
	StatusId: jsii.Number(123),
}

Properties ​

commentoptionalstringcommentoptionalstrcommentoptionalStringCommentoptionalstringCommentoptional*string #
Notes or contextual information for findings that are modified by the automation rule.
severityIdoptionalnumberseverity_idoptionalint | floatseverityIdoptionalNumberSeverityIdoptionaldoubleSeverityIdoptional*float64 #
The severity level to be assigned to findings that match the automation rule criteria.
statusIdoptionalnumberstatus_idoptionalint | floatstatusIdoptionalNumberStatusIdoptionaldoubleStatusIdoptional*float64 #
The status to be applied to findings that match automation rule criteria.