Appendix: Audit Events Examples#

Starting in 2.2, 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.

Note

Audit messages are async.

Examples: Service Startup/Shutdown Events#

service-started#

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:f762e7da-4716-4ed1-9fef-6674c0d5b314",
   "type" : [
      "Activity"
   ],
   "name" : "service-started",
   "summary" : "Service inrupt-provision-postgres-s3 has started up",
   "generator" : {
      "qualifiedAssociation" : "1",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-pod-provision-b984d649b-2q8xr",
      "id" : "https://provision.example.com/",
      "name" : "inrupt-provision-postgres-s3"
   },
   "actor" : [ ],
   "object" : [
      {
         "name" : "quarkus",
         "qualifiedAssociation" : "2.2.0"
      }
   ],
   "instrument" : [ ],
   "result" : [ ],
   "identifier" : "ee61bf8ac01c41f7811debe09d84b0e0",
   "published" : "2023-12-06T01:44:47.218214562Z"
}

service-shutdown#

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:058e7fb3-bd7b-48b8-aaf4-6a05f3acc243",
   "type" : [
      "Activity"
   ],
   "name" : "service-shutdown",
   "summary" : "Service inrupt-authorization-acp-postgres has shutdown",
   "generator" : {
      "id" : "https://authorization.example.com/",
      "name" : "inrupt-authorization-acp-postgres",
      "qualifiedAssociation" : "19",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-authorization-acp-65cbb8b9db-862hl"
   },
   "actor" : [ ],
   "object" : [
      {
         "qualifiedAssociation" : "2.2.0",
         "name" : "quarkus"
      }
   ],
   "instrument" : [ ],
   "result" : [ ],
   "identifier" : "cb2a1dbe0ae44e7fae1151d9889c7cab",
   "published" : "2023-12-06T02:55:12.805148115Z"
}

Examples: Authorization Code Flow Events#

openid-authorization-initialized#

Note

The actor field is empty because the agent has yet to log in.

{
   "@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#

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:bbcc4b78-7571-4ed5-935b-baa6ca2104a7",
   "type" : [
      "Activity",
      "Delegation",
      "AuthorizationCodeFlow"
   ],
   "name" : "openid-backend-idp-login",
   "summary" : "Agent has successfully logged in through backend IdP",
   "generator" : {
      "wasAssociatedWith" : "ess-openid-6f65d964fb-xqgbh",
      "type" : [
         "SoftwareApplication"
      ],
      "qualifiedAssociation" : "53",
      "name" : "inrupt-openid-postgres",
      "id" : "https://openid.example.com/"
   },
   "actor" : [
      {
         "name" : "owliverowner",
         "type" : [
            "Agent"
         ]
      }
   ],
   "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" : "7758e20bebe9771b",
         "traceId" : "ccbcc02196bff3f965569426e95a0ffb",
         "name" : "OpenTelemetry Span Context"
      }
   ],
   "result" : [ ],
   "identifier" : "f39c96f3beed4cf2b15777de4bfb8a5a",
   "published" : "2023-12-06T01:57:24.796591586Z"
}

openid-token-requested#

Tip

The openid-token-requested occurs for both new and refresh token requests. The summary field specifies whether the event is for a new or a refresh token.

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:d58b7a48-99b1-44b7-adcf-b9078d5951a6",
   "type" : [
      "Activity",
      "Delegation",
      "AuthorizationCodeFlow"
   ],
   "name" : "openid-token-requested",
   "summary" : "A new token was requested via the authorization code flow",
   "generator" : {
      "wasAssociatedWith" : "ess-openid-6f65d964fb-xqgbh",
      "type" : [
         "SoftwareApplication"
      ],
      "qualifiedAssociation" : "56",
      "name" : "inrupt-openid-postgres",
      "id" : "https://openid.example.com/"
   },
   "actor" : [
      {
         "id" : "https://id.example.com/owliverowner",
         "type" : [
            "Agent"
         ]
      }
   ],
   "object" : [
      {
         "scope" : "webid openid",
         "name" : "authorization_code"
      }
   ],
   "instrument" : [
      {
         "id" : "https://start.example.com/app/id",
         "summary" : "Client identifier"
      },
      {
         "isSampled" : true,
         "name" : "OpenTelemetry Span Context",
         "parentId" : "21fa744eb09a12b4",
         "traceId" : "9218d3aaf044efabd04aada0cebe8b23",
         "spanId" : "51f8de9d43629b49",
         "type" : [
            "SpanContext"
         ]
      }
   ],
   "result" : [ ],
   "identifier" : "0caf3dba1a294235b53f67daed81f20c",
   "published" : "2023-12-06T01:57:26.427829075Z"
}

uma-token-created#

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:d322542b-fe25-45fc-b8c9-7f61e2e82422",
   "type" : [
      "Activity",
      "Delegation",
      "UmaGrant"
   ],
   "name" : "uma-token-created",
   "summary" : "An access token was created to access a resource",
   "generator" : {
      "wasAssociatedWith" : "ess-authorization-uma-5ccfcd6ffd-dgkvw",
      "type" : [
         "SoftwareApplication"
      ],
      "qualifiedAssociation" : "59",
      "name" : "inrupt-uma",
      "id" : "https://uma.example.com/"
   },
   "actor" : [
      {
         "id" : "https://id.example.com/requestingrabbit",
         "type" : [
            "Agent"
         ]
      }
   ],
   "object" : [
      {
         "scope" : "read",
         "type" : [
            "AccessToken",
            "Bearer"
         ]
      },
      {
         "id" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/shared/recipes/recipe1",
         "type" : [
            "Resource"
         ]
      }
   ],
   "instrument" : [
      {
         "id" : "https://myApp.example.com/appids/app.jsonld",
         "summary" : "Client identifier"
      },
      {
         "spanId" : "ab344dd3620e24ed",
         "traceId" : "0706bcbf2fa9898860e44bd2a30305b9",
         "name" : "OpenTelemetry Span Context",
         "type" : [
            "SpanContext"
         ],
         "isSampled" : true
      },
      {
         "hasDataSubject" : {
            "id" : "https://id.example.com/owliverowner",
            "type" : [
               "https://w3id.org/dpv#DataSubject"
            ]
         },
         "hasStorage" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/",
         "type" : [
            "http://www.w3.org/2004/02/skos/core#Concept"
         ]
      }
   ],
   "result" : [ ],
   "identifier" : "b4c3ba95c15b413a975ed725b66e1d36",
   "published" : "2023-12-06T02:09:42.245252680Z"
}

Examples: WebID/Pod Provision Events#

webid-created#

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:8107a955-573e-4af4-adb8-ac89fb803dc4",
   "type" : [
      "Activity",
      "Create"
   ],
   "name" : "webid-created",
   "summary" : "WebId was created",
   "generator" : {
      "name" : "inrupt-webid-postgres",
      "qualifiedAssociation" : "54",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-webid-6b94868f4d-ttxj5",
      "id" : "https://id.example.com/"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/owliverowner",
         "name" : "owliverowner"
      }
   ],
   "object" : [
      {
         "id" : "https://id.example.com/owliverowner",
         "type" : [
            "PersonalProfileDocument"
         ]
      }
   ],
   "instrument" : [
      {
         "id" : "https://start.example.com/app/id",
         "summary" : "Client identifier"
      },
      {
         "spanId" : "f59408a78e40f5a8",
         "traceId" : "1551e335cfde87a7df87d3242f2d060e",
         "parentId" : "fafb4c391e0d5189",
         "name" : "OpenTelemetry Span Context",
         "isSampled" : true,
         "type" : [
            "SpanContext"
         ]
      }
   ],
   "result" : [ ],
   "identifier" : "5244408d0f56431ba727cbdd4c177d61",
   "published" : "2023-12-06T01:57:27.835491323Z"
}

