GitHub-org

25 operations, identified by action in the audit log.

actionDescription
org.add_memberA user joined an organization.
org.advanced_security_disabled_for_new_reposGitHub Advanced Security was disabled for new repositories in an organization.
org.advanced_security_disabled_on_all_reposGitHub Advanced Security was disabled for all repositories in an organization.
org.advanced_security_policy_selected_member_disabledAn enterprise owner prevented GitHub Advanced Security features from being enabled for repositories owned by the organization.
org.block_userAn organization owner blocked a user from accessing the organization's repositories.
org.create_actions_secretA GitHub Actions secret was created for an organization.
org.disable_oauth_app_restrictionsThird-party application access restrictions for an organization were disabled.
org.disable_two_factor_requirementA two-factor authentication requirement was disabled for the organization.
org.invite_memberA new user was invited to join an organization.
org.register_self_hosted_runnerA new self-hosted runner was registered.
org.remove_memberA member was removed from an organization, either manually or due to a two-factor authentication requirement.
org.remove_outside_collaboratorAn outside collaborator was removed from an organization, either manually or due to a two-factor authentication requirement.
org.remove_self_hosted_runnerA self-hosted runner was removed.
org.runner_group_createdA self-hosted runner group was created.
org.runner_group_removedA self-hosted runner group was removed.
org.runner_group_runner_removedThe REST API was used to remove a self-hosted runner from a group.
org.runner_group_runners_addedA self-hosted runner was added to a group.
org.runner_group_runners_updatedA runner group's list of members was updated.
org.runner_group_updatedThe configuration of a self-hosted runner group was changed.
org.secret_scanning_custom_pattern_push_protection_disabledPush protection for a custom pattern for secret scanning was disabled for an organization.
org.secret_scanning_push_protection_disablePush protection for secret scanning was disabled.
org.secret_scanning_push_protection_new_repos_disablePush protection for secret scanning was disabled for all new repositories in the organization.
org.transferAn organization was transferred between enterprise accounts.
org.transfer_outgoingAn organization was transferred between enterprise accounts.
org.update_memberA person's role was changed from owner to member or member to owner.

org.add_member

#
Category
GitHub-org

Description

A user joined an organization.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
EventTypeeqorg.add_member2 ruleselastic
actioneqorg.add_member1 rulepanther, sigma
github.permissioneqadmin1 ruleelastic

Detection Rules #

View all rules referencing this event →

Sigma #

Elastic #

  • New GitHub Owner Added source medium: Detects when a new member is added to a GitHub organization as an owner. This role provides admin level privileges. Any new owner roles should be investigated to determine it's validity. Unauthorized owner roles could indicate compromise within your organization and provide unlimited access to data and settings.
  • New User Added To GitHub Organization source low: A new user was added to a GitHub organization.

Kusto #

org.advanced_security_disabled_for_new_repos

#
Category
GitHub-org

Description

GitHub Advanced Security was disabled for new repositories in an organization.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
actioneqorg.disable_two_factor_requirement1 rulesigma, splunk

Detection Rules #

View all rules referencing this event →

Sigma #

org.advanced_security_disabled_on_all_repos

#
Category
GitHub-org

Description

GitHub Advanced Security was disabled for all repositories in an organization.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
actioneqorg.disable_two_factor_requirement1 rulesigma, splunk

Detection Rules #

View all rules referencing this event →

Sigma #

org.advanced_security_policy_selected_member_disabled

#
Category
GitHub-org

Description

An enterprise owner prevented GitHub Advanced Security features from being enabled for repositories owned by the organization.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
actioneqorg.disable_two_factor_requirement1 rulesigma, splunk

Detection Rules #

View all rules referencing this event →

Sigma #

org.block_user

#
Category
GitHub-org

Description

An organization owner blocked a user from accessing the organization's repositories.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Detection Rules #

View all rules referencing this event →

Elastic #

Kusto #

  • GitHub - User was blocked source medium: Detect activities when a user was blocked on the repository. This query runs every day and its severity is Medium.

YARA-L #

org.create_actions_secret

#
Category
GitHub-org

Description

A GitHub Actions secret was created for an organization.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Detection Rules #

View all rules referencing this event →

Sigma #

org.disable_oauth_app_restrictions

#
Category
GitHub-org

Description

Third-party application access restrictions for an organization were disabled.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
actioneqorg.disable_two_factor_requirement1 rulesigma, splunk

Detection Rules #

View all rules referencing this event →

Sigma #

YARA-L #

org.disable_two_factor_requirement

#
Category
GitHub-org

Description

A two-factor authentication requirement was disabled for the organization.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
Actioneqorg.disable_two_factor_requirement2 ruleskusto

Detection Rules #

View all rules referencing this event →

Sigma #

Kusto #

  • GitHub Two Factor Auth Disable source medium: Two-factor authentication is a process where a user is prompted during the sign-in process for an additional form of identification, such as to enter a code on their cellphone or to provide a fingerprint scan. Two factor authentication reduces the risk of account takeover. Attacker will want to disable such security tools in order to go undetected.
  • NRT GitHub Two Factor Auth Disable source medium: Two-factor authentication is a process where a user is prompted during the sign-in process for an additional form of identification, such as to enter a code on their cellphone or to provide a fingerprint scan. Two factor authentication reduces the risk of account takeover. Attacker will want to disable such security tools in order to go undetected.

