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

Fix/ben/panther audit dynamic params #990

Merged
merged 4 commits into from
Dec 8, 2023

Conversation

ben-githubs
Copy link
Contributor

Background

In the past, Panther updated it's audit log structure to place actionParams.input in actionParams.dynamic.input instead. Apparently some of our rules didn't get updated to reflect that, and caused errors.

Changes

  • updated rule logic to handle cases where dynamic is used, and cases where it isn't
  • updated the rule test cases to include the dyanamic field
  • updated Panther.Sensitive.Role - nonetype error to have the proper indentation (for STYLE)

Testing

  • make lint and make test

Panther Audit rules now handle cases where audit logs have the `dynamic`
input field, and cases where they don't (legacy). Also updated some test
cases to include the field.
@ben-githubs ben-githubs requested review from a team December 6, 2023 00:09
@ben-githubs ben-githubs merged commit ca86dd4 into main Dec 8, 2023
3 checks passed
@ben-githubs ben-githubs deleted the fix/ben/panther_audit_dynamic_params branch December 8, 2023 17:42
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.

2 participants