pod-provisioned#

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:728562ca-a882-452e-ab82-2157db233761",
   "type" : [
      "Activity",
      "Create"
   ],
   "name" : "pod-provisioned",
   "summary" : "Pod provisioned",
   "generator" : {
      "qualifiedAssociation" : "88",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-pod-provision-b984d649b-2q8xr",
      "id" : "https://provision.example.com/",
      "name" : "inrupt-provision-postgres-s3"
   },
   "actor" : [
      {
         "id" : "https://id.example.com/owliverowner",
         "type" : [
            "Agent"
         ]
      }
   ],
   "object" : [
      {
         "id" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/",
         "type" : [
            "Storage"
         ]
      }
   ],
   "instrument" : [
      {
         "id" : "https://start.example.com/app/id",
         "summary" : "Client identifier"
      },
      {
         "spanId" : "36cbd6bd8488a2d9",
         "traceId" : "1551e335cfde87a7df87d3242f2d060e",
         "parentId" : "765195098215788f",
         "name" : "OpenTelemetry Span Context",
         "isSampled" : true,
         "type" : [
            "SpanContext"
         ]
      },
      {
         "hasDataSubject" : {
            "id" : "https://id.example.com/owliverowner",
            "type" : [
               "https://w3id.org/dpv#DataSubject"
            ]
         },
         "hasStorage" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/",
         "type" : [
            "http://www.w3.org/2004/02/skos/core#Concept"
         ]
      }
   ],
   "result" : [ ],
   "identifier" : "cf6507cf8b084f5ebfa489c300ae1ad4",
   "published" : "2023-12-06T01:57:31.782133926Z"
}

provisioned-pod-access-control#

Note

  • Starting in 2.2, provisioned-pod-access-control events no longer include a Storage object. Instead, the information is now included in the instrument field.

  • During Pod creation, both provisioned-pod-access-control and acr-created events are issued (along with other events). Once a Pod is created, if an ACR is created for a new resource, only the acr-created` event is issued.

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:f1a94832-53fd-450c-8206-9290d1699c85",
   "type" : [
      "Activity",
      "Create"
   ],
   "name" : "provisioned-pod-access-control",
   "summary" : "Provisioned Pod access control",
   "generator" : {
      "id" : "https://authorization.example.com/",
      "name" : "inrupt-authorization-acp-postgres",
      "qualifiedAssociation" : "61",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-authorization-acp-65cbb8b9db-862hl"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://provision.example.com/"
      }
   ],
   "object" : [ ],
   "instrument" : [
      {
         "type" : [
            "Storage"
         ],
         "id" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "isSampled" : true,
         "type" : [
            "SpanContext"
         ],
         "spanId" : "97e22fca05e84103",
         "traceId" : "1551e335cfde87a7df87d3242f2d060e",
         "parentId" : "163e168f726abcce"
      }
   ],
   "result" : [ ],
   "identifier" : "6c1ce07ec6b54ee09c21486d4366b277",
   "published" : "2023-12-06T01:57:30.672004Z"
}

Examples: Access Control Resource (ACR) Events#

acr-created#

Note

During Pod creation, both provisioned-pod-access-control and acr-created events are issued (along with other events). Once a Pod is created, if an ACR is created for a new resource, only the acr-created` event is issued.

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:5fdb6043-6ec8-44d9-937a-4b19a14f3d60",
   "type" : [
      "Activity",
      "Create"
   ],
   "name" : "acr-created",
   "summary" : "ACR has been created",
   "generator" : {
      "id" : "https://authorization.example.com/",
      "name" : "inrupt-authorization-acp-postgres",
      "qualifiedAssociation" : "61",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-authorization-acp-65cbb8b9db-862hl"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://provision.example.com/"
      }
   ],
   "object" : [
      {
         "type" : [
            "Resource"
         ],
         "id" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/"
      },
      {
         "type" : [
            "AccessControlResource"
         ],
         "id" : "https://authorization.example.com/1fb6b127afb9458b9cf7d405d1c47dde"
      }
   ],
   "instrument" : [
      {
         "name" : "OpenTelemetry Span Context",
         "isSampled" : true,
         "type" : [
            "SpanContext"
         ],
         "spanId" : "5637a071550bc999",
         "traceId" : "1551e335cfde87a7df87d3242f2d060e",
         "parentId" : "91d7a028b1bdb074"
      },
      {
         "hasDataSubject" : {
            "id" : "https://id.example.com/owliverowner",
            "type" : [
               "https://w3id.org/dpv#DataSubject"
            ]
         },
         "hasStorage" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/",
         "type" : [
            "http://www.w3.org/2004/02/skos/core#Concept"
         ]
      }
   ],
   "result" : [ ],
   "identifier" : "83ceb448725e4e3c8bef7576e941e957",
   "published" : "2023-12-06T01:57:31.444925619Z"
}

acr-updated#

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:26eec13f-2ccb-4719-b3a0-e39cd277e0c5",
   "type" : [
      "Activity",
      "Update"
   ],
   "name" : "acr-updated",
   "summary" : "ACR has been updated",
   "generator" : {
      "id" : "https://authorization.example.com/",
      "name" : "inrupt-authorization-acp-postgres",
      "qualifiedAssociation" : "74",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-authorization-acp-65cbb8b9db-862hl"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/owliverowner"
      }
   ],
   "object" : [
      {
         "type" : [
            "AccessControlResource"
         ],
         "id" : "https://authorization.example.com/729aacc4ea9349bcbdbd39a70b3e1609"
      },
      {
         "type" : [
            "Resource"
         ],
         "id" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/shared/recipes/recipe1"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "isSampled" : true,
         "type" : [
            "SpanContext"
         ],
         "name" : "OpenTelemetry Span Context",
         "traceId" : "79fcbf905d908657c0c737711afd662e",
         "spanId" : "70b3b880d42a7935"
      },
      {
         "hasDataSubject" : {
            "id" : "https://id.example.com/owliverowner",
            "type" : [
               "https://w3id.org/dpv#DataSubject"
            ]
         },
         "hasStorage" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/",
         "type" : [
            "http://www.w3.org/2004/02/skos/core#Concept"
         ]
      }
   ],
   "result" : [ ],
   "identifier" : "8dc9bd8318cf41f998a62a16968649ef",
   "published" : "2023-12-06T02:16:10.669229903Z"
}

acr-deleted#

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:cd122d09-859d-4b2f-9fd3-ad98babcb4f6",
   "type" : [
      "Activity",
      "Delete"
   ],
   "name" : "acr-deleted",
   "summary" : "ACR has been deleted",
   "generator" : {
      "id" : "https://authorization.example.com/",
      "name" : "inrupt-authorization-acp-postgres",
      "qualifiedAssociation" : "65",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-authorization-acp-65cbb8b9db-862hl"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://storage.example.com/"
      }
   ],
   "object" : [
      {
         "type" : [
            "Resource"
         ],
         "id" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/shared/recipes/foobar"
      },
      {
         "type" : [
            "AccessControlResource"
         ],
         "id" : "https://authorization.example.com/ba8724f3d1b4492196dfe1807e4acf24"
      }
   ],
   "instrument" : [
      {
         "name" : "OpenTelemetry Span Context",
         "isSampled" : true,
         "type" : [
            "SpanContext"
         ],
         "spanId" : "6ee2e5a45fb89748",
         "traceId" : "fe7a333fee11532c8d521acd5bb83dcb",
         "parentId" : "940b1cda19fe883e"
      },
      {
         "hasDataSubject" : {
            "id" : "https://id.example.com/owliverowner",
            "type" : [
               "https://w3id.org/dpv#DataSubject"
            ]
         },
         "hasStorage" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/",
         "type" : [
            "http://www.w3.org/2004/02/skos/core#Concept"
         ]
      }
   ],
   "result" : [ ],
   "identifier" : "f3a793215e8d4f5fb5ae1e26aa9a5a03",
   "published" : "2023-12-06T02:02:18.207395621Z"
}

Examples: Resource Lifecycle Events#

resource-created#

Note

Starting in 2.2, Pod resource lifecycle events no longer include a StorageCreator object. See the instrument.hasDataSubject field instead.

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:c7a6e6c2-d1dd-45a0-bcab-3da70326ec90",
   "type" : [
      "Activity",
      "Create"
   ],
   "name" : "resource-created",
   "summary" : "Resource has been created",
   "generator" : {
      "id" : "https://storage.example.com/",
      "name" : "inrupt-storage-postgres-s3",
      "qualifiedAssociation" : "103",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-pod-storage-77b85c47d8-67k8m"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/owliverowner"
      }
   ],
   "object" : [
      {
         "id" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/shared/recipes/recipe1",
         "generated" : "da5c22ac-efe1-46ae-ac16-4f1be5652ee8",
         "accessControl" : [
            "https://authorization.example.com/729aacc4ea9349bcbdbd39a70b3e1609"
         ],
         "type" : [
            "Resource"
         ]
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "type" : [
            "SpanContext"
         ],
         "spanId" : "a2ee0d9c9eeda575",
         "traceId" : "b0765b873cb2d4fefacac7d346f34952",
         "parentId" : "a09e12bef00a0d70",
         "name" : "OpenTelemetry Span Context",
         "isSampled" : true
      },
      {
         "hasDataSubject" : {
            "id" : "https://id.example.com/owliverowner",
            "type" : [
               "https://w3id.org/dpv#DataSubject"
            ]
         },
         "hasStorage" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/",
         "type" : [
            "http://www.w3.org/2004/02/skos/core#Concept"
         ]
      }
   ],
   "result" : [ ],
   "identifier" : "5d6f751d983541fbb4d4318d658ba7c0",
   "published" : "2023-12-06T02:00:10.973550535Z"
}

resource-read#

Note

Starting in 2.2, Pod resource lifecycle events no longer include a StorageCreator object. See the instrument.hasDataSubject field instead.

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:d5bbc3c9-3d77-4c7f-bf00-5a0872bdf21b",
   "type" : [
      "Activity",
      "Read"
   ],
   "name" : "resource-read",
   "summary" : "Resource has been read",
   "generator" : {
      "id" : "https://storage.example.com/",
      "name" : "inrupt-storage-postgres-s3",
      "qualifiedAssociation" : "103",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-pod-storage-77b85c47d8-67k8m"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/owliverowner"
      }
   ],
   "object" : [
      {
         "type" : [
            "Resource"
         ],
         "id" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/shared/recipes/recipe1"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "traceId" : "714d046745a8edbbfe796201541a78d5",
         "spanId" : "962b26f880fb7f8c",
         "isSampled" : true,
         "type" : [
            "SpanContext"
         ]
      },
      {
         "hasDataSubject" : {
            "id" : "https://id.example.com/owliverowner",
            "type" : [
               "https://w3id.org/dpv#DataSubject"
            ]
         },
         "hasStorage" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/",
         "type" : [
            "http://www.w3.org/2004/02/skos/core#Concept"
         ]
      }
   ],
   "result" : [ ],
   "identifier" : "fc86c6ba8d07444f920db8742aee2aef",
   "published" : "2023-12-06T02:00:25.823085511Z"
}

resource-updated#

Note

Starting in 2.2, Pod resource lifecycle events no longer include a StorageCreator object. See the instrument.hasDataSubject field instead.

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:00508f6b-5f75-4ebb-8f48-95d550e79f35",
   "type" : [
      "Activity",
      "Update"
   ],
   "name" : "resource-updated",
   "summary" : "Resource has been updated",
   "generator" : {
      "id" : "https://storage.example.com/",
      "name" : "inrupt-storage-postgres-s3",
      "qualifiedAssociation" : "103",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-pod-storage-77b85c47d8-67k8m"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/owliverowner"
      }
   ],
   "object" : [
      {
         "id" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/shared/recipes/recipe1",
         "generated" : "0f6c262b-3659-4e81-8700-ed7fe23732ec",
         "invalidated" : "da5c22ac-efe1-46ae-ac16-4f1be5652ee8",
         "type" : [
            "Resource"
         ]
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "type" : [
            "SpanContext"
         ],
         "spanId" : "1d3da2a8014f87f0",
         "traceId" : "178f00a057a463e09edf5f84205feaff",
         "parentId" : "b4f74f4f3ec5b456",
         "name" : "OpenTelemetry Span Context",
         "isSampled" : true
      },
      {
         "hasDataSubject" : {
            "id" : "https://id.example.com/owliverowner",
            "type" : [
               "https://w3id.org/dpv#DataSubject"
            ]
         },
         "hasStorage" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/",
         "type" : [
            "http://www.w3.org/2004/02/skos/core#Concept"
         ]
      }
   ],
   "result" : [ ],
   "identifier" : "54b744af27d046578372f85dfff6bad4",
   "published" : "2023-12-06T02:01:19.891576528Z"
}

resource-deleted#

Note

Starting in 2.2, Pod resource lifecycle events no longer include a StorageCreator object. See the instrument.hasDataSubject field instead.

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:6c490719-a0a9-41f5-abd0-b53628bf70cf",
   "type" : [
      "Activity",
      "Delete"
   ],
   "name" : "resource-deleted",
   "summary" : "Resource has been deleted",
   "generator" : {
      "id" : "https://storage.example.com/",
      "name" : "inrupt-storage-postgres-s3",
      "qualifiedAssociation" : "103",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-pod-storage-77b85c47d8-67k8m"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/owliverowner"
      }
   ],
   "object" : [
      {
         "type" : [
            "Resource"
         ],
         "id" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/shared/recipes/foobar",
         "invalidated" : "fae4b4dd-f7e7-4a17-8bc5-d91d44eee785"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "type" : [
            "SpanContext"
         ],
         "spanId" : "355464ca06a9b3fd",
         "traceId" : "fe7a333fee11532c8d521acd5bb83dcb",
         "parentId" : "98ba369de34be0ea",
         "name" : "OpenTelemetry Span Context",
         "isSampled" : true
      },
      {
         "hasDataSubject" : {
            "id" : "https://id.example.com/owliverowner",
            "type" : [
               "https://w3id.org/dpv#DataSubject"
            ]
         },
         "hasStorage" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/",
         "type" : [
            "http://www.w3.org/2004/02/skos/core#Concept"
         ]
      }
   ],
   "result" : [ ],
   "identifier" : "252fc63ae93042d893f0e8e77a1cb39e",
   "published" : "2023-12-06T02:02:18.216304186Z"
}

Examples: Access Requests/Grants Lifecycle Events#

Added in version 2.2.0: [1]

The following displays some of the events related to access requests & access grants lifecycle.

Note

Authenticated access requests/grants/denials events are preceded by a corresponding request-authorized event that contain additional information, such as the access grant service endpoint, the WebID, the client id, etc. However, other than the service endpoint, the same information may be found in the access-* event messages themselves.

For each access requests/grants/denials lifecycle event that are authenticated, the associated request-authorized events are also provided below. You can find the corresponding request-authorized event using the instrument field.

access-request-created#

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:e6498113-c4a5-49af-8838-266e24b190ce",
   "type" : [
      "Activity",
      "Create"
   ],
   "name" : "access-request-created",
   "summary" : "Access Request has been created",
   "generator" : {
      "name" : "inrupt-verifiable-credentials-postgres",
      "id" : "https://vc.example.com/",
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-6xtpq",
      "type" : [
         "SoftwareApplication"
      ],
      "qualifiedAssociation" : "54"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/requestingrabbit"
      }
   ],
   "object" : [
      {
         "mediaType" : "application/ld+json",
         "content" : "{\"id\":\"https://vc.example.com/vc/e9269ea3-391f-42e7-adaa-58a9146e81ad\",\"type\":[\"VerifiableCredential\",\"SolidAccessRequest\"],\"proof\":{\"type\":\"Ed25519Signature2020\",\"created\":\"2023-12-06T02:03:13.737Z\",\"domain\":\"solid\",\"proofPurpose\":\"assertionMethod\",\"proofValue\":\"z4j8PWVUsu4RE4JyUSteqncXd1DosUyjABQwJ2RjvAVsqFEVCm2qYUyEbQknzXptk4pnACUW4CyHBP1gULBr6ShCB\",\"verificationMethod\":\"https://vc.example.com/key/808ee0d5-6cbb-3bbe-ac7e-41050e32ce69\"},\"credentialStatus\":{\"id\":\"https://vc.example.com/status/F2YF#0\",\"type\":\"RevocationList2020Status\",\"revocationListCredential\":\"https://vc.example.com/status/F2YF\",\"revocationListIndex\":\"0\"},\"credentialSubject\":{\"id\":\"https://id.example.com/requestingrabbit\",\"hasConsent\":{\"mode\":\"Read\",\"forPersonalData\":\"https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/shared/recipes/recipe1\",\"forPurpose\":\"https://example.com/purposes#print\",\"hasStatus\":\"ConsentStatusRequested\",\"isConsentForDataSubject\":\"https://id.example.com/owliverowner\"}},\"expirationDate\":\"2024-12-05T02:03:13.384255813Z\",\"issuanceDate\":\"2023-12-06T02:03:13.385Z\",\"issuer\":\"https://vc.example.com\",\"@context\":[\"https://www.w3.org/2018/credentials/v1\",\"https://schema.inrupt.com/credentials/v1.jsonld\",\"https://w3id.org/security/data-integrity/v1\",\"https://w3id.org/vc-revocation-list-2020/v1\",\"https://w3id.org/vc/status-list/2021/v1\",\"https://w3id.org/security/suites/ed25519-2020/v1\"]}"
      },
      {
         "type" : [
            "Resource"
         ],
         "id" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/shared/recipes/recipe1"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "type" : [
            "SpanContext"
         ],
         "isSampled" : true,
         "spanId" : "db664878c9b1cf27",
         "traceId" : "45946ad4df2d8aefcfc0c01f433f9a94"
      },
      {
         "hasDataSubject" : {
            "id" : "https://id.example.com/owliverowner",
            "type" : [
               "https://w3id.org/dpv#DataSubject"
            ]
         },
         "hasStorage" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/",
         "type" : [
            "http://www.w3.org/2004/02/skos/core#Concept"
         ]
      }
   ],
   "result" : [ ],
   "identifier" : "a56ec16479774029bc3ee10d4bb2f347",
   "published" : "2023-12-06T02:03:13.876566145Z"
}

And the associated (i.e., "identifier" : "a56ec16479774029bc3ee10d4bb2f347") request-authorized event:

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:ac3b7866-4ecb-4431-b3a3-0ca3ab0fbe9d",
   "type" : [
      "Activity"
   ],
   "name" : "request-authorized",
   "summary" : "Request has been authorized",
   "generator" : {
      "name" : "inrupt-verifiable-credentials-postgres",
      "id" : "https://vc.example.com/",
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-6xtpq",
      "type" : [
         "SoftwareApplication"
      ],
      "qualifiedAssociation" : "54"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/requestingrabbit"
      }
   ],
   "object" : [
      {
         "id" : "https://vc.example.com/issue"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "type" : [
            "SpanContext"
         ],
         "isSampled" : true,
         "spanId" : "db664878c9b1cf27",
         "traceId" : "45946ad4df2d8aefcfc0c01f433f9a94"
      }
   ],
   "result" : [ ],
   "identifier" : "a56ec16479774029bc3ee10d4bb2f347",
   "published" : "2023-12-06T02:03:12.906362573Z"
}

access-grant-created#

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:89bfe43d-f336-446f-9337-f4098c6343f5",
   "type" : [
      "Activity",
      "Create"
   ],
   "name" : "access-grant-created",
   "summary" : "Access Grant has been created",
   "generator" : {
      "name" : "inrupt-verifiable-credentials-postgres",
      "id" : "https://vc.example.com/",
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-6xtpq",
      "type" : [
         "SoftwareApplication"
      ],
      "qualifiedAssociation" : "63"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/owliverowner"
      }
   ],
   "object" : [
      {
         "mediaType" : "application/ld+json",
         "content" : "{\"id\":\"https://vc.example.com/vc/b1fab093-084e-4281-b663-4deaa7ac9999\",\"type\":[\"SolidAccessGrant\",\"VerifiableCredential\"],\"proof\":{\"type\":\"Ed25519Signature2020\",\"created\":\"2023-12-06T02:07:26.324Z\",\"domain\":\"solid\",\"proofPurpose\":\"assertionMethod\",\"proofValue\":\"z3ofsjethoFSHxDmoKqzYBUHzfjB3s4PfQ8ZqHBufmXkVd5zbEUyhfXJuMvxNYuQLsybBsN1fK66sNKycrcX7auPq\",\"verificationMethod\":\"https://vc.example.com/key/808ee0d5-6cbb-3bbe-ac7e-41050e32ce69\"},\"credentialStatus\":{\"id\":\"https://vc.example.com/status/xHeZ#0\",\"type\":\"RevocationList2020Status\",\"revocationListCredential\":\"https://vc.example.com/status/xHeZ\",\"revocationListIndex\":\"0\"},\"credentialSubject\":{\"id\":\"https://id.example.com/owliverowner\",\"providedConsent\":{\"mode\":\"Read\",\"forPersonalData\":\"https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/shared/recipes/recipe1\",\"forPurpose\":\"https://example.com/purposes#print\",\"hasStatus\":\"ConsentStatusExplicitlyGiven\",\"isProvidedTo\":\"https://id.example.com/requestingrabbit\"}},\"expirationDate\":\"2024-12-05T02:03:13.384Z\",\"issuanceDate\":\"2023-12-06T02:03:13.385Z\",\"issuer\":\"https://vc.example.com\",\"@context\":[\"https://www.w3.org/2018/credentials/v1\",\"https://schema.inrupt.com/credentials/v1.jsonld\",\"https://w3id.org/security/data-integrity/v1\",\"https://w3id.org/vc-revocation-list-2020/v1\",\"https://w3id.org/vc/status-list/2021/v1\",\"https://w3id.org/security/suites/ed25519-2020/v1\"]}"
      },
      {
         "type" : [
            "Resource"
         ],
         "id" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/shared/recipes/recipe1"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "type" : [
            "SpanContext"
         ],
         "isSampled" : true,
         "spanId" : "a9408baf23327b79",
         "traceId" : "95f66eedd75ac5548747a59add2a2903"
      },
      {
         "hasDataSubject" : {
            "id" : "https://id.example.com/owliverowner",
            "type" : [
               "https://w3id.org/dpv#DataSubject"
            ]
         },
         "hasStorage" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/",
         "type" : [
            "http://www.w3.org/2004/02/skos/core#Concept"
         ]
      }
   ],
   "result" : [ ],
   "identifier" : "3e6fd53802cb4f939ace03aec16ac031",
   "published" : "2023-12-06T02:07:26.357470152Z"
}