YARA-L #

org.invite_member

#
Category
GitHub-org

Description

A new user was invited to join an organization.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
actioneqorg.add_member1 rulepanther, sigma

Detection Rules #

View all rules referencing this event →

Sigma #

Kusto #

YARA-L #

  • GitHub Invitation Sent To Non Company Email Domain source: Detects when an invitation to join a GitHub enterprise or organization is sent to a non-company email address. This rule can be customized to alert you when a GitHub invitation is sent to an unexpected domain i.e. not one of your company's domains used for email.

org.register_self_hosted_runner

#
Category
GitHub-org

Description

A new self-hosted runner was registered.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Detection Rules #

View all rules referencing this event →

Elastic #

  • New GitHub Self Hosted Action Runner source medium: This rule detects the creation of a self-hosted Github runner from a first time seen user.name in the last 5 days. Adversaries may abuse self-hosted runners to execute workflow jobs on customer infrastructure.

org.remove_member

#
Category
GitHub-org

Description

A member was removed from an organization, either manually or due to a two-factor authentication requirement.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Detection Rules #

View all rules referencing this event →

Elastic #

org.remove_outside_collaborator

#
Category
GitHub-org

Description

An outside collaborator was removed from an organization, either manually or due to a two-factor authentication requirement.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Detection Rules #

View all rules referencing this event →

Sigma #

  • Github Outside Collaborator Detected source medium: Detects when an organization member or an outside collaborator is added to or removed from a project board or has their permission level changed or when an owner removes an outside collaborator from an organization or when two-factor authentication is required in an organization and an outside collaborator does not use 2FA or disables 2FA.

org.remove_self_hosted_runner

#
Category
GitHub-org

Description

A self-hosted runner was removed.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Detection Rules #

View all rules referencing this event →

Sigma #

org.runner_group_created

#
Category
GitHub-org

Description

A self-hosted runner group was created.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Detection Rules #

View all rules referencing this event →

Sigma #

org.runner_group_removed

#
Category
GitHub-org

Description

A self-hosted runner group was removed.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Detection Rules #

View all rules referencing this event →

Sigma #

org.runner_group_runner_removed

#
Category
GitHub-org

Description

The REST API was used to remove a self-hosted runner from a group.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Detection Rules #

View all rules referencing this event →

Sigma #

org.runner_group_runners_added

#
Category
GitHub-org

Description

A self-hosted runner was added to a group.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Detection Rules #

View all rules referencing this event →

Sigma #

org.runner_group_runners_updated

#
Category
GitHub-org

Description

A runner group's list of members was updated.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Detection Rules #

View all rules referencing this event →

Sigma #

org.runner_group_updated

#
Category
GitHub-org

Description

The configuration of a self-hosted runner group was changed.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Detection Rules #

View all rules referencing this event →

Sigma #

org.secret_scanning_custom_pattern_push_protection_disabled

#
Category
GitHub-org

Description

Push protection for a custom pattern for secret scanning was disabled for an organization.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Detection Rules #

View all rules referencing this event →

Sigma #

org.secret_scanning_push_protection_disable

#
Category
GitHub-org

Description

Push protection for secret scanning was disabled.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Detection Rules #

View all rules referencing this event →

Sigma #

org.secret_scanning_push_protection_new_repos_disable

#
Category
GitHub-org

Description

Push protection for secret scanning was disabled for all new repositories in the organization.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Detection Rules #

View all rules referencing this event →

Sigma #

org.transfer

#
Category
GitHub-org

Description

An organization was transferred between enterprise accounts.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Detection Rules #

View all rules referencing this event →

Sigma #

org.transfer_outgoing

#
Category
GitHub-org

Description

An organization was transferred between enterprise accounts.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Detection Rules #

View all rules referencing this event →

Sigma #

YARA-L #

org.update_member

#
Category
GitHub-org

Description

A person's role was changed from owner to member or member to owner.

Fields #

NameDescription
actionThe audit-log action string (e.g. repo.create).
actorLogin of the user (or app) that performed the action.
actor_idNumeric ID of the actor.
userLogin of the user the action targeted, when applicable.
orgOrganization in which the action occurred.
repoRepository the action targeted (owner/name), when applicable.
businessEnterprise account, when the org belongs to one.
@timestampTime the event was recorded (epoch ms).
created_atTime the action occurred (epoch ms).
operation_typeOperation class: create, modify, remove, access, transfer, authentication.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
github.permissioneqadmin1 ruleelastic

Detection Rules #

View all rules referencing this event →

Elastic #

  • GitHub Owner Role Granted To User source medium: This rule detects when a member is granted the organization owner role of a GitHub organization. This role provides admin level privileges. Any new owner role should be investigated to determine its validity. Unauthorized owner roles could indicate compromise within your organization and provide unlimited access to data and settings.