Open jessebs opened 8 months ago
I'm am currently unsure whether this is cdk
bug or cdk-nag
bug
The Backup Plan CloudFormation generated by the example (below) does not include each of the individual DB instances (which the rule checks for), but it includes the Aurora Serverless Cluster.
cdk-nag
cdk
This needs further research.
"BackupPlanDBBackup4C23F628": {
"Type": "AWS::Backup::BackupSelection",
"Properties": {
"BackupPlanId": {
"Fn::GetAtt": [
"BackupPlanA8F64793",
"BackupPlanId"
]
},
"BackupSelection": {
"IamRoleArn": {
"Fn::GetAtt": [
"BackupPlanDBBackupRoleF8772229",
"Arn"
]
},
"Resources": [
{
"Fn::Join": [
"",
[
"arn:",
{
"Ref": "AWS::Partition"
},
":rds:",
{
"Ref": "AWS::Region"
},
":",
{
"Ref": "AWS::AccountId"
},
":cluster:",
{
"Ref": "DatabaseCluster68FC2945"
}
]
]
}
],
"SelectionName": "DBBackup"
}
},
"Metadata": {
"aws:cdk:path": "TestStack/BackupPlan/DBBackup/Resource"
}
},
What is the problem?
I have an Aurora Serverless cluster that I added to my BackupPlan
When running HIPAASecurityChecks, I get the following error for my writer and readers:
Reproduction Steps
What did you expect to happen?
No HIPAA.Security-RDSInBackupPlan errors
What actually happened?
I get multiple RDS Backup Plan Errors
cdk-nag version
2.28.62
Language
Typescript
Other information
No response