Actions35
- Asset Actions
- Export Actions
- Folder Actions
- Plugin Actions
- Policy Actions
- Scan Actions
- Vulnerability Actions
- Workbench Actions
Policy → Create
AI-generatedSummary
Create a policy using a template UUID, policy name, and optional JSON settings.
Inputs
- policyTemplateUuid (required) — The UUID of the policy template. Choose from the list, or specify an ID using an expression.
- policyName (required) — The name of the policy
- policySettings — Additional policy settings as JSON; defaults to '{}' if omitted.
Output shape
The Tenable API response from POST /policies, typically containing the created policy object with merged template and settings.
The node POSTs to /policies with body { uuid:
, settings: { ..., name: , ... } }. Settings are parsed from the JSON string; any extra fields in policySettings are merged into the settings object alongside the supplied name.
Examples
Example 1: Create a new policy named 'My Policy' using template UUID 'tpl-123' with custom enabled flag.
policyTemplateUuid: 'tpl-123', policyName: 'My Policy', policySettings: '{
