Commit Comment
| action | Description | Sample | Rule |
|---|---|---|---|
| commit_ | A commit comment was deleted. | Y | N |
| commit_ | A commit comment was updated. | Y | N |
commit_comment.destroy
#Description
A commit comment was deleted.
Documented on GitHub's enterprise audit log reference.Example Audit Log Entry #
{
"@timestamp": 1783909291603,
"_document_id": "U1lOX0RPQ18wMDAwMDAwMDAwMDAwOTQ=",
"action": "commit_comment.destroy",
"actor": "user",
"actor_id": 9000002,
"actor_is_bot": false,
"actor_location": {
"country_code": "XX"
},
"business": "example-business",
"business_id": 9000003,
"created_at": 1783909291603,
"hashed_token": "U1lOVEhFVElDX1RPS0VOX0hBU0hfMDAwMQ==",
"operation_type": "remove",
"org": "example-org",
"org_id": 9000004,
"programmatic_access_type": "Personal access token (classic)",
"public_repo": false,
"repo": "user/example-repo",
"repo_id": 9000014,
"request_access_security_header": null,
"request_id": "9788:205095:A9EF8DD:ADB6F26:6A544BAB",
"token_id": 9000006,
"token_scopes": "admin:enterprise,admin:gpg_key,admin:org,admin:org_hook,admin:public_key,admin:repo_hook,admin:ssh_signing_key,audit_log,codespace,copilot,delete:packages,delete_repo,gist,notifications,project,repo,user,workflow,write:discussion,write:network_configurations,write:packages",
"user_agent": "python-requests/2.34.2"
}
References #
commit_comment.update
#Description
A commit comment was updated.
Documented on GitHub's enterprise audit log reference.Example Audit Log Entry #
{
"org_id": 9000002,
"repo_id": 9000027,
"actor_id": 9000028,
"created_at": 1785246393894.0,
"business_id": 9000005,
"public_repo": false,
"actor_is_bot": true,
"actor_is_agent": false,
"org": "example-org",
"repo": "user/example-repo",
"actor": "user",
"action": "commit_comment.update",
"actor_ip": "ip-redacted",
"business": "example-business",
"request_id": 9000029,
"user_agent": "PyGithub/Python",
"hashed_token": "U1lOVEhFVElDX1RPS0VOX0hBU0hfMDAwMw==",
"actor_location": {
"country_code": "XX"
},
"operation_type": "modify",
"programmatic_access_type": "GitHub App server-to-server token"
}
References #