Skip to content

feat: make Wazuh access security group a singleton #371

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

Merged
merged 3 commits into from
Apr 1, 2021

Conversation

akash1810
Copy link
Member

What does this change?

We'd only ever want one of these resources defined in a stack as it can be re-used by anything that needs it. This helps keep the overall size of the template down and thus reduces chance of reaching the file size limits of cloudformation.

This change also refactors the security groups, splitting them across multiple files to make them easier to reason about.

Reviewing commit by commit might be easiest.

Does this change require changes to existing projects or CDK CLI?

Yes. Usage of the Wazuh security group would need to change.

How to test

See tests.

How can we measure success?

A simpler API and reduced chance of reaching the file size limits of cloudformation

Have we considered potential risks?

n/a

@akash1810 akash1810 requested a review from a team April 1, 2021 07:40
Copy link
Contributor

@jacobwinch jacobwinch left a comment

Choose a reason for hiding this comment

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

Nice work!

We'd only ever want one of these resources defined in a stack as it can be re-used by anything that needs it. This helps keep the overall size of the template down and thus reduces chance of reaching the file size limits of cloudformation.
@akash1810 akash1810 force-pushed the aa-wazuh-singleton branch from db6a680 to 742c674 Compare April 1, 2021 08:14
@akash1810 akash1810 merged commit 87f6014 into main Apr 1, 2021
@akash1810 akash1810 deleted the aa-wazuh-singleton branch April 1, 2021 08:52
@github-actions
Copy link
Contributor

github-actions bot commented Apr 1, 2021

🎉 This PR is included in version 6.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants