Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow publishing only CLEAN or only INFECTED results #78
This change allows only publishing to SNS if the scan result is CLEAN or INFECTED. By default it will publish both which was the previous default.
Background: My company doesn't want to know if the results are CLEAN. They only want notifications if the results are INFECTED which will kick off additional work for our infrastructure team.
The alternative approach I considered was having an SNS topic ARN for CLEAN and one for INFECTED so that they could be treated differently. However this seemed like it would be backwards incompatible and I don't know the project's tolerance for that kind of change.