APF Security Best Practices
APF’s guarantee is that the only durable authority over agent policy is a bundle signed outside the runtime. Every control on this page protects part of that guarantee. Each table lists the control, its default, what to do, and what you lose by changing it.
Signing and Trust
Policy Supply
OpenShell Integration
Hosts
Evidence
Policy Authoring
- Guard every optional attribute with
has. Aforbidwhose condition errors does not fire. - Give every statement an
@id, so deny reasons point at the statement. - Add
spec.schemato rules that read arguments, so field typos fail when the evaluator is built. - Keep detection flags and their classification labels aligned, because a finding with
label_sourcefails closed when the label is missing.
Next Steps
- To see what each boundary protects, refer to Trust Boundaries.
- To understand what APF does not cover, refer to Enforcement Coverage and Limitations.