Import policy

Imports an existing policy (scan template) that was uploaded using the POST /file/upload endpoint. Only policies (scan templates) in .nessus format can be imported.

Note: Policies are referred to as scan templates in the user interface. The term policy is only used by the API. The two terms refer to the same feature.

Requires the Standard [32] user role or the VM.VM_SCAN.VM_SCAN_USER_TEMPLATE.CREATE custom role privilege. See Roles.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The name of the file to import as provided by the response from file-upload.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

403

Returned if you do not have the required permissions to import the policy (scan template).

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/html