Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to address some cdk-nag warnings #159

Merged
merged 2 commits into from
Oct 28, 2024
Merged

Conversation

dustins
Copy link
Contributor

@dustins dustins commented Oct 28, 2024

Addresses lowest hanging fruit for CDK nag warnings. Reduces nags to 299 from 355.

  • added DQL for lambdas w/enforced SSL
  • added limits for lambda concurrency

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- added dlq for lambdas w/enforced ssl
- added limits for lambda concurrency
@@ -120,6 +120,6 @@ describe.each(regions)('Chat Nag Pack Tests | Region Test: %s', (awsRegion) => {

test('NIST800.53r5 CDK NAG Errors', () => {
const errors = Annotations.fromStack(stack).findError('*', Match.stringLikeRegexp('NIST.*'));
expect(errors.length).toBe(14);
expect(errors.length).toBe(4);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed due to reduced nag warnings

@@ -112,6 +112,6 @@ describe.each(regions)('API Core Nag Pack Tests | Region Test: %s', (awsRegion)

test('NIST800.53r5 CDK NAG Errors', () => {
const errors = Annotations.fromStack(stack).findError('*', Match.stringLikeRegexp('NIST.*'));
expect(errors.length).toBe(7);
expect(errors.length).toBe(5);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed due to reduced nag warnings

@estohlmann estohlmann merged commit 634a840 into develop Oct 28, 2024
4 checks passed
@estohlmann estohlmann deleted the fix/cdk-nag-2024-10-28 branch October 28, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants