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

Write integration tests between the pipeline and cloud functions in contrib/ #362

Open
ajvb opened this issue Apr 6, 2020 · 0 comments
Open

Comments

@ajvb
Copy link
Contributor

ajvb commented Apr 6, 2020

We should write tooling to support integration tests between the cloud functions in contrib/ and the pipeline code.

Some examples:

  • Test that Guardduty findings get processed through Gatekeeper, get sent to bugzilla-alert-manager, and create a new bug
  • Test that a new auth event for an unknown IP gets an alert from Authprofile and gets sent to slackbot-background

There is currently not emulator tool for Cloud Functions written in Go, but these functions are written as a library, so wiring up our own runner for them should be easy enough (this is also how some of the unit tests work for the cloud functions).

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

No branches or pull requests

1 participant