Get one policy's full configuration
get_policyRetrieve a policy's complete configuration by ID to see all current settings. Essential before update_policy, as Tenable OT replaces the entire policy, not just modified fields.
Instructions
Fetch one policy's COMPLETE configuration by id — source/destination asset-group scope (as AND'd rows of OR'd include/exclude conditions), schedule, severity, notification actions (syslog server / email group), and (for Communication/Protocol-schema policies) the protocol/port group. Unlike list_detection_policies's summary, this returns every field the policy's edit surface exposes.
Call this BEFORE update_policy — Tenable OT's policy mutations are full replaces, not patches, so you need to see the current state of every field before changing just the ones you actually want to change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||