Skip to main content

Module agent_policy_ops

Module agent_policy_ops 

Source
Expand description

Agent-policy selection, normalization, portability, planning, and apply.

Structs§

AgentPolicyDeletePlan
AgentPolicyDeleteReport
AgentPolicyDeleteTarget
AgentPolicyFilter
AgentPolicyImportPlan
What plan_import computed and apply_import uploads. Public fields are the guard preview and the summary counts; the rest are the exact snapshots and bodies apply_import rechecks against before every write.
AgentPolicyImportReport
AgentPolicyList
LiveAgentPolicy
A single live read reduced to what planning needs.

Functions§

apply_delete
apply_import
build_replace_body
Build the full-spec PUT body for a merge-semantics update route.
collect
Collect every page in the measured deterministic order, then sort by id.
export
Export selected policies, or every custom policy, as a portable artifact.
get_op
is_platform_owned
True when a boolean platform flag is true or agentless is non-null. Used only by --all-custom filtering; normalize still refuses these policies when selected explicitly.
list_op
normalize
Convert a live policy into its filled portable form, or refuse it.
plan_delete
plan_import
resolve
Stable id first through the single-object route; exact name second.
validate
Read, decode, validate, and sort a portable artifact.