Comments (1)
This is what a compliant CfnDBCluster
should look like.
new CfnDBCluster(stack, 'rDatabaseCluster', {
masterUsername: SecretValue.secretsManager('foo').toString(),
masterUserPassword: SecretValue.secretsManager('bar').toString(),
enableCloudwatchLogsExports: [
'authenticate',
'createIndex',
'dropCollection',
],
});
It doesn't look like the L2 construct enableAuditLogsToCloudWatch covers this use case. You'll have to use a property override + suppression to remediate the issue.
Additionally, I suggest opening up a feature request on the cdk repo to have this resolved in the L2
from cdk-nag.
Related Issues (20)
- use cdk-nag in unit test (jest) HOT 5
- bug: EC2EBSVolumeEncrypted (AwsSolutions-EC26): Non compliant when no volumes are defined HOT 1
- bug: CDK NAG Suppression fails for DynamoDB with replication regions for Global Tables HOT 2
- bug: cannot suppress Resource::* on IAM Role with managed policy that uses *-Resource HOT 2
- feat: nag pack that covers all of AWS FSBP HOT 1
- Cannot detect any warnings or errors when running cdk synth HOT 6
- bug: The NAG Report outputs a Compliance: UNKNOWN rows. HOT 4
- bug: AwsSolutions-L1 flags Python 3.11 runtime as not the latest HOT 6
- What flag on my opensearch cluster should I change to fix: AwsSolutions-OS3 HOT 1
- The Security Group allows for 0.0.0.0/0 or ::/0 inbound access. in CDK HOT 5
- bug: spurious AwsSolutions-SMG4 with aws-cdk-lib >= 2.116.0 HOT 2
- bug: SecretsManagerRotationEnabled is non compliant even if rotation is configured after cdk v2.116
- doc: broken references and typos in log messages
- Need the correct compliance and non-compliance test cases for the typescript-cdk rules HOT 1
- Need the compliance and non-compliance test cases for the typescript-cdk rules HOT 1
- bug: AwsSolutions-COG1 fails even though password policy meets the requirement HOT 1
- question: AwsSolutions-COG1 doesn't check requireLowercase configuration HOT 1
- Need the compliance and non-compliance test cases for the typescript-cdk rulesshort issue description HOT 1
- doc: AwsSolutions-CFR6 conflicts with AWS recommendation HOT 5
- bug: CodeBuildProjectSourceRepoUrl is out of date HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cdk-nag.