Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Stack, StackProps, aws_securityhub as securityhub } from 'aws-cdk-lib';
import { Construct } from 'constructs';
import { CfnAutomationRule } from 'aws-cdk-lib/aws-securityhub';
import AutomationRulesFindingFiltersProperty = CfnAutomationRule.AutomationRulesFindingFiltersProperty;
import { Groups } from '../../config';

/**
* Configures AWS Security Hub automation rules in the delegated admin account
Expand Down Expand Up @@ -54,12 +55,10 @@ export class SecurityHubAutomationRulesStack extends Stack {
workflow: {
status: 'SUPPRESSED',
},
// This is not working due to https://github.com/aws/aws-cdk/issues/26749
// The workaround described in the issue cannot be used because the LZA validation of the CloudFormation template fails
// note: {
// updatedBy: AdministratorTeamName,
// text: description,
// },
note: {
updatedBy: Groups.awsAdministrator,
text: description,
},
},
type: 'FINDING_FIELDS_UPDATE',
},
Expand Down
Loading