General Information
A classic personal access token found in the enterprise credential inventory.Properties
| Property | Type | Description |
|---|---|---|
name | string | The node name used for matching and display. |
displayname | string | The human-readable display name. |
environmentid | string | The identifier of the GitHub environment where this node was collected. |
last_seen | datetime | The timestamp when this node was last observed during collection. |
node_id | string | The stable identifier used as the OpenGraph node ID; this is the native GitHub node ID where available. |
credential_id | integer | GitHub’s ID for this classic personal access token. |
owner_id | integer | GitHub’s numeric ID for the token owner. |
owner_login | string | Login of the token owner. |
scopes | list[string] | OAuth scopes granted to the token. |
credential_state | string | Whether GitHub reports the credential as active, expired, revoked, or deleted. |
expiry_status | string | Whether expiration is scheduled, never, or unknown. |
enterprise_authorized | boolean | Whether the credential is authorized directly for the enterprise. |
authorization_count | integer | Total organization authorizations plus enterprise authorization. |
inventory_as_of | string | Timestamp of the export snapshot used to observe the token. |
created_at | datetime | Token creation time reported by GitHub. |
last_used_at | datetime | Last use time reported by GitHub. |
expires_at | datetime | Token expiration time reported by GitHub. |
authorized_organizations | list[string] | Organizations with a reported credential authorization. |
environment_name | string | Enterprise environment name. |
enterprise_name | string | Enterprise from which the inventory was exported. |
Diagram
Edges
The tables below list edges defined by the GitHub extension only. Additional edges to or from this node may be created by other extensions.
Inbound Edges
| Edge Type | Source Node Types | Traversable |
|---|---|---|
| GH_Contains | GH_Enterprise | ❌ |
| GH_HasPersonalAccessToken | GH_User | ❌ |
Outbound Edges
| Edge Type | Destination Node Types | Traversable |
|---|---|---|
| GH_AuthorizedForOrganization | GH_Organization | ❌ |
Properties
| Property | Type | Description |
|---|---|---|
name | str | - |
displayname | str | - |
environmentid | str | - |
last_seen | datetime | - |
node_id | str | - |
credential_id | int | None | GitHub’s ID for this classic personal access token. |
owner_id | int | None | GitHub’s numeric ID for the token owner. |
owner_login | str | None | Login of the token owner. |
scopes | list[str] | None | OAuth scopes granted to the token. |
credential_state | str | None | Whether GitHub reports the credential as active, expired, revoked, or deleted. |
expiry_status | str | None | Whether expiration is scheduled, never, or unknown. |
enterprise_authorized | bool | None | Whether the credential is authorized directly for the enterprise. |
authorization_count | int | None | Total organization authorizations plus enterprise authorization. |
inventory_as_of | str | None | Timestamp of the export snapshot used to observe the token. |
created_at | datetime | None | Token creation time reported by GitHub. |
last_used_at | datetime | None | Last use time reported by GitHub. |
expires_at | datetime | None | Token expiration time reported by GitHub. |
authorized_organizations | list[str] | None | Organizations with a reported credential authorization. |
environment_name | str | None | Enterprise environment name. |
enterprise_name | str | None | Enterprise from which the inventory was exported. |