And the associated (i.e., "identifier" : "3e6fd53802cb4f939ace03aec16ac031") request-authorized event:

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:6112b98b-a876-4335-a05c-dbb2b24c95ab",
   "type" : [
      "Activity"
   ],
   "name" : "request-authorized",
   "summary" : "Request has been authorized",
   "generator" : {
      "name" : "inrupt-verifiable-credentials-postgres",
      "id" : "https://vc.example.com/",
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-6xtpq",
      "type" : [
         "SoftwareApplication"
      ],
      "qualifiedAssociation" : "63"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/owliverowner"
      }
   ],
   "object" : [
      {
         "id" : "https://vc.example.com/issue"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "type" : [
            "SpanContext"
         ],
         "isSampled" : true,
         "spanId" : "a9408baf23327b79",
         "traceId" : "95f66eedd75ac5548747a59add2a2903"
      }
   ],
   "result" : [ ],
   "identifier" : "3e6fd53802cb4f939ace03aec16ac031",
   "published" : "2023-12-06T02:07:26.214344831Z"
}

access-request-read#

Tip

The object field, not the result field, contains the Access Request.

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:31f73dc1-39b2-4fb8-b0fb-338e563c8ce1",
   "type" : [
      "Activity",
      "Read"
   ],
   "name" : "access-request-read",
   "summary" : "Access Request has been read",
   "generator" : {
      "name" : "inrupt-verifiable-credentials-postgres",
      "id" : "https://vc.example.com/",
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-6xtpq",
      "type" : [
         "SoftwareApplication"
      ],
      "qualifiedAssociation" : "64"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/owliverowner"
      }
   ],
   "object" : [
      {
         "mediaType" : "application/ld+json",
         "content" : "{\"id\":\"https://vc.example.com/vc/e9269ea3-391f-42e7-adaa-58a9146e81ad\",\"type\":[\"VerifiableCredential\",\"SolidAccessRequest\"],\"proof\":{\"type\":\"Ed25519Signature2020\",\"created\":\"2023-12-06T02:03:13.737Z\",\"domain\":\"solid\",\"proofPurpose\":\"assertionMethod\",\"proofValue\":\"z4j8PWVUsu4RE4JyUSteqncXd1DosUyjABQwJ2RjvAVsqFEVCm2qYUyEbQknzXptk4pnACUW4CyHBP1gULBr6ShCB\",\"verificationMethod\":\"https://vc.example.com/key/808ee0d5-6cbb-3bbe-ac7e-41050e32ce69\"},\"credentialStatus\":{\"id\":\"https://vc.example.com/status/F2YF#0\",\"type\":\"RevocationList2020Status\",\"revocationListCredential\":\"https://vc.example.com/status/F2YF\",\"revocationListIndex\":\"0\"},\"credentialSubject\":{\"id\":\"https://id.example.com/requestingrabbit\",\"hasConsent\":{\"mode\":\"Read\",\"forPersonalData\":\"https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/shared/recipes/recipe1\",\"forPurpose\":\"https://example.com/purposes#print\",\"hasStatus\":\"ConsentStatusRequested\",\"isConsentForDataSubject\":\"https://id.example.com/owliverowner\"}},\"expirationDate\":\"2024-12-05T02:03:13.384255813Z\",\"issuanceDate\":\"2023-12-06T02:03:13.385Z\",\"issuer\":\"https://vc.example.com\",\"@context\":[\"https://www.w3.org/2018/credentials/v1\",\"https://schema.inrupt.com/credentials/v1.jsonld\",\"https://w3id.org/security/data-integrity/v1\",\"https://w3id.org/vc-revocation-list-2020/v1\",\"https://w3id.org/vc/status-list/2021/v1\",\"https://w3id.org/security/suites/ed25519-2020/v1\"]}"
      },
      {
         "type" : [
            "Resource"
         ],
         "id" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/shared/recipes/recipe1"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "type" : [
            "SpanContext"
         ],
         "isSampled" : true,
         "spanId" : "6c2ee165eff4973e",
         "traceId" : "cc5b495f0519023a5c57128aec891cf5"
      },
      {
         "hasDataSubject" : {
            "id" : "https://id.example.com/owliverowner",
            "type" : [
               "https://w3id.org/dpv#DataSubject"
            ]
         },
         "hasStorage" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/",
         "type" : [
            "http://www.w3.org/2004/02/skos/core#Concept"
         ]
      }
   ],
   "result" : [ ],
   "identifier" : "3df615dea1c8425f92765f79b40ff149",
   "published" : "2023-12-06T02:10:48.545339511Z"
}

And the associated (i.e., "identifier" : "3df615dea1c8425f92765f79b40ff149") request-authorized event:

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:fd7ecf12-62e3-4982-a9fb-23b0532ff485",
   "type" : [
      "Activity"
   ],
   "name" : "request-authorized",
   "summary" : "Request has been authorized",
   "generator" : {
      "name" : "inrupt-verifiable-credentials-postgres",
      "id" : "https://vc.example.com/",
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-6xtpq",
      "type" : [
         "SoftwareApplication"
      ],
      "qualifiedAssociation" : "64"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/owliverowner"
      }
   ],
   "object" : [
      {
         "id" : "https://vc.example.com/vc/e9269ea3-391f-42e7-adaa-58a9146e81ad"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "type" : [
            "SpanContext"
         ],
         "isSampled" : true,
         "spanId" : "6c2ee165eff4973e",
         "traceId" : "cc5b495f0519023a5c57128aec891cf5"
      }
   ],
   "result" : [ ],
   "identifier" : "3df615dea1c8425f92765f79b40ff149",
   "published" : "2023-12-06T02:10:48.494225888Z"
}

access-grant-read#

Tip

The object field, not the result field, contains the Access Grant.

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:8b0f42f9-9625-43ab-9bbc-cfce0fd5cd86",
   "type" : [
      "Activity",
      "Read"
   ],
   "name" : "access-grant-read",
   "summary" : "Access Grant has been read",
   "generator" : {
      "id" : "https://vc.example.com/",
      "name" : "inrupt-verifiable-credentials-postgres",
      "qualifiedAssociation" : "54",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-g948f"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/requestingrabbit"
      }
   ],
   "object" : [
      {
         "mediaType" : "application/ld+json",
         "content" : "{\"id\":\"https://vc.example.com/vc/7c337b74-ff0d-4f5b-87e0-50ec51f4a2a9\",\"type\":[\"SolidAccessGrant\",\"VerifiableCredential\"],\"proof\":{\"type\":\"Ed25519Signature2020\",\"created\":\"2023-12-06T20:28:19.219Z\",\"domain\":\"solid\",\"proofPurpose\":\"assertionMethod\",\"proofValue\":\"z4RMfFdNJQEXrnBbZvYE8yKYxoHbW4Ev6b1eEHvjZa2hnPPHaWjpgdd1JVjbFDbRAQ7YwVJXE35f6jbjuGR9Rpazh\",\"verificationMethod\":\"https://vc.example.com/key/246ab7ff-d416-3353-872d-f0eb82098136\"},\"credentialStatus\":{\"id\":\"https://vc.example.com/status/tkoO#0\",\"type\":\"RevocationList2020Status\",\"revocationListCredential\":\"https://vc.example.com/status/tkoO\",\"revocationListIndex\":\"0\"},\"credentialSubject\":{\"id\":\"https://id.example.com/owliverowner\",\"providedConsent\":{\"mode\":\"Read\",\"forPersonalData\":\"https://storage.example.com/cf377182-f514-4900-b54d-71485037fada/shared/recipes/recipe1\",\"forPurpose\":\"https://example.com/purposes#print\",\"hasStatus\":\"ConsentStatusExplicitlyGiven\",\"isProvidedTo\":\"https://id.example.com/requestingrabbit\"}},\"expirationDate\":\"2024-12-05T20:25:25.734Z\",\"issuanceDate\":\"2023-12-06T20:25:25.734Z\",\"issuer\":\"https://vc.example.com\",\"@context\":[\"https://www.w3.org/2018/credentials/v1\",\"https://schema.inrupt.com/credentials/v1.jsonld\",\"https://w3id.org/security/data-integrity/v1\",\"https://w3id.org/vc-revocation-list-2020/v1\",\"https://w3id.org/vc/status-list/2021/v1\",\"https://w3id.org/security/suites/ed25519-2020/v1\"]}"
      },
      {
         "type" : [
            "Resource"
         ],
         "id" : "https://storage.example.com/cf377182-f514-4900-b54d-71485037fada/shared/recipes/recipe1"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "traceId" : "4d6670e20ba3bab9e0edbaaa687b9323",
         "spanId" : "a2fdb4eaeaaa72b3",
         "isSampled" : true,
         "type" : [
            "SpanContext"
         ]
      },
      {
         "type" : [
            "http://www.w3.org/2004/02/skos/core#Concept"
         ],
         "hasStorage" : "https://storage.example.com/cf377182-f514-4900-b54d-71485037fada/",
         "hasDataSubject" : {
            "type" : [
               "https://w3id.org/dpv#DataSubject"
            ],
            "id" : "https://id.example.com/owliverowner"
         }
      }
   ],
   "result" : [ ],
   "identifier" : "bfe04951202643e788eeb569205c060b",
   "published" : "2023-12-06T20:28:40.993897608Z"
}

And the associated (i.e., "identifier" : "bfe04951202643e788eeb569205c060b") request-authorized event:

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:c7dd2d06-a2a3-4b17-a6f8-d2800596271a",
   "type" : [
      "Activity"
   ],
   "name" : "request-authorized",
   "summary" : "Request has been authorized",
   "generator" : {
      "id" : "https://vc.example.com/",
      "name" : "inrupt-verifiable-credentials-postgres",
      "qualifiedAssociation" : "54",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-g948f"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/requestingrabbit"
      }
   ],
   "object" : [
      {
         "id" : "https://vc.example.com/vc/7c337b74-ff0d-4f5b-87e0-50ec51f4a2a9"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "traceId" : "4d6670e20ba3bab9e0edbaaa687b9323",
         "spanId" : "a2fdb4eaeaaa72b3",
         "isSampled" : true,
         "type" : [
            "SpanContext"
         ]
      }
   ],
   "result" : [ ],
   "identifier" : "bfe04951202643e788eeb569205c060b",
   "published" : "2023-12-06T20:28:40.950169953Z"
}

access-request-verified#

Passed Verification Event#

Tip

The result field contains information about whether the verification has passed or failed.

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:57145c05-eb02-4564-940d-2df1d878c41a",
   "type" : [
      "Activity",
      "Read",
      "Question"
   ],
   "name" : "access-request-verified",
   "summary" : "Access Request has been verified",
   "generator" : {
      "name" : "inrupt-verifiable-credentials-postgres",
      "id" : "https://vc.example.com/",
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-6xtpq",
      "type" : [
         "SoftwareApplication"
      ],
      "qualifiedAssociation" : "54"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/owliverowner"
      }
   ],
   "object" : [
      {
         "@context" : [
            "https://www.w3.org/2018/credentials/v1",
            "https://schema.inrupt.com/credentials/v1.jsonld"
         ],
         "id" : "https://vc.example.com/vc/e9269ea3-391f-42e7-adaa-58a9146e81ad",
         "type" : [
            "VerifiableCredential",
            "SolidAccessRequest"
         ]
      },
      {
         "type" : [
            "Resource"
         ],
         "id" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/shared/recipes/recipe1"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "type" : [
            "SpanContext"
         ],
         "isSampled" : true,
         "spanId" : "d3888911cb44ac6e",
         "traceId" : "9fb3370da8d77bdbba283904c6c39cb7"
      },
      {
         "hasDataSubject" : {
            "id" : "https://id.example.com/owliverowner",
            "type" : [
               "https://w3id.org/dpv#DataSubject"
            ]
         },
         "hasStorage" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/",
         "type" : [
            "http://www.w3.org/2004/02/skos/core#Concept"
         ]
      }
   ],
   "result" : [
      {
         "mediaType" : "application/json",
         "name" : "Verification passed",
         "type" : [
            "Verification"
         ],
         "content" : "{\"checks\":[\"issuanceDate\",\"proof\",\"expirationDate\",\"credentialStatus\"],\"warnings\":[],\"errors\":[]}"
      }
   ],
   "identifier" : "33e2f68ce12a4ea2b5815997c95aca39",
   "published" : "2023-12-06T02:04:08.106287125Z"
}

And the associated (i.e., "identifier" : "33e2f68ce12a4ea2b5815997c95aca39") request-authorized event:

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:e5a7457e-7150-40ef-bedf-56684cbb098b",
   "type" : [
      "Activity"
   ],
   "name" : "request-authorized",
   "summary" : "Request has been authorized",
   "generator" : {
      "name" : "inrupt-verifiable-credentials-postgres",
      "id" : "https://vc.example.com/",
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-6xtpq",
      "type" : [
         "SoftwareApplication"
      ],
      "qualifiedAssociation" : "54"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/owliverowner"
      }
   ],
   "object" : [
      {
         "id" : "https://vc.example.com/verify"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "type" : [
            "SpanContext"
         ],
         "isSampled" : true,
         "spanId" : "d3888911cb44ac6e",
         "traceId" : "9fb3370da8d77bdbba283904c6c39cb7"
      }
   ],
   "result" : [ ],
   "identifier" : "33e2f68ce12a4ea2b5815997c95aca39",
   "published" : "2023-12-06T02:04:08.001818229Z"
}

Failed Verification Event#

Tip

