Tenable Vulnerability Management icon

Tenable Vulnerability Management

Interact with Tenable Vulnerability Management API

Policy → Create

AI-generated

Summary

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: '{

Links

Discussion