Appendix: Audit Events Examples
Audit messages, when logging to sysout (the default), uses formatted JSON string instead of formatted string.
The following provides some examples of audit events; i.e., the content is not an exhaustive catalog of the audit events.
Examples: Authorization Code Flow Events
openid-authorization-initialized
{
"@context" : [
"https://www.w3.org/ns/activitystreams",
"https://schema.inrupt.com/audit/v1.jsonld"
],
"id" : "urn:uuid:ecdf3388-a2ab-4a79-839a-0232871a886a",
"type" : [
"Activity",
"Delegation",
"AuthorizationCodeFlow"
],
"name" : "openid-authorization-initialized",
"summary" : "Initialized an authorization code flow",
"generator" : {
"wasAssociatedWith" : "ess-openid-6f65d964fb-xqgbh",
"type" : [
"SoftwareApplication"
],
"qualifiedAssociation" : "53",
"name" : "inrupt-openid-postgres",
"id" : "https://openid.example.com/"
},
"actor" : [ ],
"object" : [
{
"id" : "https://start.example.com/profile/callback",
"name" : "redirect_uri"
}
],
"instrument" : [
{
"id" : "https://start.example.com/app/id",
"summary" : "Client identifier"
},
{
"type" : [
"SpanContext"
],
"isSampled" : true,
"spanId" : "db81996cd8e3c0c9",
"traceId" : "41e9f8c55d811533bf68b850002c3226",
"name" : "OpenTelemetry Span Context"
}
],
"result" : [ ],
"identifier" : "80502e2f79df477ba81d378162a1cf9d",
"published" : "2023-12-06T01:57:05.631746003Z"
}openid-backend-idp-login
openid-token-requested
Examples: WebID/Pod Provision Events
webid-provisioned
pod-provisioned
provisioned-pod-access-control
Examples: Access Control Resource (ACR) Events
acr-created
acr-updated
acr-deleted
Examples: Resource Lifecycle Events
resource-created
resource-read
resource-updated
resource-deleted
Examples: Access Requests/Grants Lifecycle Events
The following displays some of the events related to access requests & access grants lifecycle.
access-request-created
And the associated (i.e., "identifier" : "a56ec16479774029bc3ee10d4bb2f347") request-authorized event:
access-grant-created
And the associated (i.e., "identifier" : "3e6fd53802cb4f939ace03aec16ac031") request-authorized event:
access-request-read
And the associated (i.e., "identifier" : "3df615dea1c8425f92765f79b40ff149") request-authorized event:
access-grant-read
And the associated (i.e., "identifier" : "bfe04951202643e788eeb569205c060b") request-authorized event:
access-request-verified
Passed Verification Event
And the associated (i.e., "identifier" : "33e2f68ce12a4ea2b5815997c95aca39") request-authorized event:
Failed Verification Event
And the associated (i.e., "identifier" : "f2dd6fa40d9c4b74a30bd1cab02b5abc") request-authorized event:
access-grant-verified
And the associated (i.e., "identifier" : "1f62aae1aa0745b89a2e19cadade449c") request-authorized event:
access-credential-queried
And the associated (i.e., "identifier" : "e14d7c7f65bd461c8063401df3f2b3c3") request-authorized event:
access-grant-revoked
And the associated (i.e., "identifier" : "48348a98ee3f4a50add60836625c77c2") request-authorized event:
revocation-status-read
Last updated