The result field contains information about whether the verification has passed or failed.

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:a703205d-a98d-4052-ba8d-51f48e217218",
   "type" : [
      "Activity",
      "Read",
      "Question"
   ],
   "name" : "access-request-verified",
   "summary" : "Access Request has been verified",
   "generator" : {
      "id" : "https://vc.example.com/",
      "name" : "inrupt-verifiable-credentials-postgres",
      "qualifiedAssociation" : "54",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-g948f"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/owliverowner"
      }
   ],
   "object" : [
      {
         "type" : [
            "VerifiableCredential",
            "SolidAccessRequest"
         ],
         "id" : "https://vc.example.com/vc/2a5eda5e-cf16-4f87-8da1-b17ebc41347b",
         "@context" : [
            "https://www.w3.org/2018/credentials/v1",
            "https://schema.inrupt.com/credentials/v1.jsonld"
         ]
      },
      {
         "type" : [
            "Resource"
         ],
         "id" : "https://storage.example.com/cf377182-f514-4900-b54d-71485037fada/shared/recipes/recipe1"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "traceId" : "2fb93270fce6f46fea8d0f2eaa0e20b2",
         "spanId" : "5bd4ffe43d07423c",
         "isSampled" : true,
         "type" : [
            "SpanContext"
         ]
      },
      {
         "type" : [
            "http://www.w3.org/2004/02/skos/core#Concept"
         ],
         "hasStorage" : "https://storage.example.com/cf377182-f514-4900-b54d-71485037fada/",
         "hasDataSubject" : {
            "type" : [
               "https://w3id.org/dpv#DataSubject"
            ],
            "id" : "https://id.example.com/owliverowner"
         }
      }
   ],
   "result" : [
      {
         "mediaType" : "application/json",
         "content" : "{\"checks\":[\"issuanceDate\",\"proof\",\"expirationDate\",\"credentialStatus\"],\"warnings\":[],\"errors\":[\"Signature validation has failed\"]}",
         "type" : [
            "Verification"
         ],
         "name" : "Verification failed"
      }
   ],
   "identifier" : "f2dd6fa40d9c4b74a30bd1cab02b5abc",
   "published" : "2023-12-06T20:27:01.912472426Z"
}

And the associated (i.e., "identifier" : "f2dd6fa40d9c4b74a30bd1cab02b5abc") request-authorized event:

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:8c755df6-ea97-4145-9cde-38f2e1cb2427",
   "type" : [
      "Activity"
   ],
   "name" : "request-authorized",
   "summary" : "Request has been authorized",
   "generator" : {
      "id" : "https://vc.example.com/",
      "name" : "inrupt-verifiable-credentials-postgres",
      "qualifiedAssociation" : "54",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-g948f"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/owliverowner"
      }
   ],
   "object" : [
      {
         "id" : "https://vc.example.com/verify"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "traceId" : "2fb93270fce6f46fea8d0f2eaa0e20b2",
         "spanId" : "5bd4ffe43d07423c",
         "isSampled" : true,
         "type" : [
            "SpanContext"
         ]
      }
   ],
   "result" : [ ],
   "identifier" : "f2dd6fa40d9c4b74a30bd1cab02b5abc",
   "published" : "2023-12-06T20:27:01.826604127Z"
}

access-grant-verified#

Tip

The result field contains information about whether the verification has passed or failed.

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:ce316a60-37b6-4294-a006-8a2e276e526e",
   "type" : [
      "Activity",
      "Read",
      "Question"
   ],
   "name" : "access-grant-verified",
   "summary" : "Access Grant has been verified",
   "generator" : {
      "name" : "inrupt-verifiable-credentials-postgres",
      "id" : "https://vc.example.com/",
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-6xtpq",
      "type" : [
         "SoftwareApplication"
      ],
      "qualifiedAssociation" : "54"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/owliverowner"
      }
   ],
   "object" : [
      {
         "@context" : [
            "https://www.w3.org/2018/credentials/v1",
            "https://schema.inrupt.com/credentials/v1.jsonld"
         ],
         "id" : "https://vc.example.com/vc/b1fab093-084e-4281-b663-4deaa7ac9999",
         "type" : [
            "VerifiableCredential",
            "SolidAccessGrant"
         ]
      },
      {
         "type" : [
            "Resource"
         ],
         "id" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/shared/recipes/recipe1"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "type" : [
            "SpanContext"
         ],
         "isSampled" : true,
         "spanId" : "255c4ecf07dad61c",
         "traceId" : "091300887526d85075c8225b99150cc1"
      },
      {
         "hasDataSubject" : {
            "id" : "https://id.example.com/owliverowner",
            "type" : [
               "https://w3id.org/dpv#DataSubject"
            ]
         },
         "hasStorage" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/",
         "type" : [
            "http://www.w3.org/2004/02/skos/core#Concept"
         ]
      }
   ],
   "result" : [
      {
         "mediaType" : "application/json",
         "name" : "Verification passed",
         "type" : [
            "Verification"
         ],
         "content" : "{\"checks\":[\"issuanceDate\",\"proof\",\"expirationDate\",\"credentialStatus\"],\"warnings\":[],\"errors\":[]}"
      }
   ],
   "identifier" : "1f62aae1aa0745b89a2e19cadade449c",
   "published" : "2023-12-06T02:07:51.502700524Z"
}

And the associated (i.e., "identifier" : "1f62aae1aa0745b89a2e19cadade449c") request-authorized event:

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:fb3a9c6e-7585-4377-9833-4ac21b82531d",
   "type" : [
      "Activity"
   ],
   "name" : "request-authorized",
   "summary" : "Request has been authorized",
   "generator" : {
      "name" : "inrupt-verifiable-credentials-postgres",
      "id" : "https://vc.example.com/",
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-6xtpq",
      "type" : [
         "SoftwareApplication"
      ],
      "qualifiedAssociation" : "54"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/owliverowner"
      }
   ],
   "object" : [
      {
         "id" : "https://vc.example.com/verify"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "type" : [
            "SpanContext"
         ],
         "isSampled" : true,
         "spanId" : "255c4ecf07dad61c",
         "traceId" : "091300887526d85075c8225b99150cc1"
      }
   ],
   "result" : [ ],
   "identifier" : "1f62aae1aa0745b89a2e19cadade449c",
   "published" : "2023-12-06T02:07:51.433099762Z"
}

access-grant-queried#

Note

The access-grant-queried event occurs when a user queries for access requests/grants/denials. The query results are not included in the audit event message.

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:03792e68-0393-47d8-980c-024496a6b57e",
   "type" : [
      "Activity",
      "Read",
      "Question"
   ],
   "name" : "access-grant-queried",
   "summary" : "Access Grant has been queried",
   "generator" : {
      "name" : "inrupt-verifiable-credentials-postgres",
      "id" : "https://vc.example.com/",
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-6xtpq",
      "type" : [
         "SoftwareApplication"
      ],
      "qualifiedAssociation" : "54"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/requestingrabbit"
      }
   ],
   "object" : [
      {
         "mediaType" : "application/json",
         "content" : "{\"verifiableCredential\":{\"@context\":[\"https://www.w3.org/2018/credentials/v1\",\"https://schema.inrupt.com/credentials/v1.jsonld\"],\"type\":[\"SolidAccessGrant\"],\"credentialSubject\":{\"providedConsent\":{\"isProvidedTo\":\"https://id.example.com/requestingrabbit\"}}}}"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "type" : [
            "SpanContext"
         ],
         "isSampled" : true,
         "spanId" : "1a2e03ba340c1e77",
         "traceId" : "fd121ceb727907e761cf691dcecd5323"
      }
   ],
   "result" : [ ],
   "identifier" : "e14d7c7f65bd461c8063401df3f2b3c3",
   "published" : "2023-12-06T02:08:20.900046559Z"
}

And the associated (i.e., "identifier" : "e14d7c7f65bd461c8063401df3f2b3c3") request-authorized event:

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:daaf1582-3384-416d-b15a-d26cccd63d26",
   "type" : [
      "Activity"
   ],
   "name" : "request-authorized",
   "summary" : "Request has been authorized",
   "generator" : {
      "name" : "inrupt-verifiable-credentials-postgres",
      "id" : "https://vc.example.com/",
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-6xtpq",
      "type" : [
         "SoftwareApplication"
      ],
      "qualifiedAssociation" : "54"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/requestingrabbit"
      }
   ],
   "object" : [
      {
         "id" : "https://vc.example.com/derive"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "type" : [
            "SpanContext"
         ],
         "isSampled" : true,
         "spanId" : "1a2e03ba340c1e77",
         "traceId" : "fd121ceb727907e761cf691dcecd5323"
      }
   ],
   "result" : [ ],
   "identifier" : "e14d7c7f65bd461c8063401df3f2b3c3",
   "published" : "2023-12-06T02:08:20.870682246Z"
}

