Closed bmbeverst closed 3 months ago
@bmbeverst thanks for the PR! Since you've provided logic for identifying the actor and the entity, we figured we could update the titles to be even more descriptive of the event. However, I'm concerned that some of our unit test events are missing information - in particular, I'm curious if a permission_assigned
event indicates what permissions were granted. Do you have access to one of the events, and could you share the structure so we can add update the unit test and title?
@ben-githubs That would be great! I am back from vacation.
Unluckily, I do not have any permission_assigned
events, search for the last 3 months. And I don't have a test slack workspace to create a test event with. There appears to be a few sets of permissions as well, roles and account types.
Understood Brooks! I'll make a note to followup on those tests at a later date, but otherwise we'll merge this to avoid holding the logic changes up!
Background
Updating the Slack Audit log UserPrivilegeEscalation to correctly user target instead of actor. We got alerts for our IT team promoted to Admin or Owner. Realized it was an error in the alert and corrected it.
Changes
USER_PRIV_ESC_ACTIONS
for alert Titlesaction
to improve readability.Testing
pipenv run panther_analysis_tool test --skip-disabled-tests --sort-test-results