Skip to content

docs(enterprise): correct code-execution, baseline-count and policy-key claims - #3809

Merged
Daniel Meppiel (danielmeppiel) merged 1 commit into
mainfrom
docs-sweep/enterprise
Nov 18, 2026
Merged

Daniel Meppiel (danielmeppiel) merged 1 commit into
mainfrom
docs-sweep/enterprise

Conversation

@danielmeppiel

@danielmeppiel Daniel Meppiel (danielmeppiel) commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Surgical fixes to enterprise pages that no open PR is editing (index, apm-policy, drift-detection, making-the-case, policy-pilot, security), checked against current main.

  • making-the-case.md, security.md: "APM does not execute code" and "Post-install scripts -> No code execution" left out lifecycle scripts. The pages now say dependency packages cannot run code at install, and APM runs commands only where you configure them (trusted lifecycle scripts, apm run scripts, opted-in scanners).
  • security.md: token: is rejected only in apm.yml registry entries, not in apm-policy.yml. Package sources include GitLab and other git hosts. A registry proxy is possible when configured. Fixes two dead lockfile-spec anchors.
  • making-the-case.md: fixes a dead #9-auditing-patterns anchor.
  • index.md, apm-policy.md: apm audit --ci runs 9 baseline checks, not 8 (it adds deployment-ledger-owners). Where the number is not needed, the wording no longer gives a count, since feat(install): support per-dependency agent subsets #2657 adds another check.
  • policy-pilot.md: warn mode does not fail on policy violations, but baseline, drift and require_hashes failures still exit non-zero. Also covers warn-mode output, and three per-rule mode fields (adds security.audit.on_install). The org key is top-level fetch_failure.

Not edited here, because open PRs are editing them: governance-guide.md, policy-reference.md and registry-proxy.md. Their findings go in the sweep report.
Pages that a still-open PR also edits are left out of this PR, as the approved scope requires. Their fixes are held for after those PRs land, and the sweep report lists them.

Issue and approved scope

Issue: Refs #3800

Human scope-approval comment: #3800 (comment)

Does this PR complete the issue, or what remains? Partial: one area batch of the corpus re-sweep. Pages edited by still-open PRs are not touched here; their findings are recorded in the final sweep report and re-checked after v0.36.1.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Maintenance / refactor

Testing

  • Tested locally: every changed claim was verified against .venv/bin/apm <cmd> --help, the source under src/apm_cli/, or a scratch-directory run. cd docs && npm run build exits 0 ("All internal links are valid"; "Checked 1197 relative link(s) ... No broken relative links found").
  • All existing tests pass (docs-only change)
  • Added tests for new functionality (if applicable)

Spec conformance (OpenAPM v0.1)

  • N/A -- this PR does not change OpenAPM-observable behaviour.

Copilot AI 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.

🟡 Changes recommended

The documentation still misstates APM’s code-execution boundaries and omits baseline and drift failures that remain blocking under warn enforcement.

2 open issues
What changed in this PR

This docs-only PR updates six enterprise pages as part of #3800’s documentation sweep, aligning guidance with current APM behavior while leaving pages covered by other open PRs untouched.

Changes:

  • Revises execution-boundary, registry-token, supported-host, and proxy guidance.
  • Corrects baseline-check counts, policy settings, warn-mode behavior, and drift-inspection descriptions.
  • Repairs lockfile-specification anchors.
File Description
docs/​src/​content/​docs/​enterprise/​security.md Updates security claims, source support, and lockfile links.
docs/​src/​content/​docs/​enterprise/​policy-pilot.md Revises warning behavior, per-rule modes, and fetch_failure.
docs/​src/​content/​docs/​enterprise/​making-the-case.md Narrows execution claims and repairs a lockfile link.
docs/​src/​content/​docs/​enterprise/​index.md Removes the outdated baseline-check count.
docs/​src/​content/​docs/​enterprise/​drift-detection.md Clarifies policy discovery and package/file inspection.
docs/​src/​content/​docs/​enterprise/​apm-policy.md Updates baseline-check count and bypass wording.

Review effort: Balanced

…ey claims

Surgical fixes from the post-0.36 docs corpus re-sweep. Every changed
claim was checked against current main (CLI --help, source, or a
scratch-dir run). Pages that a still-open PR edits are left out, per
the approved scope.

Refs #3800

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@danielmeppiel
Daniel Meppiel (danielmeppiel) merged commit 2c8e298 into main Nov 18, 2026
26 checks passed
@danielmeppiel
Daniel Meppiel (danielmeppiel) deleted the docs-sweep/enterprise branch November 18, 2026 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants