From fec0e9fe9e59e6dc7fe8901d60c994233796c134 Mon Sep 17 00:00:00 2001 From: Mark Drake <33191761+SharpRake@users.noreply.github.com> Date: Wed, 8 Nov 2023 11:36:22 -0800 Subject: [PATCH] Revert "Adding redirect for network requirements doc" --- .../cloudevents/create-jira-issues/index.md | 2 +- .../cloudevents/create-slack-alerts/index.md | 2 +- .../reference}/events.md | 1283 +++++++++-------- nginx.conf | 2 - 4 files changed, 644 insertions(+), 645 deletions(-) rename content/chainguard/{administration/cloudevents => chainguard-enforce/reference}/events.md (92%) diff --git a/content/chainguard/administration/cloudevents/create-jira-issues/index.md b/content/chainguard/administration/cloudevents/create-jira-issues/index.md index 316dd900f0..1b58d26d9d 100644 --- a/content/chainguard/administration/cloudevents/create-jira-issues/index.md +++ b/content/chainguard/administration/cloudevents/create-jira-issues/index.md @@ -10,7 +10,7 @@ images: [] menu: docs: parent: "cloudevents" -weight: 15 +weight: 10 toc: true --- diff --git a/content/chainguard/administration/cloudevents/create-slack-alerts/index.md b/content/chainguard/administration/cloudevents/create-slack-alerts/index.md index a29d1dbb5c..309478323d 100644 --- a/content/chainguard/administration/cloudevents/create-slack-alerts/index.md +++ b/content/chainguard/administration/cloudevents/create-slack-alerts/index.md @@ -5,7 +5,7 @@ description: "Creating Slack Alerts from Enforce Cloud Events" date: 2023-04-11T15:22:20+01:00 lastmod: 2023-10-26T15:22:20+01:00 draft: false -tags: ["Enforce", "Product", "CloudEvents"] +tags: ["Enforce", "Product", "Cloudevents"] images: [] menu: docs: diff --git a/content/chainguard/administration/cloudevents/events.md b/content/chainguard/chainguard-enforce/reference/events.md similarity index 92% rename from content/chainguard/administration/cloudevents/events.md rename to content/chainguard/chainguard-enforce/reference/events.md index e7b3a237f2..d3406106c6 100644 --- a/content/chainguard/administration/cloudevents/events.md +++ b/content/chainguard/chainguard-enforce/reference/events.md @@ -1,40 +1,41 @@ --- -title : "Chainguard Events Reference" +title : "Chainguard Enforce Events" lead: "" -linktitle: "Events Reference" description: "Chainguard Enforce Events" type: "article" date: 2022-11-15T12:05:04 lastmod: 2023-11-03T21:04:03 draft: false -tags: ["CloudEvents", "Reference", "Product"] +tags: ["Enforce", "Reference", "Product"] images: [] -weight: 005 +weight: 780 --- -Chainguard generates and emits [CloudEvents](https://cloudevents.io/) based on actions that occur within a Chainguard account, such as registering a Kubernetes cluster or creating an IAM invitation. Chainguard also emits events when workloads or policies are changed in a cluster. +## Introduction -Check out the [chainguard-dev/enforce-events](https://github.com/chainguard-dev/enforce-events) GitHub repository for two sample applications that demonstrate how to use Chainguard Enforce create Slack notifications, as well as how to open a GitHub issue from received events. +Chainguard Enforce generates and emits [CloudEvents](https://cloudevents.io/) based on actions that occur within a Chainguard account, such as registering a Kubernetes cluster or creating an IAM invitation. Enforce also emits events when workloads or policies are changed in a cluster. -To subscribe to Chainguard events for your account, use the `chainctl` command like this: +See the [chainguard-dev/enforce-events](https://github.com/chainguard-dev/enforce-events) GitHub repository for two sample applications that demonstrate how to create Slack notifications, as well as how to open a GitHub issue from received events. + +To subscribe to Enforce events for your account, use the `chainctl` command like this: ``` chainctl events subscriptions create –group $YOUR_GROUP https:// ``` -Once you are subscribed to Chainguard events, you will start receiving HTTP POST requests. Each request has a common set of CloudEvent header fields, denoted by the `Ce-` prefix. The event body is encoded using JSON and will have two top-level keys, `actor` and `body`. +Once you are subscribed to Chainguard Enforce events, you will start receiving HTTP POST requests. Each request has a common set of CloudEvent header fields, denoted by the `Ce-` prefix. The event body is encoded using JSON and will have two top-level keys, `actor` and `body`. -The `actor` field is the identity of the actor in your Chainguard account that triggered the event, such as a team member or a Kubernetes cluster. The `body` field contains the specific data about the event, for example the response status for an invite creation request, or a cluster delete request. +The `actor` field is the identity of the actor in your Enforce account that triggered the event, such as a team member or a Kubernetes cluster. The `body` field contains the specific data about the event, for example the response status for an invite creation request, or a cluster delete request. ## UIDP Identifiers -Each Chainguard event includes a `Ce-Subject` header that contains a UIDP (UID Path) identifier. Identifiers follow POSIX directory semantics and components are separated by `/` delimiters. A UIDP is comprised of: +Each Enforce event includes a `Ce-Subject` header that contains a UIDP (UID Path) identifier. Identifiers follow POSIX directory semantics and components are separated by `/` delimiters. A UIDP is comprised of: * A globally unique identifier (UID), consisting of 20 bytes, that are URL safe hex encoded. For example, account identities like `0475f6baca584a8964a6bce6b74dbe78dd8805b6`. -* One, or multiple `/` separated, scoped unique identifiers (SUID). An SUID is 8 bytes that are unique within a scope (like a group), and are URL safe hex encoded. The following is an example SUID: `b74ce966caf448d1`. SUIDs are used to identify every entity in Chainguard, from groups, policies, Kubernetes cluster IDs, event subscriptions, to IAM invitations, roles and role-bindings. +* One, or multiple `/` separated, scoped unique identifiers (SUID). An SUID is 8 bytes that are unique within a scope (like a group), and are URL safe hex encoded. The following is an example SUID: `b74ce966caf448d1`. SUIDs are used to identify every entity in Enforce, from groups, policies, Kubernetes cluster IDs, event subscriptions, to IAM invitations, roles and role-bindings. -Since Chainguard groups can contain child groups, events in a child group will propagate to the parent and thus the UIDP will contain multiple group SUIDs, along with the entity SUID itself. For example, assuming the following components: +Since Enforce groups can contain child groups, events in a child group will propagate to the parent and thus the UIDP will contain multiple group SUIDs, along with the entity SUID itself. For example, assuming the following components: * An account UID of `0475f6baca584a8964a6bce6b74dbe78dd8805b6` * A group SUID of `b74ce966caf448d1` @@ -55,16 +56,16 @@ An event like a policy validation with SUID of `bcb18b9a6f9f62b6` occurring in t ## Authorization Header -Every Chainguard event has a JWT formatted [OIDC ID token](https://openid.net/specs/openid-connect-basic-1_0.html#IDToken) in its `Authorization` header. For authorization purposes, there are two important fields to validate: +Every Enforce event has a JWT formatted [OIDC ID token)(https://openid.net/specs/openid-connect-basic-1_0.html#IDToken) in its `Authorization` header. For authorization purposes, there are two important fields to validate: -1. Use the `iss` field to ensure that the issuer is Chainguard, specifically `https://issuer.enforce.dev`. -2. Use the `sub` field to check that the event matches your configured Chainguard identity. For example, assuming a UIDP ID of `0475f6baca584a8964a6bce6b74dbe78dd8805b6`, the value will resemble the following: `webhook:0475f6baca584a8964a6bce6b74dbe78dd8805b6`. If the subscription is in a sub-group, then the value will have the corresponding group SUID appended to the path. +1. Use the `iss` field to ensure that the issuer is Chainguard Enforce, specifically `https://issuer.enforce.dev`. +2. Use the `sub` field to check that the event matches your configured Enforce identity. For example, assuming a UIDP ID of `0475f6baca584a8964a6bce6b74dbe78dd8805b6`, the value will resemble the following: `webhook:0475f6baca584a8964a6bce6b74dbe78dd8805b6`. If the subscription is in a sub-group, then the value will have the corresponding group SUID appended to the path. -Validating these fields before processing the JWT token using a verification library can save resources, as well as alert about suspicious traffic, or misconfigured Chainguard group settings. +Validating these fields before processing the JWT token using a verification library can save resources, as well as alert about suspicious traffic, or misconfigured Enforce group settings. ## Events Reference -The following list of services and methods show example HTTP headers and bodies for public facing Chainguard events. +The following list of services and methods show example HTTP headers and bodies for public facing Enforce events. ## Service: Admission - Namespace ### Method: Created @@ -72,22 +73,22 @@ The following list of services and methods show example HTTP headers and bodies #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: k8s://namespace-UID -Ce-Specversion: 1.0 -Ce-Subject: UIDP of the namespace -Ce-Time: 2023-11-03T21:04:03.936333826Z -Ce-Type: dev.chainguard.admission.namespace.v1 -Content-Length: 282 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: k8s://namespace-UID +Ce-Specversion: 1.0 +Ce-Subject: UIDP of the namespace +Ce-Time: 2023-11-03T21:04:03.936333826Z +Ce-Type: dev.chainguard.admission.namespace.v1 +Content-Length: 282 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -110,22 +111,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: k8s://namespace-UID -Ce-Specversion: 1.0 -Ce-Subject: UIDP of the namespace -Ce-Time: 2023-11-03T21:04:03.936558743Z -Ce-Type: dev.chainguard.admission.namespace.v1 -Content-Length: 282 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: k8s://namespace-UID +Ce-Specversion: 1.0 +Ce-Subject: UIDP of the namespace +Ce-Time: 2023-11-03T21:04:03.936558743Z +Ce-Type: dev.chainguard.admission.namespace.v1 +Content-Length: 282 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -149,22 +150,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: k8s://cluster-id -Ce-Specversion: 1.0 -Ce-Subject: UIDP of cluster -Ce-Time: 2023-11-03T21:04:03.936051404Z -Ce-Type: dev.chainguard.admission.v1 -Content-Length: 220 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: k8s://cluster-id +Ce-Specversion: 1.0 +Ce-Subject: UIDP of cluster +Ce-Time: 2023-11-03T21:04:03.936051404Z +Ce-Type: dev.chainguard.admission.v1 +Content-Length: 220 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -186,22 +187,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: k8s://cluster-id -Ce-Specversion: 1.0 -Ce-Subject: image ID e.g. us.gcr.io/prod-enforce-fabc/chainctl@sha256:123abc... -Ce-Time: 2023-11-03T21:04:03.935083931Z -Ce-Type: dev.chainguard.policy.validation.changed.v1 -Content-Length: 475 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: k8s://cluster-id +Ce-Specversion: 1.0 +Ce-Subject: image ID e.g. us.gcr.io/prod-enforce-fabc/chainctl@sha256:123abc... +Ce-Time: 2023-11-03T21:04:03.935083931Z +Ce-Type: dev.chainguard.policy.validation.changed.v1 +Content-Length: 475 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -232,22 +233,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: cgr.dev -Ce-Specversion: 1.0 -Ce-Subject: The identifier of the repository being pulled from -Ce-Time: 2023-11-03T21:04:03.937083883Z -Ce-Type: dev.chainguard.registry.pull.v1 -Content-Length: 757 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: cgr.dev +Ce-Specversion: 1.0 +Ce-Subject: The identifier of the repository being pulled from +Ce-Time: 2023-11-03T21:04:03.937083883Z +Ce-Type: dev.chainguard.registry.pull.v1 +Content-Length: 757 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -281,22 +282,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: cgr.dev -Ce-Specversion: 1.0 -Ce-Subject: The identifier of the repository being pushed to -Ce-Time: 2023-11-03T21:04:03.936750557Z -Ce-Type: dev.chainguard.registry.push.v1 -Content-Length: 687 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: cgr.dev +Ce-Specversion: 1.0 +Ce-Subject: The identifier of the repository being pushed to +Ce-Time: 2023-11-03T21:04:03.936750557Z +Ce-Type: dev.chainguard.registry.push.v1 +Content-Length: 687 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -329,22 +330,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/auth/v1/register -Ce-Specversion: 1.0 -Ce-Subject: Chainguard UIDP -Ce-Time: 2023-11-03T21:04:03.947747489Z -Ce-Type: dev.chainguard.api.auth.registered.v1 -Content-Length: 154 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/auth/v1/register +Ce-Specversion: 1.0 +Ce-Subject: Chainguard UIDP +Ce-Time: 2023-11-03T21:04:03.947747489Z +Ce-Type: dev.chainguard.api.auth.registered.v1 +Content-Length: 154 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -366,22 +367,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/events/v1/subscriptions -Ce-Specversion: 1.0 -Ce-Subject: UIDP identifier of the subscription -Ce-Time: 2023-11-03T21:04:03.94842424Z -Ce-Type: dev.chainguard.api.events.subscription.created.v1 -Content-Length: 152 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/events/v1/subscriptions +Ce-Specversion: 1.0 +Ce-Subject: UIDP identifier of the subscription +Ce-Time: 2023-11-03T21:04:03.94842424Z +Ce-Type: dev.chainguard.api.events.subscription.created.v1 +Content-Length: 152 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -402,22 +403,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/events/v1/subscriptions -Ce-Specversion: 1.0 -Ce-Subject: UIDP identifier of the subscription to delete -Ce-Time: 2023-11-03T21:04:03.94868666Z -Ce-Type: dev.chainguard.api.events.subscription.deleted.v1 -Content-Length: 119 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/events/v1/subscriptions +Ce-Specversion: 1.0 +Ce-Subject: UIDP identifier of the subscription to delete +Ce-Time: 2023-11-03T21:04:03.94868666Z +Ce-Type: dev.chainguard.api.events.subscription.deleted.v1 +Content-Length: 119 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -438,22 +439,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/account_associations -Ce-Specversion: 1.0 -Ce-Subject: UIDP with which this account information is associated -Ce-Time: 2023-11-03T21:04:03.943968703Z -Ce-Type: dev.chainguard.api.iam.account_associations.created.v1 -Content-Length: 385 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/account_associations +Ce-Specversion: 1.0 +Ce-Subject: UIDP with which this account information is associated +Ce-Time: 2023-11-03T21:04:03.943968703Z +Ce-Type: dev.chainguard.api.iam.account_associations.created.v1 +Content-Length: 385 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -482,22 +483,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/account_associations -Ce-Specversion: 1.0 -Ce-Subject: UIDP with which this account information is associated -Ce-Time: 2023-11-03T21:04:03.945454916Z -Ce-Type: dev.chainguard.api.iam.account_associations.updated.v1 -Content-Length: 336 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/account_associations +Ce-Specversion: 1.0 +Ce-Subject: UIDP with which this account information is associated +Ce-Time: 2023-11-03T21:04:03.945454916Z +Ce-Type: dev.chainguard.api.iam.account_associations.updated.v1 +Content-Length: 336 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -526,22 +527,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/account_associations -Ce-Specversion: 1.0 -Ce-Subject: UIDP of the group whose associations will be deleted -Ce-Time: 2023-11-03T21:04:03.945741137Z -Ce-Type: dev.chainguard.api.iam.account_associations.deleted.v1 -Content-Length: 129 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/account_associations +Ce-Specversion: 1.0 +Ce-Subject: UIDP of the group whose associations will be deleted +Ce-Time: 2023-11-03T21:04:03.945741137Z +Ce-Type: dev.chainguard.api.iam.account_associations.deleted.v1 +Content-Length: 129 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -562,22 +563,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/group_invites -Ce-Specversion: 1.0 -Ce-Subject: group UIDP under which this invite resides -Ce-Time: 2023-11-03T21:04:03.948926578Z -Ce-Type: dev.chainguard.api.iam.group_invite.created.v1 -Content-Length: 145 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/group_invites +Ce-Specversion: 1.0 +Ce-Subject: group UIDP under which this invite resides +Ce-Time: 2023-11-03T21:04:03.948926578Z +Ce-Type: dev.chainguard.api.iam.group_invite.created.v1 +Content-Length: 145 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -600,22 +601,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/group_invites -Ce-Specversion: 1.0 -Ce-Subject: UIDP of the record -Ce-Time: 2023-11-03T21:04:03.949132294Z -Ce-Type: dev.chainguard.api.iam.group_invite.deleted.v1 -Content-Length: 92 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/group_invites +Ce-Specversion: 1.0 +Ce-Subject: UIDP of the record +Ce-Time: 2023-11-03T21:04:03.949132294Z +Ce-Type: dev.chainguard.api.iam.group_invite.deleted.v1 +Content-Length: 92 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -636,22 +637,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/groups -Ce-Specversion: 1.0 -Ce-Subject: group UIDP under which this group resides -Ce-Time: 2023-11-03T21:04:03.946025759Z -Ce-Type: dev.chainguard.api.iam.group.created.v1 -Content-Length: 169 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/groups +Ce-Specversion: 1.0 +Ce-Subject: group UIDP under which this group resides +Ce-Time: 2023-11-03T21:04:03.946025759Z +Ce-Type: dev.chainguard.api.iam.group.created.v1 +Content-Length: 169 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -673,22 +674,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/groups -Ce-Specversion: 1.0 -Ce-Subject: group UIDP under which this group resides -Ce-Time: 2023-11-03T21:04:03.946197272Z -Ce-Type: dev.chainguard.api.iam.group.updated.v1 -Content-Length: 169 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/groups +Ce-Specversion: 1.0 +Ce-Subject: group UIDP under which this group resides +Ce-Time: 2023-11-03T21:04:03.946197272Z +Ce-Type: dev.chainguard.api.iam.group.updated.v1 +Content-Length: 169 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -710,22 +711,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/groups -Ce-Specversion: 1.0 -Ce-Subject: UIDP of the record -Ce-Time: 2023-11-03T21:04:03.946361384Z -Ce-Type: dev.chainguard.api.iam.group.deleted.v1 -Content-Length: 92 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/groups +Ce-Specversion: 1.0 +Ce-Subject: UIDP of the record +Ce-Time: 2023-11-03T21:04:03.946361384Z +Ce-Type: dev.chainguard.api.iam.group.deleted.v1 +Content-Length: 92 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -746,22 +747,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/identities -Ce-Specversion: 1.0 -Ce-Subject: UIDP of identity -Ce-Time: 2023-11-03T21:04:03.946794017Z -Ce-Type: dev.chainguard.api.iam.identity.created.v1 -Content-Length: 329 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/identities +Ce-Specversion: 1.0 +Ce-Subject: UIDP of identity +Ce-Time: 2023-11-03T21:04:03.946794017Z +Ce-Type: dev.chainguard.api.iam.identity.created.v1 +Content-Length: 329 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -787,22 +788,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/identities -Ce-Specversion: 1.0 -Ce-Subject: The unique identifier of this specific identity -Ce-Time: 2023-11-03T21:04:03.94709424Z -Ce-Type: dev.chainguard.api.iam.identity.updated.v1 -Content-Length: 245 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/identities +Ce-Specversion: 1.0 +Ce-Subject: The unique identifier of this specific identity +Ce-Time: 2023-11-03T21:04:03.94709424Z +Ce-Type: dev.chainguard.api.iam.identity.updated.v1 +Content-Length: 245 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -825,22 +826,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/identities -Ce-Specversion: 1.0 -Ce-Subject: UIDP of the record -Ce-Time: 2023-11-03T21:04:03.947323057Z -Ce-Type: dev.chainguard.api.iam.identity.deleted.v1 -Content-Length: 92 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/identities +Ce-Specversion: 1.0 +Ce-Subject: UIDP of the record +Ce-Time: 2023-11-03T21:04:03.947323057Z +Ce-Type: dev.chainguard.api.iam.identity.deleted.v1 +Content-Length: 92 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -861,22 +862,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/identityProviders -Ce-Specversion: 1.0 -Ce-Subject: UIDP of identity provider -Ce-Time: 2023-11-03T21:04:03.940017404Z -Ce-Type: dev.chainguard.api.iam.identity_providers.created.v1 -Content-Length: 378 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/identityProviders +Ce-Specversion: 1.0 +Ce-Subject: UIDP of identity provider +Ce-Time: 2023-11-03T21:04:03.940017404Z +Ce-Type: dev.chainguard.api.iam.identity_providers.created.v1 +Content-Length: 378 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -902,22 +903,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/identityProviders -Ce-Specversion: 1.0 -Ce-Subject: The UIDP of the IAM group to nest this identity provider under -Ce-Time: 2023-11-03T21:04:03.940296726Z -Ce-Type: dev.chainguard.api.iam.identity_providers.updated.v1 -Content-Length: 279 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/identityProviders +Ce-Specversion: 1.0 +Ce-Subject: The UIDP of the IAM group to nest this identity provider under +Ce-Time: 2023-11-03T21:04:03.940296726Z +Ce-Type: dev.chainguard.api.iam.identity_providers.updated.v1 +Content-Length: 279 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -940,22 +941,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/identityProviders -Ce-Specversion: 1.0 -Ce-Subject: UIDP of the IdP -Ce-Time: 2023-11-03T21:04:03.940540744Z -Ce-Type: dev.chainguard.api.iam.identity_providers.deleted.v1 -Content-Length: 89 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/identityProviders +Ce-Specversion: 1.0 +Ce-Subject: UIDP of the IdP +Ce-Time: 2023-11-03T21:04:03.940540744Z +Ce-Type: dev.chainguard.api.iam.identity_providers.deleted.v1 +Content-Length: 89 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -976,22 +977,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/policies -Ce-Specversion: 1.0 -Ce-Subject: UIDP of policy -Ce-Time: 2023-11-03T21:04:03.938477788Z -Ce-Type: dev.chainguard.api.iam.policy.created.v1 -Content-Length: 286 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/policies +Ce-Specversion: 1.0 +Ce-Subject: UIDP of policy +Ce-Time: 2023-11-03T21:04:03.938477788Z +Ce-Type: dev.chainguard.api.iam.policy.created.v1 +Content-Length: 286 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -1017,22 +1018,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/policies -Ce-Specversion: 1.0 -Ce-Subject: UIDP of the policy -Ce-Time: 2023-11-03T21:04:03.938942323Z -Ce-Type: dev.chainguard.api.iam.policy.deleted.v1 -Content-Length: 92 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/policies +Ce-Specversion: 1.0 +Ce-Subject: UIDP of the policy +Ce-Time: 2023-11-03T21:04:03.938942323Z +Ce-Type: dev.chainguard.api.iam.policy.deleted.v1 +Content-Length: 92 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -1052,22 +1053,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/policies -Ce-Specversion: 1.0 -Ce-Subject: UIDP of the policy -Ce-Time: 2023-11-03T21:04:03.939307151Z -Ce-Type: dev.chainguard.api.iam.policy.updated.v1 -Content-Length: 204 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/policies +Ce-Specversion: 1.0 +Ce-Subject: UIDP of the policy +Ce-Time: 2023-11-03T21:04:03.939307151Z +Ce-Type: dev.chainguard.api.iam.policy.updated.v1 +Content-Length: 204 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -1090,22 +1091,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/policyVersions -Ce-Specversion: 1.0 -Ce-Subject: UIDP of the policy version -Ce-Time: 2023-11-03T21:04:03.939611074Z -Ce-Type: dev.chainguard.api.iam.policy.version.activated.v1 -Content-Length: 108 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/policyVersions +Ce-Specversion: 1.0 +Ce-Subject: UIDP of the policy version +Ce-Time: 2023-11-03T21:04:03.939611074Z +Ce-Type: dev.chainguard.api.iam.policy.version.activated.v1 +Content-Length: 108 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -1126,22 +1127,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/rolebindings -Ce-Specversion: 1.0 -Ce-Subject: UIDP of the Role to bind -Ce-Time: 2023-11-03T21:04:03.949364612Z -Ce-Type: dev.chainguard.api.iam.rolebindings.created.v1 -Content-Length: 261 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/rolebindings +Ce-Specversion: 1.0 +Ce-Subject: UIDP of the Role to bind +Ce-Time: 2023-11-03T21:04:03.949364612Z +Ce-Type: dev.chainguard.api.iam.rolebindings.created.v1 +Content-Length: 261 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -1166,22 +1167,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/rolebindings -Ce-Specversion: 1.0 -Ce-Subject: UID of this role binding -Ce-Time: 2023-11-03T21:04:03.94960313Z -Ce-Type: dev.chainguard.api.iam.rolebindings.updated.v1 -Content-Length: 173 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/rolebindings +Ce-Specversion: 1.0 +Ce-Subject: UID of this role binding +Ce-Time: 2023-11-03T21:04:03.94960313Z +Ce-Type: dev.chainguard.api.iam.rolebindings.updated.v1 +Content-Length: 173 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -1203,22 +1204,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/iam/v1/rolebindings -Ce-Specversion: 1.0 -Ce-Subject: UID of the record -Ce-Time: 2023-11-03T21:04:03.949758641Z -Ce-Type: dev.chainguard.api.iam.rolebindings.deleted.v1 -Content-Length: 91 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/iam/v1/rolebindings +Ce-Specversion: 1.0 +Ce-Subject: UID of the record +Ce-Time: 2023-11-03T21:04:03.949758641Z +Ce-Type: dev.chainguard.api.iam.rolebindings.deleted.v1 +Content-Length: 91 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -1239,22 +1240,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/registry/v1/repos -Ce-Specversion: 1.0 -Ce-Subject: The identifier of this specific repository -Ce-Time: 2023-11-03T21:04:03.950031862Z -Ce-Type: dev.chainguard.api.platform.registry.repo.created.v1 -Content-Length: 179 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/registry/v1/repos +Ce-Specversion: 1.0 +Ce-Subject: The identifier of this specific repository +Ce-Time: 2023-11-03T21:04:03.950031862Z +Ce-Type: dev.chainguard.api.platform.registry.repo.created.v1 +Content-Length: 179 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -1275,22 +1276,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/registry/v1/repos -Ce-Specversion: 1.0 -Ce-Subject: The identifier of this specific repository -Ce-Time: 2023-11-03T21:04:03.950225877Z -Ce-Type: dev.chainguard.api.platform.registry.repo.updated.v1 -Content-Length: 179 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/registry/v1/repos +Ce-Specversion: 1.0 +Ce-Subject: The identifier of this specific repository +Ce-Time: 2023-11-03T21:04:03.950225877Z +Ce-Type: dev.chainguard.api.platform.registry.repo.updated.v1 +Content-Length: 179 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -1311,22 +1312,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/registry/v1/repos -Ce-Specversion: 1.0 -Ce-Subject: The identifier of this specific repository -Ce-Time: 2023-11-03T21:04:03.950434693Z -Ce-Type: dev.chainguard.api.platform.registry.repo.deleted.v1 -Content-Length: 116 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/registry/v1/repos +Ce-Specversion: 1.0 +Ce-Subject: The identifier of this specific repository +Ce-Time: 2023-11-03T21:04:03.950434693Z +Ce-Type: dev.chainguard.api.platform.registry.repo.deleted.v1 +Content-Length: 116 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -1346,22 +1347,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/registry/v1/tags -Ce-Specversion: 1.0 -Ce-Subject: The identifier of this specific tag -Ce-Time: 2023-11-03T21:04:03.950589304Z -Ce-Type: dev.chainguard.api.platform.registry.tag.created.v1 -Content-Length: 197 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/registry/v1/tags +Ce-Specversion: 1.0 +Ce-Subject: The identifier of this specific tag +Ce-Time: 2023-11-03T21:04:03.950589304Z +Ce-Type: dev.chainguard.api.platform.registry.tag.created.v1 +Content-Length: 197 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -1383,22 +1384,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/registry/v1/tags -Ce-Specversion: 1.0 -Ce-Subject: The identifier of this specific tag -Ce-Time: 2023-11-03T21:04:03.950779019Z -Ce-Type: dev.chainguard.api.platform.registry.tag.updated.v1 -Content-Length: 197 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/registry/v1/tags +Ce-Specversion: 1.0 +Ce-Subject: The identifier of this specific tag +Ce-Time: 2023-11-03T21:04:03.950779019Z +Ce-Type: dev.chainguard.api.platform.registry.tag.updated.v1 +Content-Length: 197 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -1420,22 +1421,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/registry/v1/tags -Ce-Specversion: 1.0 -Ce-Subject: The identifier of this specific tag -Ce-Time: 2023-11-03T21:04:03.950901928Z -Ce-Type: dev.chainguard.api.platform.registry.tag.deleted.v1 -Content-Length: 109 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/registry/v1/tags +Ce-Specversion: 1.0 +Ce-Subject: The identifier of this specific tag +Ce-Time: 2023-11-03T21:04:03.950901928Z +Ce-Type: dev.chainguard.api.platform.registry.tag.deleted.v1 +Content-Length: 109 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -1456,22 +1457,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/tenant/v1/clusters -Ce-Specversion: 1.0 -Ce-Subject: Cluster UIDP under which this cluster resides -Ce-Time: 2023-11-03T21:04:03.940855368Z -Ce-Type: dev.chainguard.api.tenant.cluster.created.v1 -Content-Length: 1735 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/tenant/v1/clusters +Ce-Specversion: 1.0 +Ce-Subject: Cluster UIDP under which this cluster resides +Ce-Time: 2023-11-03T21:04:03.940855368Z +Ce-Type: dev.chainguard.api.tenant.cluster.created.v1 +Content-Length: 1735 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -1538,22 +1539,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/tenant/v1/clusters -Ce-Specversion: 1.0 -Ce-Subject: UIDP of the record -Ce-Time: 2023-11-03T21:04:03.941645528Z -Ce-Type: dev.chainguard.api.tenant.cluster.deleted.v1 -Content-Length: 92 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/tenant/v1/clusters +Ce-Specversion: 1.0 +Ce-Subject: UIDP of the record +Ce-Time: 2023-11-03T21:04:03.941645528Z +Ce-Type: dev.chainguard.api.tenant.cluster.deleted.v1 +Content-Length: 92 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body @@ -1573,22 +1574,22 @@ User-Agent: Chainguard Enforce #### Example HTTP Headers ``` -POST / HTTP/1.1 -Host: console-api.enforce.dev -Accept-Encoding: gzip -Authorization: Bearer oidctoken -Ce-Audience: customer -Ce-Group: UID of parent group -Ce-Id: cloudevent generated UUID -Ce-Source: https://console-api.enforce.dev/tenant/v1/clusters -Ce-Specversion: 1.0 -Ce-Subject: Cluster UIDP under which this cluster resides -Ce-Time: 2023-11-03T21:04:03.943328155Z -Ce-Type: dev.chainguard.api.tenant.cluster.updated.v1 -Content-Length: 1663 -Content-Type: application/json -User-Agent: Chainguard Enforce - +POST / HTTP/1.1 +Host: console-api.enforce.dev +Accept-Encoding: gzip +Authorization: Bearer oidctoken +Ce-Audience: customer +Ce-Group: UID of parent group +Ce-Id: cloudevent generated UUID +Ce-Source: https://console-api.enforce.dev/tenant/v1/clusters +Ce-Specversion: 1.0 +Ce-Subject: Cluster UIDP under which this cluster resides +Ce-Time: 2023-11-03T21:04:03.943328155Z +Ce-Type: dev.chainguard.api.tenant.cluster.updated.v1 +Content-Length: 1663 +Content-Type: application/json +User-Agent: Chainguard Enforce + ``` #### Example HTTP Body diff --git a/nginx.conf b/nginx.conf index 67bd53945e..8d6cec6723 100644 --- a/nginx.conf +++ b/nginx.conf @@ -44,8 +44,6 @@ http { "~^/software-security/secure-software-development/considerations-for-image-updates/(.+)?$" /chainguard/chainguard-images/considerations-for-image-updates/; "~^/chainguard/chainguard-enforce/iam-groups/assumable-ids/(.+)?$" /chainguard/chainguard-enforce/authentication/assumable-ids/; "~^/chainguard/chainguard-enforce/authentication/custom-idps/(.+)?$" /chainguard/administration/custom-idps/custom-idps/; - "~^/chainguard/chainguard-enforce/reference/events/(.+)?$" /chainguard/administration/cloudevents/events/; - "~^/chainguard/network-requirements/(.+)?$" /chainguard/administration/network-requirements/; # complete content directory redirects here "~^/chainguard/chainguard-enforce/events/(.+)$" /chainguard/chainguard-enforce/cloudevents/$1;