Organisations should move to platform-level policy when workflows can access secrets, publish artifacts, or trigger downstream automation that affects production systems. Local review is too fragile when the security impact depends on event type, repository trust, and reusable workflow inheritance. Central policy gives security teams a consistent way to enforce boundaries across repositories.
Why This Matters for Security Teams
Security teams usually start with local review because it feels fast, familiar, and scoped to the repository. That works until a workflow can read secrets, publish build artifacts, or invoke another pipeline that lands in production. At that point, the real risk is no longer the individual file under review, but the trust boundary created by repository inheritance, event type, and downstream automation. Current guidance suggests using platform-level policy once a workflow can affect secrets or production paths, because the blast radius now depends on identity and context, not just code quality. The NIST Cybersecurity Framework 2.0 NIST Cybersecurity Framework 2.0 reinforces this shift toward governance, protected access, and repeatable control enforcement rather than ad hoc exception handling. The NHI reality is usually worse than teams expect: 96% of organisations store secrets outside secrets managers in vulnerable locations, and that makes local review a weak last line of defense. NHI Mgmt Group’s Top 10 NHI Issues highlights why secrets sprawl and inherited access become governance problems, not just hygiene issues. In practice, many security teams encounter policy drift only after a reusable workflow has already been reused across multiple repos and environments.How It Works in Practice
Platform-level policy means the control point moves from the individual workflow author to the CI/CD or orchestration platform itself. Instead of asking every repository maintainer to reason about risk, the platform evaluates the same rules everywhere: which events may trigger execution, which repositories may call reusable workflows, what secrets may be injected, whether artifact publication is allowed, and whether downstream deployment targets are in scope. That aligns well with NHI governance because the identity of the workload, the trust level of the source repo, and the sensitivity of the destination all matter at decision time. A practical model usually includes:- Blocking secrets exposure unless the workflow meets explicit trust criteria.
- Restricting reusable workflow inheritance to approved repositories or signed templates.
- Requiring separate policy for pull request, push, and release events.
- Allowing publish or deploy steps only from protected branches or signed artifacts.
- Logging policy decisions centrally so exceptions are visible across the platform.
Common Variations and Edge Cases
Tighter platform control often increases release friction, so organisations have to balance speed against assurance. The strongest controls are not always the best first step, especially for low-risk automation that never touches secrets or production systems. That said, current guidance suggests platform-level policy should still become the default whenever a workflow can publish artifacts, assume another identity, or trigger downstream automation with operational impact. One common edge case is legacy CI/CD, where older runners or self-hosted agents cannot enforce modern policy cleanly. Another is multi-tenant engineering environments, where a single platform serves product teams with very different risk profiles. In those cases, policy exceptions should be narrow, time-bound, and visible in audit logs rather than managed as informal team conventions. Another variation is when a workflow only seems harmless because it starts with read-only permissions, but later calls tools that fan out into deployment or secret retrieval. That is where platform policy matters more than local review, because the dangerous action occurs outside the original repository context. For teams comparing operating models, the market overview in Ultimate Guide to NHIs — The NHI Market is a useful reminder that governance maturity varies widely, and so does the practicality of central enforcement. The right threshold is not a fixed line for every organisation, but once workflows can affect secrets, artifacts, or production automation, local review alone is no longer a defensible control boundary.Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 | Covers NHI privilege and trust boundaries in automated workflows. |
| NIST CSF 2.0 | PR.AC-4 | Addresses access control for systems and services using centralized enforcement. |
| NIST Zero Trust (SP 800-207) | Supports continuous, context-aware access decisions across workflow boundaries. |
Move workflow authorization to platform policy and remove broad reusable permissions.
Related resources from NHI Mgmt Group
- When should organisations move from policy design to runtime enforcement for AI systems?
- When should organisations move from manual review to automated AI governance?
- Should organisations prioritise secrets rotation or policy controls first for agents?
- How do organisations operationalise NHI ownership at scale?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on May 30, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org