panther-labs / panther-analysis

Built-in Panther detection rules and policies
https://panther.com/
Apache License 2.0
339 stars 173 forks source link

Update Internal Automations #1396

Closed ben-githubs closed 3 weeks ago

ben-githubs commented 3 weeks ago

Background

Making some updates to our internal automations:

Changes

Testing

ben-githubs commented 3 weeks ago

@le4ker should we make check-packs, check-deprecated, and check-mitre required for PRs to the develop branch? Or is it sufficient to perform the checks and let the reviewer determine if a failure is acceptable?

le4ker commented 3 weeks ago

Or is it sufficient to perform the checks and let the reviewer determine if a failure is acceptable?

If an action fails, then it should be actionable 😄 In which cases a failure would be acceptable? I'm asking to understand what's happening better.

ben-githubs commented 3 weeks ago

Personally, I am of the opinion that they should just be required and there's no reason they should fail and we still merge, but I recognize edge cases exist - perhaps we discover something wrong with the action that causes it to fail, or check-packs fails but that's okay because we have another PR open that's overhauling them anyway and will fix it

le4ker commented 3 weeks ago

Personally, I am of the opinion that they should just be required and there's no reason they should fail and we still merge, but I recognize edge cases exist - perhaps we discover something wrong with the action that causes it to fail, or check-packs fails but that's okay because we have another PR open that's overhauling them anyway and will fix it

Then let's have them as required, so we can surface and prioritize covering any edge cases they have 😄