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

Move custom function logic out of pubsub_trigger and into it's own function #39

Open
dgwhited opened this issue Jan 8, 2021 · 0 comments

Comments

@dgwhited
Copy link

dgwhited commented Jan 8, 2021

Is your feature request related to a problem? Please describe.
We should move existing logic out of the pubsub_tigger logic so that it is easier to read and template out new remediations.

Describe the solution you'd like
Trigger should check if the resource is in an enabled project, and then call the remediation function that has the custom logic.

Describe alternatives you've considered
With the new allow/deny list logic, all of the custom code goes into a if else block.

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

No branches or pull requests

1 participant