v1

latestOpenAPI 3.1.02026-08-04197263.3 KB

Export Policy By Id

Export a single policy as JSON.

Returns the policy in a format suitable for import.

Docs: Guide | API Reference

Raises: ResourceNotFoundError: If the policy does not exist.

get/policies/{policy_id}/export

Path parameters

policy_idstring required

Response

Successful Response

namestring required
descriptionstring nullable
categoriesobject
rule_modesobject
modestring nullable
pre_violation_thresholdnumber nullable
pre_jb_thresholdnumber nullable
post_violation_thresholdnumber nullable
post_violation_jb_thresholdnumber nullable
scanners_configobject nullable
block_messagestring nullable
export_versionstring