Organization Domain

actionDescriptionSampleRule
organization_domain.approveA domain was approved for an organization.NN
organization_domain.createA domain was added to an organization.YN
organization_domain.destroyA domain was removed from an organization.YN
organization_domain.verifyA domain was verified for an organization.NN

organization_domain.approve

#
Category
organization-domain

Description

A domain was approved for an organization.

Documented on GitHub's enterprise audit log reference.

organization_domain.create

#
Category
organization-domain

Description

A domain was added to an organization.

Documented on GitHub's enterprise audit log reference.

Example Audit Log Entry #

{
  "@timestamp": 1783955171246,
  "_document_id": "U1lOX0RPQ18wMDAwMDAwMDAwMDAwMjQ=",
  "action": "organization_domain.create",
  "actor": "user",
  "actor_id": 9000002,
  "actor_is_bot": false,
  "actor_location": {
    "country_code": "XX"
  },
  "business": "example-business",
  "business_id": 9000003,
  "created_at": 1783955171246,
  "domain_name": "dw-harn-6043cfc2.example.com",
  "hashed_token": "U1lOVEhFVElDX1RPS0VOX0hBU0hfMDAwMQ==",
  "operation_type": "create",
  "org": "example-org",
  "org_id": 9000004,
  "owner": "example-business-3",
  "owner_type": "User",
  "programmatic_access_type": "Personal access token (classic)",
  "request_access_security_header": null,
  "request_id": "94CE:3FE560:EE0A540:F2C78F0:6A54FEE3",
  "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 #

organization_domain.destroy

#
Category
organization-domain

Description

A domain was removed from an organization.

Documented on GitHub's enterprise audit log reference.

Example Audit Log Entry #

{
  "@timestamp": 1783955171531,
  "_document_id": "U1lOX0RPQ18wMDAwMDAwMDAwMDAwMjM=",
  "action": "organization_domain.destroy",
  "actor": "user",
  "actor_id": 9000002,
  "actor_is_bot": false,
  "actor_location": {
    "country_code": "XX"
  },
  "business": "example-business",
  "business_id": 9000003,
  "created_at": 1783955171531,
  "domain_name": "dw-harn-6043cfc2.example.com",
  "hashed_token": "U1lOVEhFVElDX1RPS0VOX0hBU0hfMDAwMQ==",
  "operation_type": "remove",
  "org": "example-org",
  "org_id": 9000004,
  "owner": "example-business-3",
  "owner_type": "User",
  "programmatic_access_type": "Personal access token (classic)",
  "request_access_security_header": null,
  "request_id": "94CE:3FE560:EE0A6FE:F2C7AAC:6A54FEE3",
  "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 #

organization_domain.verify

#
Category
organization-domain

Description

A domain was verified for an organization.

Documented on GitHub's enterprise audit log reference.