GitHub-git

2 operations, identified by action in the audit log.

actionDescription
git.cloneA repository was cloned. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.
git.pushChanges were pushed to a repository. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.

git.clone

#
Category
GitHub-git

Description

A repository was cloned. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.

Logged only when the organization or enterprise has Git-events audit logging enabled; absent by default.

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
EventTypeeqgit.clone2 ruleselastic
github.repository_publiceqfalse2 ruleselastic
github.programmatic_access_typeinFine-grained personal access token1 ruleelastic
github.programmatic_access_typeinOAuth access token1 ruleelastic

Detection Rules #

View all rules referencing this event →

Elastic #

YARA-L #

git.push

#
Category
GitHub-git

Description

Changes were pushed to a repository. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.

Logged only when the organization or enterprise has Git-events audit logging enabled; absent by default.

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.repository_publiceqfalse1 ruleelastic

Detection Rules #

View all rules referencing this event →

Elastic #

  • Github Activity on a Private Repository from an Unusual IP source low: Detects when there is activity on a private GitHub repository from an unusual IP address. Adversaries may access private repositories from unfamiliar IPs to exfiltrate sensitive code or data, potentially indicating a compromise or unauthorized access.↳ also matches git.clone
  • GitHub Actions Unusual Bot Push to Repository source low: Detects when the github-actions[bot] pushes code to a repository where it has not performed this behavior before in a certain time window. This may indicate a supply chain attack where malicious code running in a CI workflow attempts to modify repository contents, such as injecting backdoor workflow files.