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

Add victorops as an output in streamalert. #1304

Merged
merged 6 commits into from
Feb 10, 2021

Conversation

zachzeid
Copy link
Contributor

to:
cc: @airbnb/streamalert-maintainers
related to:
resolves:

Background

Increasing coverage of outputs to include VictorOps

We use VictorOps internally, and we wanted specific alerts so that Security Operations can be paged and begin triaging.

Changes

Added victorops.py as an output in streamalert/outputs

Testing

Tested and deployed in local instance of Streamalert

"record": publication['record']
}

LOGGER.critical('Sending alert to VictorOps')
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe change to LOGGER.info


LOGGER.critical('Sending alert to VictorOps')
url = creds['url'] + '/' + creds['routing_key']
resp = self._post_request(
Copy link
Contributor

Choose a reason for hiding this comment

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

Any value to use _post_request_retry instead?

@Ryxias Ryxias changed the base branch from master to release-3-5-0 February 10, 2021 05:23
@Ryxias
Copy link
Contributor

Ryxias commented Feb 10, 2021

Changed base onto release-3-5-0

@Ryxias Ryxias merged commit 6097c7e into airbnb:release-3-5-0 Feb 10, 2021
ryandeivert pushed a commit that referenced this pull request Nov 4, 2021
* Add victorops as an output in streamalert.

* linting fixes.

* Update test_output_base to include victorops

* Missing comma

Co-authored-by: Zach Zeid <[email protected]>
Co-authored-by: Ryxias <[email protected]>
@ryandeivert ryandeivert added this to the 3.5.0 milestone Nov 4, 2021
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.

None yet

3 participants