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

Whitelisted IPs support #77

Merged
merged 3 commits into from Feb 26, 2019
Merged

Whitelisted IPs support #77

merged 3 commits into from Feb 26, 2019

Conversation

ajvb
Copy link
Contributor

@ajvb ajvb commented Feb 22, 2019

Blocked By: mozilla-services/foxsec-pipeline-contrib#3
Requires a fix in the slackbot db code first, as the pipeline's State object expects the object to be stored as json within the state field.


Integrates with the ip whitelist slackbot by marking alerts as "iprepd exempt". Alerts are stored with metadata but not sent to iprepd.

@ajvb ajvb requested a review from ameihm0912 February 22, 2019 19:53
Remove whitelistedips package and put whitelist checking code in
IprepdIO. Revert optional namespace code.
@ajvb ajvb changed the title [WIP] Whitelisted IPs support Whitelisted IPs support Feb 25, 2019
Copy link

@ameihm0912 ameihm0912 left a comment

Choose a reason for hiding this comment

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

Looks good 👌

Some tests would be good here, we have some examples of using the datastore emulator in https://github.com/mozilla-services/foxsec-pipeline/blob/master/src/test/java/com/mozilla/secops/state/StateTest.java but can add those later

@ameihm0912 ameihm0912 merged commit ea806ec into master Feb 26, 2019
@ameihm0912 ameihm0912 deleted the ajvb/whitelistedips branch February 26, 2019 02:08
@ajvb ajvb mentioned this pull request Feb 26, 2019
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

2 participants