Skip to content

dhi: apply scout policy#25564

Open
craig-osterhout wants to merge 4 commits into
docker:mainfrom
craig-osterhout:dhi-local-policy-enforce
Open

dhi: apply scout policy#25564
craig-osterhout wants to merge 4 commits into
docker:mainfrom
craig-osterhout:dhi-local-policy-enforce

Conversation

@craig-osterhout

@craig-osterhout craig-osterhout commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Description

Updated DHI policy enforcement docs to use Docker Scout local policies.

Reworks the DHI "enforce image usage" topic to use the new docker scout policy local policy CLI with the hosted DHI policy bundle (dhi/policies:latest), instead of the dashboard-based policy workflow.

Changes:

  • Rewrites dhi/how-to/policies.md around evaluating your own images against the DHI policy bundle via --policy-bundle, including a local build-and-evaluate example and a working GitHub Actions CI workflow.
  • Reframes the topic to reflect what the bundle actually checks — DHI-grade security/compliance standards, not whether an image is a DHI.
  • Adds a link to the policies repo (https://github.com/docker-hardened-images/policies) in DHI additional resources.
  • Updates the how-to grid card to match.

https://deploy-preview-25564--docsdocker.netlify.app/dhi/how-to/policies/

Related issues or tickets

ENGDOCS-3346

Reviews

  • Technical review
  • Editorial review
  • Product review

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
@netlify

netlify Bot commented Jul 14, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 0d9d125
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a56a69e93bbe60007f56b65
😎 Deploy Preview https://deploy-preview-25564--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@craig-osterhout craig-osterhout added the status/review Pull requests that are ready for review label Jul 14, 2026
@craig-osterhout craig-osterhout requested a review from a team July 14, 2026 21:05
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟢 APPROVE

No significant issues found. One minor style note (hedge word) flagged as a low-severity suggestion.

Comment thread content/manuals/dhi/how-to/policies.md Outdated

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟢 APPROVE

The rewrite of content/manuals/dhi/how-to/policies.md is well-executed. Cross-references to ../../scout/policy/local.md resolve correctly, the GitHub Actions YAML is well-formed and uses valid inputs (policy-bundle, exit-code), no vendored or generated files are touched, and the page URL is unchanged so no redirect alias is needed. No high or medium issues found.

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟡 NEEDS ATTENTION

Rewrites the DHI policy enforcement topic around the new docker scout policy local CLI workflow. The overall structure is clear and the CI example is well-formed. A few items to check before merging.

Comment thread content/manuals/dhi/how-to/policies.md
Comment thread content/manuals/dhi/how-to/policies.md Outdated
Comment thread content/manuals/dhi/how-to/policies.md
Comment thread content/manuals/dhi/how-to/policies.md
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>

@dvdksn dvdksn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dhi status/review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants