Issue Comment

actionDescriptionSampleRule
issue_comment.destroyA comment on an issue was deleted from the repository.YN
issue_comment.pinnedA comment on an issue was pinned to a repository.NN
issue_comment.unpinnedA comment on an issue was unpinned from a repository.NN
issue_comment.updateA comment on an issue (other than the initial one) changed.YN

issue_comment.destroy

#
Category
issue-comment

Description

A comment on an issue was deleted from the repository.

Documented on GitHub's enterprise audit log reference.

Example Audit Log Entry #

{
  "org_id": 9000002,
  "repo_id": 9000102,
  "actor_id": 9000103,
  "created_at": 1785204762259.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": "issue_comment.destroy",
  "actor_ip": "ip-redacted",
  "business": "example-business",
  "request_id": 9000104,
  "user_agent": "Renovate/43.274.0 (https://example.invalid/renovatebot/example-org-12)",
  "hashed_token": "U1lOVEhFVElDX1RPS0VOX0hBU0hfMDAwOA==",
  "actor_location": {
    "country_code": "XX"
  },
  "operation_type": "remove",
  "programmatic_access_type": "GitHub App server-to-server token"
}

References #

issue_comment.pinned

#
Category
issue-comment

Description

A comment on an issue was pinned to a repository.

Documented on GitHub's enterprise audit log reference.

issue_comment.unpinned

#
Category
issue-comment

Description

A comment on an issue was unpinned from a repository.

Documented on GitHub's enterprise audit log reference.

issue_comment.update

#
Category
issue-comment

Description

A comment on an issue (other than the initial one) changed.

Documented on GitHub's enterprise audit log reference.

Example Audit Log Entry #

{
  "org_id": 9000002,
  "repo_id": 9000105,
  "actor_id": 9000106,
  "created_at": 1780561857471.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": "issue_comment.update",
  "actor_ip": "ip-redacted",
  "business": "example-business",
  "request_id": 9000107,
  "user_agent": "example-label-110 GH Agent vlocal example.invalid/3.2.2 example.invalid/5.2.0 example.invalid/20.20.2 (linux; x64)",
  "hashed_token": "U1lOVEhFVElDX1RPS0VOX0hBU0hfMDAwOQ==",
  "actor_location": {
    "country_code": "XX"
  },
  "operation_type": "modify",
  "programmatic_access_type": "GitHub App server-to-server token"
}

References #