Skip to content

Commit

Permalink
fix(logs): DataProtectionPolicy not displaying properly in the console
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkwat committed Aug 12, 2023
1 parent 2f10e7e commit 7a2a163
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
"Type": "AWS::Logs::LogGroup",
"Properties": {
"DataProtectionPolicy": {
"name": "policy-name",
"description": "policy description",
"version": "2021-06-01",
"statement": [
"Name": "policy-name",
"Description": "policy description",
"Version": "2021-06-01",
"Statement": [
{
"sid": "audit-statement-cdk",
"dataIdentifier": [
"Sid": "audit-statement-cdk",
"DataIdentifier": [
{
"Fn::Join": [
"",
Expand All @@ -49,16 +49,16 @@
]
}
],
"operation": {
"audit": {
"findingsDestination": {
"cloudWatchLogs": {
"logGroup": {
"Operation": {
"Audit": {
"FindingsDestination": {
"CloudWatchLogs": {
"LogGroup": {
"Ref": "LogGroupLambdaAuditF8F47F46"
}
},
"s3": {
"bucket": {
"S3": {
"Bucket": {
"Ref": "auditbucketidE6660EBD"
}
}
Expand All @@ -67,8 +67,8 @@
}
},
{
"sid": "redact-statement-cdk",
"dataIdentifier": [
"Sid": "redact-statement-cdk",
"DataIdentifier": [
{
"Fn::Join": [
"",
Expand All @@ -94,9 +94,9 @@
]
}
],
"operation": {
"deidentify": {
"maskConfig": {}
"Operation": {
"Deidentify": {
"MaskConfig": {}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@
"aws:cdk:cloudformation:type": "AWS::Logs::LogGroup",
"aws:cdk:cloudformation:props": {
"dataProtectionPolicy": {
"name": "policy-name",
"description": "policy description",
"version": "2021-06-01",
"statement": [
"Name": "policy-name",
"Description": "policy description",
"Version": "2021-06-01",
"Statement": [
{
"sid": "audit-statement-cdk",
"dataIdentifier": [
"Sid": "audit-statement-cdk",
"DataIdentifier": [
{
"Fn::Join": [
"",
Expand All @@ -97,16 +97,16 @@
]
}
],
"operation": {
"audit": {
"findingsDestination": {
"cloudWatchLogs": {
"logGroup": {
"Operation": {
"Audit": {
"FindingsDestination": {
"CloudWatchLogs": {
"LogGroup": {
"Ref": "LogGroupLambdaAuditF8F47F46"
}
},
"s3": {
"bucket": {
"S3": {
"Bucket": {
"Ref": "auditbucketidE6660EBD"
}
}
Expand All @@ -115,8 +115,8 @@
}
},
{
"sid": "redact-statement-cdk",
"dataIdentifier": [
"Sid": "redact-statement-cdk",
"DataIdentifier": [
{
"Fn::Join": [
"",
Expand All @@ -142,9 +142,9 @@
]
}
],
"operation": {
"deidentify": {
"maskConfig": {}
"Operation": {
"Deidentify": {
"MaskConfig": {}
}
}
}
Expand Down

0 comments on commit 7a2a163

Please sign in to comment.