{
  "opencollection": "1.0.0",
  "info": {
    "name": "Downloads About Editor API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Editor",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get configuration details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.tenable.com/downloads/api/v2/editor/:type/:id",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "path",
                "description": "The type of object (`scan` or `policy`)."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique ID of the scan or user-defined template (policy)."
              }
            ]
          },
          "docs": "Gets the configuration details for the scan or user-defined template (policy).\n\n**Note:** The returned attributes can vary depending on the Tenable-provided template used to create the scan or user-defined template (policy).<div class=\"perms-callout\">Requires the Standard [32] user role. See [Roles](doc:roles).</div>"
        },
        {
          "info": {
            "name": "List templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.tenable.com/downloads/api/v2/editor/:type/templates",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "path",
                "description": "The type of templates to retrieve (scan, policy, or remediation)."
              }
            ]
          },
          "docs": "Lists Tenable-provided scan templates. Tenable provides a number of scan templates to facilitate the creation of scans and scan policies. For a full description of these scan templates, see the [Scan Templates](https://docs.tenable.com/vulnerability-management/Content/Scans/Templates.htm) in the Tenable Vulnerability Management User Guide. <div class=\"perms-callout\">Requires the Standard [32] user role. See [Roles](doc:roles).</div>"
        },
        {
          "info": {
            "name": "Get template details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.tenable.com/downloads/api/v2/editor/:type/templates/:wizard_uuid",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "path",
                "description": "The type of template to retrieve (scan, policy, or remediation)."
              },
              {
                "name": "wizard_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID for the template."
              }
            ]
          },
          "docs": "Gets details for the specified template.<div class=\"perms-callout\">Requires the Standard [32] user role. See [Roles](doc:roles).</div>"
        },
        {
          "info": {
            "name": "Get plugin details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.tenable.com/downloads/api/v2/editor/policy/:policy_id/families/:family_id/plugins/:plugin_id",
            "params": [
              {
                "name": "policy_id",
                "value": "",
                "type": "path",
                "description": "The ID of the policy to look up."
              },
              {
                "name": "family_id",
                "value": "",
                "type": "path",
                "description": "The ID of the family to lookup within the policy."
              },
              {
                "name": "plugin_id",
                "value": "",
                "type": "path",
                "description": "The ID of the plugin to lookup within the family."
              }
            ]
          },
          "docs": "Gets the details of the plugin associated with the scan or policy.<div class=\"perms-callout\">Requires the Standard [32] user role. See [Roles](doc:roles).</div>"
        },
        {
          "info": {
            "name": "Download audit file",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.tenable.com/downloads/api/v2/editor/:type/:object_id/audits/:file_id",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "path",
                "description": "The type of template to retrieve (scan or policy)."
              },
              {
                "name": "object_id",
                "value": "",
                "type": "path",
                "description": "The unique ID of the object."
              },
              {
                "name": "file_id",
                "value": "",
                "type": "path",
                "description": "The ID of the file to export."
              }
            ]
          },
          "docs": "Downloads the specified custom audit file associated with the scan or policy. The file ID can be found in the scan or policy details using the /editor/{type}/{object_id} endpoint.<div class=\"perms-callout\">Requires Can Execute [32] scan template (policy) permissions. See [Permissions](doc:permissions).</div>"
        }
      ]
    }
  ],
  "bundled": true
}