Skip to content

Commit

Permalink
group events by user id, github enterprise name, and github org name
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 627429445
  • Loading branch information
threat-punter authored and copybara-github committed Apr 23, 2024
1 parent e54ae8a commit 897a87e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ rule github_organization_removed_from_enterprise {
$github.metadata.product_event_type = "business.remove_organization"
$github.principal.user.userid = $user_id
$github.target.user.company_name = $github_enterprise_name
$github.target.administrative_domain = $github_repo_name
$github.target.administrative_domain = $github_org_name

match:
$user_id, $github_enterprise_name, $github_repo_name over 30m
$user_id, $github_enterprise_name, $github_org_name over 30m

outcome:
$risk_score = max(65)
Expand Down

0 comments on commit 897a87e

Please sign in to comment.