Files
blue-team-tools/rules/cloud/github/github_new_org_member.yml
T
Nasreddine Bencherchali 95793d73bd Merge PR #4482 From @nasbench - Add New Automation Workflows
chore: update workflows and add quality of life updates and automation to the repository

---------

Co-authored-by: phantinuss <79651203+phantinuss@users.noreply.github.com>
2023-10-18 11:53:44 +02:00

35 lines
1.3 KiB
YAML

title: New Github Organization Member Added
id: 3908d64a-3c06-4091-b503-b3a94424533b
status: experimental
description: Detects when a new member is added or invited to a github organization.
author: Muhammad Faisal
date: 2023/01/29
references:
- https://docs.github.com/en/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#dependabot_alerts-category-actions
tags:
- attack.persistence
- attack.t1136.003
logsource:
product: github
service: audit
definition: 'Requirements: The audit log streaming feature must be enabled to be able to receive such logs. You can enable following the documentation here: https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise#setting-up-audit-log-streaming'
detection:
selection:
action:
- 'org.add_member'
- 'org.invite_member'
condition: selection
fields:
- 'action'
- 'actor'
- 'org'
- 'actor_location.country_code'
- 'transport_protocol_name'
- 'repository'
- 'repo'
- 'repository_public'
- '@timestamp'
falsepositives:
- Organization approved new members
level: informational