access-grant-revoked#

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:036ff9f5-3d47-4ebe-aef2-f7d0f2d4c581",
   "type" : [
      "Activity",
      "Update"
   ],
   "name" : "access-grant-revoked",
   "summary" : "Access Grant status has been revoked",
   "generator" : {
      "id" : "https://vc.example.com/",
      "name" : "inrupt-verifiable-credentials-postgres",
      "qualifiedAssociation" : "56",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-g948f"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/owliverowner"
      }
   ],
   "object" : [
      {
         "type" : [
            "VerifiableCredential",
            "SolidAccessGrant"
         ],
         "id" : "https://vc.example.com/vc/7c337b74-ff0d-4f5b-87e0-50ec51f4a2a9",
         "@context" : [
            "https://www.w3.org/2018/credentials/v1",
            "https://schema.inrupt.com/credentials/v1.jsonld"
         ]
      },
      {
         "type" : [
            "VerifiableCredential",
            "RevocationList2020Credential"
         ],
         "id" : "https://vc.example.com/status/tkoO#0",
         "@context" : [
            "https://www.w3.org/2018/credentials/v1",
            "https://w3id.org/vc-revocation-list-2020/v1"
         ]
      },
      {
         "type" : [
            "Resource"
         ],
         "id" : "https://storage.example.com/cf377182-f514-4900-b54d-71485037fada/shared/recipes/recipe1"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "traceId" : "b67f44beefd05ffc4c447fec52f009e3",
         "spanId" : "ccf9c5b935845597",
         "isSampled" : true,
         "type" : [
            "SpanContext"
         ]
      },
      {
         "type" : [
            "http://www.w3.org/2004/02/skos/core#Concept"
         ],
         "hasStorage" : "https://storage.example.com/cf377182-f514-4900-b54d-71485037fada/",
         "hasDataSubject" : {
            "type" : [
               "https://w3id.org/dpv#DataSubject"
            ],
            "id" : "https://id.example.com/owliverowner"
         }
      }
   ],
   "result" : [
      {
         "type" : [
            "Status"
         ],
         "name" : "Revoked"
      }
   ],
   "identifier" : "48348a98ee3f4a50add60836625c77c2",
   "published" : "2023-12-06T20:31:02.707352307Z"
}

And the associated (i.e., "identifier" : "48348a98ee3f4a50add60836625c77c2") request-authorized event:

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:805bb871-2843-472a-b943-e9e3d52eafca",
   "type" : [
      "Activity"
   ],
   "name" : "request-authorized",
   "summary" : "Request has been authorized",
   "generator" : {
      "id" : "https://vc.example.com/",
      "name" : "inrupt-verifiable-credentials-postgres",
      "qualifiedAssociation" : "56",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-g948f"
   },
   "actor" : [
      {
         "type" : [
            "Agent"
         ],
         "id" : "https://id.example.com/owliverowner"
      }
   ],
   "object" : [
      {
         "id" : "https://vc.example.com/status"
      }
   ],
   "instrument" : [
      {
         "summary" : "Client identifier",
         "id" : "https://myApp.example.com/appids/app.jsonld"
      },
      {
         "name" : "OpenTelemetry Span Context",
         "traceId" : "b67f44beefd05ffc4c447fec52f009e3",
         "spanId" : "ccf9c5b935845597",
         "isSampled" : true,
         "type" : [
            "SpanContext"
         ]
      }
   ],
   "result" : [ ],
   "identifier" : "48348a98ee3f4a50add60836625c77c2",
   "published" : "2023-12-06T20:31:02.568709811Z"
}

revocation-status-read#

Note

As part of the access grant to UMA access token exchange (which is an unauthenticated event), revocation-status-read events occur. These revocation-status-read events, which are also unauthenticated, do not have an associated request-authorized event.

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:3c54964f-58c8-4def-b4ad-99dcb6557715",
   "type" : [
      "Activity",
      "Read"
   ],
   "name" : "revocation-status-read",
   "summary" : "Revocation status has been read",
   "generator" : {
      "name" : "inrupt-verifiable-credentials-postgres",
      "id" : "https://vc.example.com/",
      "wasAssociatedWith" : "ess-verifiable-credentials-55599fc46f-6xtpq",
      "type" : [
         "SoftwareApplication"
      ],
      "qualifiedAssociation" : "64"
   },
   "actor" : [
      {
         "summary" : "Unauthenticated agent",
         "type" : [
            "Agent"
         ]
      }
   ],
   "object" : [
      {
         "@context" : [
            "https://www.w3.org/2018/credentials/v1",
            "https://w3id.org/vc-revocation-list-2020/v1"
         ],
         "id" : "https://vc.example.com/status/xHeZ",
         "type" : [
            "VerifiableCredential",
            "RevocationList2020Credential"
         ]
      }
   ],
   "instrument" : [
      {
         "spanId" : "f6b251c6ef5be50d",
         "type" : [
            "SpanContext"
         ],
         "isSampled" : true,
         "name" : "OpenTelemetry Span Context",
         "parentId" : "052078377686600b",
         "traceId" : "0706bcbf2fa9898860e44bd2a30305b9"
      }
   ],
   "result" : [ ],
   "identifier" : "f41f866f9c0d4eda842f048235543242",
   "published" : "2023-12-06T02:09:41.739987420Z"
}

Examples: Query#

{
   "@context" : [
      "https://www.w3.org/ns/activitystreams",
      "https://schema.inrupt.com/audit/v1.jsonld"
   ],
   "id" : "urn:uuid:e3004da1-c78e-4341-88d2-d9602f965207",
   "type" : [
      "Activity",
      "https://www.w3.org/ns/activitystreams#Read"
   ],
   "name" : "query-succeeded",
   "summary" : "Query succeeded",
   "generator" : {
      "name" : "inrupt-query-fragments-postgres-uma",
      "qualifiedAssociation" : "62",
      "type" : [
         "SoftwareApplication"
      ],
      "wasAssociatedWith" : "ess-fragments-query-bd5d8ffd7-jj98l",
      "id" : "https://fragments.example.com/"
   },
   "actor" : [
      {
         "id" : "https://id.example.com/owliverowner",
         "type" : [
            "Agent"
         ]
      }
   ],
   "object" : [
      {
         "id" : "https://fragments.example.com/qpf?storage=https%3A%2F%2Fstorage.example.com%2F7865026e-5450-44a2-82e5-67c8b28e905d%2F&object=https%3A%2F%2Fschema.org%2FRecipe",
         "type" : [
            "http://rdfs.org/ns/void#Dataset"
         ]
      },
      {
         "id" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/",
         "type" : [
            "Storage"
         ]
      }
   ],
   "instrument" : [
      {
         "id" : "https://myApp.example.com/appids/app.jsonld",
         "summary" : "Client identifier"
      },
      {
         "hasDataSubject" : {
            "id" : "https://id.example.com/owliverowner",
            "type" : [
               "https://w3id.org/dpv#DataSubject"
            ]
         },
         "hasStorage" : "https://storage.example.com/7865026e-5450-44a2-82e5-67c8b28e905d/",
         "type" : [
            "http://www.w3.org/2004/02/skos/core#Concept"
         ]
      }
   ],
   "result" : [ ],
   "identifier" : "e770ac9cf8d24296be30ce176124a07a",
   "published" : "2023-12-06T02:12:42.810948225Z"
}