Skip to content

Commit 2cef39a

Browse files
gmondelloCopilot
andauthored
Apply batched suggestions from Copilot code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 4e2c9f3 commit 2cef39a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • content/actions/how-tos/secure-your-work/security-harden-deployments

content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-docker.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ For more information, see [OIDC connections](https://docs.docker.com/enterprise/
2828

2929
{% data reusables.actions.oidc-on-ghecom %}
3030

31-
* You must have a Docker Business or Docker Team subscription.
31+
* Your Docker organization must use Docker Business, Docker Team, or Docker Hardened Images, or be enrolled in the Docker Sponsored Open Source Program.
3232
* You must be an organization owner or editor in your Docker organization.
3333
* You must plan which repositories, branches, and workflows need access to Docker, and configure rulesets accordingly.
3434

@@ -120,7 +120,7 @@ repo:<owner>/<repo>:ref:refs/heads/<branch>
120120
```
121121

122122
> [!NOTE]
123-
> Repositories created or renamed after July 15, 2026 use immutable owner and repository identifiers in the subject claim, for example: `repo:octocat@123456/my-repo@456789:ref:refs/heads/main`. For more information, see [AUTOTITLE](/actions/concepts/security/openid-connect).
123+
> Repositories created after July 15, 2026, and repository renames or transfers after that date, use an immutable default OIDC `sub` claim that includes owner and repository IDs. Existing repositories keep the previous format unless they opt in. For more information, see [AUTOTITLE](/actions/reference/security/oidc#immutable-subject-claims).
124124

125125
Different workflow triggers produce different subject claims. For example:
126126

@@ -131,6 +131,6 @@ Different workflow triggers produce different subject claims. For example:
131131
| Tag | `repo:my-org/my-repo:ref:refs/tags/v1.0` |
132132
| Environment | `repo:my-org/my-repo:environment:production` |
133133

134-
You can use wildcard patterns in your rulesets to match multiple repositories or branches. For example, `repo:my-org/*` matches all repositories in your organization.
134+
You can use wildcard patterns in your rulesets to match multiple repositories or branches. For legacy subject claims, `repo:my-org/*` matches all repositories in the organization. For immutable subject claims, use `repo:my-org@OWNER-ID/*`; if the organization contains repositories using both formats, configure both patterns.
135135

136136
For more information, see [Rulesets and subject claims](https://docs.docker.com/enterprise/security/oidc-connections/rulesets-claims/) in the Docker documentation.

0 commit comments

Comments
 (0)