-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Labels
@aws-cdk/aws-logsRelated to Amazon CloudWatch LogsRelated to Amazon CloudWatch Logseffort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p3
Description
Describe the feature
DateOfBirth Data Identifier is missing in the AWS CDK.
The same identifier can be seen in CloudWatch console but not able to retrieve the DateOfBirth value.
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.DataIdentifier.html
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/protect-sensitive-log-data-types-pii.html
Use Case
const dataProtectionPolicy = new logs.DataProtectionPolicy({
name: 'dataprotectionpolicy',
description: 'policy description',
identifiers: [
logs.DataIdentifier.DRIVERSLICENSE_US,
new logs.DataIdentifier('DateOfBirth'),
],
});
Currently, we need to use DataIdentifier('') and hardcode the value.
Proposed Solution
No response
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
2.180.0
Environment details (OS name and version, etc.)
Mac OS
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-logsRelated to Amazon CloudWatch LogsRelated to Amazon CloudWatch Logseffort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p3