Actions17
- Folder Actions
- Plugin Actions
- Policy Actions
- Scan Actions
Overview
This node interacts with the Nessus API to manage security policies, scans, folders, plugins, and sessions. Specifically for the Policy - Copy operation, it allows users to create a duplicate of an existing policy in their Nessus environment. This is useful when you want to create a new policy based on an existing one without manually recreating all settings.
Common scenarios include:
- Quickly creating variations of a base security policy for different environments or teams.
- Backing up a policy before making changes.
- Automating policy management workflows by duplicating policies programmatically.
Example: You have a baseline policy configured for network scanning and want to create a copy to customize it for web application scanning without affecting the original.
Properties
| Name | Meaning |
|---|---|
| Policy Name or ID | Select the policy to operate on. Choose from the list of existing policies or specify a policy ID using an expression. |
Output
The node outputs a JSON object representing the result of the copy operation. This typically includes details about the newly created policy copy as returned by the Nessus API. The exact structure depends on the API response but generally contains identifiers and metadata of the copied policy.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the Nessus API via an API key credential configured in n8n.
- The node uses internal methods to fetch available policies dynamically for selection.
- Proper permissions on the Nessus server are needed to perform policy copy operations.
Troubleshooting
Common issues:
- Invalid or missing policy ID: Ensure the selected policy exists and the ID is correct.
- API authentication errors: Verify that the API key credential is valid and has sufficient permissions.
- Network connectivity problems: Confirm that the n8n instance can reach the Nessus API endpoint.
Error messages:
- "Failed to load policies": Indicates issues fetching the list of policies; check API access and credentials.
- Errors during copy operation usually contain the API error message; verify the policy ID and user permissions.
To resolve errors, double-check input parameters, ensure the Nessus API credentials are correctly set up, and confirm network accessibility.