diff --git a/backend/app_gen/openapi-parsers/other/TIO-API-Container-Security-v1.json b/backend/app_gen/openapi-parsers/other/TIO-API-Container-Security-v1.json deleted file mode 100644 index 1b6783ad..00000000 --- a/backend/app_gen/openapi-parsers/other/TIO-API-Container-Security-v1.json +++ /dev/null @@ -1 +0,0 @@ -{"openapi":"3.0.0","info":{"title":"Container Security v1","version":"1.0.0"},"security":[{"cloud":[]}],"servers":[{"url":"https://cloud.tenable.com"}],"components":{"securitySchemes":{"cloud":{"type":"apiKey","in":"header","name":"X-ApiKeys","description":"Format - accessKey=ACCESS_KEY;secretKey=SECRET_KEY"}}},"x-samples-languages":["python","curl","node","powershell","ruby","javascript","objectivec","java","php","csharp","go","swift","kotlin"],"paths":{"/container-security/api/v1/container/list":{"get":{"summary":"List containers","description":"**Deprecated!** Tenable.io Container Security API v1 is deprecated. Use the [GET /container-security/api/v2/images](/reference#list-images) endpoint instead.\nLists all containers.
Requires BASIC [16] user permissions. See Permissions.
","operationId":"container-security-containers-list-containers","deprecated":true,"tags":["Containers"],"responses":{"200":{"description":"Returns an array of containers.","content":{"application/json":{"schema":{},"examples":{"response":{"value":[{"number_of_vulnerabilities":"string","name":"string","size":"string","digest":"string","repo_name":"string","score":"string","id":"string","status":"string","created_at":"string","repo_id":"string","platform":"string","updated_at":"string"}]}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"container-security-containers-image-inventory","deprecated":true,"tags":["Containers"],"parameters":[{"description":"The ID of the image that you want to inventory.","required":true,"name":"imageID","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the inventory of the image you specified.","content":{"application/json":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"object"}},"packages":{"type":"array","items":{"type":"object"}},"id":{"type":"string"}}},"examples":{"response":{"value":{"files":[{"path":"string","md5":"string","sha256":"string","fileType":"string","isCritical":true}],"packages":[{"name":"string","version":"string","release":"string","epoch":"string","rawString":"string"}],"id":"string"}}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"container-security-import-import","tags":["Import"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"host":{"type":"string","description":""},"port":{"type":"integer","description":"","format":"int32"},"username":{"type":"string","description":""},"password":{"type":"string","description":""},"provider":{"type":"string","description":""},"active":{"type":"boolean","description":""},"ssl":{"type":"boolean","description":""}},"required":["host","port","username","password","provider","ssl"]}}}},"responses":{"200":{"description":"Returns the ID you specified in the request.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"id":{"type":"string"}}},"examples":{"response":{"value":{"status":"string","id":"string"}}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"container-security-import-list-imports","tags":["Import"],"responses":{"200":{"description":"Returns an array of information about each import that has been performed.","content":{"application/json":{"schema":{},"examples":{"response":{"value":[{"org_id":"integer","user_uuid":"string","host":"string","port":"integer","username":"string","password":"string","provider":"string","active":"boolean","ssl":"boolean","hourBetween":"integer","id":"integer","created_at":"string","updated_at":"string","started_at":"string","finished_at":"string"}]}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"container-security-import-update-import-by-id","tags":["Import"],"parameters":[{"description":"The ID of the import that you want to update.","required":true,"name":"id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"host":{"type":"string","description":""},"port":{"type":"integer","description":"","format":"int32"},"username":{"type":"string","description":""},"password":{"type":"string","description":""},"provider":{"type":"string","description":""},"active":{"type":"boolean","description":""},"ssl":{"type":"boolean","description":""}},"required":["host","port","username","password","provider","ssl"]}}}},"responses":{"200":{"description":"Returns the ID you specified in the request.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"id":{"type":"string"}}},"examples":{"response":{"value":{"status":"string","id":"string"}}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"container-security-import-delete-import-by-id","deprecated":true,"tags":["Import"],"parameters":[{"description":"The ID of the import that you want to delete.","required":true,"name":"id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the ID of the deleted import.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"id":{"type":"string"}}},"examples":{"response":{"value":{"status":"string","id":"string"}}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"container-security-import-run-import-by-id","deprecated":true,"tags":["Import"],"parameters":[{"description":"The ID of the import that you want to run.","required":true,"name":"id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the ID of the import you want to run.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"id":{"type":"string"}}},"examples":{"response":{"value":{"status":"string","id":"string"}}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"container-security-import-test-connection","deprecated":true,"tags":["Import"],"parameters":[{"description":"A test ID. You can specify any integer as the ID. Tenable.io Container Security uses this value for the test only.","required":true,"name":"id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the ID you specified in the request.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"id":{"type":"string"}}},"examples":{"response":{"value":{"status":"string","id":"string"}}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"container-security-jobs-list-jobs","deprecated":true,"tags":["Jobs"],"responses":{"200":{"description":"Returns an array of the statuses of all active jobs.","content":{"application/json":{"schema":{},"examples":{"response":{"value":[{"container_id":"string","job_id":"string","error":"string","job_status":"string","created_at":"string","updated_at":"string"}]}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"container-security-jobs-job-status","deprecated":true,"tags":["Jobs"],"parameters":[{"description":"The ID of the job for which you want the status.","required":true,"name":"job_id","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the status of the job you specified.","content":{"application/json":{"schema":{"type":"object","properties":{"container_id":{"type":"string"},"job_id":{"type":"string"},"error":{"type":"string"},"job_status":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"examples":{"response":{"value":{"container_id":"string","job_id":"string","error":"string","job_status":"string","created_at":"string","updated_at":"string"}}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"container-security-jobs-job-status-by-image-id","deprecated":true,"tags":["Jobs"],"parameters":[{"description":"The ID of the image for which you want the status.","required":true,"name":"image_id","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the status of the job you specified.","content":{"application/json":{"schema":{"type":"object","properties":{"container_id":{"type":"string"},"job_id":{"type":"string"},"error":{"type":"string"},"job_status":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"examples":{"response":{"value":{"container_id":"string","job_id":"string","error":"string","job_status":"string","created_at":"string","updated_at":"string"}}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"container-security-jobs-job-status-by-image-digest","deprecated":true,"tags":["Jobs"],"parameters":[{"description":"The image digest of the job for which you want the status.","required":true,"name":"image_digest","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the status of the job you specified.","content":{"application/json":{"schema":{"type":"object","properties":{"container_id":{"type":"string"},"job_id":{"type":"string"},"error":{"type":"string"},"job_status":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"examples":{"response":{"value":{"container_id":"string","job_id":"string","error":"string","job_status":"string","created_at":"string","updated_at":"string"}}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"container-security-policy-policy-compliance-by-id","deprecated":true,"tags":["Policy"],"parameters":[{"description":"The ID of the image that you want to check for policy compliance.","required":true,"name":"image_id","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns an array of compliance results.","content":{"application/json":{"schema":{},"examples":{"response":{"value":[{"status":"string","message":"string","reason":"string"}]}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"container-security-policy-policy-compliance-by-name","deprecated":true,"tags":["Policy"],"parameters":[{"description":"The name of the image for which you want the job status.","required":true,"name":"image","in":"query","schema":{"type":"string"}},{"description":"The name of the repository that hosts the image. By default, this value is library.","required":false,"name":"repo","in":"query","schema":{"type":"string"}},{"description":"The tag for the image that you want to check for policy compliance.","required":false,"name":"tag","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns an array compliance results.","content":{"application/json":{"schema":{},"examples":{"response":{"value":[{"status":"string","message":"string","reason":"string"}]}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"container-security-reports-report-by-container-id","deprecated":true,"tags":["Reports"],"parameters":[{"description":"The ID of the container for which you want a report.","required":true,"name":"container_id","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the report for the container you specified.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"image_name":{"type":"string"},"docker_image_id":{"type":"string"},"tag":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"platform":{"type":"string"},"findings":{"type":"array","items":{"type":"object"}},"malware":{"type":"array","items":{"type":"object"}},"potentially_unwanted_programs":{"type":"array","items":{"type":"object"}},"sha256":{"type":"string"},"os":{"type":"string"},"os_version":{"type":"string"},"os_architecture":{"type":"string"},"os_release_name":{"type":"string"},"installed_packages":{"type":"array","items":{"type":"object"}},"risk_score":{"type":"integer","format":"int32"},"digest":{"type":"string"}}},"examples":{"response":{"value":{"id":"string","image_name":"string","docker_image_id":"string","tag":"string","created_at":"string","updated_at":"string","platform":"string","findings":[{"nvdFinding":{"reference_id":"string","cve":"string","published_date":"string","modified_date":"string","description":"string","cvss_score":"string","access_vector":"string","access_complexity":"string","auth":"string","availability_impact":"string","confidentiality_impact":"string","integrity_impact":"string","cwe":"string","cpe":["string"],"remediation":"string","references":["string"]},"packages":[{"name":"string","version":"string","release":"string","epoch":"string","rawString":"string"}]}],"malware":[{"infectedFile":"string","fileTypeDescriptor":"string","md5":"string","sha256":"string"}],"potentially_unwanted_programs":[{"file":"string","md5":"string","sha256":"string"}],"sha256":"string","os":"string","os_version":"string","os_architecture":"string","os_release_name":"string","installed_packages":[{"name":"string","version":"string","release":"string","epoch":"string","rawString":"string"}],"risk_score":0,"digest":"string"}}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"container-security-reports-report-by-image-id","deprecated":true,"tags":["Reports"],"parameters":[{"description":"The ID of the image for which you want a report.","required":true,"name":"image_id","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the report for the image you specified.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"image_name":{"type":"string"},"docker_image_id":{"type":"string"},"tag":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"platform":{"type":"string"},"findings":{"type":"array","items":{"type":"object"}},"malware":{"type":"array","items":{"type":"object"}},"potentially_unwanted_programs":{"type":"array","items":{"type":"object"}},"sha256":{"type":"string"},"os":{"type":"string"},"os_version":{"type":"string"},"os_architecture":{"type":"string"},"os_release_name":{"type":"string"},"installed_packages":{"type":"array","items":{"type":"object"}},"risk_score":{"type":"integer","format":"int32"},"digest":{"type":"string"}}},"examples":{"response":{"value":{"id":"string","image_name":"string","docker_image_id":"string","tag":"string","created_at":"string","updated_at":"string","platform":"string","findings":[{"nvdFinding":{"cve":"string","published_date":"string","modified_date":"string","description":"string","cvss_score":"string","access_vector":"string","access_complexity":"string","auth":"string","availability_impact":"string","confidentiality_impact":"string","integrity_impact":"string","cwe":"string","cpe":["string"],"remediation":"string","references":["string"]},"packages":[{"name":"string","version":"string","release":"string","epoch":"string","rawString":"string"}]}],"malware":[{"infectedFile":"string","fileTypeDescriptor":"string","md5":"string","sha256":"string"}],"potentially_unwanted_programs":[{"file":"string","md5":"string","sha256":"string"}],"sha256":"string","os":"string","os_version":"string","os_architecture":"string","os_release_name":"string","installed_packages":[{"name":"string","version":"string","type":"string","license":"string"}],"risk_score":0,"digest":"string"}}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"container-security-reports-report-by-image-digest","deprecated":true,"tags":["Reports"],"parameters":[{"description":"The image digest of the image for which you want a report.","required":true,"name":"image_digest","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the report for the image you specified.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"image_name":{"type":"string"},"docker_image_id":{"type":"string"},"tag":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"platform":{"type":"string"},"findings":{"type":"array","items":{"type":"object"}},"malware":{"type":"array","items":{"type":"object"}},"potentially_unwanted_programs":{"type":"array","items":{"type":"object"}},"sha256":{"type":"string"},"os":{"type":"string"},"os_version":{"type":"string"},"os_architecture":{"type":"string"},"os_release_name":{"type":"string"},"installed_packages":{"type":"array","items":{"type":"object"}},"risk_score":{"type":"integer","format":"int32"},"digest":{"type":"string"}}},"examples":{"response":{"value":{"id":"string","image_name":"string","docker_image_id":"string","tag":"string","created_at":"string","updated_at":"string","platform":"string","findings":[{"nvdFinding":{"reference_id":"string","cve":"string","published_date":"string","modified_date":"string","description":"string","cvss_score":"string","access_vector":"string","access_complexity":"string","auth":"string","availability_impact":"string","confidentiality_impact":"string","integrity_impact":"string","cwe":"string","cpe":["string"],"remediation":"string","references":["string"]},"packages":[{"name":"string","version":"string","release":"string","epoch":"string","rawString":"string"}]}],"malware":[{"infectedFile":"string","fileTypeDescriptor":"string","md5":"string","sha256":"string"}],"potentially_unwanted_programs":[{"file":"string","md5":"string","sha256":"string"}],"sha256":"string","os":"string","os_version":"string","os_architecture":"string","os_release_name":"string","installed_packages":[{"name":"string","version":"string","release":"string","epoch":"string","rawString":"string"}],"risk_score":0,"digest":"string"}}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"container-security-reports-nessus-report-by-container-id","deprecated":true,"tags":["Reports"],"parameters":[{"description":"The ID of the container for which you want a report.","required":true,"name":"id","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the Nessus report for the container you specified.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{"To do":"Add response sample here"}}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"container-security-repositories-list-repositories","deprecated":true,"tags":["Repositories"],"parameters":[{"description":"The number of items Tenable.io Container Security skips before starting to collect the result set.","required":false,"name":"offset","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The maximum number of items to return.","required":false,"name":"limit","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns an array of repositories.","content":{"application/json":{"schema":{"type":"object","properties":{"offset":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"items":{"type":"array","items":{"type":"object"}}}},"examples":{"response":{"value":{"offset":"integer","limit":"integer","total":"integer","items":[{"name":"string","description":"string","pullCount":"integer","pushCount":"integer"}]}}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"container-security-repositories-list-images","deprecated":true,"tags":["Repositories"],"parameters":[{"description":"The ID of the relevant repository.","required":true,"name":"id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The number of items to skip before Tenable.io Container Security starts to collect the result set.","required":false,"name":"offset","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The maximum number of items to return.","required":false,"name":"limit","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns an array of images.","content":{"application/json":{"schema":{"type":"object","properties":{"offset":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"items":{"type":"array","items":{"type":"object"}}}},"examples":{"response":{"value":{"offset":"integer","limit":"integer","total":"integer","items":[{"id":"string","repoId":"string","name":"string","tag":"string","digest":"string","hasReport":"boolean","hasInventory":"boolean","status":"string","score":"integer","numberOfVulns":"integer","numberOfMalware":"integer","pullCount":"string","pushCount":"string","source":"string","createdAt":"string","updatedAt":"string","finishedAt":"string","imageHash":"string","size":"string","layers":["string"]}]}}}}}},"401":{"description":"Returns an error message if the request is not authorized."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","parameters":[{"in":"query","name":"offset","required":false,"schema":{"type":"integer","minimum":0,"default":0},"description":"The number of skipped records in the returned result set. Must be in the int32 format."},{"in":"query","name":"limit","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000,"default":50},"description":"The number of records to include in the result set. Must be in the int32 format. Default is 50. The maximum limit is 1,000."},{"in":"query","name":"name","schema":{"type":"string"},"description":"The image name to filter on. Tenable.io returns only the images with names that exactly match the parameter value. The value is case-sensitive."},{"in":"query","name":"repo","schema":{"type":"string"},"description":"The repository name to filter on. Tenable.io returns only the images from repositories that exactly match the parameter value. The value is case-sensitive."},{"in":"query","name":"tag","schema":{"type":"string"},"description":"The tag to filter on. Tenable.io returns only the images with tags that exactly match the parameter value. The value is case-sensitive."},{"in":"query","name":"hasMalware","schema":{"type":"boolean"},"description":"Specifies whether to return only the images with associated malware (images with the `numberOfMalware` attribute greater than 0)."},{"in":"query","name":"score","schema":{"type":"integer"},"description":"The score to filter on. Tenable.io limits results based on the parameter value and the comparison operator specified by the `scoreOperator` parameter. For more information about the risk score metric, see [Tenable.io Vulnerability Management User Guide](https://docs.tenable.com/cloud/containersecurity/Content/ContainerSecurity/RiskMetrics.htm)."},{"in":"query","name":"scoreOperator","description":"The comparison operator for the value specified by the `score` parameter. Operators include:\n - EQ—equals\n - GT—greater than\n - EQ—less than","schema":{"type":"string","enum":["EQ","LT","GT"]}},{"in":"query","name":"os","schema":{"type":"string"},"description":"The operating system to filter on. Tenable.io returns only the images with an operating system that exactly matches the parameter value."}],"responses":{"200":{"description":"Returns a paginated list of images in your Tenable.io Container Security instance.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/imageListResponse"},"examples":{"response":{"value":{"items":[{"repoId":"2491620318530539587","repoName":"dmjb","name":"jboss","tag":"latest","digest":"sha256:f75748b2bbd5a386c8d876770ff09a65c42335fb1f538025b928c794ffa8123f","hasReport":false,"hasInventory":false,"status":"scan_failed","lastJobStatus":"failed","pullCount":"0","pushCount":"1","source":"pushed","createdAt":"2019-04-19T11:31:11.283Z","updatedAt":"2019-04-19T12:33:29.903Z","finishedAt":"2019-04-19T12:33:29.903Z","imageHash":"859c02589af7","size":"4471","layers":[{"size":133212385,"digest":"sha256:01e684a89bbea67a11fcc96caed8e8b3320c44e29c2ab2a85016f48a69870bc8"},{"size":32,"digest":"sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1"},{"size":32,"digest":"sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1"},{"size":32,"digest":"sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1"},{"size":32,"digest":"sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1"},{"size":3338,"digest":"sha256:ebdaef68b4f08d23189ae32fd90bd68261385549f46360d9c3d163b988d91a45"},{"size":250,"digest":"sha256:cc7ec6c68bd72324ab932dc00474d0713044542c2adf6bff6f4e4d1cacc70737"},{"size":510,"digest":"sha256:01bb3ac59edc6a05e14a5151cdc39eae261ff37a933118063d1f91bb14aaceb4"},{"size":7863072,"digest":"sha256:a248b0871c3cac9ce2b2a956e118ce03e49027d5d4c4da74df00ae399fff17c3"},{"size":681,"digest":"sha256:c9f371853f28eb40b76f309e27f671b57bffb8d80df4ca8e7970885ae532e172"},{"size":86733990,"digest":"sha256:2fe0df338fc0cc7d9ec4428ba7538f165f901f3a7760c7fecbdda11a435c5eee"},{"size":71511,"digest":"sha256:aa2f8df214335759614f9aceea51f570354944f59c36cc8399415bbfab91839e"},{"size":67494686,"digest":"sha256:23efb549476f5f10a40b3784758a807c0194d87a0b18c9a5a3436e67611e971b"},{"size":421,"digest":"sha256:1049dfc2ba444c2f74f3eb77a07d0fd5fe304d79ea7178d5a0885788696d63aa"},{"size":374,"digest":"sha256:ef072d3c9b418ba3ce624ce456d311bb81c9ae5d4d5bc682da5edadde408fce7"}],"os":"Unknown","osVersion":"Unknown"},{"repoId":"7185635748924628551","repoName":"elastic","name":"elasticsearch","tag":"5","digest":"sha256:0278ed727ad6dd0bef0be279b3112755a110980c31f07e7f4a54e19b9ca2e24a","hasReport":true,"hasInventory":false,"status":"scanned","lastJobStatus":"completed","score":10,"numberOfVulns":54,"numberOfMalware":0,"pullCount":"0","pushCount":"1","source":"on_prem_import","createdAt":"2018-12-13T17:51:03.295Z","updatedAt":"2019-05-14T10:48:02.857Z","finishedAt":"2019-05-14T10:48:02.857Z","imageHash":"5e9d896dc62c","size":"3460","layers":[],"os":"Debian","osVersion":"9.5"},{"repoId":"7185635748924628551","repoName":"postgres_db","name":"postgres","tag":"latest","digest":"sha256:0dec082064d1203a3ead704057de56823d2c8ae11818da0fd3065dee9ec1b92e","hasReport":true,"hasInventory":false,"status":"scanned","lastJobStatus":"completed","score":10,"numberOfVulns":46,"numberOfMalware":0,"pullCount":"0","pushCount":"1","source":"on_prem_import","createdAt":"2018-12-13T17:51:43.861Z","updatedAt":"2019-05-14T16:46:10.739Z","finishedAt":"2019-05-14T16:46:10.739Z","imageHash":"c230b2f564da","size":"3244","layers":[],"os":"Debian","osVersion":"9.6"}],"pagination":{"offset":0,"limit":1000,"total":138,"sort":[]}}}}}}},"401":{"description":"Returned if Tenable.io cannot authenticate the user account that submitted the request."}}}},"/images/{repository}/{image}/{tag}":{"get":{"tags":["Images"],"summary":"Get image details","operationId":"container-security-v2-get-image-details","description":"Returns the details for an image specified by repository, name, and tag.Requires BASIC [16] user permissions. See Permissions.
","parameters":[{"name":"repository","in":"path","description":"The name of the Tenable.io Container Security repository where the image is stored. The value is case-sensitive.","required":true,"schema":{"type":"string"}},{"name":"image","in":"path","required":true,"schema":{"type":"string"},"description":"The name of the image. The value is case-sensitive."},{"name":"tag","in":"path","required":true,"description":"The tag identifying the image version. The value is case-sensitive.\n**Note**: Image tags are not equivalent to Tenable.io [asset tags](/reference#tags).","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the image details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/imageDetails"},"examples":{"response":{"value":{"name":"jboss","repository":"dmjb","tag":"latest","digest":"sha256:f75748b2bbd5a386c8d876770ff09a65c42335fb1f538025b928c794ffa8123f","uploadedAt":"2019-04-19T11:31:11.283Z","lastScanned":"2019-04-19T12:33:29.903Z","status":"scan_failed","size":"4471","layers":[{"size":133212385,"digest":"sha256:01e684a89bbea67a11fcc96caed8e8b3320c44e29c2ab2a85016f48a69870bc8"},{"size":32,"digest":"sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1"},{"size":32,"digest":"sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1"},{"size":32,"digest":"sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1"},{"size":32,"digest":"sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1"},{"size":3338,"digest":"sha256:ebdaef68b4f08d23189ae32fd90bd68261385549f46360d9c3d163b988d91a45"},{"size":250,"digest":"sha256:cc7ec6c68bd72324ab932dc00474d0713044542c2adf6bff6f4e4d1cacc70737"},{"size":510,"digest":"sha256:01bb3ac59edc6a05e14a5151cdc39eae261ff37a933118063d1f91bb14aaceb4"},{"size":7863072,"digest":"sha256:a248b0871c3cac9ce2b2a956e118ce03e49027d5d4c4da74df00ae399fff17c3"},{"size":681,"digest":"sha256:c9f371853f28eb40b76f309e27f671b57bffb8d80df4ca8e7970885ae532e172"},{"size":86733990,"digest":"sha256:2fe0df338fc0cc7d9ec4428ba7538f165f901f3a7760c7fecbdda11a435c5eee"},{"size":71511,"digest":"sha256:aa2f8df214335759614f9aceea51f570354944f59c36cc8399415bbfab91839e"},{"size":67494686,"digest":"sha256:23efb549476f5f10a40b3784758a807c0194d87a0b18c9a5a3436e67611e971b"},{"size":421,"digest":"sha256:1049dfc2ba444c2f74f3eb77a07d0fd5fe304d79ea7178d5a0885788696d63aa"},{"size":374,"digest":"sha256:ef072d3c9b418ba3ce624ce456d311bb81c9ae5d4d5bc682da5edadde408fce7"}]}}}}}},"401":{"description":"Returned if Tenable.io cannot authenticate the user account that submitted the request."},"404":{"description":"Returned if Tenable.io cannot find the specified image."}}},"delete":{"tags":["Images"],"summary":"Delete image","description":"Deletes an image specified by repository, name, and tag.Requires SCAN OPERATOR [24] user permissions. See Permissions.
","operationId":"container-security-v2-delete-image","parameters":[{"name":"repository","in":"path","description":"The name of the Tenable.io Container Security repository where the image is stored. The value is case-sensitive.","required":true,"schema":{"type":"string"}},{"name":"image","in":"path","required":true,"schema":{"type":"string"},"description":"The name of the image. The value is case-sensitive."},{"name":"tag","in":"path","required":true,"description":"The tag identifying the image version. The value is case-sensitive.\n**Note**: Image tags are not equivalent to Tenable.io [asset tags](/reference#tags).","schema":{"type":"string"}}],"responses":{"204":{"description":"Returned if Tenable.io successfully deletes the specified image."},"401":{"description":"Returned if Tenable.io cannot authenticate the user account that submitted the request."},"404":{"description":"Returned if Tenable.io cannot find the specified image."}}}},"/repositories":{"get":{"tags":["Repositories"],"operationId":"container-security-v2-list-repositories","summary":"List repositories","description":"Returns a list of image repositories in your Tenable.io Container Security instance. Use the query parameters to filter the list.Requires BASIC [16] user permissions. See Permissions.
","parameters":[{"name":"imageName","in":"query","required":false,"schema":{"type":"string"},"description":"The repository name to filter on. Tenable.io Container Security returns only the repositories with names that exactly match the parameter value. The value is case-sensitive."},{"name":"nameContains","in":"query","required":false,"schema":{"type":"string"},"description":"The partial repository name to filter on. Tenable.io Container Security returns the images with names that contain the parameter value. The value is case-sensitive."},{"in":"query","name":"offset","required":false,"schema":{"type":"integer","minimum":0,"default":0},"description":"The number of skipped records in the returned result set. Must be in the int32 format."},{"in":"query","name":"limit","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000,"default":50},"description":"The number of records to include in the result set. Must be in the int32 format. Default is 50. The maximum limit is 1,000."}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/repositoryListResponse"},"examples":{"response":{"value":{"items":[{"name":"dmjb","imagesCount":6,"labelsCount":6,"vulnerabilitiesCount":792,"malwareCount":0,"pullCount":0,"pushCount":12,"totalBytes":1766950068},{"name":"air-gap","imagesCount":7,"labelsCount":7,"vulnerabilitiesCount":514,"malwareCount":0,"pullCount":0,"pushCount":0,"totalBytes":0},{"name":"imiell","imagesCount":1,"labelsCount":1,"vulnerabilitiesCount":291,"malwareCount":0,"pullCount":0,"pushCount":2,"totalBytes":403346467}],"pagination":{"offset":0,"limit":10,"total":3,"sort":[]}}}}}}},"401":{"description":"Returned if Tenable.io cannot authenticate the user account that submitted the request."}}}},"/repositories/{name}":{"get":{"tags":["Repositories"],"operationId":"container-security-v2-get-repository-details","summary":"Get repository details","description":"Returns details for a Tenable.io Container Security repository.Requires BASIC [16] user permissions. See Permissions.
","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the repository details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/repositoryDetails"},"examples":{"response":{"value":{"name":"dmjb","imagesCount":6,"labelsCount":6,"vulnerabilitiesCount":842,"malwareCount":0,"pullCount":0,"pushCount":12,"totalBytes":1766950068}}}}}},"401":{"description":"Returned if Tenable.io cannot authenticate the user account that submitted the request."},"404":{"description":"Returned if Tenable.io cannot find the specified repository."}}},"delete":{"tags":["Repositories"],"summary":"Delete repository","description":"Deletes a Tenable.io Container Security repository.Requires SCAN OPERATOR [24] user permissions. See Permissions.
","operationId":"container-security-v2-delete-repository","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"},"description":"The name of the repository to delete."}],"responses":{"204":{"description":"Returned if Tenable.io successfully deletes the specified repository."},"401":{"description":"Returned if Tenable.io cannot authenticate the user account that submitted the request."},"404":{"description":"Returned if Tenable.io cannot find the specified repository."}}}},"/reports/{repository}/{image}/{tag}":{"get":{"tags":["Reports"],"operationId":"container-security-v2-get-image-report","summary":"Get image report","description":"Returns a vulnerability report for the specified image.Requires BASIC [16] user permissions. See Permissions.
","parameters":[{"name":"repository","in":"path","description":"The name of the Tenable.io Container Security repository where the image is stored. The value is case-sensitive.","required":true,"schema":{"type":"string"}},{"name":"image","in":"path","required":true,"schema":{"type":"string"},"description":"The name of the image. The value is case-sensitive."},{"name":"tag","in":"path","required":true,"description":"The tag identifying the image version. The value is case-sensitive.\n**Note**: Image tags are not equivalent to Tenable.io [asset tags](/reference#tags).","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns a vulnerability scan report for the image.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/imageReport"},"examples":{"response":{"value":{"os_release_name":"16.04.2 LTS (Xenial Xerus)","malware":[{"file":"/20131116130541_http___198_2_192_204_22_disknyp","type":"ELF32","md5":"c92129fc230bacd113530fee254fc2b6","sha256":"sha256:60e24cb19a3cfdc88712f3511adfde242abff3c1915b34eeb19dd7cc72380df2"},{"file":"/20131103183232_http___61_132_227_111_8080_meimei","type":"ELF32","md5":"27072fd3a3cedaeed8cfebf29b9ed73f","sha256":"sha256:a8cd37210dea08880122c360cd096eda872f443c3dd39e498b2695955a3e0ad7"},{"file":"/20131116163507_http___198_2_192_204_22_disknyp","type":"ELF32","md5":"c92129fc230bacd113530fee254fc2b6","sha256":"sha256:60e24cb19a3cfdc88712f3511adfde242abff3c1915b34eeb19dd7cc72380df2"}],"sha256":"sha256:f708f91abdec052d05a46213815540616d24627b6af9cb3668484efb017969bf","os":"LINUX_UBUNTU","risk_score":10,"findings":[{"nvdFinding":{"cve":"CVE-2018-0494","description":"2018/05/09","published_date":"2018/05/09","modified_date":"It was discovered that Wget incorrectly handled certain inputs. An\nattacker could possibly use this to inject arbitrary cookie values.\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Ubuntu security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.","cvss_score":"4.3","access_vector":"Network","access_complexity":"Medium","auth":"None required","availability_impact":"None","confidentiality_impact":"None","integrity_impact":"Partial","cwe":"CWE-20","cpe":["p-cpe:/a:canonical:ubuntu_linux:wget"],"remediation":"Update the affected wget package.","references":["USN:3643-1"]},"packages":[{"name":"wget","version":"1.17.1-1ubuntu1.2","type":"linux"}]},{"nvdFinding":{"cve":"CVE-2017-15670","description":"2018/01/17","published_date":"2018/01/17","modified_date":"It was discovered that the GNU C library did not properly handle all\nof the possible return values from the kernel getcwd(2) syscall. A\nlocal attacker could potentially exploit this to execute arbitrary\ncode in setuid programs and gain administrative privileges.\n(CVE-2018-1000001)\n\nA memory leak was discovered in the _dl_init_paths() function in the\nGNU C library dynamic loader. A local attacker could potentially\nexploit this with a specially crafted value in the LD_HWCAP_MASK\nenvironment variable, in combination with CVE-2017-1000409 and another\nvulnerability on a system with hardlink protections disabled, in order\nto gain administrative privileges. (CVE-2017-1000408)\n\nA heap-based buffer overflow was discovered in the _dl_init_paths()\nfunction in the GNU C library dynamic loader. A local attacker could\npotentially exploit this with a specially crafted value in the\nLD_LIBRARY_PATH environment variable, in combination with\nCVE-2017-1000408 and another vulnerability on a system with hardlink\nprotections disabled, in order to gain administrative privileges.\n(CVE-2017-1000409)\n\nAn off-by-one error leading to a heap-based buffer overflow was\ndiscovered in the GNU C library glob() implementation. An attacker\ncould potentially exploit this to cause a denial of service or execute\narbitrary code via a maliciously crafted pattern. (CVE-2017-15670)\n\nA heap-based buffer overflow was discovered during unescaping of user\nnames with the ~ operator in the GNU C library glob() implementation.\nAn attacker could potentially exploit this to cause a denial of\nservice or execute arbitrary code via a maliciously crafted pattern.\n(CVE-2017-15804)\n\nIt was discovered that the GNU C library dynamic loader mishandles\nRPATH and RUNPATH containing $ORIGIN for privileged (setuid or\nAT_SECURE) programs. A local attacker could potentially exploit this\nby providing a specially crafted library in the current working\ndirectory in order to gain administrative privileges. (CVE-2017-16997)\n\nIt was discovered that the GNU C library malloc() implementation could\nreturn a memory block that is too small if an attempt is made to\nallocate an object whose size is close to SIZE_MAX, resulting in a\nheap-based overflow. An attacker could potentially exploit this to\ncause a denial of service or execute arbitrary code. This issue only\naffected Ubuntu 17.10. (CVE-2017-17426).\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Ubuntu security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.","cvss_score":"7.5","access_vector":"Network","access_complexity":"Medium","auth":"None required","availability_impact":"Complete","confidentiality_impact":"Complete","integrity_impact":"Complete","cwe":"CWE-119","cpe":["p-cpe:/a:canonical:ubuntu_linux:libc6"],"remediation":"Update the affected libc6 package.","references":["USN:3534-1"]},"packages":[{"name":"libc6","version":"2.23-0ubuntu9","type":"linux"}]},{"nvdFinding":{"cve":"CVE-2017-13089","description":"2017/10/26","published_date":"2017/10/26","modified_date":"Antti Levomäki, Christian Jalio, and Joonas Pihlaja discovered that\nWget incorrectly handled certain HTTP responses. A remote attacker\ncould use this issue to cause Wget to crash, resulting in a denial of\nservice, or possibly execute arbitrary code. (CVE-2017-13089,\nCVE-2017-13090)\n\nDawid Golunski discovered that Wget incorrectly handled recursive or\nmirroring mode. A remote attacker could possibly use this issue to\nbypass intended access list restrictions. (CVE-2016-7098)\n\nOrange Tsai discovered that Wget incorrectly handled CRLF sequences in\nHTTP headers. A remote attacker could possibly use this issue to\ninject arbitrary HTTP headers. (CVE-2017-6508).\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Ubuntu security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.","cvss_score":"9.3","access_vector":"Network","access_complexity":"Medium","auth":"None required","availability_impact":"Complete","confidentiality_impact":"Complete","integrity_impact":"Complete","cwe":"CWE-119","cpe":["p-cpe:/a:canonical:ubuntu_linux:wget"],"remediation":"Update the affected wget package.","references":["USN:3464-1"]},"packages":[{"name":"wget","version":"1.17.1-1ubuntu1.2","type":"linux"}]}],"os_version":"16.04","created_at":"2018-09-17T17:07:34.556Z","installed_packages":[{"name":"dpkg","version":"1.18.4ubuntu1.2","type":"linux"},{"name":"ubuntu-keyring","version":"2012.05.19","type":"linux"},{"name":"libssl1.0.0","version":"1.0.2g-1ubuntu4.8","type":"linux"},{"name":"libcap2-bin","version":"1:2.24-12","type":"linux"},{"name":"liblz4-1","version":"0.0~r131-2ubuntu2","type":"linux"}],"platform":"docker","image_name":"ubuntu","updated_at":"2019-05-16T11:04:20.301Z","digest":"f708f91abdec052d05a46213815540616d24627b6af9cb3668484efb017969bf","tag":"infected","potentially_unwanted_programs":[],"docker_image_id":"4013750e4cd5","os_architecture":"AMD64"}}}}}},"401":{"description":"Returned if Tenable.io cannot authenticate the user account that submitted the request."},"404":{"description":"Returned if Tenable.io cannot find the specified image or the report for the image is not ready."}}}}},"components":{"securitySchemes":{"cloud":{"type":"apiKey","in":"header","name":"X-ApiKeys","description":"Format - accessKey=ACCESS_KEY;secretKey=SECRET_KEY"}},"schemas":{"imageListResponse":{"type":"object","description":"A list of images with pagination information.","properties":{"pagination":{"$ref":"#/components/schemas/pagination"},"items":{"type":"array","items":{"$ref":"#/components/schemas/imageDetails"}}}},"imageDetails":{"type":"object","description":"The image details.","properties":{"name":{"type":"string","description":"The name of the image."},"repository":{"type":"string","description":"The name of the Tenable.io Container Security repository where the image is stored."},"tag":{"type":"string","description":"The tag identifying the image version.\n**Note**: Image tags are not equivalent to Tenable.io [asset tags](/reference#tags)."},"digest":{"type":"string","description":"A content-addressable image identifier."},"status":{"type":"string","description":"The image analysis status. Status values can include:\n - never_scanned\n - scanned\n - scan_failed","enum":["never_scanned","scanned","scan_failed"]},"score":{"type":"number","format":"double","description":"The image risk score. For more information about the risk score metric, see [Tenable.io Vulnerability Management User Guide](https://docs.tenable.com/cloud/containersecurity/Content/ContainerSecurity/RiskMetrics.htm)."},"numberOfVulns":{"type":"integer","format":"int32","description":"The number of known vulnerabilities for the image."},"numberOfMalware":{"type":"integer","format":"int32","description":"The number of known malware exploits for image."},"uploadedAt":{"type":"string","description":"An ISO timestamp indicating the date and time when the image was uploaded to Tenable.io Container Security, for example, `2018-12-31T13:51:17.243Z`."},"lastScanned":{"type":"string","description":"An ISO timestamp indicating the date and time when Tenable.io Container Security last scanned the image, for example, `2018-12-31T13:51:17.243Z`."},"layers":{"type":"array","description":"The layers that represent the history of changes to the image.","items":{"$ref":"#/components/schemas/layer"}},"reportUrl":{"type":"string","description":"The URL of the latest available image analysis report."}}},"layer":{"type":"object","description":"Detailed information for an image layer.","properties":{"size":{"type":"number","format":"long","description":"The layer size in kilobytes."},"digest":{"type":"string","description":"A content-addressable layer identifier."}}},"repositoryListResponse":{"type":"object","description":"A list of Tenable.io Container Security repositories with pagination information.","properties":{"pagination":{"$ref":"#/components/schemas/pagination"},"items":{"type":"array","items":{"$ref":"#/components/schemas/repositoryDetails"}}}},"repositoryDetails":{"type":"object","description":"Details of a Tenable.io Container Security repository.","properties":{"name":{"type":"string","description":"The name of the repository."},"description":{"type":"string","description":"The description of the repository."},"imagesCount":{"type":"integer","format":"int64","description":"The total number of images in the repository."},"labelsCount":{"type":"integer","format":"int64","description":"The number of unique image name/tag combinations in the repository."},"vulnerabilitiesCount":{"type":"integer","format":"int64","description":"The total number of discovered vulnerabilities for the images in the repository."},"malwareCount":{"type":"integer","format":"int64","description":"The total number of known malware exploits for the images in the repository."},"pullCount":{"type":"integer","format":"int64","description":"The number of times the image was pulled from the repository."},"pushCount":{"type":"integer","format":"int64","description":"The number of times the image was uploaded to the repository"},"totalBytes":{"type":"integer","format":"int64","description":"The total size in bytes of the images in the repository."}},"required":["name","imagesCount","labelsCount","vulnerabilitiesCount","malwareCount","pullCount","pushCount","totalBytes"]},"imageReport":{"type":"object","description":"An image vulnerability report.","properties":{"os_release_name":{"type":"string","description":"The image operating system release name."},"malware":{"type":"array","description":"A list of malware files identified by the Tenable.io Container Security scan in the image.","items":{"$ref":"#/components/schemas/malware"},"uniqueItems":true},"sha256":{"type":"string","description":"The image SHA256 hash."},"os":{"type":"string","description":"The image operating system."},"risk_score":{"type":"integer","description":"The image risk score on a scale of 1-10. For more information about the risk score metric, see [Tenable.io Vulnerability Management User Guide](https://docs.tenable.com/cloud/containersecurity/Content/ContainerSecurity/RiskMetrics.htm)."},"findings":{"type":"array","description":"A list of vulnerabilities that Tenable.io Container Security identified in the image.","items":{"$ref":"#/components/schemas/finding"},"uniqueItems":true},"os_version":{"type":"string","description":"The image operating system version."},"created_at":{"type":"string","format":"date-time","description":"An ISO timestamp indicating the date and time when the image was created, for example, `2018-12-31T13:51:17.243Z`."},"installed_packages":{"type":"array","description":"A list of installed software packages for the image.","items":{"$ref":"#/components/schemas/installedPackage"}},"platform":{"type":"string","description":"The image platform, for example, `docker`."},"image_name":{"type":"string","description":"The name of the image."},"updated_at":{"type":"string","format":"date-time","description":"An ISO timestamp indicating the date and time when the image was last uploaded, for example, `2018-12-31T13:51:17.243Z`."},"digest":{"type":"string","description":"The image digest."},"tag":{"type":"string","description":"The tag identifying the image version.\n**Note**: Image tags are not equivalent to Tenable.io [asset tags](/reference#tags)."},"potentially_unwanted_programs":{"type":"array","description":"A list of potentially unwanted programs for the image.","items":{"$ref":"#/components/schemas/unwantedProgram"},"uniqueItems":true},"docker_image_id":{"type":"string","description":"The image Docker ID."},"os_architecture":{"type":"string","description":"An image processor architecture, for example, `AMD64`."}},"required":["name","imagesCount","labelsCount","vulnerabilitiesCount","malwareCount","pullCount","pushCount","totalBytes"]},"finding":{"type":"object","description":"The details for the discovered vulnerability and a list of associated software packages.","properties":{"nvdFinding":{"$ref":"#/components/schemas/nvdFinding"},"packages":{"type":"array","items":{},"uniqueItems":true}}},"nvdFinding":{"type":"object","description":"The details for the discovered vulnerability, including description, external references, and remediation information.","properties":{"cve":{"type":"string","description":"The Common Vulnerabilities and Exposures (CVE) ID for vulnerability."},"description":{"type":"string","description":"The extended description of the vulnerability."},"published_date":{"type":"string","description":"An ISO timestamp indicating the date when the vulnerability definition was published, for example, `2018-12-31T13:51:17.243Z`."},"modified_date":{"type":"string","description":"An ISO timestamp indicating the date when the vulnerability definition was updated, for example, `2018-12-31T13:51:17.243Z`."},"cvss_score":{"type":"string","description":"The CVSSv2 base score (intrinsic and fundamental characteristics of a vulnerability that are constant over time and user environments)."},"access_vector":{"type":"string","description":"The CVSSv2 Access Vector (AV) metric for the vulnerability indicating how the vulnerability can be exploited. Possible values include:\n - Local\n - Adjacent Network\n - Network"},"access_complexity":{"type":"string","description":"The CVSSv2 Access Complexity (AC) metric for the vulnerability. Possible values include:\n - High\n - Medium\n - Low"},"auth":{"type":"string","description":"The CVSSv2 Authentication (Au) metric for the vulnerability. The metric describes the number of times that an attacker must authenticate to a target to exploit it. Possible values include:\n - None required\n - Single\n - Multiple"},"availability_impact":{"type":"string","description":"The CVSSv2 availability impact metric for the vulnerability. The metric describes the impact on the availability of the target system. Possible values include:\n - None\n - Partial\n - Complete"},"confidentiality_impact":{"type":"string","description":"The CVSSv2 confidentiality impact metric for the vulnerability. The metric describes the impact on the confidentiality of data processed by the system. Possible values include:\n - None\n - Partial\n - Complete"},"integrity_impact":{"type":"string","description":"The CVSSv2 integrity impact metric for the vulnerability. The metric describes the impact on the integrity of the exploited system. Possible values include:\n - None\n - Partial\n - Complete"},"cwe":{"type":"string","description":"The Common Weakness Enumeration (CWE) ID for vulnerability."},"cpe":{"type":"array","description":"The systems the vulnerability affects identified by Common Platform Enumeration (CPE).","items":{"type":"string"}},"remediation":{"type":"string","description":"Remediation information for the vulnerability."},"references":{"type":"array","items":{"type":"string"},"description":"Additional references to third-party information about the vulnerability."}}},"package":{"type":"object","description":"A software packages affected by the vulnerability.","properties":{"name":{"type":"string","description":"The name of the package."},"version":{"type":"string","description":"The version of the package."},"type":{"type":"string","description":"The operating system or distribution associated with the package, for example, `linux`."}}},"installedPackage":{"type":"object","description":"A software package installed on the image.","properties":{"name":{"type":"string","description":"The name of the package."},"version":{"type":"string","description":"The version of the package."},"type":{"type":"string","description":"The operating system or distribution associated with the package, for example, `linux`."}}},"malware":{"type":"object","description":"The details of identified malware.","properties":{"infectedFile":{"type":"string","description":"The path of the infected file."},"fileTypeDescriptor":{"type":"string","description":"The file type of the infected file, for example, `ELF32`."},"md5":{"type":"string","description":"The MD5 signature of the infected file."},"sha256":{"type":"string","description":"The SHA256 signature of the infected file."}}},"unwantedProgram":{"description":"The unwanted program details.","type":"object","properties":{"infectedFile":{"type":"string","description":"The path of the program file."},"fileTypeDescriptor":{"type":"string","description":"The file type of the program file, for example, `ELF32`."},"md5":{"type":"string","description":"The MD5 signature of the program file."},"sha256":{"type":"string","description":"The SHA256 signature of the program file."}}},"pagination":{"type":"object","properties":{"total":{"type":"integer","description":"The total number of records matching your search criteria. Must be in the int32 format."},"limit":{"type":"integer","description":"Maximum number of records requested (or service imposed limit if not in request). Must be in the int32 format."},"offset":{"type":"integer","description":"The number of skipped records in the returned result set. Must be in the int32 format."},"sort":{"description":"An array of objects representing the fields you specified as sort parameters in the request. This attribute is only present if your request message specifies sort parameters.","type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the sort field."},"order":{"type":"string","description":"The direction in which Tenable.io sorts on the field, `asc` for ascending or `desc` for descending.","enum":["asc","desc"]}}}}}}}},"x-explorer-enabled":true,"x-proxy-enabled":true,"x-samples-enabled":true,"x-samples-languages":["python","curl","node","powershell","ruby","javascript","objectivec","java","php","csharp","go","swift","kotlin"]} \ No newline at end of file diff --git a/backend/app_gen/openapi-parsers/other/TIO-API-Downloads-API.json b/backend/app_gen/openapi-parsers/other/TIO-API-Downloads-API.json deleted file mode 100644 index 54ec76f8..00000000 --- a/backend/app_gen/openapi-parsers/other/TIO-API-Downloads-API.json +++ /dev/null @@ -1 +0,0 @@ -{"openapi":"3.0.0","info":{"version":"1.0.0","title":"Downloads API","description":"The Downloads API allows you to access and download available Tenable products installation files and updates. You can use the API endpoints to list product pages, list downloads available for a specific product, and to download a file. The endpoints can also be used to determine and download latest version of a file to facilitate the automation of an installation.\n\n**Note:** Tenable Downloads API uses a different server URL than Tenable.io API: `https://www.tenable.com/downloads/api/v2/pages`.\n\n### Authentication\n\nThe Downloads API uses Bearer token authentication and requires a valid token in the Authorization header:\n```\nAuthorization: Bearer AbCdEf123456\n```\n\nTo access or reset your authentication token, navigate to the [Authentication Token](https://www.tenable.com/downloads/api_docs) page."},"tags":[{"name":"Downloads","description":"The Downloads API allows you to access and download available Tenable products installation files and updates. You can use the API endpoints to list product pages, list downloads available for a specific product, and to download a file. The endpoints can also be used to determine and download latest version of a file to facilitate the automation of an installation.\n\n**Note:** Tenable Downloads API uses a different server URL than Tenable.io API: `https://www.tenable.com/downloads/api/v2/pages`.\n\n### Authentication\n\nThe Downloads API uses Bearer token authentication and requires a valid token in the Authorization header:\n```\nAuthorization: Bearer AbCdEf123456\n```\n\nTo access or reset your authentication token, navigate to the [Authentication Token](https://www.tenable.com/downloads/api_docs) page."}],"servers":[{"url":"https://www.tenable.com/downloads/api/v2"}],"components":{"securitySchemes":{"Bearer":{"type":"apiKey","in":"header","name":"Authorization","description":"Example: BearerRequires BASIC [16] user permissions. See Permissions.
","deprecated":true,"operationId":"session-create","tags":["Session"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"username":{"type":"string","description":"The username for the person who is attempting to log in."},"password":{"type":"string","description":"The password for the person who is attempting to log in.","format":"password"}},"required":["username","password"]}}}},"responses":{"200":{"description":"Returns the session token.","content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","description":"The session token."}}},"examples":{"response":{"value":{"token":"k83049e04e76ea2b696f76e1cc83a2e87b6a52adbc014967f915c469e5739ac3"}}}}}},"400":{"description":"Returned if the username format is not valid."},"401":{"description":"Returned if the username or password is invalid."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"session-get","tags":["Session"],"responses":{"200":{"description":"Returns the user session data.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The unique ID of the user."},"uuid":{"type":"string","description":"The UUID of the user."},"uuid_id":{"type":"string","description":"The UUID of the user."},"username":{"type":"string","description":"The username for the user."},"user_name":{"type":"string","description":"The username for the user."},"email":{"type":"string","description":"The email address for the user."},"name":{"type":"string","description":"The full name for the user."},"type":{"type":"string","description":"The type of user (`local` or `ldap`)."},"permissions":{"type":"integer","description":"The user permissions as described in Permissions.","format":"int32"},"enabled":{"type":"integer","description":"If 1, the user is enabled."},"last_login_attempt":{"type":"integer","description":"The Unix timestamp of the last failed login attempt."},"login_fail_count":{"type":"integer","description":"The count of failed login attempts."},"login_fail_total":{"type":"integer","description":"The number of failed logins that may occur prior to the user being locked."},"two_factor":{"type":"object","description":"This attribute is only present if two-factor authentication is enabled for the user account.","properties":{"sms_phone":{"type":"string","description":"The mobile phone number Tenable.io uses during two-factor authentication for the user account."},"sms_enabled":{"type":"integer","description":"A value specifying whether two-factor authentication is enabled (`1`) or disabled (`0`) for the user account.","format":"int32"},"email_enabled":{"type":"integer","description":"A value specifying whether, in addition to sending a text message with the verification code, Tenable.io sends a backup email containing the verification code to the email associated with your user account. If this value is `0`, Tenable.io does not send a backup email message. If this value is `1`, Tenable.io sends a backup email message.","format":"int32"}}},"container_id":{"type":"integer","description":"The ID of the user's Tenable.io instance."},"container_uuid":{"type":"string","description":"The UUID of the user's Tenable.io instance."},"container_name":{"type":"string","description":"The name of the user's Tenable.io instance."},"features":{"type":"object","description":"A list of Tenable.io features enabled for the user's instance.","properties":{}},"apps":{"type":"object","description":"A list of Tenable.io products enabled for the user's instance.","properties":{"consec":{"type":"string","description":"The license status for Tenable.io Container Security, if enabled for the user's instance."},"was":{"type":"string","description":"The license status for Tenable.io Web Application Scanning, if enabled for the user's instance."}}},"group_uuids":{"type":"array","description":"The UUIDs of user groups to which the user belongs.","items":{"type":"string"}},"groups":{"description":"The list of user groups to which the user belongs.","type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","description":"The UUID of the user group."},"name":{"type":"string","description":"The name of the user group."},"permissions":{"type":"integer","description":"The specified user's permissions for the user group. Default to `0`.","format":"int32"},"id":{"type":"integer","description":"The ID of the user group.","format":"int32"}}}},"lastlogin":{"type":"integer","description":"The Unix timestamp for the user's last login."},"connectors":{"type":"boolean","description":"Connectors for the user's Tenable.io instance."},"lockout":{"type":"integer","description":"Specifies whether the user account is locked out (`1`) or available (`0`)."}}},"examples":{"response":{"value":{"id":2,"uuid":"fb76f456-9a6f-4f63-8553-1cee234eb965","uuid_id":"fa76e456-9a6f-4f63-8553-1ced233eb965","username":"user2@example.com","user_name":"user2@example.com","email":"user2@example.org","name":"Sample User","type":"local","permissions":64,"enabled":true,"last_login_attempt":1540942030719,"login_fail_count":0,"login_fail_total":14,"two_factor":{"sms_phone":"+14108720555","sms_enabled":1,"email_enabled":0},"container_id":766315,"container_uuid":"3bc442f4-0cd1-4de0-95a3-3d8e587820ee","container_name":"demo","features":{"access_groups":true,"access_groups_migration":true,"advanced_search_v2":true,"agent_triage_m2":true,"agent_updates":true,"analytics":true,"analytics_v2":true,"asset_deleting_ui":true,"asset_management":true,"audits_workbench":false,"aws_connector_v1":true,"cfl_core_ssor":true,"connectors_gen2":false,"container_security":true,"container_security_gen2":true,"container_security_gen2_runtime":true,"credentials_mgmt":true,"credentials_mgmt_v2":true,"dashboards_gen2":false,"dashboards_gen2_blank_canvas":false,"dashboards_gen2_export":false,"dashboards_gen2_export_png":false,"dashboards_gen2_lumin_enabled":false,"dashboards_gen2_schedule":false,"dashboards_gen2_tag_filter":false,"dashboards_gen2_widget_filters":false,"dashboards_gen2_widget_library":false,"dynamic_tagging":true,"environment_management":true,"export_dashboard":true,"export_dashboard_pdf":true,"general_data_protection_compliance":true,"import_data":false,"indexing_v2":true,"lumin_beta_allowed":true,"lumin_beta_enabled":true,"modify_vulnerability":false,"pci_multiscan":true,"qualys_connector":true,"qualys_vuln_connector":true,"rbac":true,"recast_rules":true,"reporting":true,"scan_service":true,"scans_gen2":true,"state":true,"suggest_feature":true,"system":false,"tagging":true,"vm_service_query":true,"vulnerability_management_gen2":true,"was_discovery":true,"was_multi_scanning":true,"was_plugin_selection":true,"was_scan_progress":true,"webapp_scanning":true,"webapp_scanning_gen2":true},"apps":{},"group_uuids":[],"groups":[],"lastlogin":1543864186682}}}}}},"403":{"description":"Returned if the user does not have permission to view the session data."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"session-edit","tags":["Session"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Full name for the user."},"email":{"type":"string","description":"Email address for the user."}}}}}},"responses":{"200":{"description":"Returns the user session data.","content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"type":"string","description":"The UUID for the user."},"id":{"type":"integer","description":"The unique ID of the user."},"user_name":{"type":"string","description":"The username for the user."},"username":{"type":"string","description":"The username for the user."},"email":{"type":"string","description":"The email address for the user."},"name":{"type":"string","description":"The real name of the user."},"type":{"type":"string","description":"The type of user (`local` or `ldap`)."},"container_uuid":{"type":"string","description":"The UUID of the user's Tenable.io instance."},"whatsnew_version":{"type":"string","description":"The version of the \"what's new\" messaging that appears when the user logs into the user interface."},"aggregate":{"type":"integer","description":"If `1`, aggregate collection is enabled."},"permissions":{"type":"integer","description":"The user permissions for the user as described in Permissions.","format":"int32"},"last_login_attempt":{"type":"integer","description":"The Unix timestamp for the last failed login attempt."},"login_fail_count":{"type":"integer","description":"The number of failed login attempts for the user since the last successful login."},"login_fail_total":{"type":"integer","description":"The total number of failed login attempts for the user."},"enabled":{"type":"boolean","description":"Specifies whether the user account is enabled (true) or disabled (false)."},"two_factor":{"type":"object","description":"This attribute is only present if two-factor authentication is enabled for the user account.","properties":{"sms_phone":{"type":"string","description":"The mobile phone number Tenable.io uses during two-factor authentication for the user account."},"sms_enabled":{"type":"integer","description":"A value specifying whether two-factor authentication is enabled (`1`) or disabled (`0`) for the user account.","format":"int32"},"email_enabled":{"type":"integer","description":"A value specifying whether, in addition to sending a text message with the verification code, Tenable.io sends a backup email containing the verification code to the email associated with your user account. If this value is `0`, Tenable.io does not send a backup email message. If this value is `1`, Tenable.io sends a backup email message.","format":"int32"}}},"lockout":{"type":"integer","description":"Specifies whether the user account is locked out (`1`) or available (`0`)."},"group_uuids":{"type":"array","description":"The UUIDs of user groups to which the user belongs.","items":{"type":"string"}},"groups":{"description":"The list of user groups to which the user belongs.","type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","description":"The UUID of the user group."},"name":{"type":"string","description":"The name of the user group."},"id":{"type":"integer","description":"The ID of the user group.","format":"int32"}}}},"lastlogin":{"type":"integer","description":"The last time the user logged in to Tenable.io in the Unix time format."},"uuid_id":{"type":"string","description":"The UUID for the user."}}},"examples":{"response":{"value":{"id":2,"user_name":"user2@example.com","username":"user2@example.com","email":"user2@example.org","name":"Sample User","type":"local","whatsnew_version":"","aggregate":true,"permissions":64,"last_login_attempt":1540942130719,"login_fail_count":0,"login_fail_total":14,"enabled":true,"uuid":"fa76f456-9a6f-4f63-8553-1cee233fb965","container_uuid":"3bc442f4-0cd1-4de0-95a3-3d8e587820fe","lastlogin":1543864196682,"uuid_id":"fa76f456-9a6f-4f63-8553-1cfe233eb965"}}}}}},"403":{"description":"Returned if the user does not have permission to edit the session data."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"session-destroy","tags":["Session"],"responses":{"200":{"description":"Returned if the session has been properly destroyed.","content":{"application/json":{"schema":{}}}},"401":{"description":"Returned if no session exists."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"session-restore","tags":["Session"],"responses":{"200":{"description":"Returned if the session has been properly restored.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"401":{"description":"Returned if no session exists."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"session-password","tags":["Session"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"current_password":{"type":"string","description":"The current password for the user.","format":"password"},"password":{"type":"string","description":"The new password for the user.","format":"password"}},"required":["password","current_password"]}}}},"responses":{"200":{"description":"Returned if the user password has been changed.","content":{"application/json":{"schema":{}}}},"400":{"description":"Returned if the password is too short."},"403":{"description":"Returned if the user does not have permission to change the password."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"session-keys","tags":["Session"],"responses":{"200":{"description":"Returned if the user API keys were generated.","content":{"application/json":{"schema":{"type":"object","properties":{"accessKey":{"type":"string","description":"The access key for the user account in Tenable.io. Use this key in combination with the user's secret key to submit authorized API requests to Tenable.io."},"secretKey":{"type":"string","description":"The secret key for the user account in Tenable.io. Use this key in combination with the user's access key to submit authorized API requests to Tenable.io."}}},"examples":{"response":{"value":{"accessKey":"748a5a175273ea87b026d815378f328b4d02d89df070d7891bd869762adf5b69","secretKey":"d2c7a8d58c996a2eccba270de732d0c1833fb1107c2929cb5321c3f15c5bc0ee"}}}}}},"401":{"description":"Returned if the user is not logged in."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"session-send-code","tags":["Session"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sms_phone":{"type":"string","description":"The phone number where Tenable.io sends the one-time verification code. Must begin with the `+` sign."}},"required":["sms_phone"]}}}},"responses":{"200":{"description":"Returned if the one-time verification code was sent successfully to the provided phone number.","content":{"application/json":{"schema":{}}}},"400":{"description":"Returned if the verification code could not be sent."},"404":{"description":"Returned if the user does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"session-verify-code","tags":["Session"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"verification_code":{"type":"string","description":"The verification code sent in the send-verification request."}},"required":["verification_code"]}}}},"responses":{"200":{"description":"Returned if two-factor authentication was successfully enabled for this user.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"400":{"description":"Returned if the the verification code was empty, incorrect, or expired."},"404":{"description":"Returned if the user does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"session-two-factor-settings","tags":["Session"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email_enabled":{"type":"boolean","description":"Specifies whether backup notification for two-factor authentication is enabled. If enabled, Tenable.io sends the two-factor verification code via e-mail, as well as via the default SMS message."},"sms_enabled":{"type":"boolean","description":"Specifies whether two-factor authentication is enabled. If enabled, Tenable.io sends the verification code via an SMS message. This parameter must be enabled to enable two-factor verification for the user."},"sms_phone":{"type":"string","description":"The phone number to use for two-factor authentication. Must begin with the `+` sign. This field is required when sms\\_enabled is set to `true`.","example":"+155555555555"}},"required":["email_enabled","sms_enabled"]}}}},"responses":{"200":{"description":"Returned if the two-factor authentication settings update was successful.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if the user does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"users-create","tags":["Users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"username":{"type":"string","description":"The login name for the user."},"password":{"type":"string","description":"The initial password for the user.","format":"password"},"permissions":{"type":"integer","description":"The user permissions for the user as described in Permissions.","format":"int32"},"name":{"type":"string","description":"The name of the user (for example, first and last name)."},"email":{"type":"string","description":"The email address of the user."}},"required":["username","password","permissions"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully creates the user.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the user."},"username":{"type":"string","description":"The username for the user."},"name":{"type":"string","description":"The name of the user (for example, first and last name)."},"email":{"type":"string","description":"The email address for the user."},"permissions":{"type":"integer","description":"The user permissions for the user as described in Permissions.","format":"int32"},"lastlogin":{"type":"integer","description":"The last time the user logged in to Tenable.io in the Unix time format."},"type":{"type":"string","description":"The type of user. The only supported type is `local`."},"login_fail_count":{"type":"integer","description":"The number of failed login attempts for the user since the last successful login."},"login_fail_total":{"type":"integer","description":"The total number of failed login attempts for the user."},"last_login_attempt":{"type":"integer","description":"The timestamp of the last failed login attempt for the user."},"enabled":{"type":"boolean","description":"Specifies whether the user account is enabled (true) or disabled (false)."},"lockout":{"type":"integer","description":"Specifies whether the user account is locked out (1) or available (0)."},"uuid_id":{"type":"string","description":"The unique UUID for the user."}}},"examples":{"response":{"value":{"id":5,"user_name":"user2@example.com","username":"user4@api.demo","email":"user2@example.com","name":"Test User","type":"local","aggregate":true,"permissions":32,"login_fail_count":0,"login_fail_total":0,"enabled":true,"uuid":"ed6fd6a6-9d02-4178-8a71-7dd8b000e526","container_uuid":"36f234c4-4ae3-4353-9324-8ad3dcc7fcc5","uuid_id":"ed6fd6a6-9d02-4178-8a71-7dd8b000e526"}}}}}},"400":{"description":"Returned if a field in the request is invalid."},"403":{"description":"Returned if you do not have permission to create a user."},"409":{"description":"Returned if you attempted to create a duplicate user."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. If you use credentials with ADMIN [64] permissions, Tenable.io returns all fields for individual user details. Otherwise, user details include only the `uuid`, `id`, `username`, and `email` fields. See Permissions.
","operationId":"users-list","tags":["Users"],"responses":{"200":{"description":"Returns a list of users.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the user."},"username":{"type":"string","description":"The username for the user."},"name":{"type":"string","description":"The name of the user (for example, first and last name)."},"email":{"type":"string","description":"The email address for the user."},"permissions":{"type":"integer","description":"The user permissions for the user as described in Permissions.","format":"int32"},"lastlogin":{"type":"integer","description":"The last time the user logged in to Tenable.io in the Unix time format."},"type":{"type":"string","description":"The type of user. The only supported type is `local`."},"login_fail_count":{"type":"integer","description":"The number of failed login attempts for the user since the last successful login."},"login_fail_total":{"type":"integer","description":"The total number of failed login attempts for the user."},"last_login_attempt":{"type":"integer","description":"The timestamp of the last failed login attempt for the user."},"enabled":{"type":"boolean","description":"Specifies whether the user account is enabled (true) or disabled (false)."},"lockout":{"type":"integer","description":"Specifies whether the user account is locked out (1) or available (0)."},"uuid_id":{"type":"string","description":"The unique UUID for the user."}}},"examples":{"response":{"value":{"users":[{"id":2,"user_name":"admin@example.com","username":"admin@example.com","email":"admin@example.com","name":"Admin Example","type":"local","permissions":64,"login_fail_count":0,"login_fail_total":0,"enabled":true,"uuid":"7a676323-47bb-4838-9cec-c9f01448bb2d","container_uuid":"36f234c4-4ae3-4353-9324-8ad3dcc7fcc5","lastlogin":1544477990398,"uuid_id":"7a676323-47bb-4838-9cec-c9f01448bb2d"},{"id":4,"user_name":"user3@example.com","username":"user3@example.com","email":"user3@example.com","name":"User Sample 3rd","type":"local","permissions":32,"login_fail_count":0,"login_fail_total":0,"enabled":true,"uuid":"802ea9fe-701a-4c80-b001-59c252a178cb","container_uuid":"36f234c4-4ae3-4353-9324-8ad3dcc7fcc5","uuid_id":"802ea9fe-701a-4c80-b001-59c252a178cb"},{"id":5,"user_name":"user4@example.com","username":"user4@example.com","email":"user4@example.com","name":"User Test","type":"local","permissions":32,"login_fail_count":0,"login_fail_total":0,"enabled":true,"uuid":"ed6fd6a6-9d02-4178-8a71-7dd8b000e526","container_uuid":"36f234c4-4ae3-4353-9324-8ad3dcc7fcc5","uuid_id":"ed6fd6a6-9d02-4178-8a71-7dd8b000e526"}]}}}}}},"403":{"description":"Returned if you do not have permission to view the list of users."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"users-details","tags":["Users"],"parameters":[{"description":"The unique ID of the user.","required":true,"name":"user_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the user details.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the user."},"username":{"type":"string","description":"The username for the user."},"name":{"type":"string","description":"The name of the user (for example, first and last name)."},"email":{"type":"string","description":"The email address for the user."},"permissions":{"type":"integer","description":"The user permissions for the user as described in Permissions.","format":"int32"},"lastlogin":{"type":"integer","description":"The last time the user logged in to Tenable.io in the Unix time format."},"type":{"type":"string","description":"The type of user. The only supported type is `local`."},"login_fail_count":{"type":"integer","description":"The number of failed login attempts for the user since the last successful login."},"login_fail_total":{"type":"integer","description":"The total number of failed login attempts for the user."},"last_login_attempt":{"type":"integer","description":"The timestamp of the last failed login attempt for the user."},"enabled":{"type":"boolean","description":"Specifies whether the user account is enabled (true) or disabled (false)."},"lockout":{"type":"integer","description":"Specifies whether the user account is locked out (1) or available (0)."},"uuid_id":{"type":"string","description":"The unique UUID for the user."}}},"examples":{"response":{"value":{"id":4,"user_name":"user3@example.com","username":"user3@example.com","email":"user3@example.com","name":"Test User","type":"local","permissions":32,"login_fail_count":0,"login_fail_total":0,"enabled":true,"uuid":"802ea9fe-701a-4c80-b001-59c252a178cb","container_uuid":"36f234c4-4ae3-4353-9324-8ad3dcc7fcc5","uuid_id":"802ea9fe-701a-4c80-b001-59c252a178cb"}}}}}},"403":{"description":"Returned if you do not have permission to view the given user details."},"404":{"description":"Returned if the user specified in the request does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"users-edit","tags":["Users"],"parameters":[{"description":"The unique ID of the user.","required":true,"name":"user_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"permissions":{"type":"integer","description":"The user permissions for the user as described in Permissions.","format":"int32"},"name":{"type":"string","description":"The name of the user (for example, first and last name)."},"email":{"type":"string","description":"The email address of the user."},"enabled":{"type":"boolean","description":"Specifies whether the user's account is enabled (true) or disabled (false)."}},"required":["permissions"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully updates the user.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the user."},"username":{"type":"string","description":"The username for the user."},"name":{"type":"string","description":"The name of the user (for example, first and last name)."},"email":{"type":"string","description":"The email address for the user."},"permissions":{"type":"integer","description":"The user permissions for the user as described in Permissions.","format":"int32"},"lastlogin":{"type":"integer","description":"The last time the user logged in to Tenable.io in the Unix time format."},"type":{"type":"string","description":"The type of user. The only supported type is `local`."},"login_fail_count":{"type":"integer","description":"The number of failed login attempts for the user since the last successful login."},"login_fail_total":{"type":"integer","description":"The total number of failed login attempts for the user."},"last_login_attempt":{"type":"integer","description":"The timestamp of the last failed login attempt for the user."},"enabled":{"type":"boolean","description":"Specifies whether the user account is enabled (true) or disabled (false)."},"lockout":{"type":"integer","description":"Specifies whether the user account is locked out (1) or available (0)."},"uuid_id":{"type":"string","description":"The unique UUID for the user."}}},"examples":{"response":{"value":{"id":4,"user_name":"user3@example.com","username":"user3@example.com","email":"user3@example.com","name":"Test User","type":"local","whatsnew_version":"","aggregate":true,"permissions":32,"login_fail_count":0,"login_fail_total":0,"enabled":false,"uuid":"802ea9fe-701a-4c80-b001-59c252a178cb","container_uuid":"36f234c4-4ae3-4353-9324-8ad3dcc7fcc5","uuid_id":"802ea9fe-701a-4c80-b001-59c252a178cb"}}}}}},"400":{"description":"Returned if a field in the request is invalid."},"403":{"description":"Returned if you do not have permission to update a user."},"404":{"description":"Returned if the specified user does not exist."},"409":{"description":"Returned if you attempt to change your own account's enabled or disabled status."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"users-delete","tags":["Users"],"parameters":[{"description":"The unique ID of the user.","required":true,"name":"user_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io deleted the user.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if you do not have permission to delete the user."},"404":{"description":"Returned if the user you attempted to delete does not exist."},"409":{"description":"Returned if you tried to delete your own account."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"users-password","tags":["Users"],"parameters":[{"description":"The unique ID of the user whose password you want to change.","required":true,"name":"user_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"current_password":{"type":"string","description":"The current password for the user.","format":"password"},"password":{"type":"string","description":"The new password for the user.","format":"password"}},"required":["current_password","password"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully changed the user password.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"400":{"description":"Returned if Tenable.io cannot change the user password, because the new password is too short."},"403":{"description":"Returned if you do not have permission to change the user's password."},"404":{"description":"Returned if Tenable.io cannot find the specified user."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"users-enabled","tags":["Users"],"parameters":[{"description":"The unique ID of the user.","required":true,"name":"user_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"The user's enabled or disabled status to be set (`true` to enable or `false` to disable)."}},"required":["enabled"]}}}},"responses":{"200":{"description":"Returns an array of user objects.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the user."},"username":{"type":"string","description":"The username for the user."},"name":{"type":"string","description":"The name of the user (for example, first and last name)."},"email":{"type":"string","description":"The email address for the user."},"permissions":{"type":"integer","description":"The user permissions for the user as described in Permissions.","format":"int32"},"lastlogin":{"type":"integer","description":"The last time the user logged in to Tenable.io in the Unix time format."},"type":{"type":"string","description":"The type of user. The only supported type is `local`."},"login_fail_count":{"type":"integer","description":"The number of failed login attempts for the user since the last successful login."},"login_fail_total":{"type":"integer","description":"The total number of failed login attempts for the user."},"last_login_attempt":{"type":"integer","description":"The timestamp of the last failed login attempt for the user."},"enabled":{"type":"boolean","description":"Specifies whether the user account is enabled (true) or disabled (false)."},"lockout":{"type":"integer","description":"Specifies whether the user account is locked out (1) or available (0)."},"uuid_id":{"type":"string","description":"The unique UUID for the user."}}},"examples":{"response":{"value":{"object":"user"}}}}}},"403":{"description":"Returned if you do not have permission to update a user."},"404":{"description":"Returned if the user that the request specified does not exist."},"409":{"description":"Returned if you tried to change your own permissions."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"users-list-auths","tags":["Users"],"parameters":[{"description":"The UUID of the user. You can find the user UUID by examining the output of the [GET /users](/reference#users-list) endpoint.","required":true,"name":"user_id","in":"path","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Returns authorizations for the user.","content":{"application/json":{"schema":{"type":"object","properties":{"account_uuid":{"type":"string","description":"The UUID of the container.","format":"uuid"},"user_uuid":{"type":"string","description":"The UUID of the user.","format":"uuid"},"api_permitted":{"type":"boolean","description":"Indicates whether API access is authorized for the user."},"password_permitted":{"type":"boolean","description":"Indicates whether user name and password login is authorized for the user."},"saml_permitted":{"type":"boolean","description":"Indicates whether SSO with SAML is authorized for the user."}}},"examples":{"response":{"value":{"account_uuid":"40ac4662-6af3-4a0b-b422-93387ec0f298","user_uuid":"1e623352-a68b-42e0-8af8-f1b7c10a2b72","api_permitted":true,"password_permitted":false,"saml_permitted":true}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified user.","content":{"application/json":{"schema":{"type":"object","description":"Tenable.io API error response.","properties":{"error":{"type":"string","description":"The extended description of the cause of the Tenable.io API error."}}},"examples":{"response":{"value":{"error":"User[UUID=b6a6900e-a616-4266-b2be-765de43348dd] not found."}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"users-update-auths","tags":["Users"],"parameters":[{"description":"The UUID of the user. You can find the user UUID by examining the output of the [GET /users](/reference#users-list) endpoint.","required":true,"name":"user_id","in":"path","schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Specify `true` or `false` to grant or revoke authorizations.","properties":{"api_permitted":{"type":"boolean","description":"Indicates whether API access is authorized for the user."},"password_permitted":{"type":"boolean","description":"Indicates whether user name and password login is authorized for the user."},"saml_permitted":{"type":"boolean","description":"Indicates whether SSO with SAML is authorized for the user."}},"required":["api_permitted","password_permitted","saml_permitted"]}}}},"responses":{"204":{"description":"Returned if the user's authorizations have been updated.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"400":{"description":"Returned if you specify invalid input parameters.","content":{"application/json":{"schema":{"type":"object","description":"Tenable.io API error response.","properties":{"error":{"type":"string","description":"The extended description of the cause of the Tenable.io API error."}}},"examples":{"response":{"value":{"error":"Unexpected character ('}' (code 125)): was expecting double-quote to start field name\n at [(String)\"{\r\n\"api_permitted\" : true,\r\n}\"; line: 3, column: 2]"}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified user.","content":{"application/json":{"schema":{"type":"object","description":"Tenable.io API error response.","properties":{"error":{"type":"string","description":"The extended description of the cause of the Tenable.io API error."}}},"examples":{"response":{"value":{"error":"User[UUID=b6a6900e-a616-4266-b2be-765de43348dd] not found."}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"users-keys","tags":["Users"],"parameters":[{"description":"The unique ID of the user.","required":true,"name":"user_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully generated the API keys for the user.","content":{"application/json":{"schema":{"type":"object","properties":{"accessKey":{"type":"string","description":"The access key for the user account in Tenable.io. Use this key in combination with the user's secret key to submit authorized API requests to Tenable.io."},"secretKey":{"type":"string","description":"The secret key for the user account in Tenable.io. Use this key in combination with the user's access key to submit authorized API requests to Tenable.io."}}},"examples":{"response":{"value":{"accessKey":"26e07fb07181cf86e1bc7a240ce398645cf2bb80bbbefc178f100d6f5ffc067d","secretKey":"4be00decc6ea29e65d2910f1d54d23c14190a267285de4b05a481b1e6d3f0fd6"}}}}}},"403":{"description":"Returned if you do not have permission to generate API keys for the user."},"404":{"description":"Returned if Tenable.io cannot find the specified user."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"users-impersonate","tags":["Users"],"parameters":[{"description":"The unique ID of the user you want to impersonate.","required":true,"name":"user_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if the impersonation was successful.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified user."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"users-two-factor-enable","tags":["Users"],"parameters":[{"description":"The unique ID of the user.","required":true,"name":"user_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sms_phone":{"type":"string","description":"The phone number where Tenable.io sends the one-time verification code."}},"required":["sms_phone"]}}}},"responses":{"200":{"description":"Returned if Tenable.io sent the one-time verification code successfully to the specified phone number.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"400":{"description":"Returned if Tenable.io cannot send the verification code."},"404":{"description":"Returned if Tenable.io cannot find the specified user."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"users-two-factor-enable-verify","tags":["Users"],"parameters":[{"description":"The unique ID of the user.","required":true,"name":"user_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"verification_code":{"type":"string","description":"The verification code sent in the send-verification request."}},"required":["verification_code"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully validated the verification code and enabled two-factor authentication.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"400":{"description":"Returned if Tenable.io failed to validate the verification code because the verification code was empty, incorrect, or expired."},"404":{"description":"Returned if the user specified in the request does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"users-two-factor","tags":["Users"],"parameters":[{"description":"The unique ID of the user.","required":true,"name":"user_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email_enabled":{"type":"boolean","description":"Specifies whether backup notification for two-factor authentication is enabled. If enabled, Tenable.io sends the two-factor verification code via e-mail, as well as via the default SMS message."},"sms_enabled":{"type":"boolean","description":"Specifies whether two-factor authentication is enabled. If enabled, Tenable.io sends the verification code via an SMS message. This parameter must be enabled to enable two-factor verification for the user."},"sms_phone":{"type":"string","description":"The phone number to use for two-factor authentication. Must begin with the `+` sign. This field is required when sms\\_enabled is set to `true`.","example":"+155555555555"}},"required":["email_enabled","sms_enabled","sms_phone"]}}}},"responses":{"200":{"description":"Returned if the two-factor authentication settings update was successful.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if the user that the request specified does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"groups-create","tags":["Groups"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the group."}},"required":["name"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully creates the user group.","content":{"application/json":{"schema":{"type":"object","properties":{"permissions":{"type":"integer","description":"The permissions for the group."},"name":{"type":"string","description":"The name of the group."},"uuid":{"type":"string","description":"The UUID for the group."},"id":{"type":"integer","description":"The unique ID of the group."}}},"examples":{"response":{"value":{"uuid":"59ec5f27-8206-48e7-aa6c-d8ce18fd0f73","name":"Read Only","permissions":0,"container_uuid":"f4fbe518-e648-49dd-b6a4-e80c1ff12805","id":2}}}}}},"400":{"description":"Returned if your request message contains an invalid parameter."},"403":{"description":"Returned if you do not have permission to create a group."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"groups-list","tags":["Groups"],"responses":{"200":{"description":"Returns the groups list.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"user_count":{"type":"integer","description":"The number of users in the group."},"permissions":{"type":"integer","description":"The permissions for the group."},"name":{"type":"string","description":"The name of the group."},"uuid":{"type":"string","description":"The UUID for the group."},"id":{"type":"integer","description":"The unique ID of the group."}}}},"examples":{"response":{"value":{"groups":[{"uuid":"3a0fb06a-ed61-45e0-84d8-8e4e2da586ca","name":"admins","permissions":0,"container_uuid":"f4fbe518-e648-49dd-b6a4-e80c1ff12805","user_count":0,"id":1},{"uuid":"59ec5f27-8206-48e7-aa6c-d8ce18fd0f73","name":"Read Only","permissions":0,"container_uuid":"f4fbe518-e648-49dd-b6a4-e80c1ff12805","user_count":0,"id":2}]}}}}}},"403":{"description":"Returned if you do not have permission to view the list."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"groups-edit","tags":["Groups"],"parameters":[{"description":"The unique ID of the group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the group."}},"required":["name"]}}}},"responses":{"200":{"description":"Returned if Tenable.io updates the user group.","content":{"application/json":{"schema":{"type":"object","properties":{"user_count":{"type":"integer","description":"The number of users in the group."},"permissions":{"type":"integer","description":"The permissions for the group."},"name":{"type":"string","description":"The name of the group."},"uuid":{"type":"string","description":"The UUID for the group."},"id":{"type":"integer","description":"The unique ID of the group."}}},"examples":{"response":{"value":{"uuid":"59ec5f27-8206-48e7-aa6c-d8ce18fd0f73","name":"Read Only Users","permissions":0,"container_uuid":"f4fbe518-e648-49dd-b6a4-e80c1ff12805","user_count":0,"id":2}}}}}},"400":{"description":"Returned if your request message contains an invalid parameter."},"403":{"description":"Returned if you do not have permission to edit a group."},"404":{"description":"Returned if Tenable.io cannot find the specified group."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"groups-delete","tags":["Groups"],"parameters":[{"description":"The unique ID of the group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully deletes the specified user group.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"400":{"description":"Returned if Tenable.io cannot find the specified user group."},"403":{"description":"Returned if you do not have permission to delete the group."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"groups-list-users","tags":["Groups"],"parameters":[{"description":"The unique ID of the group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns if the group user list.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the user."},"username":{"type":"string","description":"The username for the user."},"name":{"type":"string","description":"The name of the user (for example, first and last name)."},"email":{"type":"string","description":"The email address for the user."},"permissions":{"type":"integer","description":"The user permissions for the user as described in Permissions.","format":"int32"},"lastlogin":{"type":"integer","description":"The last time the user logged in to Tenable.io in the Unix time format."},"type":{"type":"string","description":"The type of user. The only supported type is `local`."},"login_fail_count":{"type":"integer","description":"The number of failed login attempts for the user since the last successful login."},"login_fail_total":{"type":"integer","description":"The total number of failed login attempts for the user."},"last_login_attempt":{"type":"integer","description":"The timestamp of the last failed login attempt for the user."},"enabled":{"type":"boolean","description":"Specifies whether the user account is enabled (true) or disabled (false)."},"lockout":{"type":"integer","description":"Specifies whether the user account is locked out (1) or available (0)."},"uuid_id":{"type":"string","description":"The unique UUID for the user."}}}},"examples":{"response":{"value":{"users":[{"id":1,"user_name":"nessus_ms_agent","username":"nessus_ms_agent","name":"system","type":"local","permissions":128,"last_login_attempt":0,"login_fail_count":0,"login_fail_total":0,"enabled":false,"uuid":"47e6b2ea-4e3c-4c09-b137-72e9f53b97f6","container_uuid":"f4fbe518-e648-49dd-b6a4-e80c1ff12805","uuid_id":"47e6b2ea-4e3c-4c09-b137-72e9f53b97f6"},{"id":20,"user_name":"user2@example.com","username":"user2@example.com","email":"user2@example.com","name":"Sample User","type":"local","permissions":64,"last_login_attempt":0,"login_fail_count":0,"login_fail_total":0,"enabled":false,"uuid":"001e849b-16ca-4233-b1fe-b785b534c7b0","container_uuid":"f4fbe518-e648-49dd-b6a4-e80c1ff12805","uuid_id":"001e849b-16ca-4233-b1fe-b785b534c7b0"},{"id":2,"user_name":"user3@example.com","username":"user3@example.com","email":"user3@example.com","name":"user3@example.com","type":"local","permissions":64,"last_login_attempt":0,"login_fail_count":0,"login_fail_total":0,"enabled":false,"uuid":"e6b5cd6d-1e03-4697-8f81-33277a85f175","container_uuid":"f4fbe518-e648-49dd-b6a4-e80c1ff12805","uuid_id":"e6b5cd6d-1e03-4697-8f81-33277a85f175"}]}}}}}},"403":{"description":"Returned if you do not have permission to list a group's users."},"404":{"description":"Returned if Tenable.io cannot find the specified group."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"groups-add-user","tags":["Groups"],"parameters":[{"description":"The unique ID of the group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The unique ID of the user.","required":true,"name":"user_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully added the user to the group.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if you do not have permission to add users to a group."},"404":{"description":"Returned if Tenable.io cannot find the specified group or user."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"groups-delete-user","tags":["Groups"],"parameters":[{"description":"The unique ID of the group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The unique ID of the user.","required":true,"name":"user_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io removes the user from the group.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if you do not have permission to delete users from the group."},"404":{"description":"Returned if Tenable.io cannot find the specified group or user."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"connectors-create-connector","tags":["Connectors"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the connector. The name can contain only alphanumeric characters and comma (`,`), dot (`.`), dash (`-`), at sign (`@`), and underscore (`_`) characters."},"type":{"type":"string","description":"The type of the connector. Types include: \n* aws \n* aws_keyless \n* azure\n* gcp","enum":["aws","aws_keyless","azure"]},"network_uuid":{"type":"string","description":"The UUID of the [network](https://developer.tenable.com/docs/manage-networks-tio) to associate with the connector. You can find the UUID using the [GET /networks](/reference#networks-list) endpoint. If you do not specify a network, Tenable.io automatically associates the connector with the default network (UUID `00000000-0000-0000-0000-000000000000`).\n**Note**: Tenable recommends creating a network for each connector type in use to prevent asset records in different cloud environments from overwriting each other. For more information, see [Managing Networks](https://developer.tenable.com/docs/manage-networks-tio).","format":"UUID","default":"00000000-0000-0000-0000-000000000000"},"params":{"type":"object","description":"The connector parameters: \n* For AWS connectors, the parameters include the access key, secret key, associated accounts, and cloudtrails. \n* For keyless AWS connectors, the parameters include associated AWS accounts (sub-accounts) and cloudtrails. \n* For Azure connectors, the parameters include the application ID, tenant ID, client secret key, and an optional list of subscription IDs. If you don't provide subscription IDs, Tenable.io automatically discovers them.\n* For GCP connectors, the service account key.","properties":{"access_key":{"description":"The AWS access key.\nNote: The access key is not included in the keyless AWS connector parameters.","type":"string"},"secret_key":{"description":"For AWS connectors, the AWS secret key.","type":"string"},"trails":{"description":"For AWS connectors, a list of AWS cloudtrails associated with the connector. The trails must be available to be used by the connector. Use the [POST /settings/connectors/aws/cloudtrails](/reference#connectors-get-aws-cloudtrails) endpoint to check the `availability` property of cloudtrail objects.","type":"array","items":{"type":"object","properties":{"arn":{"type":"string","description":"Amazon Resource Name (ARN) of the cloudtrail."},"name":{"type":"string","description":"The name of the cloudtrail."},"region":{"type":"object","properties":{"name":{"type":"string","description":"The AWS region code, for example, `us-east-1`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions."},"friendly_name":{"description":"The AWS region name, for example, `US East (N. Virginia)`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions.","type":"string"}}},"availability":{"description":"Indicates whether a cloudtrail is available to be used by a connector (logging is turned on in AWS, or it has at least one EventSelector with IncludeManagementEvents). Values include:\n - `success`—The cloudtrail is available.\n - `error`—The cloudtrail is not available.","type":"string","enum":["success","error"]}}}},"sub_accounts":{"description":"For AWS connectors, a list of AWS accounts associated with the connector.","type":"array","items":{"type":"object","properties":{"role_arn":{"type":"string","description":"The Amazon Resource Name (ARN) of the role generated based on the associated account ID."},"external_id":{"description":"The UUID of your Tenable.io instance used by AWS to identify it as a client application. You can obtain the UUID of your Tenable.io account using the GET /session endpoint. The UUID corresponds to the container_uuid attribute of the response message for that endpoint.","type":"string"},"trails":{"description":"For keyless AWS connectors, a list of AWS cloudtrails associated with the account.","type":"array","items":{"type":"object","properties":{"arn":{"type":"string","description":"Amazon Resource Name (ARN) of the cloudtrail."},"name":{"type":"string","description":"The name of the cloudtrail."},"region":{"type":"object","properties":{"name":{"type":"string","description":"The AWS region code, for example, `us-east-1`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions."},"friendly_name":{"description":"The AWS region name, for example, `US East (N. Virginia)`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions.","type":"string"}}},"availability":{"description":"Indicates whether a cloudtrail is available to be used by a connector (logging is turned on in AWS, or it has at least one EventSelector with IncludeManagementEvents). Values include:\n - `success`—The cloudtrail is available.\n - `error`—The cloudtrail is not available.","type":"string","enum":["success","error"]}}}},"incremental_mode":{"type":"boolean","description":"Indicates whether a connector has completed the initial full import successfully. If the value is `true`, then the connector is in incremental mode where it imports assets based on events instead of enumerating all assets in the account every single time."}}}},"application_id":{"description":"For Azure connectors, Azure application ID.","type":"string"},"tenant_id":{"type":"string","description":"For Azure connectors, Azure tenant ID."},"subscription_id":{"type":"string","description":"For Azure connectors, Azure subscription ID. If you do not provide subscription IDs, Tenable.io automatically discovers them."},"service_account_key":{"type":"string","description":"For GCP connectors, Base64-encoded string value of the service account key JSON file. For more information, see [GCP documentation](https://cloud.google.com/iam/docs/creating-managing-service-account-keys).\n\n**Important!** The `service_account_key` value must include only the literal encoded string. Do not include the `data:application/json;base64` prefix."}}},"schedule":{"type":"object","description":"The data import schedule.","properties":{"units":{"type":"string","description":"The units of time for the import interval. Units can include:\n - days\n - hours\n - minutes\n - weeks"},"value":{"type":"integer","description":"The number of units between import intervals."}}}},"required":["name","type","params"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully creates a connector.","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","description":"The type of the connector. Types include:\n - aws\n - aws_keyless\n - azure\n - gcp"},"human_type":{"type":"string","description":"The human-readable connector type."},"data_type":{"type":"string","description":"The data type imported by the connector. For Azure and AWS connectors, the value is always `assets`."},"name":{"type":"string","description":"The name of the connector. The name must be unique within a Tenable.io instance."},"network_uuid":{"type":"string","format":"UUID","description":"The UUID of the [network](https://developer.tenable.com/docs/manage-networks-tio) associated with the connector."},"status":{"type":"string","description":"The import status of the connector. Status values can include:\n - Completed—Tenable.io successfully used the connector to import assets (no imports scheduled)\n - Scheduled—Imports using the connector are scheduled for future dates\n - Saved—Tenable.io saved the connector configuration, but did not import assets at this time (no imports scheduled)\n - Error—Tenable.io failed to import assets using the connector"},"status_message":{"type":"string","description":"Extended description of the connector status. For information about connector error codes, see Connectors."},"schedule":{"type":"object","properties":{}},"date_created":{"type":"string","description":"An ISO timestamp indicating the date and time on which the connector was created, for example, `2018-08-09T13:51:17.243Z`."},"date_modified":{"type":"string","description":"An ISO timestamp indicating the date and time on which the connector was last modified or new records were imported, for example, `2018-08-09T13:51:17.243Z`."},"id":{"type":"string","description":"The UUID of the connector."},"container_uuid":{"type":"string","description":"The UUID of the Tenable.io instance."},"expired":{"type":"boolean","description":"Indicates whether the Vulnerability Management license for the Tenable.io instance associated with the connector is expired."},"incremental_mode":{"type":"boolean","description":"Indicates whether a connector has completed the initial full import successfully. If the value is `true`, then the connector is in incremental mode where it imports assets based on on the service provider event stream instead of enumerating all assets in the account every single time."},"last_sync_time":{"type":"string","description":"An ISO timestamp indicating the date and time of the last successful import, for example, `2018-08-09T13:51:17.243Z`."},"params":{"type":"object","description":"The connector parameters: \n* For AWS connectors, the parameters include the access key, secret key, associated accounts, and cloudtrails. \n* For keyless AWS connectors, the parameters include associated AWS accounts (sub-accounts) and cloudtrails. \n* For Azure connectors, the parameters include the application ID, tenant ID, client secret key, and an optional list of subscription IDs. If you don't provide subscription IDs, Tenable.io automatically discovers them.","properties":{"access_key":{"description":"For AWS connectors, the AWS access key.\nNote: The access key is not included in the keyless AWS connector parameters.","type":"string"},"trails":{"description":"For AWS connectors, a list of AWS cloudtrails associated with the connector.","type":"array","items":{"type":"object","properties":{"arn":{"type":"string","description":"Amazon Resource Name (ARN) of the cloudtrail."},"name":{"type":"string","description":"The name of the cloudtrail."},"region":{"type":"object","properties":{"name":{"type":"string","description":"The AWS region code, for example, `us-east-1`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions."},"friendly_name":{"description":"The AWS region name, for example, `US East (N. Virginia)`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions.","type":"string"}}},"availability":{"description":"Indicates whether a cloudtrail is available to be used by a connector (logging is turned on in AWS, or it has at least one EventSelector with IncludeManagementEvents). Values include:\n - `success`—The cloudtrail is available.\n - `error`—The cloudtrail is not available.","type":"string","enum":["success","error"]}}}},"sub_accounts":{"description":"For AWS connectors, a list of AWS accounts associated with the connector.","type":"array","items":{"type":"object","properties":{"role_arn":{"type":"string","description":"The Amazon Resource Name (ARN) of the role generated based on the associated account ID."},"external_id":{"description":"The UUID of your Tenable.io instance used by AWS to identify it as a client application. You can obtain the UUID of your Tenable.io account using the GET /session endpoint. The UUID corresponds to the container_uuid attribute of the response message for that endpoint.","type":"string"},"trails":{"description":"For keyless AWS connectors, a list of AWS cloudtrails associated with the account.","type":"array","items":{"type":"object","properties":{"arn":{"type":"string","description":"Amazon Resource Name (ARN) of the cloudtrail."},"name":{"type":"string","description":"The name of the cloudtrail."},"region":{"type":"object","properties":{"name":{"type":"string","description":"The AWS region code, for example, `us-east-1`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions."},"friendly_name":{"description":"The AWS region name, for example, `US East (N. Virginia)`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions.","type":"string"}}},"availability":{"description":"Indicates whether a cloudtrail is available to be used by a connector (logging is turned on in AWS, or it has at least one EventSelector with IncludeManagementEvents). Values include:\n - `success`—The cloudtrail is available.\n - `error`—The cloudtrail is not available.","type":"string","enum":["success","error"]}}}},"incremental_mode":{"type":"boolean","description":"Indicates whether a connector has completed the initial full import successfully. If the value is `true`, then the connector is in incremental mode where it imports assets based on events instead of enumerating all assets in the account every single time."}}}},"status":{"description":"For Azure connectors, a list of import status records.","type":"array","items":{"type":"object","properties":{"last_event_seen":{"type":"string","description":"An ISO timestamp indicating the last time the connector found new or changed records and successfully imported them."},"release_timestamp":{"description":"An ISO timestamp indicating the last time the connector successfully completed an import (regardless of whether it found any changes).","type":"string"},"message":{"type":"string","description":"The extended import status message."}}}},"application_id":{"description":"For Azure connectors, Azure application ID.","type":"string"},"tenant_id":{"type":"string","description":"For Azure connectors, Azure tenant ID."},"subscription_id":{"type":"string","description":"For Azure connectors, Azure subscription ID. If you do not provide subscription IDs, Tenable.io automatically discovers them."},"service":{"description":"The service targeted by the connector. Values include:\n* aws \n* aws_keyless \n* azure\n* gcp","type":"string"}}}}},"examples":{"response":{"value":{"connector":{"type":"aws","human_type":"AWS","data_type":"assets","name":"AWS Connector - New","status":"Scheduled","status_message":"","schedule":{"units":"days","value":1},"schedule_full":{"units":"days","value":1},"date_created":"2019-03-24T20:50:23.635Z","id":"f2506bed-bffa-442b-bfde-506c52306111","container_uuid":"gdf930d-7e3d-452c-82e8-494c1be98ef19","expired":false,"incremental_mode":false,"params":{"access_key":"AJIAJLRNVRLZRDZLVBXR","trails":[{"arn":"arn:aws:cloudtrail:us-east-1:069647819620:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":""}],"service":"aws"},"network_uuid":"11f04eb9-7c78-46c8-9025-fae048390f59"}}}}}}},"400":{"description":"Returned if you specify invalid input parameters."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nFor information about connector error codes, see Connectors.
Requires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"connectors-list-connectors","tags":["Connectors"],"parameters":[{"description":"Maximum number of records requested (or service imposed limit if not in request). Must be in the int32 format. Default is 1000.","required":false,"name":"limit","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The number of records to skip in the returned result set. Must be in the int32 format. Default is 0.","required":false,"name":"offset","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The fields to sort on, for example, `sort=date_created:desc`. If you specify multiple fields, fields must be separated by commas. Sortable fields include: \n* date_created \n* name","required":false,"name":"sort","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns a list of connectors with pagination information.","content":{"application/json":{"schema":{"type":"object","properties":{"connectors":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"The type of the connector. Types include:\n - aws\n - aws_keyless\n - azure\n - gcp"},"human_type":{"type":"string","description":"The human-readable connector type."},"data_type":{"type":"string","description":"The data type imported by the connector. For Azure and AWS connectors, the value is always `assets`."},"name":{"type":"string","description":"The name of the connector. The name must be unique within a Tenable.io instance."},"network_uuid":{"type":"string","format":"UUID","description":"The UUID of the [network](https://developer.tenable.com/docs/manage-networks-tio) associated with the connector."},"status":{"type":"string","description":"The import status of the connector. Status values can include:\n - Completed—Tenable.io successfully used the connector to import assets (no imports scheduled)\n - Scheduled—Imports using the connector are scheduled for future dates\n - Saved—Tenable.io saved the connector configuration, but did not import assets at this time (no imports scheduled)\n - Error—Tenable.io failed to import assets using the connector"},"status_message":{"type":"string","description":"Extended description of the connector status. For information about connector error codes, see Connectors."},"schedule":{"type":"object","properties":{}},"date_created":{"type":"string","description":"An ISO timestamp indicating the date and time on which the connector was created, for example, `2018-08-09T13:51:17.243Z`."},"date_modified":{"type":"string","description":"An ISO timestamp indicating the date and time on which the connector was last modified or new records were imported, for example, `2018-08-09T13:51:17.243Z`."},"id":{"type":"string","description":"The UUID of the connector."},"container_uuid":{"type":"string","description":"The UUID of the Tenable.io instance."},"expired":{"type":"boolean","description":"Indicates whether the Vulnerability Management license for the Tenable.io instance associated with the connector is expired."},"incremental_mode":{"type":"boolean","description":"Indicates whether a connector has completed the initial full import successfully. If the value is `true`, then the connector is in incremental mode where it imports assets based on on the service provider event stream instead of enumerating all assets in the account every single time."},"last_sync_time":{"type":"string","description":"An ISO timestamp indicating the date and time of the last successful import, for example, `2018-08-09T13:51:17.243Z`."},"params":{"type":"object","description":"The connector parameters: \n* For AWS connectors, the parameters include the access key, secret key, associated accounts, and cloudtrails. \n* For keyless AWS connectors, the parameters include associated AWS accounts (sub-accounts) and cloudtrails. \n* For Azure connectors, the parameters include the application ID, tenant ID, client secret key, and an optional list of subscription IDs. If you don't provide subscription IDs, Tenable.io automatically discovers them.","properties":{"access_key":{"description":"For AWS connectors, the AWS access key.\nNote: The access key is not included in the keyless AWS connector parameters.","type":"string"},"trails":{"description":"For AWS connectors, a list of AWS cloudtrails associated with the connector.","type":"array","items":{"type":"object","properties":{"arn":{"type":"string","description":"Amazon Resource Name (ARN) of the cloudtrail."},"name":{"type":"string","description":"The name of the cloudtrail."},"region":{"type":"object","properties":{"name":{"type":"string","description":"The AWS region code, for example, `us-east-1`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions."},"friendly_name":{"description":"The AWS region name, for example, `US East (N. Virginia)`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions.","type":"string"}}},"availability":{"description":"Indicates whether a cloudtrail is available to be used by a connector (logging is turned on in AWS, or it has at least one EventSelector with IncludeManagementEvents). Values include:\n - `success`—The cloudtrail is available.\n - `error`—The cloudtrail is not available.","type":"string","enum":["success","error"]}}}},"sub_accounts":{"description":"For AWS connectors, a list of AWS accounts associated with the connector.","type":"array","items":{"type":"object","properties":{"role_arn":{"type":"string","description":"The Amazon Resource Name (ARN) of the role generated based on the associated account ID."},"external_id":{"description":"The UUID of your Tenable.io instance used by AWS to identify it as a client application. You can obtain the UUID of your Tenable.io account using the GET /session endpoint. The UUID corresponds to the container_uuid attribute of the response message for that endpoint.","type":"string"},"trails":{"description":"For keyless AWS connectors, a list of AWS cloudtrails associated with the account.","type":"array","items":{"type":"object","properties":{"arn":{"type":"string","description":"Amazon Resource Name (ARN) of the cloudtrail."},"name":{"type":"string","description":"The name of the cloudtrail."},"region":{"type":"object","properties":{"name":{"type":"string","description":"The AWS region code, for example, `us-east-1`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions."},"friendly_name":{"description":"The AWS region name, for example, `US East (N. Virginia)`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions.","type":"string"}}},"availability":{"description":"Indicates whether a cloudtrail is available to be used by a connector (logging is turned on in AWS, or it has at least one EventSelector with IncludeManagementEvents). Values include:\n - `success`—The cloudtrail is available.\n - `error`—The cloudtrail is not available.","type":"string","enum":["success","error"]}}}},"incremental_mode":{"type":"boolean","description":"Indicates whether a connector has completed the initial full import successfully. If the value is `true`, then the connector is in incremental mode where it imports assets based on events instead of enumerating all assets in the account every single time."}}}},"status":{"description":"For Azure connectors, a list of import status records.","type":"array","items":{"type":"object","properties":{"last_event_seen":{"type":"string","description":"An ISO timestamp indicating the last time the connector found new or changed records and successfully imported them."},"release_timestamp":{"description":"An ISO timestamp indicating the last time the connector successfully completed an import (regardless of whether it found any changes).","type":"string"},"message":{"type":"string","description":"The extended import status message."}}}},"application_id":{"description":"For Azure connectors, Azure application ID.","type":"string"},"tenant_id":{"type":"string","description":"For Azure connectors, Azure tenant ID."},"subscription_id":{"type":"string","description":"For Azure connectors, Azure subscription ID. If you do not provide subscription IDs, Tenable.io automatically discovers them."},"service":{"description":"The service targeted by the connector. Values include:\n* aws \n* aws_keyless \n* azure\n* gcp","type":"string"}}}}}},"pagination":{"type":"object","properties":{"total":{"type":"integer","description":"The total number of records matching your search criteria. Must be in the int32 format."},"limit":{"type":"integer","description":"Maximum number of records requested (or service imposed limit if not in request). Must be in the int32 format."},"offset":{"type":"integer","description":"The number of skipped records in the returned result set. Must be in the int32 format."},"sort":{"description":"An array of the fields you specified as sort fields in the request, which Tenable.io uses to sort the returned data.","type":"array","items":{"type":"string"}}}}}},"examples":{"response":{"value":{"connectors":[{"type":"aws","human_type":"AWS","data_type":"assets","name":"AWS Connector","status":"Saved","status_message":"","date_created":"2019-03-21T20:18:59.509Z","id":"e5cc1ab0-e64a-4636-8676-95d79a5a3c40","container_uuid":"gdf930d-7e3d-452c-82e8-494c1be98ef19","expired":false,"incremental_mode":false,"params":{"access_key":"AJIAJLRNVRLZRDZLVBXR","trails":[{"arn":"arn:aws:cloudtrail:us-east-1:069647819620:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":"success"}],"sub_accounts":[],"service":"aws"},"network_uuid":"11f04eb9-7c78-46c8-9025-fae048390f59"},{"type":"azure","human_type":"Azure","data_type":"assets","name":"Azure Connector","status":"Completed","status_message":"Import completed successfully","date_created":"2019-03-21T19:56:23.713Z","date_modified":"2019-03-21T20:09:01.241Z","id":"ec58a94d-31f5-42e7-b5be-2fef687c7fad","container_uuid":"gdf930d-7e3d-452c-82e8-494c1be98ef19","expired":false,"incremental_mode":false,"last_sync_time":"2019-03-21T20:09:01.241Z","params":{"status":{"c2fa7307-c53b-5ce0-a772-2ec880e85759":{"last_event_seen":"2019-03-21T20:08:59.190Z","release_timestamp":"2019-03-21T20:09:00.315Z","message":"Import completed successfully","state":"SUCCESS"},"a90ae1b5-20e2-4bf9-82b3-0082159365ea":{"last_event_seen":"2019-03-21T20:09:01.241Z","release_timestamp":"2019-03-21T20:09:01.504Z","message":"Import completed successfully","state":"SUCCESS"}},"application_id":"559829df-59ba-49e4-94a0-6e5af2b508di","tenant_id":"5a2b8079-0320-405f-ad21-17a3103014f7","subscription_id":[],"service":"azure"},"network_uuid":"00000000-0000-0000-0000-000000000000"},{"type":"aws_keyless","human_type":"AWS","data_type":"assets","name":"AWS Keyless Connector","status":"Saved","status_message":"","date_created":"2019-03-20T14:18:30.350Z","id":"cee93baa-ec30-4ccc-ab81-80719ba629ff","container_uuid":"gdf930d-7e3d-452c-82e8-494c1be98ef19","expired":false,"incremental_mode":false,"params":{"sub_accounts":[{"role_arn":"arn:aws:iam::795163652895:role/tenableio-connector","external_id":"gdf930d-7e3d-452c-82e8-494c1be98ef19","trails":[{"arn":"arn:aws:cloudtrail:us-east-1:795163652895:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":"success"}],"incremental_mode":false,"account_id":"795163652895"}],"service":"aws"},"network_uuid":"13f04eb9-7c78-36c8-9025-fae048390f57"}],"pagination":{"total":3,"offset":0,"limit":50,"sort":[{"name":"date_created","order":"desc"}]}}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"connectors-update-connector","tags":["Connectors"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the connector."},"network_uuid":{"type":"string","description":"The UUID of the [network](https://developer.tenable.com/docs/manage-networks-tio) to associate with the connector. You can find the UUID using the [GET /networks](/reference#networks-list) endpoint. If you do not specify a network, Tenable.io automatically associates the connector with the default network (UUID `00000000-0000-0000-0000-000000000000`).\n**Note**: Tenable recommends creating a network for each connector type in use to prevent asset records in different cloud environments from overwriting each other. For more information, see [Managing Networks](https://developer.tenable.com/docs/manage-networks-tio).","format":"UUID","example":"00000000-0000-0000-0000-000000000000"},"params":{"type":"object","description":"The connector parameters: \n* For AWS connectors, the parameters include the access key, secret key, associated accounts, and cloudtrails. \n* For keyless AWS connectors, the parameters include associated AWS accounts (sub-accounts) and cloudtrails. \n* For Azure connectors, the parameters include the application ID, tenant ID, client secret key, and an optional list of subscription IDs. If you don't provide subscription IDs, Tenable.io automatically discovers them.\n* For GCP connectors, the service account key.","properties":{"access_key":{"description":"The AWS access key.\nNote: The access key is not included in the keyless AWS connector parameters.","type":"string"},"secret_key":{"description":"For AWS connectors, the AWS secret key.","type":"string"},"trails":{"description":"For AWS connectors, a list of AWS cloudtrails associated with the connector. The trails must be available to be used by the connector. Use the [POST /settings/connectors/aws/cloudtrails](/reference#connectors-get-aws-cloudtrails) endpoint to check the `availability` property of cloudtrail objects.","type":"array","items":{"type":"object","properties":{"arn":{"type":"string","description":"Amazon Resource Name (ARN) of the cloudtrail."},"name":{"type":"string","description":"The name of the cloudtrail."},"region":{"type":"object","properties":{"name":{"type":"string","description":"The AWS region code, for example, `us-east-1`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions."},"friendly_name":{"description":"The AWS region name, for example, `US East (N. Virginia)`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions.","type":"string"}}},"availability":{"description":"Indicates whether a cloudtrail is available to be used by a connector (logging is turned on in AWS, or it has at least one EventSelector with IncludeManagementEvents). Values include:\n - `success`—The cloudtrail is available.\n - `error`—The cloudtrail is not available.","type":"string","enum":["success","error"]}}}},"sub_accounts":{"description":"For AWS connectors, a list of AWS accounts associated with the connector.","type":"array","items":{"type":"object","properties":{"role_arn":{"type":"string","description":"The Amazon Resource Name (ARN) of the role generated based on the associated account ID."},"external_id":{"description":"The UUID of your Tenable.io instance used by AWS to identify it as a client application. You can obtain the UUID of your Tenable.io account using the GET /session endpoint. The UUID corresponds to the container_uuid attribute of the response message for that endpoint.","type":"string"},"trails":{"description":"For keyless AWS connectors, a list of AWS cloudtrails associated with the account.","type":"array","items":{"type":"object","properties":{"arn":{"type":"string","description":"Amazon Resource Name (ARN) of the cloudtrail."},"name":{"type":"string","description":"The name of the cloudtrail."},"region":{"type":"object","properties":{"name":{"type":"string","description":"The AWS region code, for example, `us-east-1`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions."},"friendly_name":{"description":"The AWS region name, for example, `US East (N. Virginia)`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions.","type":"string"}}},"availability":{"description":"Indicates whether a cloudtrail is available to be used by a connector (logging is turned on in AWS, or it has at least one EventSelector with IncludeManagementEvents). Values include:\n - `success`—The cloudtrail is available.\n - `error`—The cloudtrail is not available.","type":"string","enum":["success","error"]}}}},"incremental_mode":{"type":"boolean","description":"Indicates whether a connector has completed the initial full import successfully. If the value is `true`, then the connector is in incremental mode where it imports assets based on events instead of enumerating all assets in the account every single time."}}}},"application_id":{"description":"For Azure connectors, Azure application ID.","type":"string"},"tenant_id":{"type":"string","description":"For Azure connectors, Azure tenant ID."},"subscription_id":{"type":"string","description":"For Azure connectors, Azure subscription ID. If you do not provide subscription IDs, Tenable.io automatically discovers them."},"service_account_key":{"type":"string","description":"For GCP connectors, Base64-encoded string value of the service account key JSON file. For more information, see [GCP documentation](https://cloud.google.com/iam/docs/creating-managing-service-account-keys).\n\n**Important!** The `service_account_key` value must include only the literal encoded string. Do not include the `data:application/json;base64` prefix."}}},"schedule":{"type":"object","description":"The data import schedule.","properties":{"units":{"type":"string","description":"The units of time for the import interval. Units can include:\n - days\n - hours\n - minutes\n - weeks"},"value":{"type":"integer","description":"The number of units between import intervals."}}}},"required":["name","params"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully updates a connector.","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","description":"The type of the connector. Types include:\n - aws\n - aws_keyless\n - azure\n - gcp"},"human_type":{"type":"string","description":"The human-readable connector type."},"data_type":{"type":"string","description":"The data type imported by the connector. For Azure and AWS connectors, the value is always `assets`."},"name":{"type":"string","description":"The name of the connector. The name must be unique within a Tenable.io instance."},"network_uuid":{"type":"string","format":"UUID","description":"The UUID of the [network](https://developer.tenable.com/docs/manage-networks-tio) associated with the connector."},"status":{"type":"string","description":"The import status of the connector. Status values can include:\n - Completed—Tenable.io successfully used the connector to import assets (no imports scheduled)\n - Scheduled—Imports using the connector are scheduled for future dates\n - Saved—Tenable.io saved the connector configuration, but did not import assets at this time (no imports scheduled)\n - Error—Tenable.io failed to import assets using the connector"},"status_message":{"type":"string","description":"Extended description of the connector status. For information about connector error codes, see Connectors."},"schedule":{"type":"object","properties":{}},"date_created":{"type":"string","description":"An ISO timestamp indicating the date and time on which the connector was created, for example, `2018-08-09T13:51:17.243Z`."},"date_modified":{"type":"string","description":"An ISO timestamp indicating the date and time on which the connector was last modified or new records were imported, for example, `2018-08-09T13:51:17.243Z`."},"id":{"type":"string","description":"The UUID of the connector."},"container_uuid":{"type":"string","description":"The UUID of the Tenable.io instance."},"expired":{"type":"boolean","description":"Indicates whether the Vulnerability Management license for the Tenable.io instance associated with the connector is expired."},"incremental_mode":{"type":"boolean","description":"Indicates whether a connector has completed the initial full import successfully. If the value is `true`, then the connector is in incremental mode where it imports assets based on on the service provider event stream instead of enumerating all assets in the account every single time."},"last_sync_time":{"type":"string","description":"An ISO timestamp indicating the date and time of the last successful import, for example, `2018-08-09T13:51:17.243Z`."},"params":{"type":"object","description":"The connector parameters: \n* For AWS connectors, the parameters include the access key, secret key, associated accounts, and cloudtrails. \n* For keyless AWS connectors, the parameters include associated AWS accounts (sub-accounts) and cloudtrails. \n* For Azure connectors, the parameters include the application ID, tenant ID, client secret key, and an optional list of subscription IDs. If you don't provide subscription IDs, Tenable.io automatically discovers them.","properties":{"access_key":{"description":"For AWS connectors, the AWS access key.\nNote: The access key is not included in the keyless AWS connector parameters.","type":"string"},"trails":{"description":"For AWS connectors, a list of AWS cloudtrails associated with the connector.","type":"array","items":{"type":"object","properties":{"arn":{"type":"string","description":"Amazon Resource Name (ARN) of the cloudtrail."},"name":{"type":"string","description":"The name of the cloudtrail."},"region":{"type":"object","properties":{"name":{"type":"string","description":"The AWS region code, for example, `us-east-1`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions."},"friendly_name":{"description":"The AWS region name, for example, `US East (N. Virginia)`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions.","type":"string"}}},"availability":{"description":"Indicates whether a cloudtrail is available to be used by a connector (logging is turned on in AWS, or it has at least one EventSelector with IncludeManagementEvents). Values include:\n - `success`—The cloudtrail is available.\n - `error`—The cloudtrail is not available.","type":"string","enum":["success","error"]}}}},"sub_accounts":{"description":"For AWS connectors, a list of AWS accounts associated with the connector.","type":"array","items":{"type":"object","properties":{"role_arn":{"type":"string","description":"The Amazon Resource Name (ARN) of the role generated based on the associated account ID."},"external_id":{"description":"The UUID of your Tenable.io instance used by AWS to identify it as a client application. You can obtain the UUID of your Tenable.io account using the GET /session endpoint. The UUID corresponds to the container_uuid attribute of the response message for that endpoint.","type":"string"},"trails":{"description":"For keyless AWS connectors, a list of AWS cloudtrails associated with the account.","type":"array","items":{"type":"object","properties":{"arn":{"type":"string","description":"Amazon Resource Name (ARN) of the cloudtrail."},"name":{"type":"string","description":"The name of the cloudtrail."},"region":{"type":"object","properties":{"name":{"type":"string","description":"The AWS region code, for example, `us-east-1`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions."},"friendly_name":{"description":"The AWS region name, for example, `US East (N. Virginia)`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions.","type":"string"}}},"availability":{"description":"Indicates whether a cloudtrail is available to be used by a connector (logging is turned on in AWS, or it has at least one EventSelector with IncludeManagementEvents). Values include:\n - `success`—The cloudtrail is available.\n - `error`—The cloudtrail is not available.","type":"string","enum":["success","error"]}}}},"incremental_mode":{"type":"boolean","description":"Indicates whether a connector has completed the initial full import successfully. If the value is `true`, then the connector is in incremental mode where it imports assets based on events instead of enumerating all assets in the account every single time."}}}},"status":{"description":"For Azure connectors, a list of import status records.","type":"array","items":{"type":"object","properties":{"last_event_seen":{"type":"string","description":"An ISO timestamp indicating the last time the connector found new or changed records and successfully imported them."},"release_timestamp":{"description":"An ISO timestamp indicating the last time the connector successfully completed an import (regardless of whether it found any changes).","type":"string"},"message":{"type":"string","description":"The extended import status message."}}}},"application_id":{"description":"For Azure connectors, Azure application ID.","type":"string"},"tenant_id":{"type":"string","description":"For Azure connectors, Azure tenant ID."},"subscription_id":{"type":"string","description":"For Azure connectors, Azure subscription ID. If you do not provide subscription IDs, Tenable.io automatically discovers them."},"service":{"description":"The service targeted by the connector. Values include:\n* aws \n* aws_keyless \n* azure\n* gcp","type":"string"}}}}},"examples":{"response":{"value":{"connector":{"type":"azure","human_type":"Azure","data_type":"assets","name":"Azure Connector - Updated","status":"Scheduled","status_message":"","schedule":{"units":"days","value":1},"schedule_full":{"units":"days","value":1},"date_created":"2019-03-24T23:21:42.898Z","id":"bc312ad1-6039-406b-b0a9-c0e311b05dc1","container_uuid":"gdf930d-7e3d-452c-82e8-494c1be98ef19","expired":false,"incremental_mode":false,"params":{"application_id":"559829df-59ba-49e4-94a0-6e5af2b508di","tenant_id":"5a2b8079-0320-405f-ad21-17a3103014f7","subscription_id":["a90ae1b5-20e2-4bf9-82b3-0082159365ea","c2fa7307-c53b-5ce0-a772-2ec880e85759"],"service":"azure"},"network_uuid":"13f04eb9-7c78-36c8-9025-fae048390f57"}}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nFor information about connector error codes, see Connectors.
Requires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"connectors-connector-details","tags":["Connectors"],"parameters":[{"description":"The UUID of the connector to return details for.","required":true,"name":"connector_id","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the connector details.","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","description":"The type of the connector. Types include:\n - aws\n - aws_keyless\n - azure\n - gcp"},"human_type":{"type":"string","description":"The human-readable connector type."},"data_type":{"type":"string","description":"The data type imported by the connector. For Azure and AWS connectors, the value is always `assets`."},"name":{"type":"string","description":"The name of the connector. The name must be unique within a Tenable.io instance."},"network_uuid":{"type":"string","format":"UUID","description":"The UUID of the [network](https://developer.tenable.com/docs/manage-networks-tio) associated with the connector."},"status":{"type":"string","description":"The import status of the connector. Status values can include:\n - Completed—Tenable.io successfully used the connector to import assets (no imports scheduled)\n - Scheduled—Imports using the connector are scheduled for future dates\n - Saved—Tenable.io saved the connector configuration, but did not import assets at this time (no imports scheduled)\n - Error—Tenable.io failed to import assets using the connector"},"status_message":{"type":"string","description":"Extended description of the connector status. For information about connector error codes, see Connectors."},"schedule":{"type":"object","properties":{}},"date_created":{"type":"string","description":"An ISO timestamp indicating the date and time on which the connector was created, for example, `2018-08-09T13:51:17.243Z`."},"date_modified":{"type":"string","description":"An ISO timestamp indicating the date and time on which the connector was last modified or new records were imported, for example, `2018-08-09T13:51:17.243Z`."},"id":{"type":"string","description":"The UUID of the connector."},"container_uuid":{"type":"string","description":"The UUID of the Tenable.io instance."},"expired":{"type":"boolean","description":"Indicates whether the Vulnerability Management license for the Tenable.io instance associated with the connector is expired."},"incremental_mode":{"type":"boolean","description":"Indicates whether a connector has completed the initial full import successfully. If the value is `true`, then the connector is in incremental mode where it imports assets based on on the service provider event stream instead of enumerating all assets in the account every single time."},"last_sync_time":{"type":"string","description":"An ISO timestamp indicating the date and time of the last successful import, for example, `2018-08-09T13:51:17.243Z`."},"params":{"type":"object","description":"The connector parameters: \n* For AWS connectors, the parameters include the access key, secret key, associated accounts, and cloudtrails. \n* For keyless AWS connectors, the parameters include associated AWS accounts (sub-accounts) and cloudtrails. \n* For Azure connectors, the parameters include the application ID, tenant ID, client secret key, and an optional list of subscription IDs. If you don't provide subscription IDs, Tenable.io automatically discovers them.","properties":{"access_key":{"description":"For AWS connectors, the AWS access key.\nNote: The access key is not included in the keyless AWS connector parameters.","type":"string"},"trails":{"description":"For AWS connectors, a list of AWS cloudtrails associated with the connector.","type":"array","items":{"type":"object","properties":{"arn":{"type":"string","description":"Amazon Resource Name (ARN) of the cloudtrail."},"name":{"type":"string","description":"The name of the cloudtrail."},"region":{"type":"object","properties":{"name":{"type":"string","description":"The AWS region code, for example, `us-east-1`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions."},"friendly_name":{"description":"The AWS region name, for example, `US East (N. Virginia)`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions.","type":"string"}}},"availability":{"description":"Indicates whether a cloudtrail is available to be used by a connector (logging is turned on in AWS, or it has at least one EventSelector with IncludeManagementEvents). Values include:\n - `success`—The cloudtrail is available.\n - `error`—The cloudtrail is not available.","type":"string","enum":["success","error"]}}}},"sub_accounts":{"description":"For AWS connectors, a list of AWS accounts associated with the connector.","type":"array","items":{"type":"object","properties":{"role_arn":{"type":"string","description":"The Amazon Resource Name (ARN) of the role generated based on the associated account ID."},"external_id":{"description":"The UUID of your Tenable.io instance used by AWS to identify it as a client application. You can obtain the UUID of your Tenable.io account using the GET /session endpoint. The UUID corresponds to the container_uuid attribute of the response message for that endpoint.","type":"string"},"trails":{"description":"For keyless AWS connectors, a list of AWS cloudtrails associated with the account.","type":"array","items":{"type":"object","properties":{"arn":{"type":"string","description":"Amazon Resource Name (ARN) of the cloudtrail."},"name":{"type":"string","description":"The name of the cloudtrail."},"region":{"type":"object","properties":{"name":{"type":"string","description":"The AWS region code, for example, `us-east-1`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions."},"friendly_name":{"description":"The AWS region name, for example, `US East (N. Virginia)`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions.","type":"string"}}},"availability":{"description":"Indicates whether a cloudtrail is available to be used by a connector (logging is turned on in AWS, or it has at least one EventSelector with IncludeManagementEvents). Values include:\n - `success`—The cloudtrail is available.\n - `error`—The cloudtrail is not available.","type":"string","enum":["success","error"]}}}},"incremental_mode":{"type":"boolean","description":"Indicates whether a connector has completed the initial full import successfully. If the value is `true`, then the connector is in incremental mode where it imports assets based on events instead of enumerating all assets in the account every single time."}}}},"status":{"description":"For Azure connectors, a list of import status records.","type":"array","items":{"type":"object","properties":{"last_event_seen":{"type":"string","description":"An ISO timestamp indicating the last time the connector found new or changed records and successfully imported them."},"release_timestamp":{"description":"An ISO timestamp indicating the last time the connector successfully completed an import (regardless of whether it found any changes).","type":"string"},"message":{"type":"string","description":"The extended import status message."}}}},"application_id":{"description":"For Azure connectors, Azure application ID.","type":"string"},"tenant_id":{"type":"string","description":"For Azure connectors, Azure tenant ID."},"subscription_id":{"type":"string","description":"For Azure connectors, Azure subscription ID. If you do not provide subscription IDs, Tenable.io automatically discovers them."},"service":{"description":"The service targeted by the connector. Values include:\n* aws \n* aws_keyless \n* azure\n* gcp","type":"string"}}}}},"examples":{"response":{"value":{"connector":{"type":"aws","human_type":"AWS","data_type":"assets","name":"AWS Keyless Connector","status":"Scheduled","status_message":"","schedule":{"units":"days","value":1},"schedule_full":{"units":"days","value":1},"date_created":"2019-03-24T20:50:23.635Z","id":"f2506bed-bffa-442b-bfde-506c52306111","container_uuid":"gdf930d-7e3d-452c-82e8-494c1be98ef19","expired":false,"incremental_mode":false,"params":{"access_key":"AJIAJLRNVRLZRDZLVBXR","trails":[{"arn":"arn:aws:cloudtrail:us-east-1:069647819620:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":""}],"service":"aws"},"network_uuid":"13f04eb9-7c78-36c8-9025-fae048390f57"}}}}}}},"404":{"description":"Returned if Tenable.io cannot not find the specified connector."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"connectors-delete-connector","tags":["Connectors"],"parameters":[{"description":"The UUID of the connector to delete.","required":true,"name":"connector_id","in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Returned if Tenable.io successfully deleted the specified connector.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified connector."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"connectors-get-aws-cloudtrails","tags":["Connectors"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"region":{"type":"array","description":"A complete list of available AWS regions as shown in the following example.","items":{"type":"object","properties":{"name":{"type":"string","description":"The AWS region code, for example, `us-east-1`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions."},"friendly_name":{"description":"The AWS region name, for example, `US East (N. Virginia)`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions.","type":"string"}}}},"credentials":{"type":"object","description":"For AWS connectors, the credentials object, including access key and secret key.","properties":{"access_key":{"type":"string","description":"The AWS access key."},"secret_key":{"type":"string","description":"The AWS secret key."}}},"account_id":{"type":"string","description":"For keyless AWS connectors, the AWS account ID."}},"required":["regions"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully retrieves the list of cloudtrails.","content":{"application/json":{"schema":{"type":"object","properties":{"trails":{"type":"array","items":{"type":"object","properties":{"arn":{"type":"string","description":"Amazon Resource Name (ARN) of the cloudtrail."},"name":{"type":"string","description":"The name of the cloudtrail."},"region":{"type":"object","properties":{"name":{"type":"string","description":"The AWS region code, for example, `us-east-1`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions."},"friendly_name":{"description":"The AWS region name, for example, `US East (N. Virginia)`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions.","type":"string"}}},"availability":{"description":"Indicates whether a cloudtrail is available to be used by a connector (logging is turned on in AWS, or it has at least one EventSelector with IncludeManagementEvents). Values include:\n - `success`—The cloudtrail is available.\n - `error`—The cloudtrail is not available.","type":"string","enum":["success","error"]}}}}}},"examples":{"response":{"value":{"trails":[{"arn":"arn:aws:cloudtrail:us-east-1:069647819620:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":"success"},{"arn":"arn:aws:cloudtrail:us-east-1:069647819620:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":"success"},{"arn":"arn:aws:cloudtrail:us-east-1:069647819620:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":"success"},{"arn":"arn:aws:cloudtrail:us-east-1:069647819620:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":"success"},{"arn":"arn:aws:cloudtrail:us-east-1:069647819620:trail/TenableAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":"success"},{"arn":"arn:aws:cloudtrail:us-east-1:069647819620:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":"success"},{"arn":"arn:aws:cloudtrail:us-east-1:069647819620:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":"success"},{"arn":"arn:aws:cloudtrail:us-east-1:069647819620:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":"success"},{"arn":"arn:aws:cloudtrail:us-east-1:069647819620:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":"success"},{"arn":"arn:aws:cloudtrail:us-east-1:069647819620:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":"success"},{"arn":"arn:aws:cloudtrail:us-east-1:069647819620:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":"success"},{"arn":"arn:aws:cloudtrail:us-east-1:069647819620:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":"success"},{"arn":"arn:aws:cloudtrail:us-east-1:069647819620:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":"success"},{"arn":"arn:aws:cloudtrail:us-east-1:069647819620:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":"success"}]}}}}}},"400":{"description":"Returned if you specify invalid input parameters."},"403":{"description":"Returned if you specify invalid AWS credentials or account ID."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"connectors-import-assets-connector","tags":["Connectors"],"parameters":[{"description":"The UUID of the connector for which to import the data.","required":true,"name":"connector_id","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully schedules the connector for import.","content":{"application/json":{"schema":{"type":"object","properties":{"connector":{"type":"object","properties":{"type":{"type":"string","description":"The type of the connector. Types include:\n - aws\n - aws_keyless\n - azure\n - gcp"},"human_type":{"type":"string","description":"The human-readable connector type."},"data_type":{"type":"string","description":"The data type imported by the connector. For Azure and AWS connectors, the value is always `assets`."},"name":{"type":"string","description":"The name of the connector. The name must be unique within a Tenable.io instance."},"network_uuid":{"type":"string","format":"UUID","description":"The UUID of the [network](https://developer.tenable.com/docs/manage-networks-tio) associated with the connector."},"status":{"type":"string","description":"The import status of the connector. Status values can include:\n - Completed—Tenable.io successfully used the connector to import assets (no imports scheduled)\n - Scheduled—Imports using the connector are scheduled for future dates\n - Saved—Tenable.io saved the connector configuration, but did not import assets at this time (no imports scheduled)\n - Error—Tenable.io failed to import assets using the connector"},"status_message":{"type":"string","description":"Extended description of the connector status. For information about connector error codes, see Connectors."},"schedule":{"type":"object","properties":{}},"date_created":{"type":"string","description":"An ISO timestamp indicating the date and time on which the connector was created, for example, `2018-08-09T13:51:17.243Z`."},"date_modified":{"type":"string","description":"An ISO timestamp indicating the date and time on which the connector was last modified or new records were imported, for example, `2018-08-09T13:51:17.243Z`."},"id":{"type":"string","description":"The UUID of the connector."},"container_uuid":{"type":"string","description":"The UUID of the Tenable.io instance."},"expired":{"type":"boolean","description":"Indicates whether the Vulnerability Management license for the Tenable.io instance associated with the connector is expired."},"incremental_mode":{"type":"boolean","description":"Indicates whether a connector has completed the initial full import successfully. If the value is `true`, then the connector is in incremental mode where it imports assets based on on the service provider event stream instead of enumerating all assets in the account every single time."},"last_sync_time":{"type":"string","description":"An ISO timestamp indicating the date and time of the last successful import, for example, `2018-08-09T13:51:17.243Z`."},"params":{"type":"object","description":"The connector parameters: \n* For AWS connectors, the parameters include the access key, secret key, associated accounts, and cloudtrails. \n* For keyless AWS connectors, the parameters include associated AWS accounts (sub-accounts) and cloudtrails. \n* For Azure connectors, the parameters include the application ID, tenant ID, client secret key, and an optional list of subscription IDs. If you don't provide subscription IDs, Tenable.io automatically discovers them.","properties":{"access_key":{"description":"For AWS connectors, the AWS access key.\nNote: The access key is not included in the keyless AWS connector parameters.","type":"string"},"trails":{"description":"For AWS connectors, a list of AWS cloudtrails associated with the connector.","type":"array","items":{"type":"object","properties":{"arn":{"type":"string","description":"Amazon Resource Name (ARN) of the cloudtrail."},"name":{"type":"string","description":"The name of the cloudtrail."},"region":{"type":"object","properties":{"name":{"type":"string","description":"The AWS region code, for example, `us-east-1`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions."},"friendly_name":{"description":"The AWS region name, for example, `US East (N. Virginia)`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions.","type":"string"}}},"availability":{"description":"Indicates whether a cloudtrail is available to be used by a connector (logging is turned on in AWS, or it has at least one EventSelector with IncludeManagementEvents). Values include:\n - `success`—The cloudtrail is available.\n - `error`—The cloudtrail is not available.","type":"string","enum":["success","error"]}}}},"sub_accounts":{"description":"For AWS connectors, a list of AWS accounts associated with the connector.","type":"array","items":{"type":"object","properties":{"role_arn":{"type":"string","description":"The Amazon Resource Name (ARN) of the role generated based on the associated account ID."},"external_id":{"description":"The UUID of your Tenable.io instance used by AWS to identify it as a client application. You can obtain the UUID of your Tenable.io account using the GET /session endpoint. The UUID corresponds to the container_uuid attribute of the response message for that endpoint.","type":"string"},"trails":{"description":"For keyless AWS connectors, a list of AWS cloudtrails associated with the account.","type":"array","items":{"type":"object","properties":{"arn":{"type":"string","description":"Amazon Resource Name (ARN) of the cloudtrail."},"name":{"type":"string","description":"The name of the cloudtrail."},"region":{"type":"object","properties":{"name":{"type":"string","description":"The AWS region code, for example, `us-east-1`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions."},"friendly_name":{"description":"The AWS region name, for example, `US East (N. Virginia)`. The value of `All` indicates that the cloudtrail is associated with all AWS available regions.","type":"string"}}},"availability":{"description":"Indicates whether a cloudtrail is available to be used by a connector (logging is turned on in AWS, or it has at least one EventSelector with IncludeManagementEvents). Values include:\n - `success`—The cloudtrail is available.\n - `error`—The cloudtrail is not available.","type":"string","enum":["success","error"]}}}},"incremental_mode":{"type":"boolean","description":"Indicates whether a connector has completed the initial full import successfully. If the value is `true`, then the connector is in incremental mode where it imports assets based on events instead of enumerating all assets in the account every single time."}}}},"status":{"description":"For Azure connectors, a list of import status records.","type":"array","items":{"type":"object","properties":{"last_event_seen":{"type":"string","description":"An ISO timestamp indicating the last time the connector found new or changed records and successfully imported them."},"release_timestamp":{"description":"An ISO timestamp indicating the last time the connector successfully completed an import (regardless of whether it found any changes).","type":"string"},"message":{"type":"string","description":"The extended import status message."}}}},"application_id":{"description":"For Azure connectors, Azure application ID.","type":"string"},"tenant_id":{"type":"string","description":"For Azure connectors, Azure tenant ID."},"subscription_id":{"type":"string","description":"For Azure connectors, Azure subscription ID. If you do not provide subscription IDs, Tenable.io automatically discovers them."},"service":{"description":"The service targeted by the connector. Values include:\n* aws \n* aws_keyless \n* azure\n* gcp","type":"string"}}}}}}},"examples":{"response":{"value":{"connector":{"type":"aws","human_type":"AWS","data_type":"assets","name":"AWS Connector","status":"Scheduled","status_message":"Import completed successfully","date_created":"2019-03-25T17:21:19.495Z","date_modified":"2019-03-25T17:21:28.457Z","id":"8d70056d-eee5-4ef5-a5b2-0acc0262c59d","container_uuid":"gdf930d-7e3d-452c-82e8-494c1be98ef19","expired":false,"incremental_mode":false,"last_sync_time":"2019-03-25T17:21:28.457Z","params":{"access_key":"AJIAJLRNVRLZRDZLVBXR","trails":[{"arn":"arn:aws:cloudtrail:us-east-1:069647819620:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"All","friendly_name":"All"},"availability":""}],"sub_accounts":[{"role_arn":"arn:aws:iam::795163652895:role/tenableio-connector","external_id":"gdf930d-7e3d-452c-82e8-494c1be98ef19","trails":[{"arn":"arn:aws:cloudtrail:us-east-1:795163652895:trail/ExampleAWSTrail","name":"ExampleAWSTrail","region":{"name":"us-west-1","friendly_name":"us-west-1"},"availability":""}],"incremental_mode":false,"account_id":"795163652895"}],"service":"aws"},"network_uuid":"13f04eb9-7c78-36c8-9025-fae048390f57"}}}}}}},"404":{"description":"Returned if Tenable.io cannot find the connector you specified."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"access-groups-create","tags":["Access Groups"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"description":"The name of the access group you want to create. This name must be: \n* Unique within your Tenable.io instance. \n* A maximum of 255 characters. \n* Alphanumeric, but can include limited special characters (underscore, dash, parenthesis, brackets, colon). \n \n**Note:** You can add a maximum of 5,000 access groups to an individual container.","type":"string"},"all_assets":{"description":"This parameter must always be `false` or omitted from create requests to specify that the access group is a user-created group. If you submit a create request with this parameter set to `true`, the create request fails.","type":"boolean"},"all_users":{"description":"Specifies whether assets in the access group can be viewed by all or only some users in your organization: \n* If `true`, all users in your organization have Can View access to the assets defined in the rules parameter. Tenable.io ignores any principal parameters in your request. \n* If `false`, only specified users have Can View access to the assets defined in the rules parameter. You define which users or user groups have access in the principals parameter of the request. \n \nIf you omit this parameter, Tenable.io sets the parameter to `false` by default.","type":"boolean"},"rules":{"items":{"type":"object","properties":{"type":{"type":"string","description":"The type of asset rule. The asset rule type corresponds to the type of data you can specifiy in the terms parameter. For a complete list of supported rule types, use the GET /access-groups/filters endpoint."},"operator":{"type":"string","description":"The operator that specifies how Tenable.io matches the terms value to asset data. \n\nPossible operators include: \n - eq—Tenable.io matches the rule to assets based on an exact match of the specified term. Note: Tenable.io interprets the operator as `equals` for ipv4 rules that specify a single IP address, but interprets the operator as `contains` for ipv4 rules that specify an IP range or CIDR range.\n - match—Tenable.io matches the rule to assets based a partial match of the specified term.\n - starts—Tenable.io matches the rule to assets that start with the specified term.\n - ends—Tenable.io matches the rule to assets that end with the specified term.\n\nFor a complete list of operators by rule type, use the GET /access-groups/rules/filters endpoint."},"terms":{"description":"The values that Tenable.io uses to match an asset to the rule. A term must correspond to the rule type.\n\nFor example:\n - If the rule type is `aws_account`, the term is an AWS account ID.\n - If the rule type is `fqdn`, the term is a hostname or a fully-qualified domain name (FQDN).\n - If the rule type is `ipv4`, the term is an individual IPv4 address, a range of IPv4 addresses (for example, 172.204.81.57-172.204.81.60), or a CIDR range (for example, 172.204.81.57/24). \n\nFor a complete list of supported values by rule type, use the GET /access-groups/rules/filters endpoint. \n\nIf you specify multiple terms values, Tenable.io includes an asset in the access group if the asset's attributes match any of the terms in the rule.\nRequires BASIC [16] user permissions to list access groups to which you are assigned. Requires ADMINISTRATOR [64] permissions to list all access groups for your organization. See Permissions.
","operationId":"access-groups-list","tags":["Access Groups"],"parameters":[{"description":"A filter condition in the following format: `field:operator:value`. For a list of possible fields and operators, use the GET /access-groups/filters endpoint. You can specify multiple `f` parameters, separated by ampersand (&) characters. If you specify multiple `f` parameters, use the `ft` parameter to specify how Tenable.io applies the multiple filter conditions.","name":"f","in":"query","schema":{"type":"string"}},{"description":"If multiple \\`f\\` parameters are present, specifies whether Tenable.io applies \\`AND\\` or \\`OR\\` to conditions. Supported values are `and` and `or`. If you omit this parameter when using multiple `f` parameters, Tenable.io applies `AND` by default.","name":"ft","in":"query","schema":{"type":"string"}},{"description":"The search value that Tenable.io applies across the wildcard fields. Wildcard fields are specified in the `wf` parameter.","name":"w","in":"query","schema":{"type":"string"}},{"description":"A comma-separated list of fields where Tenable.io applies the search value specified in the `w` parameter. For a list of supported wildcard fields, use the GET /access-groups/filters endpoint.","name":"wf","in":"query","schema":{"type":"string"}},{"description":"Maximum number of records requested (or service imposed limit if not in request).","name":"limit","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"Offset from request (or zero).","name":"offset","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The field or fields on which Tenable.io sorts the results. If you specify multiple fields, fields must be separated by commas. For a list of supported sort fields, use the GET /access-groups/filters endpoint.","name":"sort","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns a list of access groups that you have permission to view.","content":{"application/json":{"schema":{"type":"object","properties":{"access_groups":{"type":"object","properties":{"container_uuid":{"type":"string","description":"The UUID of your Tenable.io instance."},"created_at":{"type":"string","description":"An ISO timestamp indicating the date and time on which the access group was created."},"updated_at":{"type":"string","description":"An ISO timestamp indicating the time and date on which the access group was last modified."},"id":{"type":"string","description":"The UUID of the access group."},"name":{"type":"string","description":"The name of the access group. This name must be: \n* Unique within your Tenable.io instance. \n* A maximum of 255 characters. \n* Alphanumeric, but can include limited special characters (underscore, dash, parenthesis, brackets, colon)."},"all_assets":{"type":"boolean","description":"Specifies whether the access group is the system-provided All Assets access group: \n - If `true`, the access group is the All Assets access group. The only change you can make to this access group is to refine user membership in the group. For more information, see descriptions of the all_users and principals parameters for the PUT /access-groups/{id} endpoint.\n - If `false`, the access group is a user-defined access group, and you can change all parameters for the group. This parameter is `false` for all access groups you create."},"all_users":{"type":"boolean","description":"Specifies whether assets in the access group can be viewed by all or only some users in your organization:\n - If `true`, all users in your organization have Can View access to the assets defined in the rules parameter. If `true` in a POST /access-groups or PUT /access-groups/{id} request, Tenable.io ignores any principal parameters in the request. \n - If `false`, only specified users have Can View access to the assets defined in the rules parameter. You define which users or user groups have access in the principals parameter of a POST /access-groups or PUT /access-groups/{id} request. \n\n**Note:** If a PUT /access-groups/{id} endpoint request sets this parameter to `true` for an access group where the parameter was previously set to `false`, Tenable.io removes all principal data previously associated with the access group."},"status":{"type":"string","description":"The status of the process evaluating and assigning assets to the access group. Possible values are: \n - PROCESSING—Tenable.io is currently evaluating assets against the asset rules for the access group. For an indication of evaluation progress, see the `processing_percent_complete` attribute for the access group.\n - COMPLETED—Tenable.io has successfully completed its evaluation of assets against the asset rules for the group.\n - ERROR—Tenable.io encountered an error while evaluating assets against asset rules for the access group. Rule validation typically prevents this status from occurring. However, if you encounter an ERROR status, Tenable recommends that you delete the existing asset rules, then recreate the rules after a short time has elapsed."},"created_by_uuid":{"type":"string","description":"The UUID of the user who created the access group."},"created_by_name":{"type":"string","description":"The name of the user who created the access group."},"updated_by_uuid":{"type":"string","description":"The UUID of the user who last modified the access group."},"updated_by_name":{"type":"string","description":"The name of the user who last modified the access group."},"processing_percent_complete":{"type":"integer","description":"The percentage of assets that Tenable.io has evaluated against the asset rules for the access group."}}},"pagination":{"type":"object","properties":{"total":{"type":"integer","description":"The total number of records matching your search criteria.","format":"int32"},"limit":{"type":"integer","description":"Maximum number of records requested (or service imposed limit if not in request).","format":"int32"},"offset":{"type":"integer","description":"Offset from request (or zero).","format":"int32"},"sort":{"description":"The fields you specified as sort fields in the request, which Tenable.io uses to sort the returned data.","type":"array","items":{"type":"object","properties":{"name":{"description":"The name of the field on which Tenable.io sorted the results.","type":"string"},"order":{"description":"The order in which Tenable.io sorted the results. Possible values are ascending (`asc`) or descending (`desc`).","type":"string"}}}}}}}},"examples":{"response":{"value":{"access_groups":[{"container_uuid":"8f9d0b84-ede2-4954-a0c9-0bde292ac38e","created_at":"2018-08-09T21:26:00.397Z","updated_at":"2018-08-09T21:26:00.397Z","id":"529d57cf-bbc6-435f-9b57-896bb40bba8c","name":"Atlanta Office","all_assets":false,"all_users":false,"status":"COMLETED","created_by_uuid":"b1219ca2-2578-49ac-88db-8a35dd02cc7d","updated_by_uuid":"b1219ca2-2578-49ac-88db-8a35dd02cc7d","updated_by_name":"user@example.com","created_by_name":"user@example.com","processing_percent_complete":100}],"pagination":{"offset":0,"limit":2,"total":7,"sort":[{"name":"allAssets","order":"desc"},{"name":"updatedAt","order":"asc"}]}}}}}}},"403":{"description":"Returned if you do not have permission to view access groups."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"access-groups-edit","tags":["Access Groups"],"parameters":[{"description":"The UUID for the access group you want to modify.","required":true,"name":"id","in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"description":"The name of the access group you want to modify.","type":"string"},"all_assets":{"description":"Specifies whether the access group you want to modify is the All Assets group or a user-defined group: \n* If you want to refine membership in the All Assets access group (the only change you can make to the All Assets group), this parameter must be `true`. Tenable.io ignores any rules parameters in your request, but overwrrites existing principals parameters with those in the request based on the all\\_users and principals parameters in the request. \n* If you want to modify a user-defined access group, this parameter must be `false`. Tenable.io overwrites the existing rules parameters with the rules parameters you specify in this request, and overwrites existing principals parameters based on the all\\_users and principals parameters in the request.","type":"boolean"},"all_users":{"description":"Specifies whether assets in the access group can be viewed by all or only some users in your organization: \n* If `true`, all users in your organization have Can View access to the assets defined in the rules parameter. Tenable.io ignores any principal parameters in your request. \n* If `false`, only specified users have Can View access to the assets defined in the rules parameter. You define which users or user groups have access in the principals parameter of the request. \n \nIf you omit this parameter, Tenable.io sets the parameter to `false` by default.","type":"boolean"},"rules":{"items":{"type":"object","properties":{"type":{"type":"string","description":"The type of asset rule. The asset rule type corresponds to the type of data you can specifiy in the terms parameter. For a complete list of supported rule types, use the GET /access-groups/filters endpoint."},"operator":{"type":"string","description":"The operator that specifies how Tenable.io matches the terms value to asset data. \n\nPossible operators include: \n - eq—Tenable.io matches the rule to assets based on an exact match of the specified term. Note: Tenable.io interprets the operator as `equals` for ipv4 rules that specify a single IP address, but interprets the operator as `contains` for ipv4 rules that specify an IP range or CIDR range.\n - match—Tenable.io matches the rule to assets based a partial match of the specified term.\n - starts—Tenable.io matches the rule to assets that start with the specified term.\n - ends—Tenable.io matches the rule to assets that end with the specified term.\n\nFor a complete list of operators by rule type, use the GET /access-groups/rules/filters endpoint."},"terms":{"description":"The values that Tenable.io uses to match an asset to the rule. A term must correspond to the rule type.\n\nFor example:\n - If the rule type is `aws_account`, the term is an AWS account ID.\n - If the rule type is `fqdn`, the term is a hostname or a fully-qualified domain name (FQDN).\n - If the rule type is `ipv4`, the term is an individual IPv4 address, a range of IPv4 addresses (for example, 172.204.81.57-172.204.81.60), or a CIDR range (for example, 172.204.81.57/24). \n\nFor a complete list of supported values by rule type, use the GET /access-groups/rules/filters endpoint. \n\nIf you specify multiple terms values, Tenable.io includes an asset in the access group if the asset's attributes match any of the terms in the rule.\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"access-groups-delete","tags":["Access Groups"],"parameters":[{"description":"The UUID for the access group you want to delete.","required":true,"name":"id","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully deleted the access group you specified."},"403":{"description":"Returned if you do not have sufficient permissions to delete an access group."},"404":{"description":"Returned if Tenable.io could not find the access group you specified."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions to view details for an access group to which you are assigned; however, details do not include principals information. Requires ADMINISTRATOR [64] to view details for any access group in your organization; in this case, details include principals information. See Permissions.
","operationId":"access-groups-details","tags":["Access Groups"],"parameters":[{"description":"The UUID of the access group where you want to view details.","required":true,"name":"id","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the access group details.","content":{"application/json":{"schema":{"type":"object","properties":{"container_uuid":{"type":"string","description":"The UUID of your Tenable.io instance."},"created_at":{"type":"string","description":"An ISO timestamp indicating the date and time on which the access group was created."},"updated_at":{"type":"string","description":"An ISO timestamp indicating the time and date on which the access group was last modified."},"id":{"type":"string","description":"The UUID of the access group."},"name":{"type":"string","description":"The name of the access group. This name must be: \n* Unique within your Tenable.io instance. \n* A maximum of 255 characters. \n* Alphanumeric, but can include limited special characters (underscore, dash, parenthesis, brackets, colon)."},"all_assets":{"type":"boolean","description":"Specifies whether the access group is the system-provided All Assets access group: \n - If `true`, the access group is the All Assets access group. The only change you can make to this access group is to refine user membership in the group. For more information, see descriptions of the all_users and principals parameters for the PUT /access-groups/{id} endpoint.\n - If `false`, the access group is a user-defined access group, and you can change all parameters for the group. This parameter is `false` for all access groups you create."},"all_users":{"type":"boolean","description":"Specifies whether assets in the access group can be viewed by all or only some users in your organization:\n - If `true`, all users in your organization have Can View access to the assets defined in the rules parameter. If `true` in a POST /access-groups or PUT /access-groups/{id} request, Tenable.io ignores any principal parameters in the request. \n - If `false`, only specified users have Can View access to the assets defined in the rules parameter. You define which users or user groups have access in the principals parameter of a POST /access-groups or PUT /access-groups/{id} request. \n\n**Note:** If a PUT /access-groups/{id} endpoint request sets this parameter to `true` for an access group where the parameter was previously set to `false`, Tenable.io removes all principal data previously associated with the access group."},"status":{"type":"string","description":"The status of the process evaluating and assigning assets to the access group. Possible values are: \n - PROCESSING—Tenable.io is currently evaluating assets against the asset rules for the access group. For an indication of evaluation progress, see the `processing_percent_complete` attribute for the access group.\n - COMPLETED—Tenable.io has successfully completed its evaluation of assets against the asset rules for the group.\n - ERROR—Tenable.io encountered an error while evaluating assets against asset rules for the access group. Rule validation typically prevents this status from occurring. However, if you encounter an ERROR status, Tenable recommends that you delete the existing asset rules, then recreate the rules after a short time has elapsed."},"rules":{"description":"An array of asset rules. Tenable.io uses these rules to assign assets to the access group. You can specify a maximum of 1,000 rules for an individual access group. If you specify multiple rules for an access group, Tenable.io assigns an asset to the access group if the asset matches any of the rules. You can only add rules to access groups if the all\\_assets parameter is set to `false`.","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"The type of asset rule. The asset rule type corresponds to the type of data you can specifiy in the terms parameter. For a complete list of supported rule types, use the GET /access-groups/filters endpoint."},"operator":{"type":"string","description":"The operator that specifies how Tenable.io matches the terms value to asset data. \n\nPossible operators include: \n - eq—Tenable.io matches the rule to assets based on an exact match of the specified term. Note: Tenable.io interprets the operator as `equals` for ipv4 rules that specify a single IP address, but interprets the operator as `contains` for ipv4 rules that specify an IP range or CIDR range.\n - match—Tenable.io matches the rule to assets based a partial match of the specified term.\n - starts—Tenable.io matches the rule to assets that start with the specified term.\n - ends—Tenable.io matches the rule to assets that end with the specified term.\n\nFor a complete list of operators by rule type, use the GET /access-groups/rules/filters endpoint."},"terms":{"description":"The values that Tenable.io uses to match an asset to the rule. A term must correspond to the rule type.\n\nFor example:\n - If the rule type is `aws_account`, the term is an AWS account ID.\n - If the rule type is `fqdn`, the term is a hostname or a fully-qualified domain name (FQDN).\n - If the rule type is `ipv4`, the term is an individual IPv4 address, a range of IPv4 addresses (for example, 172.204.81.57-172.204.81.60), or a CIDR range (for example, 172.204.81.57/24). \n\nFor a complete list of supported values by rule type, use the GET /access-groups/rules/filters endpoint. \n\nIf you specify multiple terms values, Tenable.io includes an asset in the access group if the asset's attributes match any of the terms in the rule.\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"access-groups-list-filters","tags":["Access Groups"],"responses":{"200":{"description":"Returns a list of available filters for access groups. The response includes supported filter operators for each filter. Filter operators can include:\n - eq—filters on exact matches of the specified value\n - match—filters on partial matches of the specified value\n - date-lt —filters on dates earlier than the specified date\n - date-gt—filters on dates later than the specified date\n - date-eq—filters on dates equal to the specified date.\n\nThe sample below does not represent a complete list of supported filters.","content":{"application/json":{"schema":{"type":"object","properties":{"wildcard_fields":{"description":"The fields you can use as a wildcard (`wf` parameter) value in the GET /access-groups endpoint.","type":"array","items":{"type":"string"}},"filters":{"description":"The filters and operators for each field you can use when constructing filter (`f` parameter) values in the GET /access-groups endpoint.","type":"array","items":{"type":"object","properties":{"operators":{"description":"Corresponds to the operator component of the `f` parameter.","type":"array","items":{"type":"string"}},"control":{"description":"Indicates how the parameter appears in the Tenable.io user interface.","type":"string"},"name":{"description":"Corresponds to the field component of the `f` parameter.","type":"string"},"readable_name":{"description":"The name of the parameter as it appears in the Tenable.io user interface.","type":"string"}}}},"sort":{"description":"The fields you can use when constructing `sort` parameter values for the GET /access-groups endpoint.","type":"array","items":{"type":"object","properties":{"sortable_fields":{"description":"The names of the fields you can use when constructing `sort` parameter values for the GET /access-groups endpoint.","type":"string"}}}}}},"examples":{"response":{"value":{"wildcard_fields":["name","created_by_name","updated_by_name"],"filters":[{"operators":["eq","match"],"control":{"type":"entry"},"name":"name","readable_name":"Access Group Name"}],"sort":{"sortable_fields":["name","created_at","created_by_name","updated_at","updated_by_name"]}}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"access-groups-list-rule-filters","tags":["Access Groups"],"responses":{"200":{"description":"Returns a list of filters. The sample below does not represent a complete list of supported filters.","content":{"application/json":{"schema":{"type":"object","properties":{"filters":{"description":"An array specifying values to use when constructing an asset rule for the POST /access-groups and PUT /access-groups/{id} methods.","type":"array","items":{"type":"object","properties":{"operators":{"description":"The operator that specifies how Tenable.io matches the terms value to asset data. Corresponds to the operator component of the rules parameter. Possible operators include: \n*eq—Tenable.io matches the rule to assets based on an exact match of the specified term. Note: Tenable.io interprets the operator as `equals` for ipv4 rules that specify a single IP address, but interprets the operator as `contains` for ipv4 rules that specify an IP range or CIDR range. \n* match—Tenable.io matches the rule to assets based a partial match of the specified term. \n* starts—Tenable.io matches the rule to assets that start with the specified term. \n* ends—Tenable.io matches the rule to assets that end with the specified term. For a complete list of operators by rule type, use the GET /access-groups/filters endpoint.","type":"array","items":{"type":"string"}},"control":{"description":"Indicates how the field appears in the Tenable.io user interface.","type":"string"},"name":{"description":"The name of the filter parameter. Corresponds to the asset rule type.","type":"string"},"readable_name":{"description":"The name of the field as it appears in the Tenable.io user interface.","type":"string"}}}}}},"examples":{"response":{"value":{"rules":[{"operators":["eq"],"name":"aws_account","readable_name":"AWS Account ID","placeholder":"Ex: 12345","control":{"type":"tag","regex":"^\\d+$"}},{"operators":["eq"],"name":"ipv4","readable_name":"IPv4 Address","placeholder":"Ex: 172.204.81.57","control":{"type":"tag","regex":"^(?=\\d+\\.\\d+\\.\\d+\\.\\d+(($|\\/)|($|-)))(([1-9]?\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.?){4}((\\/([0-9]|[1-2][0-9]|3[0-2]))|(-(([1-9]?\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.?){4}))?$"}},{"operators":["eq","match","starts","ends"],"name":"fqdn","readable_name":"FQDN/Hostname","placeholder":"Ex: company.com","control":{"type":"tag","regex":"^[a-zA-Z0-9-.*]+$"}}]}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"agent-config-details","tags":["Agent Config"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the agent configuration.","content":{"application/json":{"schema":{"type":"object","properties":{"auto_unlink":{"type":"object","properties":{"enabled":{"type":"boolean","description":"If true, agent auto-unlink is enabled. Enabling auto-unlink causes it to take effect against all agents retroactively."},"expiration":{"type":"integer","description":"The expiration time for agents, in days. If an agent has not communicated in the specified number of days, Tenable.io classifies the agent as expired and auto-unlinks the agent if auto_unlink.enabled is `true`. Valid values are 1-365.","format":"int32"}}},"software_update":{"type":"boolean","description":"If true, software updates are enabled for agents pursuant to any agent exclusions that are in effect. If false, software updates are disabled for all agents, even if no agent exclusions are in effect."}}},"examples":{"response":{"value":{"auto_unlink":{"expiration":"30","enabled":"false"},"software_update":"true"}}}}}},"403":{"description":"Returned if you do not have permission to view the agent configuration."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"agent-config-edit","tags":["Agent Config"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"software_update":{"type":"boolean","description":"If true, software updates are enabled for agents pursuant to any agent exclusions that are in effect. If false, software updates are disabled for all agents, even if no agent exclusions are in effect."},"auto_unlink":{"type":"object","properties":{"enabled":{"type":"boolean","description":"If true, agent auto-unlink is enabled. Enabling auto-unlink causes it to take effect against all agents retroactively."},"expiration":{"type":"integer","description":"The expiration time for agents, in days. If an agent has not communicated in this number of days, it will be considered `expired` and auto-unlinked if auto\\_unlink.enabled is `true`. Valid values are 1-365.","format":"int32"}}}}}}}},"responses":{"200":{"description":"Returned if the agent configuration has been updated.","content":{"application/json":{"schema":{"type":"object","properties":{"auto_unlink":{"type":"object","properties":{"enabled":{"type":"boolean","description":"If true, agent auto-unlink is enabled. Enabling auto-unlink causes it to take effect against all agents retroactively."},"expiration":{"type":"integer","description":"The expiration time for agents, in days. If an agent has not communicated in the specified number of days, Tenable.io classifies the agent as expired and auto-unlinks the agent if auto_unlink.enabled is `true`. Valid values are 1-365.","format":"int32"}}},"software_update":{"type":"boolean","description":"If true, software updates are enabled for agents pursuant to any agent exclusions that are in effect. If false, software updates are disabled for all agents, even if no agent exclusions are in effect."}}},"examples":{"response":{"value":{"auto_unlink":{"expiration":"30","enabled":"false"},"software_update":"true"}}}}}},"403":{"description":"Returned if you do not have permission to update the agent config."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"agent-exclusions-create","tags":["Agent Exclusions"],"parameters":[{"description":"The ID of the scanner","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the exclusion."},"description":{"type":"string","description":"The description of the exclusion."},"schedule":{"type":"object","required":["starttime","rrules","timezone"],"properties":{"enabled":{"type":"boolean","description":"If true, the exclusion is scheduled."},"starttime":{"type":"string","description":"The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"endtime":{"type":"string","description":"The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"timezone":{"type":"string","description":"The timezone for the exclusion as returned by [scans: timezones](/reference#scans-timezones)."},"rrules":{"type":"object","required":["freq"],"properties":{"freq":{"type":"string","description":"The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY).","enum":["ONETIME","DAILY","WEEKLY","MONTHLY","YEARLY"]},"interval":{"type":"integer","description":"The interval of the rule."},"byweekday":{"type":"string","description":"A comma separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA)."},"bymonthday":{"type":"integer","description":"The day of the month to repeat a MONTHLY freq rule on."}}}}}},"required":["name","schedule"]}}}},"responses":{"200":{"description":"Returned if the agent exclusion has been created.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the exclusion."},"name":{"type":"string","description":"The name of the exclusion."},"description":{"type":"string","description":"The description of the exclusion."},"creation_date":{"type":"integer","description":"The creation date of the exclusion in unixtime."},"last_modification_date":{"type":"integer","description":"The last modification date for the exclusion in unixtime."},"schedule":{"type":"object","required":["starttime","rrules","timezone"],"properties":{"enabled":{"type":"boolean","description":"If true, the exclusion is scheduled."},"starttime":{"type":"string","description":"The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"endtime":{"type":"string","description":"The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"timezone":{"type":"string","description":"The timezone for the exclusion as returned by [scans: timezones](/reference#scans-timezones)."},"rrules":{"type":"object","required":["freq"],"properties":{"freq":{"type":"string","description":"The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY).","enum":["ONETIME","DAILY","WEEKLY","MONTHLY","YEARLY"]},"interval":{"type":"integer","description":"The interval of the rule."},"byweekday":{"type":"string","description":"A comma separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA)."},"bymonthday":{"type":"integer","description":"The day of the month to repeat a MONTHLY freq rule on."}}}}}}},"examples":{"response":{"value":{"schedule":{"endtime":"2019-11-29 19:35:00","enabled":true,"rrules":{"freq":"DAILY","interval":8,"byweekday":"SU,MO","bymonthday":9},"timezone":"US/Pacific","starttime":"2018-11-29 19:35:00"},"last_modification_date":1543541807,"creation_date":1543541807,"description":"Router scan exclusion","name":"Routers","id":124234}}}}}},"400":{"description":"Returned if an argument is missing or invalid."},"403":{"description":"Returned if you do not have permission to create an exclusion."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"agent-exclusions-list","tags":["Agent Exclusions"],"parameters":[{"description":"The ID of the scanner","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the exclusions.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the exclusion."},"name":{"type":"string","description":"The name of the exclusion."},"description":{"type":"string","description":"The description of the exclusion."},"creation_date":{"type":"integer","description":"The creation date of the exclusion in unixtime."},"last_modification_date":{"type":"integer","description":"The last modification date for the exclusion in unixtime."},"schedule":{"type":"object","required":["starttime","rrules","timezone"],"properties":{"enabled":{"type":"boolean","description":"If true, the exclusion is scheduled."},"starttime":{"type":"string","description":"The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"endtime":{"type":"string","description":"The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"timezone":{"type":"string","description":"The timezone for the exclusion as returned by [scans: timezones](/reference#scans-timezones)."},"rrules":{"type":"object","required":["freq"],"properties":{"freq":{"type":"string","description":"The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY).","enum":["ONETIME","DAILY","WEEKLY","MONTHLY","YEARLY"]},"interval":{"type":"integer","description":"The interval of the rule."},"byweekday":{"type":"string","description":"A comma separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA)."},"bymonthday":{"type":"integer","description":"The day of the month to repeat a MONTHLY freq rule on."}}}}}}}},"examples":{"response":{"value":{"exclusions":[{"schedule":{"endtime":"2019-11-29 19:35:00","enabled":true,"rrules":{"freq":"DAILY","interval":8,"byweekday":"SU,MO","bymonthday":9},"timezone":"US/Pacific","starttime":"2018-11-29 19:35:00"},"last_modification_date":1543541807,"creation_date":1543541807,"description":"Router scan exclusion","name":"Routers","id":124234},{"schedule":{"endtime":"2019-11-29 19:35:00","enabled":true,"rrules":{"freq":"DAILY","interval":8,"byweekday":"TU","bymonthday":11},"timezone":"US/Central","starttime":"2018-11-29 19:35:00"},"last_modification_date":2543541809,"creation_date":2543541809,"description":"Workstation scan exclusion","name":"Workstation","id":222456}]}}}}}},"403":{"description":"Returned if you do not have permission to view the exclusions."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"agent-exclusions-edit","tags":["Agent Exclusions"],"parameters":[{"description":"The ID of the exclusion to edit.","required":true,"name":"exclusion_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the scanner","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the exclusion."},"description":{"type":"string","description":"The description of the exclusion."},"schedule":{"type":"object","required":["starttime","rrules","timezone"],"properties":{"enabled":{"type":"boolean","description":"If true, the exclusion is scheduled."},"starttime":{"type":"string","description":"The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"endtime":{"type":"string","description":"The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"timezone":{"type":"string","description":"The timezone for the exclusion as returned by [scans: timezones](/reference#scans-timezones)."},"rrules":{"type":"object","required":["freq"],"properties":{"freq":{"type":"string","description":"The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY).","enum":["ONETIME","DAILY","WEEKLY","MONTHLY","YEARLY"]},"interval":{"type":"integer","description":"The interval of the rule."},"byweekday":{"type":"string","description":"A comma separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA)."},"bymonthday":{"type":"integer","description":"The day of the month to repeat a MONTHLY freq rule on."}}}}}},"required":["schedule"]}}}},"responses":{"200":{"description":"Returned if the exclusion has been modified.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{"schedule":{"endtime":"2019-11-29 19:35:00","enabled":true,"rrules":{"freq":"DAILY","interval":8,"byweekday":"SU,MO","bymonthday":9},"timezone":"US/Pacific","starttime":"2018-11-29 19:35:00"},"last_modification_date":1543541807,"creation_date":1543541807,"description":"Router scan exclusion","name":"Routers","id":124234}}}}}},"403":{"description":"Returned if you do not have permission to modify the exclusion."},"404":{"description":"Returned if Tenable.io cannot find the specified exclusion."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"agent-exclusions-delete","tags":["Agent Exclusions"],"parameters":[{"description":"The ID of the exclusion to delete.","required":true,"name":"exclusion_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the scanner","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if the exclusion has been successfully deleted.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if you do not have permission to delete the exclusion."},"404":{"description":"Returned if Tenable.io cannot find the specified exclusion."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"agent-exclusions-details","tags":["Agent Exclusions"],"parameters":[{"description":"The ID of the exclusion.","required":true,"name":"exclusion_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the scanner","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the exclusion details.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the exclusion."},"name":{"type":"string","description":"The name of the exclusion."},"description":{"type":"string","description":"The description of the exclusion."},"creation_date":{"type":"integer","description":"The creation date of the exclusion in unixtime."},"last_modification_date":{"type":"integer","description":"The last modification date for the exclusion in unixtime."},"schedule":{"type":"object","required":["starttime","rrules","timezone"],"properties":{"enabled":{"type":"boolean","description":"If true, the exclusion is scheduled."},"starttime":{"type":"string","description":"The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"endtime":{"type":"string","description":"The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"timezone":{"type":"string","description":"The timezone for the exclusion as returned by [scans: timezones](/reference#scans-timezones)."},"rrules":{"type":"object","required":["freq"],"properties":{"freq":{"type":"string","description":"The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY).","enum":["ONETIME","DAILY","WEEKLY","MONTHLY","YEARLY"]},"interval":{"type":"integer","description":"The interval of the rule."},"byweekday":{"type":"string","description":"A comma separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA)."},"bymonthday":{"type":"integer","description":"The day of the month to repeat a MONTHLY freq rule on."}}}}}}},"examples":{"response":{"value":{"schedule":{"endtime":"2019-11-29 19:35:00","enabled":true,"rrules":{"freq":"DAILY","interval":8,"byweekday":"SU,MO","bymonthday":9},"timezone":"US/Pacific","starttime":"2018-11-29 19:35:00"},"last_modification_date":1543541807,"creation_date":1543541807,"description":"Router scan exclusion","name":"Routers","id":124234}}}}}},"403":{"description":"Returned if you do not have permission to view the exclusion."},"404":{"description":"Returned if Tenable.io cannot find the specified exclusion."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"agent-groups-create","tags":["Agent Groups"],"parameters":[{"description":"The ID of the scanner to add the agent group to.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the agent group."}},"required":["name"]}}}},"responses":{"200":{"description":"Returned if the agent group has been created.","content":{"application/json":{"schema":{"type":"object","properties":{"agents":{"description":"The agents in the group. The agent records can be filtered, sorted, and paginated.","type":"array","items":{"type":"string"}},"creation_date":{"type":"integer","description":"The creation date of the agent group in unixtime."},"id":{"type":"integer","description":"The unique ID of the agent group."},"last_modification_date":{"type":"integer","description":"The last modification date for the agent group in unixtime."},"name":{"type":"string","description":"The name of the agent group."},"owner":{"type":"string","description":"The username for the owner of the agent group."},"owner_id":{"type":"string","description":"The unique ID of the owner of the agent group."},"owner_name":{"type":"string","description":"The name for the owner of the agent group."},"owner_uuid":{"type":"string","description":"The UUID of the owner of the agent group."},"pagination":{"type":"object","properties":{}},"shared":{"type":"integer","description":"The shared status of the agent group."},"user_permissions":{"type":"integer","description":"The sharing permissions for the agent group."},"uuid":{"type":"string","description":"The UUID of the agent group."}}},"examples":{"response":{"value":{"id":106592,"uuid":"8b05bd55-9105-48ec-9da1-2e10a2c9a4e0","name":"Western Region","creation_date":1544455100,"last_modification_date":1544455100,"timestamp":1544455100,"shared":0,"owner":"system","owner_id":1,"owner_name":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","user_permissions":0,"agents_count":0}}}}}},"400":{"description":"Returned if your request message contains an invalid parameter."},"403":{"description":"Returned if you do not have permission to create an agent group."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"agent-groups-list","tags":["Agent Groups"],"parameters":[{"description":"The ID of the scanner to query for agent groups.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the agent groups list.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"agents":{"description":"The agents in the group. The agent records can be filtered, sorted, and paginated.","type":"array","items":{"type":"string"}},"creation_date":{"type":"integer","description":"The creation date of the agent group in unixtime."},"id":{"type":"integer","description":"The unique ID of the agent group."},"last_modification_date":{"type":"integer","description":"The last modification date for the agent group in unixtime."},"name":{"type":"string","description":"The name of the agent group."},"owner":{"type":"string","description":"The username for the owner of the agent group."},"owner_id":{"type":"string","description":"The unique ID of the owner of the agent group."},"owner_name":{"type":"string","description":"The name for the owner of the agent group."},"owner_uuid":{"type":"string","description":"The UUID of the owner of the agent group."},"pagination":{"type":"object","properties":{}},"shared":{"type":"integer","description":"The shared status of the agent group."},"user_permissions":{"type":"integer","description":"The sharing permissions for the agent group."},"uuid":{"type":"string","description":"The UUID of the agent group."}}}},"examples":{"response":{"value":{"groups":[{"id":106592,"uuid":"8b05bd55-9105-48ec-9da1-2e10a2c9a4e0","name":"slibs","creation_date":1544455100,"last_modification_date":1544455100,"timestamp":1544455100,"shared":1,"owner":"system","owner_id":1,"owner_name":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","user_permissions":128,"agents_count":0}]}}}}}},"403":{"description":"Returned if you do not have permission to view the list."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"agent-groups-details","tags":["Agent Groups"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the agent group to query.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The starting record to retrieve. If this parameter is not supplied, the default value is 0.","required":false,"name":"offset","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The number of records to retrieve. If this parameter is not supplied, a default of 50 records is used. The minimum supported limit is 1, and the maximum supported limit is 5000.","required":false,"name":"limit","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The sort order of the returned records. Sort can only be applied to the sortable\\_fields specified by the filter capabilities. There may be no more than max\\_sort\\_fields number of columns used in the sort, as specified by the filter capabilities. Sort is applied, in order, in the following format: `:\\[asc|desc\\],:\\[asc|desc\\]`. For example, `sort=field1:asc,field2:desc` would first sort by field1, ascending, then sort by field2, descending.","required":false,"name":"sort","in":"query","schema":{"type":"string"}},{"description":"Apply a filter in the format `::`. For example, `field1:match:sometext` would match any records where the value of field1 contains `sometext`. You can use multiple query filters.","required":false,"name":"f","in":"query","schema":{"type":"string"}},{"description":"Filter type. If the filter type is `and`, the record is only returned if all filters match. If the filter type is `or`, the record is returned if any of the filters match.","required":false,"name":"ft","in":"query","schema":{"type":"string"}},{"description":"Wildcard filter text. Wildcard search is a mechanism where multiple fields of a record are filtered against one specific filter string. If any one of the wildcard\\_fields' values matches against the filter string, then the record matches the wildcard filter. For a record to be returned, it must pass the wildcard filter (if there is one) AND the set of standard filters. For example, if `w=wild&f=field1:match:one&f=field2:match:two&ft=or`, the record would match if the value of any supported wildcard\\_fields contained `wild`, AND either field1's value contained `one` or field2's value contained `two`.","required":false,"name":"w","in":"query","schema":{"type":"string"}},{"description":"A comma delimited subset of wildcard\\_fields to search when applying the wildcard filter. For example, `field1,field2`. If `w` is provided, but `wf` is not, then all wildcard\\_fields' values are searched against the wildcard filter text.","required":false,"name":"wf","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the agent group details.","content":{"application/json":{"schema":{"type":"object","properties":{"agents":{"description":"The agents in the group. The agent records can be filtered, sorted, and paginated.","type":"array","items":{"type":"string"}},"creation_date":{"type":"integer","description":"The creation date of the agent group in unixtime."},"id":{"type":"integer","description":"The unique ID of the agent group."},"last_modification_date":{"type":"integer","description":"The last modification date for the agent group in unixtime."},"name":{"type":"string","description":"The name of the agent group."},"owner":{"type":"string","description":"The username for the owner of the agent group."},"owner_id":{"type":"string","description":"The unique ID of the owner of the agent group."},"owner_name":{"type":"string","description":"The name for the owner of the agent group."},"owner_uuid":{"type":"string","description":"The UUID of the owner of the agent group."},"pagination":{"type":"object","properties":{}},"shared":{"type":"integer","description":"The shared status of the agent group."},"user_permissions":{"type":"integer","description":"The sharing permissions for the agent group."},"uuid":{"type":"string","description":"The UUID of the agent group."}}},"examples":{"response":{"value":{"id":106592,"uuid":"8b05bd55-9105-48ec-9da1-2e10a2c9a4e0","name":"Western Region","creation_date":1544455100,"last_modification_date":1544455100,"timestamp":1544455100,"shared":1,"owner":"system","owner_id":1,"owner_name":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","user_permissions":128,"agents_count":0,"agents":[],"pagination":{"total":0,"limit":50,"offset":0,"sort":[{"name":"name","order":"asc"}]}}}}}}},"403":{"description":"Returned if you do not have permission to view the agent group."},"404":{"description":"Returned if Tenable.io cannot find the specified agent group."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"agent-groups-configure","tags":["Agent Groups"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the agent group to change.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name for the agent group."}},"required":["name"]}}}},"responses":{"200":{"description":"Returned if the configuration was changed.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{"To do":"Add response sample here"}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified agent group."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"agent-groups-delete","tags":["Agent Groups"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the agent group to delete.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if the agent group has been successfully deleted.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified agent group."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"agent-groups-add-agent","tags":["Agent Groups"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the agent group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the agent to add.","required":true,"name":"agent_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if the agent was added to the group.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{"To do":"Add response sample here"}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified agent group."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"agent-groups-delete-agent","tags":["Agent Groups"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the agent group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the agent to remove.","required":true,"name":"agent_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if the agent has been successfully removed from the agent group.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified agent."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"agents-list","tags":["Agents"],"parameters":[{"description":"The ID of the scanner to query for agents.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The starting record to retrieve. If you omit this parameter, Tenable.io uses the default value of 0.","required":false,"name":"offset","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The number of records to retrieve. If you omit this parameter, Tenable.io uses a default of 50 records. The minimum supported limit is 1, and the maximum supported limit is 5,000.","required":false,"name":"limit","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The sort order of the returned records. Sort can only be applied to the sortable\\_fields specified by the filter capabilities. There may be no more than max\\_sort\\_fields number of columns used in the sort, as specified by the filter capabilities. Sort is applied, in order, in the following format: `:\\[asc|desc\\],:\\[asc|desc\\]`. For example, `sort=field1:asc,field2:desc` would first sort by field1, ascending, then sort by field2, descending.","required":false,"name":"sort","in":"query","schema":{"type":"string"}},{"description":"Apply a filter in the format `::`. For example, `field1:match:sometext` would match any records where the value of field1 contains `sometext`. You can use multiple query filters.","required":false,"name":"f","in":"query","schema":{"type":"string"}},{"description":"Filter type. If the filter type is `and`, the record is only returned if all filters match. If the filter type is `or`, the record is returned if any of the filters match.","required":false,"name":"ft","in":"query","schema":{"type":"string"}},{"description":"Wildcard filter text. Wildcard search is a mechanism where multiple fields of a record are filtered against one specific filter string. If any one of the wildcard\\_fields' values matches against the filter string, then the record matches the wildcard filter. For a record to be returned, it must pass the wildcard filter (if there is one) AND the set of standard filters. For example, if `w=wild&f=field1:match:one&f=field2:match:two&ft=or`, the record would match if the value of any supported wildcard\\_fields contained `wild`, AND either field1's value contained `one` or field2's value contained `two`.","required":false,"name":"w","in":"query","schema":{"type":"string"}},{"description":"A comma-delimited subset of wildcard\\_fields to search when applying the wildcard filter. For example, `field1,field2`. If `w` is provided, but `wf` is not, then all wildcard\\_fields' values are searched against the wildcard filter text.","required":false,"name":"wf","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns a list of agents.","content":{"application/json":{"schema":{"type":"object","properties":{"agents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the agent."},"uuid":{"type":"string","description":"The UUID of the agent. Note: This value corresponds to the ID of the asset where the agent is installed. You can use this attribute to match agent data to asset data."},"name":{"type":"string","description":"The name of the agent."},"platform":{"type":"string","description":"The platform of the agent."},"distro":{"type":"string","description":"The agent software distribution."},"ip":{"type":"string","description":"The IP address of the agent."},"last_scanned":{"type":"integer","description":"The Unix timestamp when the agent last scanned the asset."},"plugin_feed_id":{"type":"string","description":"The currently loaded plugin set of the agent (null if the agent has no plugin set loaded)."},"core_build":{"type":"string","description":"Build number for the agent."},"core_version":{"type":"string","description":"Build version for the agent."},"linked_on":{"type":"integer","description":"The Unix timestamp when the link from Tenable.io to the agent was established."},"last_connect":{"type":"integer","description":"The Unix timestamp when the agent last communicated with Tenable.io."},"status":{"type":"string","description":"\"on\", \"off\", or \"init\". \"on\" means that the agent has connected recently, and is therefore likely ready to scan. \"off\" means that the agent has not been seen recently and should be considered offline. \"init\" means that the agent is online, but it is still processing plugin updates and is not ready to scan.","enum":["on","off","init"]},"groups":{"description":"Array of groups to which the agent belongs. Groups are returned in the form {\"name\": \"group name\", \"id\": \"group id\"}.","type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the agent group to which the agent belongs."},"id":{"type":"integer","description":"The unique ID of the agent group to which the agent belongs."}}}}}}},"pagination":{"type":"object","properties":{"total":{"type":"integer","description":"The total number of records which match any applied filters. This number may be approximate."},"offset":{"type":"integer","description":"The index of the first record retrieved."},"limit":{"type":"integer","description":"The number of records returned with this response."},"sort":{"description":"The sorting parameters applied to response, in order of application.","type":"array","items":{"type":"string"}}}}}},"examples":{"response":{"value":{"agents":[{"id":157,"uuid":"c6ce4255-b386-4e71-be64-0d06434bac5d","name":"GRD-LPTP","platform":"WINDOWS","distro":"win-x86-64","ip":"172.204.81.57","last_scanned":1515620036,"plugin_feed_id":"201801081515","core_build":"106","core_version":"7.0.0","linked_on":1456775443,"last_connect":1515674073,"status":"off","groups":[{"name":"CodyAgents","id":8},{"name":"Agent Group A","id":3316}]},{"id":14569,"uuid":"bce54c02-392d-4305-bc83-e1e1d8130afd","name":"scr-lce.lab.tenablesecurity.com","platform":"LINUX","distro":"es7-x86-64","ip":"172.204.81.57","plugin_feed_id":"201805161620","core_build":"13","core_version":"7.0.3","linked_on":1508329832,"last_connect":1526565530,"status":"off","groups":[{"name":"SC Research","id":1167}]},{"id":14570,"uuid":"0657efe4-0ba0-423a-ac5f-52a6e23d2e11","name":"scr-sc5.lab.tenablesecurity.com","platform":"LINUX","distro":"es7-x86-64","ip":"172.204.81.57","plugin_feed_id":"201805161620","core_build":"13","core_version":"7.0.3","linked_on":1508329886,"last_connect":1526565624,"status":"off","groups":[{"name":"SC Research","id":1167}]}],"pagination":{"total":3,"limit":50,"offset":0,"sort":[{"name":"name","order":"asc"}]}}}}}}},"403":{"description":"Returned if you do not have permission to view the list."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"agent-group-list-agents","tags":["Agents"],"parameters":[{"description":"The ID of the scanner to query for agents. You can find the ID by using the [GET /scanners](/reference#scanners-list) endpoint.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the agent group to query for agents. You can find the ID by using the [GET /scanners/{scanner_id}/agent-groups](/reference#agent-groups-list) endpoint.","required":true,"name":"agent_group_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The starting record to retrieve. If you omit this parameter, Tenable.io uses the default value of 0.","required":false,"name":"offset","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The number of records to retrieve. If you omit this parameter, Tenable.io uses a default of 50 records. The minimum supported limit is 1, and the maximum supported limit is 5,000.","required":false,"name":"limit","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The sort order of the returned records. Sort can only be applied to the sortable\\_fields specified by the filter capabilities. There may be no more than max\\_sort\\_fields number of columns used in the sort, as specified by the filter capabilities. Sort is applied, in order, in the following format: `:\\[asc|desc\\],:\\[asc|desc\\]`. For example, `sort=field1:asc,field2:desc` would first sort by field1, ascending, then sort by field2, descending.","required":false,"name":"sort","in":"query","schema":{"type":"string"}},{"description":"Apply a filter in the format `::`. For example, `field1:match:sometext` would match any records where the value of field1 contains `sometext`. You can use multiple query filters.","required":false,"name":"f","in":"query","schema":{"type":"string"}},{"description":"Filter type. If the filter type is `and`, the record is only returned if all filters match. If the filter type is `or`, the record is returned if any of the filters match.","required":false,"name":"ft","in":"query","schema":{"type":"string"}},{"description":"Wildcard filter text. Wildcard search is a mechanism where multiple fields of a record are filtered against one specific filter string. If any one of the wildcard\\_fields' values matches against the filter string, then the record matches the wildcard filter. For a record to be returned, it must pass the wildcard filter (if there is one) AND the set of standard filters. For example, if `w=wild&f=field1:match:one&f=field2:match:two&ft=or`, the record would match if the value of any supported wildcard\\_fields contained `wild`, AND either field1's value contained `one` or field2's value contained `two`.","required":false,"name":"w","in":"query","schema":{"type":"string"}},{"description":"A comma-delimited subset of wildcard\\_fields to search when applying the wildcard filter. For example, `field1,field2`. If `w` is provided, but `wf` is not, then all wildcard\\_fields' values are searched against the wildcard filter text.","required":false,"name":"wf","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns a list of agents for an agent group.","content":{"application/json":{"schema":{"type":"object","properties":{"agents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the agent."},"uuid":{"type":"string","description":"The UUID of the agent. Note: This value corresponds to the ID of the asset where the agent is installed. You can use this attribute to match agent data to asset data."},"name":{"type":"string","description":"The name of the agent."},"platform":{"type":"string","description":"The platform of the agent."},"distro":{"type":"string","description":"The agent software distribution."},"ip":{"type":"string","description":"The IP address of the agent."},"last_scanned":{"type":"integer","description":"The Unix timestamp when the agent last scanned the asset."},"plugin_feed_id":{"type":"string","description":"The currently loaded plugin set of the agent (null if the agent has no plugin set loaded)."},"core_build":{"type":"string","description":"Build number for the agent."},"core_version":{"type":"string","description":"Build version for the agent."},"linked_on":{"type":"integer","description":"The Unix timestamp when the link from Tenable.io to the agent was established."},"last_connect":{"type":"integer","description":"The Unix timestamp when the agent last communicated with Tenable.io."},"status":{"type":"string","description":"\"on\", \"off\", or \"init\". \"on\" means that the agent has connected recently, and is therefore likely ready to scan. \"off\" means that the agent has not been seen recently and should be considered offline. \"init\" means that the agent is online, but it is still processing plugin updates and is not ready to scan.","enum":["on","off","init"]},"groups":{"description":"Array of groups to which the agent belongs. Groups are returned in the form {\"name\": \"group name\", \"id\": \"group id\"}.","type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the agent group to which the agent belongs."},"id":{"type":"integer","description":"The unique ID of the agent group to which the agent belongs."}}}}}}},"pagination":{"type":"object","properties":{"total":{"type":"integer","description":"The total number of records which match any applied filters. This number may be approximate."},"offset":{"type":"integer","description":"The index of the first record retrieved."},"limit":{"type":"integer","description":"The number of records returned with this response."},"sort":{"description":"The sorting parameters applied to response, in order of application.","type":"array","items":{"type":"string"}}}}}},"examples":{"response":{"value":{"agents":[{"id":20,"uuid":"07e496f5-d2dc-4232-9733-12e5f7d05ae3","name":"Codys-MacBook-Pro.local","platform":"DARWIN","distro":"macosx","ip":"10.31.100.110","last_scanned":1545272687,"plugin_feed_id":"201812281741","core_build":"1","core_version":"7.2.1","linked_on":1452106253,"last_connect":1546264939,"status":"off","groups":[{"name":"Agent Group A","id":8},{"name":"Agent Group B","id":31},{"name":"Agent Group C","id":3315}],"supports_remote_logs":false},{"id":65,"uuid":"22f00428-3095-d55f-e620-aa7392c862757b06b5e32a5e47a1","name":"DC02","platform":"WINDOWS","distro":"win-x86-64","ip":"10.31.114.10","last_scanned":1478743235,"plugin_feed_id":"0","linked_on":1453821446,"status":"off","groups":[{"name":"Agent Group A","id":8},{"name":"Agent Group B","id":31},{"name":"Agent Group C","id":3316}],"supports_remote_logs":false},{"id":643,"uuid":"84b8e813-fad6-d1a5-e9f6-ac641d3b0b012596d192e3cf57f8","name":"DESKTOP-PSNDJQ6","platform":"WINDOWS","distro":"win-x86-64","ip":"172.16.0.3","last_scanned":1477011651,"plugin_feed_id":"0","linked_on":1468619962,"status":"off","groups":[{"name":"Agent Group A","id":8},{"name":"Agent Group C","id":3316}],"supports_remote_logs":false}],"pagination":{"total":3,"limit":50,"offset":0,"sort":[{"name":"name","order":"asc"}]}}}}}}},"400":{"description":"Returned if you specify invalid query parameters, for example:\n- invalid filter field name\n- invalid filter operator\n- invalid filter value\n- invalid wildcard filter field name\n- invalid filter type\n- invalid sort parameter","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"The description of the cause of the Tenable.io error."}}},"examples":{"response":{"value":{"error":"Bad value for date filter"}}}}}},"403":{"description":"Returned if you do not have permission to view the list."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"agents-get","tags":["Agents"],"parameters":[{"description":"The ID of the scanner to query for agents.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the agent to query.","required":true,"name":"agent_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the agent details.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the agent."},"uuid":{"type":"string","description":"The UUID of the agent. Note: This value corresponds to the ID of the asset where the agent is installed. You can use this attribute to match agent data to asset data."},"name":{"type":"string","description":"The name of the agent."},"platform":{"type":"string","description":"The platform of the agent."},"distro":{"type":"string","description":"The agent software distribution."},"ip":{"type":"string","description":"The IP address of the agent."},"last_scanned":{"type":"integer","description":"The Unix timestamp when the agent last scanned the asset."},"plugin_feed_id":{"type":"string","description":"The currently loaded plugin set of the agent (null if the agent has no plugin set loaded)."},"core_build":{"type":"string","description":"Build number for the agent."},"core_version":{"type":"string","description":"Build version for the agent."},"linked_on":{"type":"integer","description":"The Unix timestamp when the link from Tenable.io to the agent was established."},"last_connect":{"type":"integer","description":"The Unix timestamp when the agent last communicated with Tenable.io."},"status":{"type":"string","description":"\"on\", \"off\", or \"init\". \"on\" means that the agent has connected recently, and is therefore likely ready to scan. \"off\" means that the agent has not been seen recently and should be considered offline. \"init\" means that the agent is online, but it is still processing plugin updates and is not ready to scan.","enum":["on","off","init"]},"groups":{"description":"Array of groups to which the agent belongs. Groups are returned in the form {\"name\": \"group name\", \"id\": \"group id\"}.","type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the agent group to which the agent belongs."},"id":{"type":"integer","description":"The unique ID of the agent group to which the agent belongs."}}}}}},"examples":{"response":{"value":{"id":643,"uuid":"84b8e813-fad6-d1a5-e9f6-ac641d3b0b012596d192e3cf57f8","name":"DESKTOP-PSNDJQ6","platform":"WINDOWS","distro":"win-x86-64","ip":"172.204.81.57","last_scanned":1477011651,"plugin_feed_id":"0","linked_on":1468619962,"status":"off","groups":[{"name":"CodyAgents","id":8},{"name":"Agent Group A","id":3316}]}}}}}},"403":{"description":"Returned if you do not have permission to view the agent."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"agents-delete","tags":["Agents"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the agent to delete.","required":true,"name":"agent_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io succesfully deleted the agent.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified agent."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"bulk-add-agents","tags":["Agent Bulk Operations"],"parameters":[{"description":"The ID of the scanner for the agent group.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID or UUID of the agent group.","required":true,"name":"group_id","in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"items":{"items":{"type":"string"},"description":"Array of agent IDs or UUIDs to add to the group","type":"array"}},"required":["items"]},"example":{"items":[20,10,65]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully creates the bulk operation task.","content":{"application/json":{"schema":{"type":"object","properties":{"task_id":{"type":"string","description":"The UUID of the task."},"container_uuid":{"type":"string","description":"The UUID of the container where the task is operating."},"status":{"type":"string","description":"State of the task. \"NEW\" means that the task was created, but has not yet started running. \"RUNNING\" means that the task is in progress. \"COMPLETED\" means that the task is done. \"FAILED\" means that there was an error completing the task. \"STALE\" means that the task has not been updated in a long time.","enum":["NEW","RUNNING","COMPLETED","FAILED","STALE"]},"message":{"type":"string","description":"An informative, human-readable message about the state of the task."},"start_time":{"type":"integer","description":"Start time of the task in unix time milliseconds."},"end_time":{"type":"integer","description":"End time of the task in unix time milliseconds, if the task is finished."},"last_update_time":{"type":"integer","description":"Last time progress was made on executing the task in unix time milliseconds."},"total_work_units":{"type":"integer","description":"Total amount of work which the task will attempt to complete."},"total_work_units_completed":{"type":"integer","description":"Total amount of work that the task has completed."},"completion_percentage":{"type":"integer","description":"total_work_units_completed divided by total_work_units."}}},"examples":{"response":{"value":{"task_id":"14a27fad-8a0e-4769-ac87-4da6370a871a","container_uuid":"5043dfa2-7864-4785-aff7-80026f36efcb","status":"RUNNING","message":"Starting...","start_time":1544032287496,"last_update_time":1544032287501,"total_work_units":3,"total_work_units_completed":0,"completion_percentage":0}}}}}},"400":{"description":"Returned if your request message contains an invalid parameter."},"403":{"description":"Returned if you do not have permission to create a bulk operation task."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"bulk-task-agent-group-status","tags":["Agent Bulk Operations"],"parameters":[{"description":"The ID of the scanner for the agent group.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID or UUID of the agent group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The UUID of the task","required":true,"name":"task_uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the bulk operation task status information.","content":{"application/json":{"schema":{"type":"object","properties":{"task_id":{"type":"string","description":"The UUID of the task."},"container_uuid":{"type":"string","description":"The UUID of the container where the task is operating."},"status":{"type":"string","description":"State of the task. \"NEW\" means that the task was created, but has not yet started running. \"RUNNING\" means that the task is in progress. \"COMPLETED\" means that the task is done. \"FAILED\" means that there was an error completing the task. \"STALE\" means that the task has not been updated in a long time.","enum":["NEW","RUNNING","COMPLETED","FAILED","STALE"]},"message":{"type":"string","description":"An informative, human-readable message about the state of the task."},"start_time":{"type":"integer","description":"Start time of the task in unix time milliseconds."},"end_time":{"type":"integer","description":"End time of the task in unix time milliseconds, if the task is finished."},"last_update_time":{"type":"integer","description":"Last time progress was made on executing the task in unix time milliseconds."},"total_work_units":{"type":"integer","description":"Total amount of work which the task will attempt to complete."},"total_work_units_completed":{"type":"integer","description":"Total amount of work that the task has completed."},"completion_percentage":{"type":"integer","description":"total_work_units_completed divided by total_work_units."}}},"examples":{"response":{"value":{"task_id":"14a27fad-8a0e-4769-ac87-4da6370a871a","container_uuid":"5043dfa2-7864-4785-aff7-80026f36efcb","status":"COMPLETED","message":"3 items completed, 0 failed.","start_time":1544032287496,"last_update_time":1544032287521,"end_time":1544032287521,"total_work_units":3,"total_work_units_completed":3,"completion_percentage":100}}}}}},"403":{"description":"Returned if you do not have permission to view the bulk operation task."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"bulk-task-agent-status","tags":["Agent Bulk Operations"],"parameters":[{"description":"The ID of the scanner for the agent group.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The UUID of the task","required":true,"name":"task_uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the bulk operation task status information.","content":{"application/json":{"schema":{"type":"object","properties":{"task_id":{"type":"string","description":"The UUID of the task."},"container_uuid":{"type":"string","description":"The UUID of the container where the task is operating."},"status":{"type":"string","description":"State of the task. \"NEW\" means that the task was created, but has not yet started running. \"RUNNING\" means that the task is in progress. \"COMPLETED\" means that the task is done. \"FAILED\" means that there was an error completing the task. \"STALE\" means that the task has not been updated in a long time.","enum":["NEW","RUNNING","COMPLETED","FAILED","STALE"]},"message":{"type":"string","description":"An informative, human-readable message about the state of the task."},"start_time":{"type":"integer","description":"Start time of the task in unix time milliseconds."},"end_time":{"type":"integer","description":"End time of the task in unix time milliseconds, if the task is finished."},"last_update_time":{"type":"integer","description":"Last time progress was made on executing the task in unix time milliseconds."},"total_work_units":{"type":"integer","description":"Total amount of work which the task will attempt to complete."},"total_work_units_completed":{"type":"integer","description":"Total amount of work that the task has completed."},"completion_percentage":{"type":"integer","description":"total_work_units_completed divided by total_work_units."}}},"examples":{"response":{"value":{"task_id":"14a27fad-8a0e-4769-ac87-4da6370a871a","container_uuid":"5043dfa2-7864-4785-aff7-80026f36efcb","status":"COMPLETED","message":"3 items completed, 0 failed.","start_time":1544032287496,"last_update_time":1544032287521,"end_time":1544032287521,"total_work_units":3,"total_work_units_completed":3,"completion_percentage":100}}}}}},"403":{"description":"Returned if you do not have permission to view the bulk operation task."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"bulk-remove-agents","tags":["Agent Bulk Operations"],"parameters":[{"description":"The ID of the scanner for the agent group.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID or UUID of the agent group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"items":{"items":{"type":"string"},"description":"Array of agent IDs or UUIDs to remove from the group","type":"array"}},"required":["items"]},"example":{"items":[20,10,65]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully creates the bulk operation task.","content":{"application/json":{"schema":{"type":"object","properties":{"task_id":{"type":"string","description":"The UUID of the task."},"container_uuid":{"type":"string","description":"The UUID of the container where the task is operating."},"status":{"type":"string","description":"State of the task. \"NEW\" means that the task was created, but has not yet started running. \"RUNNING\" means that the task is in progress. \"COMPLETED\" means that the task is done. \"FAILED\" means that there was an error completing the task. \"STALE\" means that the task has not been updated in a long time.","enum":["NEW","RUNNING","COMPLETED","FAILED","STALE"]},"message":{"type":"string","description":"An informative, human-readable message about the state of the task."},"start_time":{"type":"integer","description":"Start time of the task in unix time milliseconds."},"end_time":{"type":"integer","description":"End time of the task in unix time milliseconds, if the task is finished."},"last_update_time":{"type":"integer","description":"Last time progress was made on executing the task in unix time milliseconds."},"total_work_units":{"type":"integer","description":"Total amount of work which the task will attempt to complete."},"total_work_units_completed":{"type":"integer","description":"Total amount of work that the task has completed."},"completion_percentage":{"type":"integer","description":"total_work_units_completed divided by total_work_units."}}},"examples":{"response":{"value":{"task_id":"de5a64f6-b391-4aef-b0bc-1249fdb9750d","container_uuid":"5043dfa2-7864-4785-aff7-80026f36efcb","status":"RUNNING","start_time":1544032937522,"last_update_time":1544032937522}}}}}},"400":{"description":"Returned if your request message contains an invalid parameter."},"403":{"description":"Returned if you do not have permission to create a bulk operation task."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"bulk-unlink-agents","tags":["Agent Bulk Operations"],"parameters":[{"description":"The ID of the scanner to remove the agents from.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"items":{"items":{"type":"string"},"description":"Array of agent IDs or UUIDs to unlink (delete).","type":"array"}},"required":["items"]},"example":{"items":[20,10,65]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully creates the bulk operation task.","content":{"application/json":{"schema":{"type":"object","properties":{"task_id":{"type":"string","description":"The UUID of the task."},"container_uuid":{"type":"string","description":"The UUID of the container where the task is operating."},"status":{"type":"string","description":"State of the task. \"NEW\" means that the task was created, but has not yet started running. \"RUNNING\" means that the task is in progress. \"COMPLETED\" means that the task is done. \"FAILED\" means that there was an error completing the task. \"STALE\" means that the task has not been updated in a long time.","enum":["NEW","RUNNING","COMPLETED","FAILED","STALE"]},"message":{"type":"string","description":"An informative, human-readable message about the state of the task."},"start_time":{"type":"integer","description":"Start time of the task in unix time milliseconds."},"end_time":{"type":"integer","description":"End time of the task in unix time milliseconds, if the task is finished."},"last_update_time":{"type":"integer","description":"Last time progress was made on executing the task in unix time milliseconds."},"total_work_units":{"type":"integer","description":"Total amount of work which the task will attempt to complete."},"total_work_units_completed":{"type":"integer","description":"Total amount of work that the task has completed."},"completion_percentage":{"type":"integer","description":"total_work_units_completed divided by total_work_units."}}},"examples":{"response":{"value":{"task_id":"aed90273-b535-438e-9d85-30899636bbdd","container_uuid":"5043dfa2-7864-4785-aff7-80026f36efcb","status":"NEW"}}}}}},"400":{"description":"Returned if your request message contains an invalid parameter."},"403":{"description":"Returned if you do not have permission create a bulk operation task."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"assets-list-assets","tags":["Assets"],"responses":{"200":{"description":"Returns a list of assets.","content":{"application/json":{"schema":{"type":"object","description":"The list of assets with details, and the total assets count.","properties":{"assets":{"type":"array","description":"A list of assets with details.","items":{"type":"object","properties":{"id":{"type":"string","description":"The UUID of the asset."},"has_agent":{"type":"boolean","description":"A value specifying whether a Nessus agent scan detected the asset (`true`)."},"last_seen":{"type":"string","description":"The ISO timestamp of the scan that most recently detected the asset."},"last_scan_target":{"type":"string","description":"The IPv4 address, IPv6 address, or FQDN that the scanner last used to evaluate the asset."},"sources":{"type":"array","description":"The sources of the scans that identified the asset.","items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the entity that reported the asset details. Sources can include sensors, connectors, and API imports. Source names can be customized by your organization (for example, you specify a name when you import asset records). If your organization does not customize source names, system-generated names include:\n - AWS—You obtained the asset data from an Amazon Web Services connector.\n - NESSUS_AGENT—You obtained the asset data obtained from a Nessus agent scan.\n - PVS—You obtained the asset data from a Nessus Network Monitor (NNM) scan.\n - NESSUS_SCAN—You obtained the asset data from a Nessus scan.\n - WAS—You obtained the asset data from a Web Application Scanning scan."},"first_seen":{"type":"string","description":"The ISO timestamp when the source first reported the asset."},"last_seen":{"type":"string","description":"The ISO timestamp when the source last reported the asset."}}}}},"acr_score":{"type":"integer","description":"The Asset Criticality Rating (ACR) for the asset. Tenable assigns an ACR to each asset on your network to represent the asset's relative risk as an integer from 1 to 10. This attribute is only present in assets if Lumin is added to your Tenable.io instance. For more information, see [Lumin Metrics](https://docs.tenble.com/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*."},"acr_drivers":{"type":"array","description":"The key drivers that Tenable uses to calculate an asset's Tenable-provided ACR. This attribute is only present in assets if Lumin is added to your Tenable.io instance. For more information, see [Lumin Metrics](https://docs.tenble.com/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.","items":{"type":"object","description":"Information about an asset characteristic that factored into the ACR score calculation.","properties":{"driver_name":{"type":"string","description":"The type of characteristic."},"driver_value":{"type":"array","description":"The characteristic value.","items":{"type":"string"}}}}},"exposure_score":{"type":"integer","description":"The Asset Exposure Score (AES) for the asset. This attribute is only present in assets if Lumin is added to your Tenable.io instance. For more information, see [Lumin Metrics](https://docs.tenble.com/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*."},"scan_frequency":{"type":"array","description":"Information about how often scans ran against the asset during specified intervals. This attribute is only present in assets if Lumin is added to your Tenable.io instance.","items":{"type":"object","description":"Information about how often scans ran against asset during a specified interval.","properties":{"interval":{"type":"integer","description":"The number of days over which Tenable searches for scans involving the asset."},"frequency":{"type":"integer","description":"The number of times that a scan ran against the asset during the specified interval."},"licensed":{"type":"boolean","description":"Indicates whether the asset was licensed at the time of the identified scans."}}}},"ipv4":{"description":"A list of IPv4 addresses for the asset.","type":"array","items":{"type":"string"}},"ipv6":{"description":"A list of IPv6 addresses for the asset.","type":"array","items":{"type":"string"}},"fqdn":{"description":"A list of fully-qualified domain names (FQDNs) for the asset.","type":"array","items":{"type":"string"}},"netbios_name":{"type":"array","description":"The NetBIOS name for the asset.","items":{"type":"string"}},"operating_system":{"type":"array","description":"The operating system installed on the asset.","items":{"type":"string"}},"agent_name":{"type":"array","description":"The names of any Nessus agents that scanned and identified the asset.","items":{"type":"string"}},"aws_ec2_name":{"type":"array","description":"The name of the virtual machine instance in AWS EC2.","items":{"type":"string"}},"mac_address":{"type":"array","description":"A list of MAC addresses for the asset.","items":{"type":"string"}}}}},"total":{"type":"integer","description":"The total number of assets in your Tenable.io instance."}}},"examples":{"response":{"value":{"assets":[{"id":"f56168ed-b719-4273-b58c-a340a09ffbce","has_agent":false,"last_seen":"2018-11-28T15:00:57.000Z","last_scan_target":"172.204.81.57","sources":[{"name":"NESSUS_SCAN","first_seen":"2018-11-28T15:00:57.000Z","last_seen":"2018-11-28T15:00:57.000Z"}],"acr_score":8,"acr_drivers":[{"driver_name":"device_type","driver_value":["general_purpose"]},{"driver_name":"device_capability","driver_value":["pci"]},{"driver_name":"internet_exposure","driver_value":["internal"]}],"exposure_score":753,"scan_frequency":[{"interval":90,"frequency":3,"licensed":false},{"interval":30,"frequency":1,"licensed":false},{"interval":60,"frequency":1,"licensed":false}],"ipv4":["172.204.81.57"],"ipv6":[],"fqdn":["kubernetes.ad.demo.io"],"netbios_name":["kubernetes.ad.demo.io"],"operating_system":["Linux Kernel 3.10.0-862.14.4.el7.x86_64 on CentOS Linux release 7.5.1804 (Core)"],"agent_name":[],"aws_ec2_name":[],"mac_address":[]},{"id":"ed1c8fb3-68be-4c98-b5ef-88dd30f18ee9","has_agent":false,"last_seen":"2018-11-28T15:00:57.000Z","last_scan_target":"172.204.81.58","sources":[{"name":"NESSUS_SCAN","first_seen":"2018-11-28T14:59:23.000Z","last_seen":"2018-11-28T15:00:57.000Z"}],"ipv4":["172.204.81.58"],"ipv6":[],"fqdn":["scanner.ad.demo.io"],"netbios_name":["scanner"],"operating_system":["Linux Kernel 4.4.0-104-generic on Ubuntu 16.04"],"agent_name":[],"aws_ec2_name":[],"mac_address":[]},{"id":"ee094cf6-e352-4f34-a65d-a3503b0ad199","has_agent":false,"last_seen":"2018-11-28T15:00:57.000Z","last_scan_target":"172.204.81.59","sources":[{"name":"NESSUS_SCAN","first_seen":"2018-11-28T14:59:23.000Z","last_seen":"2018-11-28T15:00:57.000Z"}],"ipv4":["172.204.81.59"],"ipv6":[],"fqdn":["shane.ad.demo.io"],"netbios_name":["SHANE"],"operating_system":["Microsoft Windows 10 Pro"],"agent_name":[],"aws_ec2_name":[],"mac_address":[]},{"id":"33e32354-7f48-488c-88a5-49a63550b62a","has_agent":false,"last_seen":"2018-11-28T15:00:57.000Z","last_scan_target":"172.204.81.60","sources":[{"name":"NESSUS_SCAN","first_seen":"2018-11-28T14:59:23.000Z","last_seen":"2018-11-28T15:00:57.000Z"}],"ipv4":["172.204.81.60"],"ipv6":[],"fqdn":["archie.ad.demo.io"],"netbios_name":["ARCHIE"],"operating_system":["Microsoft Windows 10 Pro"],"agent_name":[],"aws_ec2_name":[],"mac_address":[]}],"total":4}}}}}},"403":{"description":"Returned if you do not have permission to list assets."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"assets-asset-info","tags":["Assets"],"parameters":[{"description":"The UUID of the asset.","required":true,"name":"asset_uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns details of the specified asset.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The UUID of the asset."},"has_agent":{"type":"boolean","description":"A value specifying whether a Nessus agent scan detected the asset."},"created_at":{"type":"string","description":"The time and date when Tenable.io created the asset record."},"updated_at":{"type":"string","description":"The time and date when the asset record was last updated."},"first_seen":{"type":"string","description":"The time and date when a scan first identified the asset."},"last_seen":{"type":"string","description":"The time and date of the scan that most recently identified the asset."},"last_scan_target":{"type":"string","description":"The IPv4 address, IPv6 address, or FQDN that the scanner last used to evaluate the asset."},"last_authenticated_scan_date":{"type":"string","description":"The time and date of the last credentialed scan run on the asset."},"last_licensed_scan_date":{"type":"string","description":"The time and date of the last scan that identified the asset as licensed. Tenable.io categorizes an asset as licensed if a scan of that asset has returned results from a non-discovery plugin within the last 90 days."},"sources":{"type":"array","description":"The sources of the scans that identified the asset.","items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the entity that reported the asset details. Sources can include sensors, connectors, and API imports. Source names can be customized by your organization (for example, you specify a name when you import asset records). If your organization does not customize source names, system-generated names include:\n - AWS—You obtained the asset data from an Amazon Web Services connector.\n - NESSUS_AGENT—You obtained the asset data obtained from a Nessus agent scan.\n - PVS—You obtained the asset data from a Nessus Network Monitor (NNM) scan.\n - NESSUS_SCAN—You obtained the asset data from a Nessus scan.\n - WAS—You obtained the asset data from a Web Application Scanning scan."},"first_seen":{"type":"string","description":"The ISO timestamp when the source first reported the asset."},"last_seen":{"type":"string","description":"The ISO timestamp when the source last reported the asset."}}}}},"tags":{"type":"array","description":"Category tags assigned to the asset in Tenable.io.","items":{"type":"object","properties":{"tag_uuid":{"type":"string","description":"The UUID of the tag."},"tag_key":{"type":"string","description":"The tag category (the first half of the category:value pair)."},"tag_value":{"type":"string","description":"The tag value (the second half of the category:value pair)."},"added_by":{"type":"string","description":"The UUID of the user who assigned the tag to the asset."},"added_at":{"type":"string","description":"The ISO timestamp when the tag was assigned to the asset."}}}},"acr_score":{"type":"integer","description":"The Asset Criticality Rating (ACR) for the asset. Tenable assigns an ACR to each asset on your network to represent the asset's relative risk as an integer from 1 to 10. For more information, see [Lumin Metrics](https://docs.tenble.com/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*."},"acr_drivers":{"type":"array","description":"The key drivers that Tenable uses to calculate an asset's Tenable-provided ACR. For more information, see [Lumin Metrics](https://docs.tenble.com/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.","items":{"type":"object","description":"Information about an asset characteristic that factored into the ACR score calculation.","properties":{"driver_name":{"type":"string","description":"The type of characteristic."},"driver_value":{"type":"array","description":"The characteristic value.","items":{"type":"string"}}}}},"exposure_score":{"type":"integer","description":"The Asset Exposure Score (AES) for the asset. For more information, see [Lumin Metrics](https://docs.tenble.com/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*."},"scan_frequency":{"type":"array","description":"Information about how often scans ran against the asset during specified intervals.","items":{"type":"object","description":"Information about how often scans ran against asset during a specified interval.","properties":{"interval":{"type":"integer","description":"The number of days over which Tenable searches for scans involving the asset."},"frequency":{"type":"integer","description":"The number of times that a scan ran against the asset during the specified interval."},"licensed":{"type":"boolean","description":"Indicates whether the asset was licensed at the time of the identified scans."}}}},"network_id":{"type":"array","description":"The ID of the network object to which the asset belongs. For more information, see [Manage Networks](/docs/manage-networks-tio).","items":{"type":"string"}},"ipv4":{"type":"array","description":"The IPv4 addresses that scans have associated with the asset record.","items":{"type":"string"}},"ipv6":{"type":"array","description":"The IPv6 addresses that scans have associated with the asset record.","items":{"type":"string"}},"fqdn":{"type":"array","description":"The fully-qualified domain names that scans have associated with the asset record.","items":{"type":"string"}},"mac_address":{"type":"array","description":"The MAC addresses that scans have associated with the asset record.","items":{"type":"string"}},"netbios_name":{"type":"array","description":"The NetBIOS names that scans have associated with the asset record.","items":{"type":"string"}},"operating_system":{"type":"array","description":"The operating systems that scans have associated with the asset record.","items":{"type":"string"}},"system_type":{"type":"array","description":"The system types as reported by Plugin ID 54615. Possible values include `router`, `general-purpose`, `scan-host`, and `embedded`.","items":{"type":"string"}},"hostname":{"type":"array","description":"The hostnames that scans have associated with the asset record.","items":{"type":"string"}},"agent_name":{"type":"array","description":"The names of any Nessus agents that scanned and identified the asset.","items":{"type":"string"}},"bios_uuid":{"type":"array","description":"The BIOS UUID that scans have associated with the asset.","items":{"type":"string"}},"aws_ec2_instance_id":{"type":"array","description":"The unique identifier of the Linux instance in Amazon EC2. For more information, see the Amazon Elastic Compute Cloud Documentation.","items":{"type":"string"}},"aws_ec2_instance_ami_id":{"type":"array","description":"The unique identifier of the Linux AMI image in Amazon Elastic Compute Cloud (Amazon EC2). For more information, see the Amazon Elastic Compute Cloud Documentation.","items":{"type":"string"}},"aws_owner_id":{"type":"array","description":"The canonical user identifier for the AWS account associated with the virtual machine instance. For example, `79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be`. For more information, see AWS Account Identifiers in the AWS documentation.","items":{"type":"string"}},"aws_availability_zone":{"type":"array","description":"The availability zone where Amazon Web Services hosts the virtual machine instance, for example, `us-east-1a`. Availability zones are subdivisions of AWS regions. For more information, see Regions and Availability Zones in the AWS documentation.","items":{"type":"string"}},"aws_region":{"type":"array","description":"The region where AWS hosts the virtual machine instance, for example, `us-east-1`. For more information, see Regions and Availability Zones in the AWS documentation.","items":{"type":"string"}},"aws_vpc_id":{"type":"array","description":"The unique identifier for the public cloud that hosts the AWS virtual machine instance. For more information, see the Amazon Virtual Private Cloud User Guide.","items":{"type":"string"}},"aws_ec2_instance_group_name":{"type":"array","description":"The virtual machine instance's group in AWS.","items":{"type":"string"}},"aws_ec2_instance_state_name":{"type":"array","description":"The state of the virtual machine instance in AWS at the time of the scan.","items":{"type":"string"}},"aws_ec2_instance_type":{"type":"array","description":"The type of instance in AWS EC2.","items":{"type":"string"}},"aws_subnet_id":{"type":"array","description":"The unique identifier of the AWS subnet where the virtual machine instance was running at the time of the scan.","items":{"type":"string"}},"aws_ec2_product_code":{"type":"array","description":"The product code associated with the AMI used to launch the virtual machine instance in AWS EC2.","items":{"type":"string"}},"aws_ec2_name":{"type":"array","description":"The name of the virtual machine instance in AWS EC2.","items":{"type":"string"}},"azure_vm_id":{"type":"array","description":"The unique identifier of the Microsoft Azure virtual machine instance. For more information, see \"Accessing and Using Azure VM Unique ID\" in the Microsoft Azure documentation.","items":{"type":"string"}},"azure_resource_id":{"type":"array","description":"The unique identifier of the resource in the Azure Resource Manager. For more information, see the Azure Resource Manager Documentation.","items":{"type":"string"}},"gcp_project_id":{"type":"array","description":"The customized name of the project to which the virtual machine instance belongs in Google Cloud Platform (GCP). For more information, see \"Creating and Managing Projects\" in the GCP documentation.","items":{"type":"string"}},"gcp_zone":{"type":"array","description":"The zone where the virtual machine instance runs in GCP. For more information, see \"Regions and Zones\" in the GCP documentation.","items":{"type":"string"}},"gcp_instance_id":{"type":"array","description":"The unique identifier of the virtual machine instance in GCP.","items":{"type":"string"}},"ssh_fingerprint":{"type":"array","description":"The SSH key fingerprints that scans have associated with the asset record.","items":{"type":"string"}},"mcafee_epo_guid":{"type":"array","description":"The unique identifier of the asset in McAfee ePolicy Orchestrator (ePO). For more information, see the McAfee documentation.","items":{"type":"string"}},"mcafee_epo_agent_guid":{"type":"array","description":"The unique identifier of the McAfee ePO agent that identified the asset. For more information, see the McAfee documentation.","items":{"type":"string"}},"qualys_asset_id":{"type":"array","description":"The Asset ID of the asset in Qualys. For more information, see the Qualys documentation.","items":{"type":"string"}},"qualys_host_id":{"type":"array","description":"The Host ID of the asset in Qualys. For more information, see the Qualys documentation.","items":{"type":"string"}},"servicenow_sysid":{"type":"array","description":"The unique record identifier of the asset in ServiceNow. For more information, see the ServiceNow documentation.","items":{"type":"string"}},"installed_software":{"type":"array","description":"A list of Common Platform Enumeration (CPE) values that represent software applications a scan identified as present on an asset. This attribute supports the CPE 2.2 format. For more information, see the \"Component Syntax\" section of the [CPE Specification, Version 2.2](https://cpe.mitre.org/files/cpe-specification_2.2.pdf). For assets identified in Tenable scans, this attribute contains data only if a scan using [Nessus Plugin ID 45590](https://www.tenable.com/plugins/nessus/45590) has evaluated the asset.\n\n**Note:** If no scan detects an application within 30 days of the scan that originally detected the application, Tenable.io considers the detection of that application expired. As a result, the next time a scan evaluates the asset, Tenable.io removes the expired application from the installed_software attribute. This activity is logged as a `remove` type of `attribute_change` update in the asset activity log.","items":{"type":"string"}}}},"examples":{"response":{"value":{"id":"e60cf974-5b18-4ad1-aa1e-c897e46bd683","has_agent":false,"created_at":"2018-11-28T15:00:42.659Z","updated_at":"2018-11-28T17:28:46.984Z","first_seen":"2018-11-28T15:00:25.000Z","last_seen":"2018-11-28T17:28:28.000Z","last_scan_target":"172.204.81.57","last_authenticated_scan_date":null,"last_licensed_scan_date":"2018-11-28T17:28:28.000Z","sources":[{"name":"NESSUS_SCAN","first_seen":"2018-11-28T15:00:25.000Z","last_seen":"2018-11-28T17:28:28.000Z"}],"tags":[],"acr_score":8,"acr_drivers":[{"driver_name":"device_type","driver_value":["general_purpose"]},{"driver_name":"device_capability","driver_value":["pci"]},{"driver_name":"internet_exposure","driver_value":["internal"]}],"exposure_score":753,"scan_frequency":[{"interval":90,"frequency":3,"licensed":false},{"interval":30,"frequency":1,"licensed":false},{"interval":60,"frequency":1,"licensed":false}],"network_id":["00000000-0000-0000-0000-000000000000"],"ipv4":["172.204.81.57"],"ipv6":[],"fqdn":[],"mac_address":["00:50:56:a6:4c:0a"],"netbios_name":[],"operating_system":["Linux Kernel 3.10, Linux Kernel 3.5, Linux Kernel 3.8, Linux Kernel 3.9"],"system_type":["general-purpose"],"tenable_uuid":[],"hostname":[],"agent_name":[],"bios_uuid":[],"aws_ec2_instance_id":[],"aws_ec2_instance_ami_id":[],"aws_owner_id":[],"aws_availability_zone":[],"aws_region":[],"aws_vpc_id":[],"aws_ec2_instance_group_name":[],"aws_ec2_instance_state_name":[],"aws_ec2_instance_type":[],"aws_subnet_id":[],"aws_ec2_product_code":[],"aws_ec2_name":[],"azure_vm_id":[],"azure_resource_id":[],"gcp_project_id":[],"gcp_zone":[],"gcp_instance_id":[],"ssh_fingerprint":[],"mcafee_epo_guid":[],"mcafee_epo_agent_guid":[],"qualys_asset_id":[],"qualys_host_id":[],"servicenow_sysid":[],"installed_software":["cpe:/a:apple:itunes:12.8","cpe:/a:apple:quicktime:7.7.3","cpe:/a:openbsd:openssh:6.9","cpe:/a:google:chrome"],"bigfix_asset_id":[]}}}}}},"403":{"description":"Returned if you do not have permission to view information about an asset."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"assets-bulk-update-acr","tags":["Assets"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["acr_score","asset"],"description":"Parameters to update the ACR for an asset. For a request body example, see \"Update ACR for assets\" in [Bulk Asset Operations](/docs/bulk-asset-operations).","properties":{"acr_score":{"type":"integer","description":"The ACR score you want to assign to the asset. The ACR must be an integer from 1 to 10. "},"reason":{"type":"array","description":"The reasons you are updating the ACR for the assets. Supported values include:\n\n - Business Critical\n - In Scope For Compliance\n - Existing Mitigation Control\n - Dev only \n - Key drivers does not match \n - Other\n\nThis parameter corresponds to the **Overwrite Reasoning** parameter when editing an ACR in the Tenable.io Lumin user interface. For more information, see [Edit an ACR](https://docs.tenable.com/cloud/Content/Analysis/LuminEditACR.htm).","items":{"type":"string","enum":["Business Critical","In Scope For Compliance","Existing Mitigation Control","Dev only","Key drivers does not match","Other"]}},"note":{"type":"string","description":"Any notes you want to add to clarify the circumstances behind the update. This parameter corresponds to the **Note** parameter when editing an ACR in the Tenable.io Lumin user interface. For more information, see [Edit an ACR](https://docs.tenable.com/cloud/Content/Analysis/LuminEditACR.htm). "},"asset":{"type":"array","description":"The identifiers of the assets to update to the specified ACR. At least one asset object is required in this array.","items":{"type":"object","description":"Each object can contain a single instance of the properties described below. You can combine multiple instances of this object, each containing a different single property.","properties":{"id":{"type":"string","description":"The UUID for a specific asset."},"fqdn":{"type":"array","description":"Fully-qualified domain names (FQDNs) associated with the asset or assets.","items":{"type":"string"}},"mac_address":{"type":"array","description":"MAC addresses associated with the asset or assets.","items":{"type":"string"}},"netbios_name":{"type":"string","description":"The NetBIOS name for the asset."},"ipv4":{"type":"array","description":"IPv4 addresses associated with the asset or assets.","items":{"type":"string"}}}}}}}}}}},"responses":{"202":{"description":"Returned if Tenable.io successfully queues the update request."},"404":{"description":"Returned if your request is improperly formatted."}},"security":[{"cloud":[]}]}},"/api/v2/assets/bulk-jobs/move-to-network":{"post":{"summary":"Move assets","description":"Moves assets from the specified network to another network. You can use this endpoint to move assets from the default network to a user-defined network, from a user-defined network to the default network, and from one user-defined network to another user-defined network. This request creates an asynchronous job in Tenable.io.\n\nFor information about the assets move workflow and payload examples, see [Bulk Asset Operations](/docs/bulk-asset-operations).Requires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"assets-bulk-move","tags":["Assets"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["source","destination","targets"],"description":"The parameters for moving assets from one network to another.","properties":{"source":{"type":"string","example":"00000000-0000-0000-0000-000000000000","description":"The UUID of the network currently associated with the assets. Use the [GET /networks](/reference#networks-list) endpoint with the name attribute as filter to find the UUID of the network."},"destination":{"type":"string","description":"The UUID of the network to associate with the specified assets. Use the [GET /networks](/reference#networks-list) endpoint with the name filter to find the UUID of the network. ","example":"11f04eb9-7c78-46c8-9025-fae048390f59"},"targets":{"type":"string","description":"The IPv4 addresses of the assets to move. The addresses can be represented as a comma-separated list, a range, or CIDR, for example `1.1.1.1, 2.2.2.2-2.2.2.200, 3.3.3.0/24`.","example":"172.204.81.57-172.204.81.69"}}}}}},"responses":{"202":{"description":"Returns the number of moved assets.","content":{"application/json":{"schema":{"type":"object","description":"Bulk operations results. Contains the number of assets affected by the operation (moved or deleted).","properties":{"asset_count":{"type":"integer","description":"The number of assets affected by the operation. "}}},"examples":{"response":{"value":{"data":{"asset_count":512}}}}}}},"400":{"description":"Returned if Tenable.io cannot find the specified assets."},"403":{"description":"Returned if you do not have permission to move assets."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"assets-bulk-delete","tags":["Assets"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"The query for selecting the assets to delete. Must include one or more filters. A filter must include an asset attribute, an operator, and a value. To get the list of supported filters, use the [GET /filters/workbenches/assets](/reference#filters-assets-filter) endpoint. Sets of multiple filters must be specified inside `and` or `or` arrays.\n\n**Note:** You can also nest conditions, for example, specify a set of `or` sub-conditions for a condition inside the `and` array.","properties":{"field":{"type":"string","description":"The name of the asset attribute to match. Asset attributes can include tags, for example, `tag.city`."},"operator":{"type":"string","description":"The operator to apply to the matched value, for example, `eq` (equals), `neq` (does not equal), or `contains`."},"value":{"type":"string","description":"The asset attribute value to match."},"and":{"type":"array","description":"To select assets that match all of multiple conditions, specify the conditions inside the `and` array.","items":{"type":"object","description":"The query for selecting the assets to delete. Includes an asset attribute, an operator, and a value. To get the list of supported filters, use the [GET /filters/workbenches/assets](/reference#filters-assets-filter) endpoint.","properties":{"field":{"type":"string","description":"The name of the asset attribute to match. Asset attributes can include tags, for example, `tag.city`."},"operator":{"type":"string","description":"The operator to apply to the matched value, for example, `eq` (equals), `neq` (does not equal), or `contains`."},"value":{"type":"string","description":"The asset attribute value to match."}}}},"or":{"type":"array","description":"To select assets that match any of multiple conditions, specify the conditions inside the `or` array.","items":{"type":"object","description":"The query for selecting the assets to delete. Includes an asset attribute, an operator, and a value. To get the list of supported filters, use the [GET /filters/workbenches/assets](/reference#filters-assets-filter) endpoint.","properties":{"field":{"type":"string","description":"The name of the asset attribute to match. Asset attributes can include tags, for example, `tag.city`."},"operator":{"type":"string","description":"The operator to apply to the matched value, for example, `eq` (equals), `neq` (does not equal), or `contains`."},"value":{"type":"string","description":"The asset attribute value to match."}}}}}}}}},"responses":{"202":{"description":"Returns the number of deleted assets.","content":{"application/json":{"schema":{"type":"object","description":"Bulk operations results. Contains the number of assets affected by the operation (moved or deleted).","properties":{"asset_count":{"type":"integer","description":"The number of assets affected by the operation. "}}},"examples":{"response":{"value":{"data":{"asset_count":512}}}}}}},"400":{"description":"Returned if you specify an invalid asset query, for example, using a malformed IPv4 address."},"403":{"description":"Returned if you do not have permission to delete assets in bulk."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions and CAN CONFIGURE [64] scan permissions. See Permissions.
","operationId":"assets-import","tags":["Assets"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"assets":{"type":"array","description":"An array of asset objects to import. Each asset object requires a value for at least one of the following properties: fqdn, ipv4, netbios\\_name, mac\\_address.\n\nFor an example of this request body, see [Add Asset Data to Tenable.io](/docs/add-asset-data-to-tenableio). For the complete list of importable asset attributes, see [Common Asset Attributes](/docs/common-asset-attributes#section-asset-attribute-definitions).","example":"[{\"ipv4\":\"172.204.81.57\",\"operating_system\":\"Windows 7 x64\"}]","items":{"type":"object","properties":{"mac_address":{"type":"array","description":"A list of MAC addresses for the asset.","items":{"type":"string"}},"netbios_name":{"type":"string","description":"The NetBIOS name for the asset."},"fqdn":{"type":"array","description":"A list of FQDNs for the asset.","items":{"type":"string"}},"ip_address":{"type":"array","description":"A list of IPv4 addresses for the asset. Tenable.io supports this legacy field for backwards compatibility, but for new requests, this field should be replaced by the ipv4 field.","items":{"type":"string"}},"ipv4":{"type":"array","description":"A list of IPv4 addresses for the asset.","items":{"type":"string"}},"ipv6":{"type":"array","description":"A list of IPv6 addresses for the asset.","items":{"type":"string"}},"hostname":{"type":"array","description":"A list of hostnames for the asset.","items":{"type":"string"}},"operating_system":{"type":"string","description":"The operating system installed on the asset."},"ssh_fingerprint":{"type":"string","description":"The SSH key fingerprints that scans have associated with the asset record."},"bios_uuid":{"type":"string","description":"The BIOS UUID of the asset."},"manufacturer_tpm_id":{"type":"string","description":"The manufacturer's unique identifier of the Trusted Platform Module (TPM) associated with the asset."},"mcafee_epo_guid":{"type":"string","description":"The unique identifier of the asset in McAfee ePolicy Orchestrator (ePO). For more information, see the McAfee documentation."},"mcafee_epo_agent_guid":{"type":"string","description":"The unique identifier of the McAfee ePO agent that identified the asset. For more information, see the McAfee documentation."},"symantec_ep_hardware_key":{"type":"string","description":"The hardware key for the asset in Symantec Endpoint Protection."},"qualys_asset_id":{"type":"string","description":"The Asset ID of the asset in Qualys. For more information, see the Qualys documentation."},"qualys_host_id":{"type":"string","description":"The Host ID of the asset in Qualys. For more information, see the Qualys documentation."},"servicenow_sys_id":{"type":"string","description":"The unique record identifier of the asset in ServiceNow. For more information, see the ServiceNow documentation."},"gcp_project_id":{"type":"string","description":"The customized name of the project to which the virtual machine instance belongs in Google Cloud Platform (GCP). For more information see \"Creating and Managing Projects\" in the GCP documentation."},"gcp_zone":{"type":"string","description":"The zone where the virtual machine instance runs in GCP. For more information, see \"Regions and Zones\" in the GCP documentation."},"gcp_instance_id":{"type":"string","description":"The unique identifier of the virtual machine instance in GCP."},"azure_vm_id":{"type":"string","description":"The unique identifier of the Microsoft Azure virtual machine instance. For more information, see \"Accessing and Using Azure VM Unique ID\" in the Microsoft Azure documentation."},"azure_resource_id":{"type":"string","description":"The unique identifier of the resource in the Azure Resource Manager. For more information, see the Azure Resource Manager Documentation."},"aws_availability_zone":{"type":"string","description":"The availability zone where Amazon Web Services hosts the virtual machine instance, for example, `us-east-1a`. Availability zones are subdivisions of AWS regions. For more information, see \"Regions and Availability Zones\" in the AWS documentation."},"aws_ec2_instance_id":{"type":"string","description":"The unique identifier of the Linux instance in Amazon EC2. For more information, see the Amazon Elastic Compute Cloud Documentation."},"aws_ec2_instance_ami_id":{"type":"string","description":"The unique identifier of the Linux AMI image in Amazon Elastic Compute Cloud (Amazon EC2). For more information, see the Amazon Elastic Compute Cloud Documentation."},"aws_ec2_instance_group_name":{"type":"string","description":"The virtual machine instance's group in AWS."},"aws_ec2_instance_state_name":{"type":"string","description":"The state of the virtual machine instance in AWS at the time of the scan."},"aws_ec2_instance_type":{"type":"string","description":"The type of instance in AWS EC2."},"aws_ec2_name":{"type":"string","description":"The name of the virtual machine instance in AWS EC2."},"aws_ec2_product_code":{"type":"string","description":"The product code associated with the AMI used to launch the virtual machine instance in AWS EC2."},"aws_owner_id":{"type":"string","description":"The canonical user identifier for the AWS account associated with the asset. For more information, see \"AWS Account Identifiers\" in the AWS documentation."},"aws_region":{"type":"string","description":"The region where AWS hosts the virtual machine instance, for example, `us-east-1`. For more information, see \"Regions and Availability Zones\" in the AWS documentation."},"aws_subnet_id":{"type":"string","description":"The unique identifier of the AWS subnet where the virtual machine instance was running at the time of the scan."},"aws_vpc_id":{"type":"string","description":"The unique identifier of the public cloud that hosts the AWS virtual machine instance. For more information, see the Amazon Virtual Private Cloud User Guide."},"installed_software":{"type":"array","description":"A list of Common Platform Enumeration (CPE) values that represent software applications a scan identified as present on an asset. The strings in this array must be valid CPE 2.2 values. For more information, see the \"Component Syntax\" section of the [CPE Specification, Version 2.2](https://cpe.mitre.org/files/cpe-specification_2.2.pdf).\n\n**Note:** If no scan detects an application within 30 days of the scan that originally detected the application, Tenable.io considers the detection of that application expired. As a result, the next time a scan evaluates the asset, Tenable.io removes the expired application from the installed_software attribute. This activity is logged as a `remove` type of `attribute_change` update in the asset activity log.","items":{"type":"string"}},"bigfix_asset_id":{"type":"array","items":{"type":"string"},"description":"The unique identifiers of the asset in IBM BigFix. For more information, see the IBM BigFix documentation."}}}},"source":{"type":"string","description":"A user-defined name for the source of the asset records you want to import.","example":"Custom Import"}},"required":["assets","source"]}}}},"responses":{"200":{"description":"Returns the import job UUID.","content":{"application/json":{"schema":{"type":"object","properties":{"asset_import_job_uuid":{"type":"string","description":"The asset import job UUID."}}},"examples":{"response":{"value":{"asset_import_job_uuid":"a90cf974-7b14-4ad1-aa1e-b897e46af689"}}}}}},"400":{"description":"Returned if you submitted a bad request."},"403":{"description":"Returned if you do not have permission to import assets."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"assets-list-import-jobs","tags":["Assets"],"responses":{"200":{"description":"Returns a list of asset import jobs.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"job_id":{"type":"string","description":"The UUID of the asset import job."},"container_id":{"type":"string","description":"The UUID of your Tenable.io container."},"source":{"type":"string","description":"A name for the source of the asset records that you define in the asset import request."},"batches":{"type":"integer","description":"The number of batches in the asset import job.","format":"int32"},"uploaded_assets":{"type":"integer","description":"The number of assets from the import job that Tenable.io successfully imported.","format":"int32"},"failed_assets":{"type":"integer","description":"The number of assets from the import job that Tenable.io failed to import."},"start_time":{"type":"integer","description":"The Unix timestamp when Tenable.io started processing the import job.","format":"int32"},"last_update_time":{"type":"integer","description":"The Unix timestamp when Tenable.io performed an action on the import job.","format":"int32"},"end_time":{"type":"integer","description":"The Unix timestamp when Tenable.io completed processing the import job.","format":"int32"},"status":{"type":"string","description":"The status of the import job. Possible values include: COMPLETED, ERROR."},"status_message":{"type":"string","description":"The description of why a job failed."}}}},"examples":{"response":{"value":{"asset_import_jobs":[{"job_id":"fd7646b5-2c7a-433e-8f2b-f3281b7726ef","container_id":"36f234c4-4ae3-4353-9324-8ad3dcc7fcc5","source":"test1","batches":1,"uploaded_assets":0,"failed_assets":0,"start_time":1544480303548,"last_update_time":1544484511492,"end_time":1544484511492,"status":"ERROR","status_message":"Job failed by exceeding time limit"},{"job_id":"15759fd1-3483-4467-b04f-1bff11141c37","container_id":"36f234c4-4ae3-4353-9324-8ad3dcc7fcc5","source":"test2","batches":1,"uploaded_assets":0,"failed_assets":0,"start_time":1544480429785,"last_update_time":1544484511496,"end_time":1544484511496,"status":"ERROR","status_message":"Job failed by exceeding time limit"}]}}}}}},"403":{"description":"Returned if you do not have permission to list asset import jobs."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"assets-import-job-info","tags":["Assets"],"parameters":[{"description":"The UUID of the asset import job.","required":true,"name":"asset_import_job_uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns information about the specified import job.","content":{"application/json":{"schema":{"type":"object","properties":{"job_id":{"type":"string","description":"The UUID of the asset import job."},"container_id":{"type":"string","description":"The UUID of your Tenable.io container."},"source":{"type":"string","description":"A name for the source of the asset records that you define in the asset import request."},"batches":{"type":"integer","description":"The number of batches in the asset import job.","format":"int32"},"uploaded_assets":{"type":"integer","description":"The number of assets from the import job that Tenable.io successfully imported.","format":"int32"},"failed_assets":{"type":"integer","description":"The number of assets from the import job that Tenable.io failed to import."},"start_time":{"type":"integer","description":"The Unix timestamp when Tenable.io started processing the import job.","format":"int32"},"last_update_time":{"type":"integer","description":"The Unix timestamp when Tenable.io performed an action on the import job.","format":"int32"},"end_time":{"type":"integer","description":"The Unix timestamp when Tenable.io completed processing the import job.","format":"int32"},"status":{"type":"string","description":"The status of the import job. Possible values include: COMPLETED, ERROR."},"status_message":{"type":"string","description":"The description of why a job failed."}}},"examples":{"response":{"value":{"job_id":"fd7646b5-2c7a-433e-8f2b-f3281b7726ef","container_id":"36f234c4-4ae3-4353-9324-8ad3dcc7fcc5","source":"test","batches":1,"uploaded_assets":0,"failed_assets":0,"start_time":1544480303548,"last_update_time":1544480303569,"end_time":1544480303548,"status":"IN_PROGRESS","status_message":"Example message."}}}}}},"403":{"description":"Returned if you do not have permission to list asset import jobs."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"audit-log-events","tags":["Audit Log"],"parameters":[{"description":"A filter condition in the `field.operator:value` format. Filter conditions can include:\n* date.gt:<YYYY-MM-DD>—Tenable.io returns events only if the date when the events occurred is after the date you specify. For example: `f=date.gt:2017-12-31`\n* date.lt:<YYYY-MM-DD>—Tenable.io returns events only if the date when the events occurred is before the date you specify. For example: `f=date.lt:2017-12-31`\n* actor_id.match:<UUID>—Tenable.io returns only the events with a matching actor UUID. For example: `f=actor_id.match:6000a811-8422-4096-83d3-e4d44f44b97d`\n* target_id.match:<UUID>—Tenable.io returns only the events with a matching target UUID. For example: `f=target_id.match:6000a811-8422-4096-83d3-e4d44f44b97d`\n\nYou can specify multiple `f` parameters, separated by ampersand (&) characters. For example: `?f=date.gt:2018-12-31&f=date.lt:2019-06-01&f=actor_id.match:50f84b7f-d1d3-4182-bb46-79cf5c51812e&limit=5000`","required":false,"name":"f","in":"query","schema":{"type":"string"}},{"description":"Sets the limit for how many events Tenable.io should return by the call. By default, this value is 50. For example: `limit=5000`","required":false,"name":"limit","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the audit log.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The unique ID of the event."},"action":{"type":"string","description":"The action that was taken by the user."},"crud":{"type":"string","description":"Indicates whether the action taken was creating (c), reading (r), updating (u), or deleting (d) an entity."},"is_failure":{"type":"boolean","description":"Indicates whether the action the user took succeeded or failed. Tenable.io logs an event regardless of whether a user action succeeds."},"received":{"type":"string","description":"The date and time the event occured in ISO 8601 format."},"description":{"type":"string","description":"A description of the event."},"actor":{"type":"object","properties":{"id":{"type":"string","description":"The UUID of the user that took the action."},"name":{"type":"string","description":"The username of the user that took the action."}}},"is_anonymous":{"type":"boolean","description":"Indicates whether the action was performed anonymously."},"target":{"type":"object","properties":{"id":{"type":"string","description":"The UUID of the target entity. For example, a user UUID."},"name":{"type":"string","description":"The name of the target entity. For example, a username."},"type":{"type":"string","description":"The type of entity that was the target of the action. For example, a user."}}},"fields":{"type":"object","properties":{"pair":{"type":"object","properties":{"key":{"type":"string","description":"A key. The exact string varies based on the action that was taken."},"value":{"type":"string","description":"A value that corresponds to a key. The value varies based on the request of the action that was taken."}}}}}}}},"examples":{"response":{"value":{"events":[{"id":"a4e9177aa45c48c9d46a2f24c5f97b24","action":"user.authenticate.password","crud":"u","is_failure":true,"received":"2018-08-06T23:09:40Z","description":null,"actor":{"id":"50f84b7f-d1d3-4182-bb46-79cf5c51806e","name":"user2@example.com"},"is_anonymous":null,"target":{"id":"50f84b7f-d1d3-4182-bb46-79cf5c51806e","name":"user2@example.com","type":"User"},"fields":[{"key":"message","value":"Invalid credentials."},{"key":"sessionToken","value":"-"},{"key":"X-Forwarded-For","value":"172.204.81.57, 172.204.81.57"},{"key":"X-Request-Uuid","value":"71a6630e83148694260ad838ddff5dce:dd19f39e7ec84ba80dec:8d7f958f8c3b770767af"}]},{"id":"9ed34e87d3474ff985759d14ss703e4c","action":"session.create","crud":"c","is_failure":false,"received":"2018-08-06T23:33:01Z","description":null,"actor":{"id":null,"name":null},"is_anonymous":true,"target":{"id":"50f84b7f-d1d3-4182-bb46-79cf5c51816e","name":"user2@example.com","type":"User"},"fields":[{"key":"X-Access-Type","value":"Created by username"}]},{"id":"dca7681afaf24048baff7b4e90b668d7","action":"session.delete","crud":"d","is_failure":false,"received":"2018-08-06T23:40:57Z","description":null,"actor":{"id":"50f84b7f-d1d3-4182-bb46-79cf5c51816e","name":"user2@example.com"},"is_anonymous":null,"target":{"id":"bcce340","name":null,"type":"Session"},"fields":[{"key":"message","value":"session timeout"}]},{"id":"a2498a85cb5740a28e532814c0ba8369","action":"user.impersonation.start","crud":"u","is_failure":false,"received":"2018-08-14T09:23:12Z","description":null,"actor":{"id":"92907192-57db-407e-98ff-053de7f12bab","name":"monitoring@example.com"},"is_anonymous":null,"target":{"id":"50f84b7f-d1d3-4182-bb46-79cd5c51806e","name":"user2@example.com","type":"User"},"fields":[{"key":"sessionToken","value":"-"},{"key":"X-Access-Type","value":"apikey"},{"key":"X-Forwarded-For","value":"172.204.81.57"},{"key":"X-Request-Uuid","value":"63e024e7fe25ed24ce1c7142781527ac:43cf99b77f783a962a1a"}]},{"id":"eaac53481de04f67bc7eeea07d2fb0f5","action":"session.delete","crud":"d","is_failure":false,"received":"2018-08-08T01:40:07Z","description":null,"actor":{"id":"50f84b7f-d1d3-4182-bb46-79cf9c51806e","name":"user2@example.com"},"is_anonymous":null,"target":{"id":"12d024e","name":null,"type":"Session"},"fields":[{"key":"message","value":"session timeout"}]}],"pagination":{"total":5,"limit":50}}}}}}},"403":{"description":"Returned if you do not have permission to view the audit log."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"credentials-create","tags":["Credentials"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"description":"The name of the managed credential. This name must be unique within your Tenable.io instance.","type":"string"},"description":{"description":"The description of the managed credential object.","type":"string"},"type":{"description":"The type of credential object. For a list of supported credential types, use the GET /credentials/types endpoint.","type":"string"},"settings":{"description":"The configuration settings for the credential. The parameters of this object vary depending on the credential type. For more information, see [Determine Settings for a Credential Type](/docs/determine-settings-for-credential-type).","type":"object","properties":{}},"permissions":{"description":"A list of user permissions for the managed credential.","type":"array","items":{"type":"object","properties":{"grantee_uuid":{"type":"string","description":"The UUID of the user or user group granted permissions for the managed credential. \n\nThis parameter is required when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential."},"type":{"type":"string","description":"A value specifying whether the grantee is a user (`user`) or a user group (`group`). \n\nThis parameter is required when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential.","enum":["user","group"]},"permissions":{"type":"integer","description":"A value specifying the permissions granted to the user or user group for the credential. Possible values are:\n - 32—The user can view credential information and use the credential in scans. Corresponds to the **Can Use** permission in the user interface.\n - 64—The user can view and edit credential settings, delete the credential, and use the credential in scans. Corresponds to the **Can Edit** permission in the user interface. \n\nThis parameter is required when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential."},"name":{"type":"string","description":"The name of the user or user group that you want to grant permissions for the managed credential. \n\nThis parameter is optional when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential."}}}}},"required":["name","type","settings","permissions"]},"example":{"name":"Windows devices (Headquarters)","description":"Use for scans of Windows devices located at headquarters.","type":"Windows","settings":{"domain":"","username":"user@example.com","auth_method":"Password","password":"aJ^deq34Rc"},"permissions":[{"grantee_uuid":"08d242c3-9553-4ccc-835d-0c17ed942cdq","type":"user","permissions":64,"name":"user@example.com"}]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully creates a managed credential object.","content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"type":"string","description":"The UUID of the new managed credential object."}}},"examples":{"response":{"value":{"uuid":"cc43b17c-ee05-4369-95f7-af8f9bd8cad1"}}}}}},"400":{"description":"Returned if Tenable.io encounters invalid JSON in request body."},"401":{"description":"Returned if Tenable.io cannot authenticate the user account that submitted the request."},"403":{"description":"Returned if you do not have permission to create managed credential objects."},"409":{"description":"Returned if a managed credential object with the same name already exists."},"415":{"description":"Returned if the request payload is in an unsupported format."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN USE [32] credential permissions. See Permissions.
","operationId":"credentials-list","tags":["Credentials"],"parameters":[{"description":"A filter condition in the following format: `field:operator:value`. For managed credentials, you can only filter on the `name` field, using the following operators: \n* eq—The name of the returned credential is equal to the text you specify. \n* neq—The returned list of managed credentials excludes the credential object where the name is equal to the text you specify. \n* match—The returned list includes managed credentials where the name contains the text you specify at least partially.\n\nYou can specify multiple `f` parameters, separated by ampersand (&) characters. If you specify multiple `f` parameters, use the `ft` parameter to specify how Tenable.io applies the multiple filter conditions.","required":false,"name":"f","in":"query","schema":{"type":"string"}},{"description":"The operator that Tenable.io applies if multiple \\`f\\` parameters are present. The `OR` operator is the only supported value. If you omit this parameter and multiple `f` parameters are present, Tenable.io applies the `OR` operator by default.","required":false,"name":"ft","in":"query","schema":{"type":"string"}},{"description":"Maximum number of objects requested (or service imposed limit if not in request). Must be in the int32 format.","required":false,"name":"limit","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"Offset from request (or zero). Must be in the int32 format.","required":false,"name":"offset","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"An array of objects specifyfing the sort order for the returned data.","required":false,"name":"sort","in":"query","schema":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The field on which Tenable.io sorts the results."},"order":{"type":"string","description":"The direction of the sort order. Supported values are `asc` (ascending) and `desc` (descending)."}}}}},{"description":"The UUID of a scan owner. This parameter limits the returned data to managed credentials assigned to scans owned by the specified user.","name":"referrer_owner_uuid","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns a list of managed credentials.","content":{"application/json":{"schema":{"type":"object","properties":{"credentials":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","description":"The UUID of the managed credential object."},"name":{"type":"string","description":"The name of the managed credential object. You specify the name when you create or update the managed credential."},"description":{"type":"string","description":"The definition of the managed credential object. You can specify the description when you create or update the managed credential."},"category":{"type":"object","properties":{"id":{"type":"string","description":"The system name that uniquely identifies the credential category."},"name":{"type":"string","description":"The display name for the credential category in the user interface."}}},"type":{"type":"object","properties":{"id":{"type":"string","description":"The system name that uniquely identifies the credential type."},"name":{"type":"string","description":"The display name for the credential type in the user interface."}}},"created_date":{"type":"string","description":"The date (in Unix time) when the managed credential object was created."},"created_by":{"type":"object","properties":{"id":{"type":"integer","description":"The ID of the user who created the credential."},"display_name":{"type":"string","description":"The name of the user who created the credential."}}},"last_used_by":{"type":"object","properties":{"id":{"type":"integer","description":"The ID of the user who last used the credential in a scan."},"display_name":{"type":"string","description":"The name of the user who last used the credential in a scan."}}},"permissions":{"type":"integer","description":"A value specifying the permissions granted to the user or user group for the credential. For possible values, see \"Credential Roles\" in Permissions."},"user_permissions":{"type":"integer","description":"The permissions for the managed credential that are assigned to the user account submitting the API request. For possible values, see \"Credential Roles\" in Permissions."}}}},"pagination":{"type":"object","properties":{"total":{"type":"integer","description":"The total number of objects matching your search criteria. Must be in the int32 format."},"limit":{"type":"integer","description":"Maximum number of objects requested (or service imposed limit if not in request). Must be in the int32 format."},"offset":{"type":"integer","description":"Offset from request (or zero). Must be in the int32 format."},"sort":{"description":"An array of objects representing the fields you specified as sort fields in the request message, which Tenable.io uses to sort the returned data.","type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The field on which Tenable.io sorts the results."},"order":{"type":"string","description":"The direction of the sort order. Supported values are `asc` (ascending) and `desc` (descending)."}}}}}}}},"examples":{"response":{"value":{"credentials":[{"uuid":"aa43b17c-ee05-4369-95f7-af8f9bd8cad0","name":"Windows devices (Headquarters)","description":"Use for scans of Windows devices located at headquarters.","category":{"id":"Host","name":"Host"},"type":{"id":"Windows","name":"Windows"},"created_date":1551295980,"created_by":{"id":15,"display_name":"user@example.com"},"last_used_by":{"id":null,"display_name":null},"permission":32,"user_permissions":32}],"pagination":{"total":1,"limit":50,"offset":0,"sort":[{"name":"created_date","order":"desc"}]}}}}}}},"400":{"description":"Returned if the query parameters in your request were invalid."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN USE [32] credential permissions. See Permissions.
","operationId":"credentials-details","tags":["Credentials"],"parameters":[{"description":"The UUID of the managed credential for which you want to view details.","required":true,"name":"uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the details of the specified managed credential object.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the managed credential object. You specify the name when you create or update the managed credential."},"description":{"type":"string","description":"The definition of the managed credential object. You specify the description when you create or update the managed credential."},"category":{"type":"object","properties":{"id":{"type":"string","description":"The system name that uniquely identifies the credential category."},"name":{"type":"string","description":"The display name for the credential category in the user interface."}}},"type":{"type":"object","properties":{"id":{"type":"string","description":"The system name that uniquely identifies the credential type."},"name":{"type":"string","description":"The display name for the credential type in the user interface."}}},"ad_hoc":{"type":"boolean","description":"A value specifying how a user creates a managed credential in the user interface. If `true`, the user created the credential during the scan configuration. If `false`, the user created the credential independently from scan configuration."},"user_permissions":{"type":"integer","description":"The permissions for the managed credential that are assigned to the user account submitting the API request. For possible values, see \"Credential Roles\" in Permissions."},"settings":{"description":"The configuration settings for the credential. The parameters of this object vary depending on the credential type. For more information, see [Determine Settings for a Credential Type](/docs/determine-settings-for-credential-type).","type":"object","properties":{}},"permissions":{"type":"array","items":{"type":"object","properties":{"grantee_uuid":{"type":"string","description":"The UUID of the user or user group granted permissions for the managed credential. \n\nThis parameter is required when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential."},"type":{"type":"string","description":"A value specifying whether the grantee is a user (`user`) or a user group (`group`). \n\nThis parameter is required when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential.","enum":["user","group"]},"permissions":{"type":"integer","description":"A value specifying the permissions granted to the user or user group for the credential. Possible values are:\n - 32—The user can view credential information and use the credential in scans. Corresponds to the **Can Use** permission in the user interface.\n - 64—The user can view and edit credential settings, delete the credential, and use the credential in scans. Corresponds to the **Can Edit** permission in the user interface. \n\nThis parameter is required when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential."},"name":{"type":"string","description":"The name of the user or user group that you want to grant permissions for the managed credential. \n\nThis parameter is optional when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential."}}}}}},"examples":{"response":{"value":{"name":"Windows devices (Headquarters)","description":"Use for scans of Windows devices located at headquarters.","category":{"id":"Host","name":"Host"},"type":{"id":"Windows","name":"Windows"},"ad_hoc":false,"user_permissions":64,"settings":{"domain":"","username":"user@example.com","auth_method":"Password","password":"********"},"permissions":[{"grantee_uuid":"e7fcb50b-1330-4a8c-b8e5-ee00ec8c56f8","type":"user","permissions":64,"name":"user1@tenable.com"},{"grantee_uuid":"08d242c3-9557-4ccc-835d-0c17ed942cde","type":"user","permissions":64,"name":"user2@example.com"},{"grantee_uuid":"9be14fe3-16f4-49e3-a015-234b8918b8de","type":"user","permissions":32,"name":"user3@example.com"}]}}}}}},"403":{"description":"Returned if you do not have sufficient permissions to view the specified managed credential object."},"404":{"description":"Returned if Tenable.io cannot find a managed credential object with the specified UUID."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN EDIT [64] credential permissions. See Permissions.
","operationId":"credentials-update","tags":["Credentials"],"parameters":[{"description":"The UUID of the managed credential object you want to update.","required":true,"name":"uuid","in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"description":"The new name of the managed credential object. This name must be unique within your Tenable.io instance.","type":"string"},"description":{"description":"The new description of the managed credential object.","type":"string"},"ad_hoc":{"description":"A value specifying if the credential is managed (`false`) versus stored in a scan or policy configuration (`true`). You can only set this parameter from `true` to `false`. You cannot set this parameter to `true`. If you omit this parameter, the value defaults to `false`.","type":"boolean"},"settings":{"description":"The configuration settings for the credential. The parameters of this object vary depending on the credential type. For more information, see [Determine Settings for a Credential Type](/docs/determine-settings-for-credential-type).","type":"object","properties":{}},"permissions":{"description":"User permissions for the managed credential.","type":"array","items":{"type":"object","properties":{"grantee_uuid":{"type":"string","description":"The UUID of the user or user group granted permissions for the managed credential. \n\nThis parameter is required when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential."},"type":{"type":"string","description":"A value specifying whether the grantee is a user (`user`) or a user group (`group`). \n\nThis parameter is required when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential.","enum":["user","group"]},"permissions":{"type":"integer","description":"A value specifying the permissions granted to the user or user group for the credential. Possible values are:\n - 32—The user can view credential information and use the credential in scans. Corresponds to the **Can Use** permission in the user interface.\n - 64—The user can view and edit credential settings, delete the credential, and use the credential in scans. Corresponds to the **Can Edit** permission in the user interface. \n\nThis parameter is required when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential."},"name":{"type":"string","description":"The name of the user or user group that you want to grant permissions for the managed credential. \n\nThis parameter is optional when assigning CAN USE (32) or CAN EDIT (64) permissions for a managed credential."}}}}},"required":["settings","permissions"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully updates the managed credential object.","content":{"application/json":{"schema":{"type":"object","properties":{"updated":{"type":"boolean"}}},"examples":{"response":{"value":{"updated":true}}}}}},"400":{"description":"Returned if Tenable.io encounters invalid JSON in the request body."},"401":{"description":"Returned if Tenable.io cannot authenticate the user account that submitted the request."},"403":{"description":"Returned if you do not have permission to update the specified managed credential object."},"404":{"description":"Returned if Tenable.io could not find the specified managed credential object, either because the object does not exist or because the object has been deleted."},"409":{"description":"Returned if a managed credential object with the same name already exists."},"415":{"description":"Returned if the request payload is in an unsupported format."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN EDIT [64] credential permissions. See Permissions.
","operationId":"credentials-delete","tags":["Credentials"],"parameters":[{"description":"The UUID for the managed credential object you want to delete.","required":true,"name":"uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully deletes the specified managed credential object.","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"boolean"}}},"examples":{"response":{"value":{"deleted":true}}}}}},"401":{"description":"Returned if Tenable.io cannot authenticate the user account that submitted the request."},"403":{"description":"Returned if you do not have sufficient permissions to delete the specified managed credential object."},"404":{"description":"Returned if Tenable.io could not find the managed credential object you specified."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"credentials-list-credential-types","tags":["Credentials"],"responses":{"200":{"description":"Returns a list of supported credential types and associated settings.","content":{"application/json":{"schema":{"type":"object","properties":{"credentials":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The system name that uniquely identifies the category in Tenable.io."},"category":{"type":"string","description":"The display name for the category in the user interface."},"default_expand":{"type":"boolean","description":"A value specifying whether the list of credential types in the category appears as expanded by default in the user interface."},"types":{"description":"Supported configuration settings for an individual credential type.","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The system name that uniquely identifies the credential type."},"name":{"type":"string","description":"The display name for the credential type in the user interface."},"max":{"type":"integer","description":"The maximum number of instances of this credential type that Tenable.io supports for an individual scan or policy."},"configuration":{"description":"The configuration settings for a credential type. For a definition of object attributes, see [Determine Settings for a Credential Type](docs/determine-settings-for-credential-type).","type":"array","items":{"type":"object","description":"The configuration settings for the credential. The parameters of this object vary depending on the credential type. For a list of possible configuration parameters, use the GET /credentials/types endpoint.","properties":{"type":{"type":"string","description":"The parameter input type. This attribute reflects how the user interface prompts for parameter input. Possible values include: \n - password—Prompts for input via text box.\n - text—Prompts for input via text box.\n - select—Prompts for input via selectable options.\n - file—Prompts user to upload file of input data.\n - toggle—Prompts user to toggle an option on or off.\n - checkbox—Prompts user to select options via checkboxes. Checkboxes can represent enabling a single option or can allow users to select from multiple, mutually-exclusive options."},"name":{"type":"string","description":"The display name for the credential configuration in the user interface."},"required":{"type":"boolean","description":"A value specifying whether the configuration parameter is required (`true`) or optional (`false`). If this attribute is absent, the parameter is optional."},"id":{"type":"string","description":"The system name for the credential parameter. Use this value as the parameter name in request messages configuring credentials."},"placeholder":{"type":"string","description":"An example of the parameter value. This value appears as example text in the user interface. \n\nThis attribute is only present for credential parameters that require text input in the user interface."},"options":{"description":"The supported options for the credential parameter.","type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The display name of the option in the user interface."},"id":{"type":"string","description":"The system name for the option."},"inputs":{"type":"array","description":"The additional inputs that are required if the user selects this option in the user interface. If the inputs parameter is empty (`\\[\\]`), selecting the option does not require additional user input.","items":{"type":"object","properties":{"type":{"type":"string","description":"The type of input prompt in the user interface. Possible values include:\n - password—Prompts for input via text box.\n - text—Prompts for input via text box.\n - select—Prompts for input via selectable options.\n - file—Prompts user to upload file of input data.\n - toggle—Prompts user to select one of two mutually-exclusive options in toggle format.\n - checkbox—Prompts user to select options via checkboxes. Checkboxes can represent enabling a single option or can allow users to select from multiple, mutually-exclusive options.\n - key-value— Prompts for text entry of a key-value pair via two text boxes."},"name":{"type":"string","description":"The display name of the option in the user interface."},"required":{"type":"boolean","description":"A value specifying whether the input is required (`true`) or optional (`false`)."},"placeholder":{"type":"string","description":"An example of the input value. This value appears as example text in the user interface. \n\nThis attribute is only present for credential parameters that require text input in the interface. \n\nIn cases where the input type is `key-value`, this attribute can be an array of strings."},"regex":{"type":"string","description":"A regular expression defining the valid input for the parameter in the user interface."},"hint":{"type":"string","description":"Helpful information about the input required, for example, \"PEM formatted certificate\". Hints appear in the user interface, but can contain information that is relevant to API requests."},"callback":{"type":"string","description":"Not supported as a parameter in managed credentials."},"default-row-count":{"type":"integer","description":"The number of text box rows that appear by default when the input type is `key-value`."},"hide-values":{"type":"boolean","description":"A value specifying whether the user interface hides the value by default when the input type is `key-value`. If `true`, dots appear instead of characters as you type the value in the user interface."},"id":{"type":"string","description":"The system name for the input. Use this value as the input name in request messages when configuring credentials."}}}}}}},"default":{"type":"string","description":"The option that appears as selected by default in the user interface."},"alt_ids":{"type":"string","description":"Not supported as a parameter in managed credentials."},"preferences":{"description":"Not supported as a parameter in managed credentials.","type":"array","items":{"type":"string"}}}}},"expand_settings":{"type":"boolean","description":"A value specifying whether the configuration settings appear expanded by default in the user interface."}}}}}}}}},"examples":{"response":{"value":{"credentials":[{"id":"Cloud Services","category":"Cloud Services","default_expand":false,"types":[{"id":"Amazon AWS","name":"Amazon AWS","max":1,"configuration":[{"type":"password","name":"AWS Access Key ID","required":true,"id":"access_key_id"},{"type":"password","name":"AWS Secret Key","required":true,"id":"secret_key"}],"expand_settings":true},{"id":"Microsoft Azure","name":"Microsoft Azure","max":1,"configuration":[{"type":"text","name":"Username","required":true,"id":"username"},{"type":"password","name":"Password","required":true,"id":"password"},{"type":"text","name":"Client Id","required":true,"id":"client_id"}],"expand_settings":true},{"id":"Office 365","name":"Office 365","max":1,"configuration":[{"type":"text","name":"Username","required":true,"id":"username"},{"type":"password","name":"Password","required":true,"id":"password"},{"type":"text","name":"Client Id","required":true,"id":"client_id"},{"type":"password","name":"Client Secret","required":true,"id":"client_secret"}]}]}]}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"credentials-file-upload","tags":["Credentials"],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"Filedata":{"type":"string","description":"The file to upload.","format":"binary"}}}}}},"responses":{"200":{"description":"Returns the name of the successfully uploaded file.","content":{"application/json":{"schema":{"type":"object","properties":{"fileuploaded":{"type":"string","description":"The name of the uploaded file. If the file with the same name already exists, Tenable.io appends an underscore with a number, for example ssh_private_key_1.txt. Use this attribute value when referencing the file for subsequent requests."}}},"examples":{"response":{"value":{"fileuploaded":"ssh_private_key_1.txt"}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"editor-details","tags":["Editor"],"parameters":[{"description":"The type of object (scan or policy).","required":true,"name":"type","in":"path","schema":{"type":"string","enum":["scan","policy"]}},{"description":"The unique ID of the object.","required":true,"name":"id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the object data. Note that the fields can vary depending on the template used for the scan or policy.","content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"type":"string"},"user_permissions":{"type":"integer"},"filter_attributes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The short name of the filter."},"readable_name":{"type":"string","description":"The long name of the filter."},"operators":{"description":"The comparison options for the filter.","type":"array","items":{"type":"object"}},"control":{"type":"object","properties":{"type":{"type":"string","description":"The input type (entry or dropdown)."},"readable_regest":{"type":"string","description":"The placeholder for the input."},"regex":{"type":"string","description":"A regex for checking the value of the input."},"options":{"description":"A list of options if the input is a dropdown.","type":"array","items":{"type":"object"}}}}}}},"settings":{"description":"Scan or policy settings organized into the Basic, Discovery, Assessment, Report, and Advanced configuration categories.","type":"object","properties":{"basic":{"type":"object","description":"The Basic scan settings are used to specify certain organizational and security-related aspects of the scan or policy, including the name of the scan, its targets, whether the scan is scheduled, and who has access to the scan, among other settings."},"discovery":{"type":"object","description":"The Discovery settings relate to discovery and port scanning, including port ranges and methods."},"assessment":{"type":"object","description":"You can use Assessment settings to configure how a scan identifies vulnerabilities, as well as what vulnerabilities are identified. This includes identifying malware, assessing the vulnerability of a system to brute force attacks, and the susceptibility of web applications."},"advanced":{"type":"object","description":"The Advanced settings provide increased control over scan efficiency and the operations of a scan, as well as the ability to enabled plugin debugging."}}},"credentials":{"description":"Credentials that grant the scanner access to the target system without requiring an agent. Credentialed scans can perform a wider variety of checks than non-credentialed scans, which can result in more accurate scan results. This facilitates scanning of a very large network to determine local exposures or compliance violations. You can configure credentials for Cloud Services, Database, Host, Miscellaneous, Mobile Device Management, and Plaintext Authentication.","type":"object","properties":{}},"compliance":{"description":"Plugins options enables you to select security checks by Plugin Family or individual plugins checks.","type":"object","properties":{}},"plugins":{"description":"The settings for compliance audit checks.","type":"object","properties":{}}}},"examples":{"response":{"value":{"is_was":null,"user_permissions":128,"owner":"user2@example.com","title":"Custom Scan","is_agent":null,"uuid":"ab4bacd2-05f6-425c-9d79-3ba3940ad1c24e51e1f403febe40","settings":{"basic":{"inputs":[{"type":"entry","name":"Name","id":"name","default":"KitchenSinkScan","required":true},{"type":"textarea","name":"Description","id":"description","default":null},{"type":"select","id":"include_aggregate","name":"Scan results","default":true,"options":[{"name":"Show in dashboard","value":"true"}]},{"type":"select","id":"folder_id","name":"Folder","default":9,"options":[{"name":"My Scans","id":9},{"name":"Trash","id":8}]},{"type":"select","id":"use_dashboard","name":"Dashboard","default":false,"options":[{"name":"Enabled","value":"true"},{"name":"Disabled","value":"false"}]}],"title":"Basic","groups":[{"title":"Permissions","name":"permissions","acls":[{"permissions":0,"owner":null,"display_name":null,"name":null,"id":null,"type":"default"},{"permissions":128,"owner":1,"display_name":"user2@example.com","name":"user2@example.com","id":2,"type":"user"}]}],"sections":[]}},"filter_attributes":[{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"NUMBER","type":"entry","regex":"^[0-9]+$","maxlength":18},"name":"bid","readable_name":"Bugtraq ID"},{"operators":["eq","neq"],"control":{"type":"dropdown","list":["true","false"]},"name":"exploit_framework_canvas","readable_name":"CANVAS Exploit Framework"},{"operators":["eq","neq"],"control":{"type":"dropdown","list":["CANVAS","D2ExploitPack","White_Phosphorus"]},"name":"canvas_package","readable_name":"CANVAS Package"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"Cert VU reference (ie: 10031)","type":"entry","regex":"^[0-9]+$","maxlength":18},"name":"cert","readable_name":"CERT Vulnerability ID"},{"operators":["eq","neq"],"control":{"type":"dropdown","list":["true","false"]},"name":"exploit_framework_core","readable_name":"CORE Exploit Framework"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"TEXT","type":"entry","regex":".*"},"name":"cpe","readable_name":"CPE"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"CVE-YYYY-ID (ie: CVE-2011-0018)","type":"entry","regex":"^(CVE|CAN)-(1999|20[01][0-9])-[0-9]{4,}$"},"name":"cve","readable_name":"CVE"},{"operators":["lt","gt","eq","neq","match","nmatch"],"control":{"readable_regex":"7.5","type":"entry","regex":"^[0-9]+(\\.[0-9]+)?$"},"name":"cvss_base_score","readable_name":"CVSS Base Score"},{"operators":["lt","gt","eq","neq","match","nmatch"],"control":{"readable_regex":"4.2","type":"entry","regex":"^[0-9]+(\\.[0-9]+)$"},"name":"cvss_temporal_score","readable_name":"CVSS Temporal Score"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"TEXT","type":"entry","regex":"^CVSS2#E:(U|POC|F|H|ND)/RL:(OF|T|W|U|ND)/RC:(UC|UR|C|ND)$"},"name":"cvss_temporal_vector","readable_name":"CVSS Temporal Vector"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"TEXT","type":"entry","regex":"^CVSS2#AV:(L|A|N)/AC:(H|M|L)/Au:(N|S|M)/C:(N|P|C)/I:(N|P|C)/A:(N|P|C)$"},"name":"cvss_vector","readable_name":"CVSS Vector"},{"operators":["lt","gt","eq","neq","match","nmatch"],"control":{"readable_regex":"7.5","type":"entry","regex":"^[0-9]+(\\.[0-9]+)?$"},"name":"cvss3_base_score","readable_name":"CVSS v3.0 Base Score"},{"operators":["lt","gt","eq","neq","match","nmatch"],"control":{"readable_regex":"4.2","type":"entry","regex":"^[0-9]+(\\.[0-9]+)$"},"name":"cvss3_temporal_score","readable_name":"CVSS v3.0 Temporal Score"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"TEXT","type":"entry","regex":"^CVSS:3.0/E:(U|POC|F|H|ND)/RL:(OF|T|W|U|ND)/RC:(UC|UR|C|ND)$"},"name":"cvss3_temporal_vector","readable_name":"CVSS v3.0 Temporal Vector"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"TEXT","type":"entry","regex":"^CVSS:3.0/AV:(N|A|L|P)/AC:(L|H)/PR:(N,L,H)/UI:(N|R)/S:(U|C)/C:(H|L|N)/I:(H|L|N)/A:(H|L|N)$"},"name":"cvss3_vector","readable_name":"CVSS v3.0 Vector"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"CWE reference (ie: 200)","type":"entry","regex":"^([0-9]+)$"},"name":"cwe","readable_name":"CWE"},{"operators":["eq","neq"],"control":{"type":"dropdown","list":["true","false"]},"name":"default_account","readable_name":"Default/Known Accounts"},{"operators":["eq","neq"],"control":{"type":"dropdown","list":["true","false"]},"name":"exploit_framework_d2_elliot","readable_name":"Elliot Exploit Framework"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"TEXT","type":"entry","regex":".*"},"name":"d2_elliot_name","readable_name":"Elliot Exploit Name"},{"operators":["eq","neq"],"control":{"type":"dropdown","list":["true","false"]},"name":"exploit_available","readable_name":"Exploit Available"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"NUMBER","type":"entry","regex":"^[0-9]+$","maxlength":18},"name":"edb-id","readable_name":"Exploit Database ID"},{"operators":["eq","neq"],"control":{"type":"dropdown","list":["true","false"]},"name":"exploit_framework_exploithub","readable_name":"ExploitHub"},{"operators":["eq","neq"],"control":{"type":"dropdown","list":["Exploits are available","No exploit is required","No known exploits are available"]},"name":"exploitability_ease","readable_name":"Exploitability Ease"},{"operators":["eq","neq"],"control":{"type":"dropdown","list":["true","false"]},"name":"exploited_by_malware","readable_name":"Exploited By Malware"},{"operators":["eq","neq"],"control":{"type":"dropdown","list":["true","false"]},"name":"exploited_by_nessus","readable_name":"Exploited By Nessus"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"IAVA reference (ie: 2011-A-0151)","type":"entry","regex":"^[0-9]+-[A-Za-z]-[0-9]+$"},"name":"iava","readable_name":"IAVA ID"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"IAVB reference (ie: 2011-B-0151)","type":"entry","regex":"^[0-9]+-[A-Za-z]-[0-9]+$"},"name":"iavb","readable_name":"IAVB ID"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"IAVM Severity (ie: IV)","type":"entry","regex":"^[ivIV]+"},"name":"stig_severity","readable_name":"IAVM Severity"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"IAVT reference (ie: 2011-A-0151)","type":"entry","regex":"^[0-9]+-[A-Za-z]-[0-9]+$"},"name":"iavt","readable_name":"IAVT ID"},{"operators":["eq","neq"],"control":{"type":"dropdown","list":["true","false"]},"name":"in_the_news","readable_name":"In The News"},{"operators":["eq","neq"],"control":{"type":"dropdown","list":["true","false"]},"name":"malware","readable_name":"Malware"},{"operators":["eq","neq"],"control":{"type":"dropdown","list":["true","false"]},"name":"exploit_framework_metasploit","readable_name":"Metasploit Exploit Framework"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"TEXT","type":"entry","regex":".*"},"name":"metasploit_name","readable_name":"Metasploit Name"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"MS0X-YZT","type":"entry","regex":"^MS[0-9]+-[0-9]+$"},"name":"msft","readable_name":"Microsoft Bulletin"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"NUMBER","type":"entry","regex":"^[0-9]+$","maxlength":18},"name":"osvdb","readable_name":"OSVDB ID"},{"operators":["date-lt","date-gt","date-eq","date-neq"],"control":{"readable_regex":"YYYY/MM/DD","type":"datefield","regex":"^[0-9]{4}/[0-9]{2}/[0-9]{2}$"},"name":"patch_publication_date","readable_name":"Patch Publication Date"},{"operators":["match","nmatch"],"control":{"readable_regex":"TEXT","type":"entry","regex":".*"},"name":"description","readable_name":"Plugin Description"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"NUMBER","type":"entry","regex":"^[0-9, ]+$","maxlength":9},"name":"plugin_id","readable_name":"Plugin ID"},{"operators":["date-lt","date-gt","date-eq","date-neq"],"control":{"readable_regex":"YYYY/MM/DD","type":"datefield","regex":"^[0-9]{4}/[0-9]{2}/[0-9]{2}$"},"name":"plugin_modification_date","readable_name":"Plugin Modification Date"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"TEXT","type":"entry","regex":".*"},"name":"plugin_name","readable_name":"Plugin Name"},{"operators":["date-lt","date-gt","date-eq","date-neq"],"control":{"readable_regex":"YYYY/MM/DD","type":"datefield","regex":"^[0-9]{4}/[0-9]{2}/[0-9]{2}$"},"name":"plugin_publication_date","readable_name":"Plugin Publication Date"},{"operators":["eq","neq"],"control":{"type":"dropdown","list":["local","remote"]},"name":"plugin_type","readable_name":"Plugin Type"},{"operators":["eq","neq"],"control":{"type":"dropdown","list":["None","Low","Medium","High","Critical"]},"name":"risk_factor","readable_name":"Risk Factor"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"NUMBER","type":"entry","regex":"^[0-9]+$","maxlength":18},"name":"secunia","readable_name":"Secunia ID"},{"operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"TEXT","type":"entry","regex":".*"},"name":"see_also","readable_name":"See Also"},{"operators":["match","nmatch"],"control":{"readable_regex":"TEXT","type":"entry","regex":".*"},"name":"solution","readable_name":"Solution"},{"operators":["match","nmatch"],"control":{"readable_regex":"TEXT","type":"entry","regex":".*"},"name":"synopsis","readable_name":"Synopsis"},{"operators":["eq","neq"],"control":{"type":"dropdown","list":["true","false"]},"name":"unsupported_by_vendor","readable_name":"Unsupported By Vendor"},{"operators":["date-lt","date-gt","date-eq","date-neq"],"control":{"readable_regex":"YYYY/MM/DD","type":"datefield","regex":"^[0-9]{4}/[0-9]{2}/[0-9]{2}$"},"name":"vuln_publication_date","readable_name":"Vulnerability Publication Date"}],"name":"custom"}}}}}},"403":{"description":"Returned if you do not have permission to open the object."},"404":{"description":"Returned if Tenable.io cannot find the specified object."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"editor-list-templates","tags":["Editor"],"parameters":[{"description":"The type of templates to retrieve (scan or policy).","required":true,"name":"type","in":"path","schema":{"type":"string","enum":["scan","policy"]}}],"responses":{"200":{"description":"Returns the template list.","content":{"application/json":{"schema":{"type":"array","description":"The list of available templates.","items":{"type":"object","description":"Templates are used to create scans or policies with predefined parameters.","properties":{"unsupported":{"type":"boolean","description":"If true, template is not supported."},"cloud_only":{"type":"boolean","description":"If true, template is only available on the cloud."},"desc":{"type":"string","description":"The description of the template."},"subscription_only":{"type":"boolean","description":"If true, the template is only available for subscribers."},"is_was":{"type":"boolean","description":"If true, the template is for Web Application Scanning."},"title":{"type":"string","description":"The long name of the template."},"is_agent":{"type":"boolean","description":"If true, the template is for agent scans."},"uuid":{"type":"string","description":"The UUID for the template."},"manager_only":{"type":"boolean","description":"If true, can only be used by manager."},"name":{"type":"string","description":"The short name of the template."}}}},"examples":{"response":{"value":{"templates":[{"unsupported":false,"cloud_only":false,"desc":"A full system scan suitable for any host.","order":null,"subscription_only":false,"is_was":null,"title":"Basic Network Scan","is_agent":null,"uuid":"731a8e52-3ea6-a291-ec0a-d2ff0619c19d7bd788d6be818b65","manager_only":false,"name":"basic"},{"unsupported":false,"cloud_only":false,"desc":"Audit systems connected via Nessus Agents.","order":null,"subscription_only":false,"is_was":null,"title":"Policy Compliance Auditing","is_agent":true,"uuid":"523c833f-e434-a05f-5a52-0c0c2c160b7cd9c901634c382c2d","manager_only":false,"name":"agent_compliance"},{"unsupported":false,"cloud_only":false,"desc":"Scan for malware on systems connected via Nessus Agents.","order":null,"subscription_only":false,"is_was":null,"title":"Malware Scan","is_agent":true,"uuid":"fc2fa8b3-028b-83e8-2ebd-4705d0de38bc621fbb0e783517bc","manager_only":false,"name":"agent_malware"}]}}}}}},"403":{"description":"Returned if you do not have permission to view the list."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"editor-template-details","tags":["Editor"],"parameters":[{"description":"The type of template to retrieve (scan or policy).","required":true,"name":"type","in":"path","schema":{"type":"string","enum":["scan","policy"]}},{"description":"The UUID for the template.","required":true,"name":"template_uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the template details. Note that the fields can vary for different template types.","content":{"application/json":{"schema":{"type":"object","properties":{"is_was":{"type":"boolean","description":"If `true`, the template is for Web Application Scanning. For Vulnerability Management, this value is always `null`."},"title":{"type":"string","description":"The long name of the template."},"name":{"type":"string","description":"The short name of the template."},"is_agent":{"type":"boolean","description":"If `true`, the template is for agent scans."},"filter_attributes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The short name of the filter."},"readable_name":{"type":"string","description":"The long name of the filter."},"operators":{"description":"The comparison options for the filter.","type":"array","items":{"type":"object"}},"control":{"type":"object","properties":{"type":{"type":"string","description":"The input type (entry or dropdown)."},"readable_regest":{"type":"string","description":"The placeholder for the input."},"regex":{"type":"string","description":"A regex for checking the value of the input."},"options":{"description":"A list of options if the input is a dropdown.","type":"array","items":{"type":"object"}}}}}}},"settings":{"description":"Scan or policy settings organized into the Basic, Discovery, Assessment, Report, and Advanced configuration categories.","type":"object","properties":{"basic":{"type":"object","description":"The Basic scan settings are used to specify certain organizational and security-related aspects of the scan or policy, including the name of the scan, its targets, whether the scan is scheduled, and who has access to the scan, among other settings."},"discovery":{"type":"object","description":"The Discovery settings relate to discovery and port scanning, including port ranges and methods."},"assessment":{"type":"object","description":"You can use Assessment settings to configure how a scan identifies vulnerabilities, as well as what vulnerabilities are identified. This includes identifying malware, assessing the vulnerability of a system to brute force attacks, and the susceptibility of web applications."},"advanced":{"type":"object","description":"The Advanced settings provide increased control over scan efficiency and the operations of a scan, as well as the ability to enabled plugin debugging."}}},"credentials":{"description":"Credentials that grant the scanner access to the target system without requiring an agent. Credentialed scans can perform a wider variety of checks than non-credentialed scans, which can result in more accurate scan results. This facilitates scanning of a very large network to determine local exposures or compliance violations. You can configure credentials for Cloud Services, Database, Host, Miscellaneous, Mobile Device Management, and Plaintext Authentication.","type":"object","properties":{}},"compliance":{"description":"Plugins options enables you to select security checks by Plugin Family or individual plugins checks.","type":"object","properties":{}},"plugins":{"description":"The settings for compliance audit checks.","type":"object","properties":{}}}},"examples":{"response":{"value":{"is_was":null,"user_permissions":null,"owner":null,"title":"Host Discovery","is_agent":null,"uuid":"bbd4f805-3966-d464-b2d1-0079eb89d69708c3a05ec2812bcf","settings":{"basic":{"inputs":[{"type":"entry","name":"Name","id":"name","required":true},{"type":"textarea","name":"Description","id":"description"},{"type":"select","id":"include_aggregate","name":"Scan results","default":true,"options":[{"name":"Keep private","value":"false"},{"name":"Show in dashboard","value":"true"}]},{"type":"select","id":"folder_id","name":"Folder","options":[{"name":"My Scans","id":9},{"name":"Trash","id":8}]},{"type":"select","id":"use_dashboard","name":"Dashboard","default":false,"options":[{"name":"Enabled","value":"true"},{"name":"Disabled","value":"false"}]},{"type":"select","id":"scanner_id","name":"Scanner","default":null,"options":[{"id":"00000000-0000-0000-0000-00000000000000000000000000001","name":"US Cloud Scanner","type":"local","network_name":"Default","linked":true,"status":"on"},{"id":"1b895828-62a9-5084-8bc5-d4864a927fb10523d1e84e3fef44","name":"AP Singapore Cloud Scanners","type":"local","network_name":"Default","linked":true,"status":"on"},{"id":"cdf44a84-b547-b66c-d997-920aa1e897cc7165fe2e344196bb","name":"Demo Scanner","type":"local","network_name":"Default","linked":true,"status":"on"},{"id":"06ab826a-301d-7829-d2c4-37f400c0f949ea8cce60f523eeef","name":"EU Frankfurt Cloud Scanners","type":"local","network_name":"Default","linked":true,"status":"on"},{"id":"15e29fb5-c378-4803-37f7-67752912247e812e6cf942b4fd2e","name":"US East Cloud Scanners","type":"local","network_name":"Default","linked":true,"status":"on"},{"id":"37b315c1-f31f-cc8e-7e78-585c609fc1d7eba88f8d1e7d24b3","name":"US West Cloud Scanners","type":"local","network_name":"Default","linked":true,"status":"on"}]},{"type":"multi_select","deprecated_by":"target_groups","id":"asset_lists","name":"Target Groups","default":[],"options":[{"acls":[{"permissions":64,"owner":null,"display_name":null,"name":null,"id":null,"type":"default"},{"permissions":128,"owner":1,"display_name":"system","name":"nessus_ms_agent","id":1,"type":"user"},{"permissions":64,"owner":0,"display_name":"user@example.com","name":"user@example.com","id":2,"type":"user"}],"default_list":0,"type":"system","members":"host.domain.com, host1.domain.com","name":"modified_test_group_yet_again_and-again","owner":"nessus_ms_agent","shared":1,"user_permissions":64,"last_modification_date":1533583518,"creation_date":1533577166,"owner_id":1,"id":13},{"acls":[{"permissions":64,"owner":null,"display_name":null,"name":null,"id":null,"type":"default"},{"permissions":128,"owner":1,"display_name":"system","name":"nessus_ms_agent","id":1,"type":"user"},{"permissions":64,"owner":0,"display_name":"user@example.com","name":"user@example.com","id":2,"type":"user"}],"default_list":0,"type":"system","members":"testtest1","name":"test group","owner":"nessus_ms_agent","shared":1,"user_permissions":64,"last_modification_date":1533580228,"creation_date":1533246042,"owner_id":1,"id":12}]},{"type":"textarea","id":"text_targets","name":"Targets","placeholder":"Example: 172.204.81.57-172.204.81.60, 172.156.65.8/24, test.com","required":true},{"type":"file","id":"file_targets","name":"Upload Targets"}],"title":"Basic","groups":[{"title":"Schedule","name":"schedule"},{"inputs":[{"type":"textarea","name":"Email Recipient(s)","placeholder":"Example: me@example.com, you@example.com"}],"title":"Notifications","name":"email","filters":[]},{"title":"Permissions","name":"permissions","acls":null}],"sections":[]},"discovery":{"inputs":null,"modes":{"id":"discovery_mode","name":"mode","type":"ui_radio","default":"Host enumeration","options":[{"desc":"Requires STANDARD [32] user permissions. See Permissions.
","operationId":"editor-plugin-description","tags":["Editor"],"parameters":[{"description":"The ID of the policy to look up.","required":true,"name":"policy_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the family to lookup within the policy.","required":true,"name":"family_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the plugin to lookup within the family.","required":true,"name":"plugin_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the plugin output.","content":{"application/json":{"schema":{"type":"object","properties":{"plugindescription":{"description":"The detailed information for a Tenable.io plugin.","type":"object","properties":{"severity":{"type":"string","description":"The severity level of the vulnerabilities targeted by the plugin"},"pluginname":{"type":"string","description":"The name of the plugin."},"pluginattributes":{"type":"object","description":"The attributes of the plugin, including synopsis, description, solution, and risk information."},"pluginfamily":{"type":"string","description":"The name of the plugin family."},"pluginid":{"type":"integer","description":"The ID of the plugin."}}}}},"examples":{"response":{"value":{"plugindescription":{"severity":null,"pluginname":"Ubuntu 10.04 LTS / 10.10 / 11.04 / 11.10 : clamav vulnerability (USN-1258-1)","pluginattributes":{"synopsis":"The remote Ubuntu host is missing a security-related patch.","description":"Stephane Chazelas discovered the bytecode engine of ClamAV improperly handled recursion under certain circumstances. This could allow a remote attacker to craft a file that could cause ClamAV to crash, resulting in a denial of service.\n\nNote that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.","risk_information":{"cvss_vector":"CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P","risk_factor":"Medium","cvss_base_score":"4.3","cvss_temporal_score":"3.2","cvss_temporal_vector":"CVSS2#E:U/RL:OF/RC:C"},"ref_information":{"ref":[{"name":"bid","values":{"value":["50183"]},"url":"http://www.securityfocus.com/bid/"},{"name":"usn","values":{"value":["1258-1"]},"ext":"/","url":"http://www.ubuntu.com/usn/usn-"},{"name":"cve","values":{"value":["CVE-2011-3627"]},"url":"http://web.nvd.nist.gov/view/vuln/detail?vulnId="}]},"plugin_name":"Ubuntu 10.04 LTS / 10.10 / 11.04 / 11.10 : clamav vulnerability (USN-1258-1)","see_also":["https://usn.ubuntu.com/1258-1/"],"fname":"ubuntu_USN-1258-1.nasl","usn":"1258-1","plugin_information":{"plugin_version":"1.8","plugin_id":56777,"plugin_type":"local","plugin_publication_date":"2011/11/11","plugin_family":"Ubuntu Local Security Checks","plugin_modification_date":"2018/12/01"},"solution":"Update the affected libclamav6 package.","vuln_information":{"cpe":"cpe:/o:canonical:ubuntu_linux:10.04:-:lts\ncpe:/o:canonical:ubuntu_linux:10.10\ncpe:/o:canonical:ubuntu_linux:11.04\ncpe:/o:canonical:ubuntu_linux:11.10","exploitability_ease":"No known exploits are available","exploit_available":"false","patch_publication_date":"2011/11/10"}},"pluginfamily":"Ubuntu Local Security Checks","pluginid":"56777"}}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN EDIT [32] policy permissions. See Permissions.
","operationId":"editor-audits","tags":["Editor"],"parameters":[{"description":"The type of template to retrieve (scan or policy).","required":true,"name":"type","in":"path","schema":{"type":"string","enum":["scan","policy"]}},{"description":"The unique ID of the object.","required":true,"name":"object_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the file to export.","required":true,"name":"file_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the audit file.","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"},"examples":{"response":{"value":"#\r\n# (C) 2013-2017 Tenable, Inc.\r\n#\r\n# This script is released under the Tenable Subscription License and\r\n# may not be used from within scripts released under another license\r\n# without authorization from Tenable Network Security, Inc.\r\n#\r\n# See the following licenses for details:\r\n#\r\n# http://static.tenable.com/prod_docs/Nessus_6_SLA_and_Subscription_Agreement.pdf\r\n#\r\n# @PROFESSIONALFEED@\r\n# $Revision: 1.0 $\r\n# $Date: 2018/01/02 $\r\n#\r\n# Description:\r\n#\r\n# This document consists of a list of general Red Hat Linux best practices as suggested by the IT-Grundschutz BSI-Standard 100-2.\r\n# Tenable has made a best effort to map the settings specified in the standard to a proprietary\r\n# .audit format that will be used by the Unix compliance module to perform the audit.\r\n#\r\n# See Also :\r\n# https://www.bsi.bund.de/cae/servlet/contentblob/471430/publicationFile/28223/standard_100-2_e_pdf.pdf\r\n# https://www.bsi.bund.de/SharedDocs/Downloads/EN/BSI/Grundschutz/download/it-grundschutz-kataloge_2005_pdf_en_zip.zip?__blob=publicationFile\r\n#\r\n#Requires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"exclusions-create","tags":["Exclusions"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the exclusion."},"description":{"type":"string","description":"The description of the exclusion."},"members":{"type":"string","description":"The targets that you want excluded from scans. Specify multiple targets as a comma-separated string. Targets can be in the following formats:\n - an individual IPv4 address (192.168.1.1)\n - a range of IPv4 addresses (192.168.1.1-192.168.1.255)\n - CIDR notation (192.168.2.0/24)\n - a fully-qualified domain name (FQDN) (host.domain.com)"},"schedule":{"type":"object","description":"The schedule parameters for the exclusion.","properties":{"enabled":{"type":"boolean","description":"If `true`, the exclusion schedule is active."},"starttime":{"type":"string","description":"The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"endtime":{"type":"string","description":"The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"timezone":{"type":"string","description":"The timezone for the exclusion as returned by [scans: timezones](/reference#scans-timezones)."},"rrules":{"type":"object","description":"The recurrence rules for the exclusion.","properties":{"freq":{"type":"string","description":"The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY)."},"interval":{"type":"integer","description":"The interval of the rule."},"byweekday":{"type":"string","description":"A comma-separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA)."},"bymonthday":{"type":"integer","description":"The day of the month to repeat a MONTHLY freq rule on."}}}}},"network_id":{"type":"string","description":"The ID of the network object associated with scanners where Tenable.io applies the exclusion. The default network ID is `00000000-0000-0000-0000-000000000000`. To determine the ID of a custom network, use the [GET /networks](/reference#networks-list) endpoint. If you omit this parameter from the request message, Tenable.io automatically assigns the exclusion to the default network. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio)."}},"required":["name","members"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully creates the exclusion.","content":{"application/json":{"schema":{"type":"object","properties":{"schedule":{"type":"object","description":"The schedule parameters for the exclusion.","properties":{"enabled":{"type":"boolean","description":"If `true`, the exclusion schedule is active."},"starttime":{"type":"string","description":"The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"endtime":{"type":"string","description":"The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"timezone":{"type":"string","description":"The timezone for the exclusion as returned by [scans: timezones](/reference#scans-timezones)."},"rrules":{"type":"object","description":"The recurrence rules for the exclusion.","properties":{"freq":{"type":"string","description":"The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY)."},"interval":{"type":"integer","description":"The interval of the rule."},"byweekday":{"type":"string","description":"A comma-separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA)."},"bymonthday":{"type":"integer","description":"The day of the month to repeat a MONTHLY freq rule on."}}}}},"id":{"type":"integer","description":"The unique ID of the exclusion."},"name":{"type":"string","description":"The name of the exclusion."},"description":{"type":"string","description":"The description of the exclusion."},"members":{"type":"string","description":"The targets that you want excluded from scans. Specify multiple targets as a comma-separated string. Targets can be in the following formats:\n - an individual IPv4 address (192.168.1.1)\n - a range of IPv4 addresses (192.168.1.1-192.168.1.255)\n - CIDR notation (192.168.2.0/24)\n - a fully-qualified domain name (FQDN) (host.domain.com)"},"creation_date":{"type":"integer","description":"The creation date of the exclusion in Unix time."},"network_id":{"type":"string","description":"The ID of the network object associated with scanners where Tenable.io applies the exclusion. The default network ID is `00000000-0000-0000-0000-000000000000`. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio)."},"last_modification_date":{"type":"integer","description":"The last modification date for the exclusion in Unix time."}}},"examples":{"response":{"value":{"schedule":{"endtime":null,"enabled":false,"rrules":null,"timezone":null,"starttime":null},"network_id":"00000000-0000-0000-0000-000000000000","last_modification_date":1544459404,"creation_date":1544459404,"members":"192.168.1.1-192.168.1.255,192.168.2.0/24,host.domain.com","description":null,"name":"Western Region","id":1}}}}}},"400":{"description":"Returned if your request message contains invalid parameters."},"403":{"description":"Returned if you do not have permission to create an exclusion."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"exclusions-list","tags":["Exclusions"],"responses":{"200":{"description":"Returns the exclusions.","content":{"application/json":{"schema":{"type":"array","description":"A list of exclusion objects.","items":{"type":"object","properties":{"schedule":{"type":"object","description":"The schedule parameters for the exclusion.","properties":{"enabled":{"type":"boolean","description":"If `true`, the exclusion schedule is active."},"starttime":{"type":"string","description":"The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"endtime":{"type":"string","description":"The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"timezone":{"type":"string","description":"The timezone for the exclusion as returned by [scans: timezones](/reference#scans-timezones)."},"rrules":{"type":"object","description":"The recurrence rules for the exclusion.","properties":{"freq":{"type":"string","description":"The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY)."},"interval":{"type":"integer","description":"The interval of the rule."},"byweekday":{"type":"string","description":"A comma-separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA)."},"bymonthday":{"type":"integer","description":"The day of the month to repeat a MONTHLY freq rule on."}}}}},"id":{"type":"integer","description":"The unique ID of the exclusion."},"name":{"type":"string","description":"The name of the exclusion."},"description":{"type":"string","description":"The description of the exclusion."},"members":{"type":"string","description":"The targets that you want excluded from scans. Specify multiple targets as a comma-separated string. Targets can be in the following formats:\n - an individual IPv4 address (192.168.1.1)\n - a range of IPv4 addresses (192.168.1.1-192.168.1.255)\n - CIDR notation (192.168.2.0/24)\n - a fully-qualified domain name (FQDN) (host.domain.com)"},"creation_date":{"type":"integer","description":"The creation date of the exclusion in Unix time."},"network_id":{"type":"string","description":"The ID of the network object associated with scanners where Tenable.io applies the exclusion. The default network ID is `00000000-0000-0000-0000-000000000000`. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio)."},"last_modification_date":{"type":"integer","description":"The last modification date for the exclusion in Unix time."}}}},"examples":{"response":{"value":{"exclusions":[{"schedule":{"endtime":null,"enabled":false,"rrules":null,"timezone":null,"starttime":null},"network_id":"00000000-0000-0000-0000-000000000000","last_modification_date":1544459404,"creation_date":1544459404,"members":"192.168.1.1-192.168.1.255,192.168.2.0/24,host.domain.com","description":null,"name":"Western Region","id":1}]}}}}}},"403":{"description":"Returned if you do not have permission to view the exclusions."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"exclusions-import","tags":["Exclusions"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"file":{"type":"string","description":"The name of the file to import as provided by the response from file: upload."}},"required":["file"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully imports the exclusion file.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"exclusions-details","tags":["Exclusions"],"parameters":[{"description":"The ID of the exclusion.","required":true,"name":"exclusion_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the exclusion details.","content":{"application/json":{"schema":{"type":"object","properties":{"schedule":{"type":"object","description":"The schedule parameters for the exclusion.","properties":{"enabled":{"type":"boolean","description":"If `true`, the exclusion schedule is active."},"starttime":{"type":"string","description":"The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"endtime":{"type":"string","description":"The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"timezone":{"type":"string","description":"The timezone for the exclusion as returned by [scans: timezones](/reference#scans-timezones)."},"rrules":{"type":"object","description":"The recurrence rules for the exclusion.","properties":{"freq":{"type":"string","description":"The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY)."},"interval":{"type":"integer","description":"The interval of the rule."},"byweekday":{"type":"string","description":"A comma-separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA)."},"bymonthday":{"type":"integer","description":"The day of the month to repeat a MONTHLY freq rule on."}}}}},"id":{"type":"integer","description":"The unique ID of the exclusion."},"name":{"type":"string","description":"The name of the exclusion."},"description":{"type":"string","description":"The description of the exclusion."},"members":{"type":"string","description":"The targets that you want excluded from scans. Specify multiple targets as a comma-separated string. Targets can be in the following formats:\n - an individual IPv4 address (192.168.1.1)\n - a range of IPv4 addresses (192.168.1.1-192.168.1.255)\n - CIDR notation (192.168.2.0/24)\n - a fully-qualified domain name (FQDN) (host.domain.com)"},"creation_date":{"type":"integer","description":"The creation date of the exclusion in Unix time."},"network_id":{"type":"string","description":"The ID of the network object associated with scanners where Tenable.io applies the exclusion. The default network ID is `00000000-0000-0000-0000-000000000000`. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio)."},"last_modification_date":{"type":"integer","description":"The last modification date for the exclusion in Unix time."}}},"examples":{"response":{"value":{"schedule":{"endtime":null,"enabled":false,"rrules":null,"timezone":null,"starttime":null},"network_id":"00000000-0000-0000-0000-000000000000","last_modification_date":1544459404,"creation_date":1544459404,"members":"192.168.1.1-192.168.1.255,192.168.2.0/24,host.domain.com","description":null,"name":"Western Region","id":1}}}}}},"403":{"description":"Returned if you do not have permission to view the exclusion."},"404":{"description":"Returned if Tenable.io cannot find the specified exclusion."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"exclusions-edit","tags":["Exclusions"],"parameters":[{"description":"The ID of the exclusion to update.","required":true,"name":"exclusion_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the exclusion."},"description":{"type":"string","description":"The description of the exclusion."},"members":{"type":"string","description":"The targets that you want excluded from scans. Specify multiple targets as a comma-separated string. Targets can be in the following formats:\n - an individual IPv4 address (192.168.1.1)\n - a range of IPv4 addresses (192.168.1.1-192.168.1.255)\n - CIDR notation (192.168.2.0/24)\n - a fully-qualified domain name (FQDN) (host.domain.com)"},"schedule":{"type":"object","description":"The schedule parameters for the exclusion.","properties":{"enabled":{"type":"boolean","description":"If `true`, the exclusion schedule is active."},"starttime":{"type":"string","description":"The start time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"endtime":{"type":"string","description":"The end time of the exclusion formatted as `YYYY-MM-DD HH:MM:SS`."},"timezone":{"type":"string","description":"The timezone for the exclusion as returned by [scans: timezones](/reference#scans-timezones)."},"rrules":{"type":"object","description":"The recurrence rules for the exclusion.","properties":{"freq":{"type":"string","description":"The frequency of the rule (ONETIME, DAILY, WEEKLY, MONTHLY, YEARLY)."},"interval":{"type":"integer","description":"The interval of the rule."},"byweekday":{"type":"string","description":"A comma-separated string of days to repeat a WEEKLY freq rule on (SU,MO,TU,WE,TH,FR, or SA)."},"bymonthday":{"type":"integer","description":"The day of the month to repeat a MONTHLY freq rule on."}}}}},"network_id":{"type":"string","description":"The ID of the network object associated with scanners where Tenable.io applies the exclusion. The default network ID is `00000000-0000-0000-0000-000000000000`. To determine the ID of a custom network, use the [GET /networks](/reference#networks-list) endpoint. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio)."}}}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully modifies the exclusion.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if you do not have permission to modify the exclusion."},"404":{"description":"Returned if Tenable.io cannot find the specified exclusion."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"exclusions-delete","tags":["Exclusions"],"parameters":[{"description":"The ID of the exclusion to delete.","required":true,"name":"exclusion_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully deletes the exclusion.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if you do not have permission to delete the exclusion."},"404":{"description":"Returned if Tenable.io cannot find the specified exclusion."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"exports-vulns-request-export","tags":["Exports"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"num_assets":{"type":"integer","description":"The maximum number of vulnerabilities per exported chunk. Note that this number does not represent the number of assets per chunk. Instead, it is equal to the number of assets times the number of vulnerabilities on each asset. The range of supported chunk sizes is a minimum of 50 (the default size) to a maximum of 5,000. If you specify a value outside this range, the system uses the upper- or lower-bound value.","format":"int32"},"filters":{"type":"object","description":"Specifies filters for exported vulnerabilities. For example filters, see Refine Vulnerability Export Requests.","properties":{"cidr_range":{"description":"Restricts search for vulnerabilities to assets assigned an IP address within the specified CIDR range. For example, 0.0.0.0/0 restricts the search to 0.0.0.1 and 255.255.255.254.","type":"string"},"first_found":{"type":"integer","description":"Returns vulnerabilities that were first found between the specified date (in Unix time) and now.","format":"int64"},"last_found":{"type":"integer","description":"Returns vulnerabilities that were last found between the specified date (in Unix time) and now.","format":"int64"},"last_fixed":{"type":"integer","description":"Returns vulnerabilities that were fixed between the specified date (in Unix time) and now.","format":"int64"},"plugin_family":{"items":{"type":"string"},"description":"The plugin family of the exported vulnerabilities. This filter is case-sensitive. If your request omits this parameter, the export includes all vulnerabilities, regardless of plugin family. For a list of supported plugin family values, use the /plugins/families endpoint.","type":"array"},"network_id":{"type":"string","description":"The ID of the network object associated with scanners that detected the vulnerabilities you want to export. The default network ID is `00000000-0000-0000-0000-000000000000`. To determine the ID of a custom network, use the [GET /networks](/reference#networks-list) endpoint. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio)."},"severity":{"items":{"type":"string"},"description":"The severity of the vulnerabilities to include in the export. Defaults to all severity levels. The severity of a vulnerability is defined using the Common Vulnerability Scoring System (CVSS) base score. Supported array values are:\n - info—The vulnerability has a CVSS score of 0.\n - low—The vulnerability has a CVSS score between 0.1 and 3.9.\n - medium—The vulnerability has a CVSS score between 4.0 and 6.9.\n - high—The vulnerability has a CVSS score between 7.0 and 9.9.\n - critical—The vulnerability has a CVSS score of 10.0.","type":"array"},"since":{"type":"integer","description":"The start date (in Unix time) for the range of data you want to export. Use this filter in conjunction with the state filter as follows:\n - If the state filter is set to `open`, the export includes data for vulnerabilities that were first seen on or after the since date you specify.\n - If the state filter is set to `reopened`, the export includes data for vulnerabilities that were last seen on or after the since date you specify.\n - If the state filter is set to `fixed`, the export includes data for vulnerabilities that were fixed on or after the since date you specify.\n - If you do not include the state filter in your request, the export includes data for open vulnerabilities that were first seen on or after the since date you specify, AND reopened vulnerabilities that were last seen on or after the since date you specify.\n**Note:** This filter cannot be used in conjunction with the `first_found`, `last_found`, or `last_fixed` filters.","format":"int64"},"state":{"items":{"type":"string"},"description":"The state of the vulnerabilities you want the export to include. Supported, case-insensitive values are:\n - open—The vulnerability is currently present on a host.\n - reopened—The vulnerability was previously marked as fixed on a host, but has returned.\n - fixed—The vulnerability was present on a host, but is no longer detected.\n\nThis parameter is required if your request includes `first_found`, `last_found`, or `last_fixed` parameters. If your request omits this parameter, the export includes default states `open` and `reopened` only.","type":"array"},"tag.Requires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"exports-vulns-export-status","tags":["Exports"],"parameters":[{"description":"The UUID for the export request.","required":true,"name":"export_uuid","in":"path","schema":{"type":"string","description":"The unique identifier of an export request. This value corresponds to the value returned in the /vulns/export response message."}}],"responses":{"200":{"description":"Returns the status of the specified export job.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"The status of the export request. Possible values include:\n - QUEUED—Tenable.io has queued the export request until it completes other requests currently in process.\n - PROCESSING—Tenable.io has started processing the export request.\n - FINISHED—Tenable.io has completed processing the export request. The list of chunks is complete.\n - CANCELLED—An administrator has cancelled the export request.\n - ERROR—Tenable.io encountered an error while processing the export request. Tenable recommends that you retry the request. If the status persists on retry, contact Support."},"chunks_available":{"type":"array","description":"A list of completed chunks available for download.","items":{"type":"integer","format":"int32"}},"chunks_failed":{"type":"array","description":"A list of chunks for which the export process failed. If a chunk fails processing, submit the export request again. If the chunk continues to fail, contact Support.","items":{"type":"integer","format":"int32"}},"chunks_cancelled":{"type":"array","description":"A list of chunks for which the export process was cancelled. If a chunk fails processing, Tenable.io automatically cancels all subsequent chunks queued for export in the same request. ","items":{"type":"integer","format":"int32"}}}},"examples":{"response":{"value":{"status":"PROCESSING","chunks_available":[1,2,3,4,5,6,8],"chunks_failed":[],"chunks_cancelled":[]}}}}}},"403":{"description":"Returned if you do not have permission to view the export status."},"404":{"description":"Returned if Tenable.io cannot find an export job with the specified UUID."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"exports-vulns-download-chunk","tags":["Exports"],"parameters":[{"description":"The UUID of the export request.","required":true,"name":"export_uuid","in":"path","schema":{"type":"string"}},{"description":"The ID of the chunk you want to export.","required":true,"name":"chunk_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if file is downloaded successfully.","content":{"application/json":{"schema":{"type":"object","description":"A chunk of vulnerabilities information.","properties":{"asset":{"type":"array","description":"Information about the asset where the scan detected the vulnerability.","items":{"type":"object","properties":{"agent_uuid":{"type":"string","description":"The UUID of the agent that performed the scan where the vulnerability was found."},"bios_uuid":{"type":"string","description":"The BIOS UUID of the asset where the vulnerability was found."},"device_type":{"type":"string","description":"The type of asset where the vulnerability was found."},"fqdn":{"type":"string","description":"The fully-qualified domain name of the asset where a scan found the vulnerability."},"hostname":{"type":"string","description":"The host name of the asset where a scan found the vulnerability."},"uuid":{"type":"string","description":"The UUID of the asset where a scan found the vulnerability."},"ipv6":{"type":"string","description":"The IPv6 address of the asset where a scan found the vulnerability."},"last_authenticated_results":{"type":"string","description":"The last date credentials were used successfully to scan the asset."},"last_unauthenticated_results":{"type":"string","description":"The last date when the asset was scanned without using credentials"},"mac_address":{"type":"string","description":"The MAC address of the asset where a scan found the vulnerability."},"netbios_name":{"type":"string","description":"The NETBIOS name of the asset where a scan found the vulnerability."},"netbios_workgroup":{"type":"string","description":"The NETBIOS workgroup of the asset where a scan found the vulnerability."},"operating_system":{"type":"string","description":"The operating system of the asset where a scan found the vulnerability."},"network_id":{"type":"string","description":"The ID of the network object associated with scanners that identified the asset. The default network ID is `00000000-0000-0000-0000-000000000000`. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio)."},"tracked":{"type":"boolean","description":"A value specifying whether Tenable.io tracks the asset in the asset management system. Tenable.io still assigns untracked assets identifiers in scan results, but these identifiers change with each new scan of the asset. This parameter is relevant to PCI-type scans and in certain cases where there is not enough information in a scan to identify the asset. Untracked assets appear in the scan history, but do not appear in workbenches or reports."}}}},"output":{"type":"string","description":"The text output of the Nessus scanner."},"plugin":{"type":"array","description":"Information about the plugin that detected the vulnerability.","items":{"type":"object","properties":{"bid":{"type":"integer","description":"The Bugtraq ID for the plugin."},"canvas_package":{"type":"string","description":"The name of the CANVAS exploit pack that includes the vulnerability."},"checks_for_default_account":{"type":"boolean","description":"A value specifying whether the plugin checks for default accounts."},"checks_for_malware":{"type":"boolean","description":"A value specifying whether the plugin checks for malware."},"cpe":{"type":"string","description":"The Common Platform Enumeration (CPE) number for the plugin."},"cve":{"type":"string","description":"The Common Vulnerability and Exposure (CVE) ID for the plugin."},"cvss3_base_score":{"type":"string","description":"The CVSSv3 base score (intrinsic and fundamental characteristics of a vulnerability that are constant over time and user environments)."},"cvss3_temporal_score":{"type":"string","description":"The CVSSv3 temporal score (characteristics of a vulnerability that change over time but not among user environments)."},"cvss3_temporal_vector":{"type":"array","description":"CVSSv3 temporal metrics for the vulnerability.","items":{"type":"object","properties":{"Exploitability":{"type":"string","description":"The CVSSv2 Exploit Maturity Code (E) for the vulnerability the plugin covers. Possible values include: \n - Unproven—Corresponds to the Unproven (U) value for the E metric\n - Proof-of-concept—Corresponds to the Proof-of-Concept (POC) value for the E metric\n - Functional—Corresponds to the Functional (F) value for the E metric\n - High—Corresponds to the High (H) value for the E metric\n - Not-defined—Corresponds to the Not Defined (ND) value for the E metric"},"RemediationLevel":{"type":"string","description":"The CVSSv3 Remediation Level (RL) temporal metric for the vulnerability the plugin covers. Possible values include: \n - O—Official Fix\n - T—Temporary Fix\n - W—Workaround\n - U—Unavailable\n - X—Not Defined"},"ReportConfidence":{"type":"string","description":"The CVSSv3 Report Confidence (RC) temporal metric for the vulnerability the plugin covers. Possible values include: \n - U—Unknown\n - R—Reasonable\n - C—Confirmed\n - X—Not Defined"}}}},"cvss3_vector":{"type":"array","description":"Additional CVSSv3 metrics for the vulnerability.","items":{"type":"object","properties":{"AccessComplexity":{"type":"string","description":"The CVSSv3 Access Complexity (AC) metric for the vulnerability the plugin covers. Possible values include: \n - H—High\n - M—Medium\n - L—Low"},"AccessVector":{"type":"string","description":"The CVSSv2 Attack Vector (AV) metric for the vulnerability the plugin covers. Possible values include:\n - Network—Corresponds to the Network (N) value for the AV metric. \n - Adjacent Network—Corresponds to the Adjacent Network (A) value for the AV metric. \n - Local—Corresponds to the Local (L) value for the AV metric"},"Authentication":{"type":"string","description":"The CVSSv2 Authentication (Au) metric for the vulnerability the plugin covers. Possible values include:\n - None required—Corresponds to the None (N) value for the Au metric. \n - Requires-single-instance—Corresponds to the Single (S) value for the Au metric. \n - Requires-multiple-instances—Corresponds to the Multiple (M) value for the Au metric"},"Availability-Impact":{"type":"string","description":"The CVSSv2 availability impact metric for the vulnerability the plugin covers. Possible values include: \n - H—High\n - L—Low\n - N—None"},"Confidentiality-Impact":{"type":"string","description":"The CVSSv3 confidentiality impact metric of the vulnerability the plugin covers to the vulnerable component. Possible values include: \n - H—High\n - L—Low\n - N—None"},"Integrity-Impact":{"type":"string","description":"The CVSSv3 integrity impact metric for the vulnerability the plugin covers. Possible values include:\n - H—High\n - L—Low\n - N—None"}}}},"cvss_base_score":{"type":"string","description":"The CVSSv2 base score (intrinsic and fundamental characteristics of a vulnerability that are constant over time and user environments)."},"cvss_temporal_score":{"type":"string","description":"The CVSSv2 temporal score (characteristics of a vulnerability that change over time but not among user environments)."},"cvss_temporal_vector":{"type":"array","description":"CVSSv2 temporal metrics for the vulnerability.","items":{"type":"object","properties":{"Exploitability":{"type":"string","description":"The CVSSv2 Exploitability (E) temporal metric for the vulnerability the plugin covers. Possible values include:\n - U—Unproven\n - POC—Proof-of-Concept\n - F—Functional\n - H—High\n - ND—Not Defined"},"RemediationLevel":{"type":"string","description":"The CVSSv2 Remediation Level (RL) temporal metric for the vulnerability the plugin covers. Possible values include: \n - OF—Official Fix\n - TF—Temporary Fix\n - W—Workaround\n - U—Unavailable\n - ND—Not Defined"},"ReportConfidence":{"type":"string","description":"The CVSSv2 Report Confidence (RC) temporal metric for the vulnerability the plugin covers. Possible values include: \n - UC—Unconfirmed\n - UR—Uncorroborated\n - C—Confirmed\n - ND—Not Defined"}}}},"cvss_vector":{"type":"array","description":"Additional CVSSv2 metrics for the vulnerability.","items":{"type":"object","properties":{"AccessComplexity":{"type":"string","description":"The CVSSv2 Access Complexity (AC) metric for the vulnerability the plugin covers. Possible values include:\n - H—High\n - M—Medium\n - L—Low"},"AccessVector":{"type":"string","description":"The CVSSv2 Access Vector (AV) metric for the vulnerability the plugin covers. Possible values include: \n - L—Local\n - A—Adjacent Network\n - N—Network"},"Authentication":{"type":"string","description":"The CVSSv2 Authentication (Au) metric for the vulnerability the plugin covers. Possible values include: \n - N—None\n - S—Single\n - M—Multiple"},"Availability-Impact":{"type":"string","description":"The CVSSv2 availability impact metric for the vulnerability the plugin covers. Possible values include: \n - N—None\n - P—Partial\n - C—Complete"},"Confidentiality-Impact":{"type":"string","description":"The CVSSv2 confidentiality impact metric for the vulnerability the plugin covers. Possible values include: \n - N—None\n - P—Partial\n - C—Complete"},"Integrity-Impact":{"type":"string","description":"The CVSSv2 integrity impact metric for the vulnerability the plugin covers. Possible values include: \n - N—None\n - P—Partial\n - C—Complete"}}}},"d2_elliot_name":{"type":"string","description":"The name of the exploit in the D2 Elliot Web Exploitation framework."},"description":{"type":"string","description":"Full text description of the vulnerability."},"exploit_available":{"type":"boolean","description":"A value specifying whether a public exploit exists for the vulnerability."},"exploit_framework_canvas":{"type":"boolean","description":"A value specifying whether an exploit exists in the Immunity CANVAS framework."},"exploit_framework_core":{"type":"boolean","description":"A value specifying whether an exploit exists in the CORE Impact framework."},"exploit_framework_d2_elliot":{"type":"boolean","description":"A value specifying whether an exploit exists in the D2 Elliot Web Exploitation framework."},"exploit_framework_exploithub":{"type":"boolean","description":"A value specifying whether an exploit exists in the ExploitHub framework."},"exploit_framework_metasploit":{"type":"boolean","description":"A value specifying whether an exploit exists in the Metasploit framework."},"exploitability_ease":{"type":"string","description":"Description of how easy it is to exploit the issue."},"exploited_by_malware":{"type":"boolean","description":"The vulnerability discovered by this plugin is known to be exploited by malware."},"exploited_by_nessus":{"type":"boolean","description":"A value specifying whether Nessus exploited the vulnerability during the process of identification."},"exploithub_sku":{"type":"string","description":"The SKU number of the exploit in the ExploitHub framework."},"family":{"type":"string","description":"The family to which plugin belongs."},"family_id":{"type":"integer","description":"The ID of the plugin family."},"has_patch":{"type":"boolean","description":"A value specifying whether the vendor has published a patch for the vulnerability."},"id":{"type":"integer","description":"The ID of the plugin that identified the vulnerability."},"in_the_news":{"type":"boolean","description":"A value specifying whether this plugin has received media attention (for example, ShellShock, Meltdown)."},"metasploit_name":{"type":"string","description":"The name of the related exploit in the Metasploit framework."},"ms_bulletin":{"type":"string","description":"The Microsoft security bulletin that the plugin covers."},"name":{"type":"string","description":"The name of the plugin that identified the vulnerability."},"patch_publication_date":{"type":"string","description":"The date on which the vendor published a patch for the vulnerability."},"modification_date":{"type":"string","description":"The date on which the plugin was last modified."},"publication_date":{"type":"string","description":"The date on which the plugin was published."},"risk_factor":{"type":"string","description":"The risk factor associated with the plugin. Possible values are: Low, Medium, High, or Critical."},"see_also":{"type":"string","description":"Links to external websites that contain helpful information about the vulnerability."},"solution":{"type":"string","description":"Remediation information for the vulnerability."},"stig_severity":{"type":"string","description":"Security Technical Implementation Guide (STIG) severity code for the vulnerability."},"synopsis":{"type":"string","description":"Brief description of the plugin or vulnerability."},"type":{"type":"string","description":"The general type of plugin check (for example, `local` or `remote`)."},"unsupported_by_vendor":{"type":"boolean","description":"Software found by this plugin is unsupported by the software's vendor (for example, Windows 95 or Firefox 3)."},"usn":{"type":"string","description":"Ubuntu security notice that the plugin covers."},"version":{"type":"string","description":"The version of the plugin used to perform the check."},"vuln_publication_date":{"type":"string","description":"The publication date of the plugin."},"xrefs":{"type":"string","description":"External references (for example, OSVDB, Secunia, or MS Advisory)."},"vpr":{"type":"object","description":"Information about the Vulnerability Priority Rating (VPR) for the vulnerability.","properties":{"score":{"type":"integer","description":"The Vulnerability Priority Rating (VPR) for the vulnerability. If a plugin is designed to detect multiple vulnerabilities, the VPR represents the highest value calculated for a vulnerability associated with the plugin. For more information, see Severity vs. VPR in the Tenable.io Vulnerability Management User Guide.","format":"int32"},"drivers":{"type":"object","description":"The key drivers Tenable uses to calculate a vulnerability's VPR. For more information, see Vulnerability Priority Rating Drivers.","properties":{}},"updated":{"type":"string","description":"The ISO timestamp when Tenable.io last imported the VPR for this vulnerability. Tenable.io imports a VPR value the first time you scan a vulnerability on your network. Then, Tenable.io automatically re-imports new and updated VPR values daily."}}}}}},"port":{"type":"array","description":"Information about the port the scanner used to connect to the asset.","items":{"type":"object","properties":{"port":{"type":"string","description":"The port the scanner used to communicate with the asset."},"protocol":{"type":"string","description":"The protocol the scanner used to communicate with the asset."},"service":{"type":"string","description":"The service the scanner used to communicate with the asset."}}}},"recast_reason":{"type":"string","description":"The text that appears in the Comment field of the recast rule in the Tenable.io user interface."},"recast_rule_uuid":{"type":"string","description":"The UUID of the recast rule that applies to the plugin."},"scan":{"type":"array","description":"Information about the latest scan that detected the vulnerability.","items":{"type":"object","properties":{"completed_at":{"type":"string","description":"The ISO timestamp when the scan completed."},"schedule_uuid":{"type":"string","description":"The schedule UUID for the scan that found the vulnerability."},"started_at":{"type":"string","description":"The ISO timestamp when the scan started."},"uuid":{"type":"string","description":"The UUID of the scan that found the vulnerability."}}}},"severity":{"type":"string","description":"The severity of the vulnerability as defined using the Common Vulnerability Scoring System (CVSS) base score. Possible values include `info` (CVSS score of 0), `low` (CVSS score between 0.1 and 3.9), `medium` (CVSS score between 4.0 and 6.9), `high` (CVSS score between 7.0 and 9.9), and `critical` (CVSS score of 10.0)."},"severity_id":{"type":"integer","format":"int32","description":"The code for the severity assigned when a user recast the risk associated with the vulnerability. Possible values include: \n - 0—The vulnerability has a CVSS score of 0, which corresponds to the \"info\" severity level.\n - 1—The vulnerability has a CVSS score between 0.1 and 3.9, which corresponds to the \"low\" severity level.\n - 2—The vulnerability has a CVSS score between 4.0 and 6.9, which corresponds to the \"medium\" severity level.\n - 3—The vulnerability has a CVSS score between 7.0 and 9.9, which corresponds to the \"high\" severity level.\n - 4—The vulnerability has a CVSS score of 10.0, which corresponds to the \"critical\" severity level."},"severity_default_id":{"type":"integer","format":"int32","description":"The code for the severity originally assigned to a vulnerability before a user recast the risk associated with the vulnerability. Possible values are the same as for the `severity_id` attribute."},"severity_modification_type":{"type":"string","description":"The type of modification a user made to the vulnerability's severity. Possible values include: \n - none—No modification has been made.\n - recasted—A user in the Tenable.io user interface has recast the risk associated with the vulnerability. \n - accepted—A user in the Tenable.io user interface has accepted the risk associated with the vulnerability. \n\nFor more information about recast and accept rules, see the Tenable.io Vulnerability Management User Guide."},"first_found":{"type":"string","description":"The ISO date when a scan first detected the vulnerability on the asset."},"last_fixed":{"type":"string","description":"The ISO date when a scan no longer detects the previously detected vulnerability on the asset."},"last_found":{"type":"string","description":"The ISO date when a scan last detected the vulnerability on the asset."},"state":{"type":"string","description":"The state of the vulnerability as determined by the Tenable.io state service. Possible values include: \n - open—The vulnerability is currently present on an asset. \n - reopened—The vulnerability was previously marked as fixed on an asset, but has been detected again by a new scan. \n - fixed—The vulnerability was present on an asset, but is no longer detected."}}},"examples":{"response":{"value":{"asset":{"fqdn":"example.com","hostname":"172.106.217.225","uuid":"150dee8f-6090-4a9c-907c-54a1c39ddab0","ipv4":"172.156.65.8","operating_system":["Apple Mac OS X 10.5.8"],"network_id":"00000000-0000-0000-0000-000000000000","tracked":true},"output":"The observed version of Google Chrome is : \n Chrome/21.0.1180.90","plugin":{"cve":["CVE-2016-1620","CVE-2016-1614","CVE-2016-1613","CVE-2016-1612","CVE-2016-1618","CVE-2016-1617","CVE-2016-1616","CVE-2016-1615","CVE-2016-1619"],"cvss_base_score":9.3,"cvss_temporal_score":6.9,"cvss_temporal_vector":{"exploitability":"Unproven","remediation_level":"Official-fix","report_confidence":"Confirmed","raw":"E:U/RL:OF/RC:C"},"cvss_vector":{"access_complexity":"Medium","access_vector":"Network","authentication":"None required","availability_impact":"Complete","confidentiality_impact":"Complete","integrity_impact":"Complete","raw":"AV:N/AC:M/Au:N/C:C/I:C/A:C"},"description":"The version of Google Chrome on the remote host is prior to 48.0.2564.82 and is affected by the following vulnerabilities: \n\n - An unspecified vulnerability exists in Google V8 when handling compatible receiver checks hidden behind receptors. An attacker can exploit this to have an unspecified impact. No other details are available. (CVE-2016-1612)\n - A use-after-free error exists in `PDFium` due to improper invalidation of `IPWL_FocusHandler` and `IPWL_Provider` upon destruction. An attacker can exploit this to dereference already freed memory, resulting in the execution of arbitrary code. (CVE-2016-1613)\n - An unspecified vulnerability exists in `Blink` that is related to the handling of bitmaps. An attacker can exploit this to access sensitive information. No other details are available. (CVE-2016-1614)\n - An unspecified vulnerability exists in `omnibox` that is related to origin confusion. An attacker can exploit this to have an unspecified impact. No other details are available. (CVE-2016-1615)\n - An unspecified vulnerability exists that allows an attacker to spoof a displayed URL. No other details are available. (CVE-2016-1616)\n - An unspecified vulnerability exists that is related to history sniffing with HSTS and CSP. No other details are available. (CVE-2016-1617)\n - A flaw exists in `Blink` due to the weak generation of random numbers by the ARC4-based random number generator. An attacker can exploit this to gain access to sensitive information. No other details are available. (CVE-2016-1618)\n - An out-of-bounds read error exists in `PDFium` in file `fx_codec_jpx_opj.cpp` in the `sycc4{22,44}_to_rgb()` functions. An attacker can exploit this to cause a denial of service by crashing the application linked using the library. (CVE-2016-1619)\n - Multiple vulnerabilities exist, the most serious of which allow an attacker to execute arbitrary code via a crafted web page. (CVE-2016-1620)\n - A flaw in `objects.cc` is triggered when handling cleared `WeakCells`, which may allow a context-dependent attacker to have an unspecified impact. No further details have been provided. (CVE-2016-2051)","family":"Web Clients","family_id":1000020,"has_patch":false,"id":9062,"name":"Google Chrome < 48.0.2564.82 Multiple Vulnerabilities","risk_factor":"HIGH","see_also":["http://googlechromereleases.blogspot.com/2016/01/beta-channel-update_20.html"],"solution":"Update the Chrome browser to 48.0.2564.82 or later.","synopsis":"The remote host is utilizing a web browser that is affected by multiple vulnerabilities.","vpr":{"score":5.9,"drivers":{"age_of_vuln":{"lower_bound":366,"upper_bound":730},"exploit_code_maturity":"UNPROVEN","cvss_impact_score_predicted":false,"cvss3_impact_score":5.9,"threat_intensity_last28":"VERY_LOW","threat_sources_last28":["No recorded events"],"product_coverage":"LOW"},"updated":"2019-02-07T10:08:58Z"}},"port":{"port":0,"protocol":"TCP"},"scan":{"completed_at":"2018-05-23T20:59:47Z","schedule_uuid":"413765fb-e941-7eea-ca8b-0a79182a2806e1b6640fe8a2217b","started_at":"2018-05-23T20:59:47Z","uuid":"e2c070ae-ec37-d9ff-f003-2e89b7e5e1ab8af3a9957a077904"},"severity":"high","severity_id":3,"severity_default_id":3,"severity_modification_type":"NONE","first_found":"2018-05-23T20:59:47Z","last_found":"2018-05-23T20:59:47Z","state":"OPEN"}}}}}},"400":{"description":"Returned if the chunk ID is invalid or the chunk is not ready for download."},"403":{"description":"Returned if you do not have permission to export vulnerabilities."},"404":{"description":"Returned if Tenable.io cannot find a chunk with the specified UUID."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"exports-vulns-export-cancel","tags":["Exports"],"parameters":[{"description":"The UUID for the export request.","required":true,"name":"export_uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully cancels the specified export request.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"Text describing the export job status, `CANCELLED`."}}},"examples":{"response":{"value":{"status":"CANCELLED"}}}}}},"400":{"description":"Returned if Tenable.io cannot cancel the request."},"401":{"description":"Returned if Tenable.io cannot find an export job for the specified UUID."},"403":{"description":"Returned if you do not have permission to cancel export jobs."},"404":{"description":"Returned if Tenable.io cannot find an export with the specified UUID."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"exports-vulns-export-status-recent","tags":["Exports"],"responses":{"200":{"description":"Returns a list of recent vulnerability export jobs.","content":{"application/json":{"schema":{"type":"object","properties":{"exports":{"type":"array","items":{"description":"Information about the export job.","type":"object","properties":{"uuid":{"type":"string","description":"The UUID for the export request."},"status":{"type":"string","description":"The status of the export request. Possible values include:\n - QUEUED—Tenable.io has queued the export request until it completes other requests currently in process.\n - PROCESSING—Tenable.io has started processing the export request.\n - FINISHED—Tenable.io has completed processing the export request. The list of chunks is complete.\n - CANCELLED—An administrator has cancelled the export request.\n - ERROR—Tenable.io encountered an error while processing the export request. Tenable recommends that you retry the request. If the status persists on retry, contact Support."},"chunks_available":{"type":"array","description":"A list of completed chunks available for download.","items":{"type":"integer"}},"total_chunks":{"type":"integer","description":"The total number of chunks associated with the export job as a whole."},"finished_chunks":{"type":"integer","description":"The number of chunks that have been processed and are available for download."},"filters":{"type":"object","description":"The filters used in the export job request. For a list of possible filters, see the [POST /vulns/export](/reference#exports-vulns-export-request-export) and [POST /assets/export](/reference#exports-assets-request-export) endpoints.","properties":{}},"num_assets_per_chunk":{"type":"integer","description":"The number of assets contained in each export chunk."},"created":{"type":"integer","description":"The Unix timestamp when the export job was created."}}}}}},"examples":{"response":{"value":{"exports":[{"uuid":"5174760d-c669-4185-b8ee-e99148be1a37","status":"FINISHED","total_chunks":0,"finished_chunks":0,"filters":{"state":["OPEN","REOPENED"],"tags":{},"cidr_range":"172.204.81.57/24","since":0,"first_found":0,"last_found":0,"last_fixed":0},"num_assets_per_chunk":0,"created":1566420439782},{"uuid":"9ec1b0d5-26f1-4078-9929-9eccd8a2e514","status":"FINISHED","total_chunks":5,"finished_chunks":5,"filters":{"since":0,"first_found":0,"last_found":0,"last_fixed":0},"num_assets_per_chunk":5,"created":1566418722831}]}}}}}},"400":{"description":"Returned if your request message is invalid."},"403":{"description":"Returned if you do not have permissions for the request."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"exports-assets-request-export","tags":["Exports"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chunk_size":{"type":"integer","description":"Specifies the number of assets per exported chunk. The range is 100-10000. If you specify a value outside of that range, Tenable.io returns a 400 error. Using smaller chunks size can improve performance.","format":"int32"},"filters":{"type":"object","description":"Specifies filters for exported assets. To return all assets, omit the filters object. If your request specifies multiple filters, the system combines the filters using the AND search operator.","properties":{"created_at":{"type":"integer","description":"Returns all assets created later than the date specified. The specified date must be in the Unix timestamp format.","format":"int64"},"updated_at":{"type":"integer","description":"Returns all assets updated later than the date specified. The specified date must be in the Unix timestamp format.","format":"int64"},"terminated_at":{"type":"integer","description":"Returns all assets terminated later than the date specified. The specified date must be in the Unix timestamp format.","format":"int64"},"deleted_at":{"type":"integer","description":"Returns all assets deleted later than the date specified. The specified date must in the Unix timestamp format.","format":"int64"},"first_scan_time":{"type":"integer","description":"Returns all assets with a first scan time later than the date specified. The specified date must be in the Unix timestamp format.","format":"int64"},"last_authenticated_scan_time":{"type":"integer","description":"Returns all assets with a last credentialed scan time later than the date specified. The specified date must be in the Unix timestamp format.","format":"int64"},"last_assessed":{"type":"integer","description":"Returns all assets with a last assessed time later than the date specified. Tenable.io considers an asset assessed if it has been scanned by a credentialed or non-credentialed scan. The specified date must be in the Unix timestamp format.","format":"int64"},"servicenow_sysid":{"type":"boolean","description":"If `true`, returns all assets that have a ServiceNow Sys ID, regardless of value. If `false`, returns all assets that do not have a ServiceNow Sys ID."},"sources":{"items":{"type":"string"},"description":"Returns assets that have the specified source. An asset source is the entity that reported the asset details. Sources can include sensors, connectors, and API imports. If your request specifies multiple sources, Tenable.io returns all assets that have been seen by any of the specified sources.\n\nThe items in the sources array must correspond to the names of the sources as defined in your organization's implementation of Tenable.io. Commonly used names include:\n - AWS—You obtained the asset data from an Amazon Web Services connector.\n - NESSUS_AGENT—You obtained the asset data obtained from a Nessus agent scan.\n - PVS—You obtained the asset data from a Nessus Network Monitor (NNM) scan.\n - NESSUS_SCAN—You obtained the asset data from a Nessus scan.\n - WAS—You obtained the asset data from a Web Application Scanning scan.","type":"array"},"has_plugin_results":{"type":"boolean","description":"If `true`, Tenable.io returns all assets that have plugin results. If `false`, Tenable.io returns all assets that do not have plugin results. An asset may not have plugin results if the asset details originated from a connector, an API import, or a discovery scan, rather than a vulnerabilities scan."},"tag.Requires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"exports-assets-export-status","tags":["Exports"],"parameters":[{"description":"The UUID for the export request.","required":true,"name":"export_uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the status of the specified export job.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"The status of the export request. Possible values include:\n - QUEUED—Tenable.io has queued the export request until it completes other requests currently in process.\n - PROCESSING—Tenable.io has started processing the export request.\n - FINISHED—Tenable.io has completed processing the export request. The list of chunks is complete.\n - CANCELLED—An administrator has cancelled the export request.\n - ERROR—Tenable.io encountered an error while processing the export request. Tenable recommends that you retry the request. If the status persists on retry, contact Support."},"chunks_available":{"type":"array","description":"A comma-separated list of completed chunks available for download.","items":{"type":"integer","format":"int32"}}}},"examples":{"response":{"value":{"status":"FINISHED","chunks_available":[1,2,3,4]}}}}}},"403":{"description":"Returned if you do not have permission to view the export status."},"404":{"description":"Returned if Tenable.io cannot find an export with the specified UUID."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"exports-assets-download-chunk","tags":["Exports"],"parameters":[{"description":"The UUID of the export request.","required":true,"name":"export_uuid","in":"path","schema":{"type":"string"}},{"description":"The ID of the asset chunk you want to export.","required":true,"name":"chunk_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if the file is downloaded successfully. The response body excludes an attribute if the attribute is empty in the asset record.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The UUID of the asset in Tenable.io."},"has_agent":{"type":"boolean","description":"Specifies whether a Nessus agent scan identified the asset."},"has_plugin_results":{"type":"boolean","description":"Specifies whether the asset has plugin results associated with it."},"created_at":{"type":"string","description":"The time and date when Tenable.io created the asset record."},"terminated_at":{"type":"string","description":"The time and date when a user terminated the Amazon Web Service (AWS) virtual machine instance of the asset."},"terminated_by":{"type":"string","description":"The user who terminated the AWS instance of the asset."},"updated_at":{"type":"string","description":"The time and date when the asset record was last updated."},"deleted_at":{"type":"string","description":"The time and date when a user deleted the asset record. When a user deletes an asset record, Tenable.io retains the record until the asset ages out of the license count."},"deleted_by":{"type":"string","description":"The user who deleted the asset record."},"first_seen":{"type":"string","description":"The time and date when a scan first identified the asset."},"last_seen":{"type":"string","description":"The time and date of the scan that most recently identified the asset."},"first_scan_time":{"type":"string","description":"The time and date of the first scan run against the asset."},"last_scan_time":{"type":"string","description":"The time and date of the last scan run against the asset."},"last_authenticated_scan_date":{"type":"string","description":"The time and date of the last credentialed scan run on the asset."},"last_licensed_scan_date":{"type":"string","description":"The time and date of the last scan that identified the asset as licensed. Tenable.io categorizes an asset as licensed if a scan of that asset has returned results from a non-discovery plugin within the last 90 days."},"azure_vm_id":{"type":"string","description":"The unique identifier of the Microsoft Azure virtual machine instance. For more information, see \"Accessing and Using Azure VM Unique ID\" in the Microsoft Azure documentation."},"azure_resource_id":{"type":"string","description":"The unique identifier of the resource in the Azure Resource Manager. For more information, see the Azure Resource Manager Documentation."},"gcp_project_id":{"type":"string","description":"The unique identifier of the virtual machine instance in Google Cloud Platform (GCP)."},"gcp_zone":{"type":"string","description":"The customized name of the project to which the virtual machine instance belongs in GCP. For more information see \"Creating and Managing Projects\" in the GCP documentation."},"gcp_instance_id":{"type":"string","description":"The zone where the virtual machine instance runs in GCP. For more information, see \"Regions and Zones\" in the GCP documentation."},"aws_ec2_instance_ami_id":{"type":"string","description":"The unique identifier of the Linux AMI image in Amazon Elastic Compute Cloud (Amazon EC2). For more information, see the Amazon Elastic Compute Cloud Documentation."},"aws_ec2_instance_id":{"type":"string","description":"The unique identifier of the Linux instance in Amazon EC2. For more information, see the Amazon Elastic Compute Cloud Documentation."},"agent_uuid":{"type":"string","description":"The unique identifier of the Nessus agent that identified the asset."},"bios_uuid":{"type":"string","description":"The BIOS UUID of the asset."},"network_id":{"type":"string","description":"The ID of the network object associated with scanners that identified the asset. The default network ID is `00000000-0000-0000-0000-000000000000`. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio)."},"network_name":{"type":"string","description":"The ID of the network object associated with scanners that identified the asset. The default network name is `Default`. All other network names are user-defined. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio)."},"aws_owner_id":{"type":"string","description":"The canonical user identifier for the AWS account associated with the virtual machine instance. For example, `79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be`. For more information, see AWS Account Identifiers in the AWS documentation."},"aws_availability_zone":{"type":"string","description":"The availability zone where Amazon Web Services hosts the virtual machine instance, for example, `us-east-1a``. Availability zones are subdivisions of AWS regions. For more information, see \"Regions and Availability Zones\" in the AWS documentation."},"aws_region":{"type":"string","description":"The region where AWS hosts the virtual machine instance, for example, `us-east-1`. For more information, see \"Regions and Availability Zones\" in the AWS documentation."},"aws_vpc_id":{"type":"string","description":"The unique identifier for the virtual public cloud that hosts the AWS virtual machine instance. For more information, see the Amazon Virtual Private Cloud User Guide."},"aws_ec2_instance_group_name":{"type":"string","description":"The virtual machine instance's group in AWS."},"aws_ec2_instance_state_name":{"type":"string","description":"The state of the virtual machine instance in AWS at the time of the scan."},"aws_ec2_instance_type":{"type":"string","description":"The type of instance in AWS EC2."},"aws_subnet_id":{"type":"string","description":"The unique identifier of the AWS subnet where the virtual machine instance was running at the time of the scan."},"aws_ec2_product_code":{"type":"string","description":"The product code associated with the AMI used to launch the virtual machine instance in AWS EC2."},"aws_ec2_name":{"type":"string","description":"The name of the virtual machine instance in AWS EC2."},"mcafee_epo_guid":{"type":"string","description":"The unique identifier of the asset in McAfee ePolicy Orchestrator (ePO). For more information, see the McAfee documentation."},"mcafee_epo_agent_guid":{"type":"string","description":"The unique identifier of the McAfee ePO agent that identified the asset. For more information, see the McAfee documentation."},"servicenow_sysid":{"type":"string","description":"The unique record identifier of the asset in ServiceNow. For more information, see the ServiceNow documentation."},"bigfix_asset_id":{"type":"string","description":"The unique identifiers of the asset in IBM BigFix. For more information, see the IBM BigFix documentation."},"agent_names":{"type":"array","description":"The names of any Nessus agents that scanned and identified the asset.","items":{"type":"string"}},"installed_software":{"type":"array","description":"A list of Common Platform Enumeration (CPE) values that represent software applications a scan identified as present on an asset. This attribute supports the CPE 2.2 format. For more information, see the \"Component Syntax\" section of the [CPE Specification, Version 2.2](https://cpe.mitre.org/files/cpe-specification_2.2.pdf). For assets identified in Tenable scans, this attribute contains data only if a scan using [Nessus Plugin ID 45590](https://www.tenable.com/plugins/nessus/45590) has evaluated the asset.\n\n**Note:** If no scan detects an application within 30 days of the scan that originally detected the application, Tenable.io considers the detection of that application expired. As a result, the next time a scan evaluates the asset, Tenable.io removes the expired application from the installed_software attribute. This activity is logged as a `remove` type of `attribute_change` update in the asset activity log.","items":{"type":"string"}},"ipv4s":{"type":"array","description":"The IPv4 addresses that scans have associated with the asset record.","items":{"type":"string"}},"ipv6s":{"type":"array","description":"The IPv6 addresses that scans have associated with the asset record.","items":{"type":"string"}},"fqdns":{"type":"array","description":"The fully-qualified domain names that scans have associated with the asset record.","items":{"type":"string"}},"mac_addresses":{"type":"array","description":"The MAC addresses that scans have associated with the asset record.","items":{"type":"string"}},"netbios_names":{"type":"array","description":"The NetBIOS names that scans have associated with the asset record.","items":{"type":"string"}},"operating_systems":{"type":"array","description":"The operating systems that scans have associated with the asset record.","items":{"type":"string"}},"system_types":{"type":"array","description":"The system types as reported by Plugin ID 54615. Possible values include `router`, `general-purpose`, `scan-host`, and `embedded`.","items":{"type":"string"}},"hostnames":{"type":"array","description":"The hostnames that scans have associated with the asset record.","items":{"type":"string"}},"ssh_fingerprints":{"type":"array","description":"The SSH key fingerprints that scans have associated with the asset record.","items":{"type":"string"}},"qualys_asset_ids":{"type":"array","description":"The Asset ID of the asset in Qualys. For more information, see the Qualys documentation.\n\n**Note:** Tenable is enabling Qualys asset import for customers in a rolling fashion. For more information, contact your Tenable representative.","items":{"type":"string"}},"qualys_host_ids":{"type":"array","description":"The Host ID of the asset in Qualys. For more information, see the Qualys documentation.\n\n**Note:** Tenable is enabling Qualys asset import for customers in a rolling fashion. For more information, contact your Tenable representative.","items":{"type":"string"}},"manufacturer_tpm_ids":{"type":"array","description":"The manufacturer's unique identifiers of the Trusted Platform Module (TPM) associated with the asset.","items":{"type":"string"}},"symantec_ep_hardware_keys":{"type":"array","description":"The hardware keys for the asset in Symantec Endpoint Protection.","items":{"type":"string"}},"sources":{"type":"array","description":"The sources of the scans that identified the asset.","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the entity that reported the asset details. Sources can include sensors, connectors, and API imports. Source names can be customized by your organization (for example, you specify a name when you import asset records). If your organization does not customize source names, system-generated names include:\n - AWS—You obtained the asset data from an Amazon Web Services connector.\n - NESSUS_AGENT—You obtained the asset data obtained from a Nessus agent scan.\n - PVS—You obtained the asset data from a Nessus Network Monitor (NNM) scan.\n - NESSUS_SCAN—You obtained the asset data from a Nessus scan.\n - WAS—You obtained the asset data from a Web Application Scanning scan."},"first_seen":{"type":"string","description":"The ISO timestamp when the source first reported the asset."},"last_seen":{"type":"string","description":"The ISO timestamp when the source last reported the asset."}}}},"tags":{"type":"array","description":"Category tags assigned to the asset in Tenable.io.","items":{"type":"object","properties":{"uuid":{"type":"string","description":"The UUID of the tag."},"key":{"type":"string","description":"The tag category (the first half of the category:value pair)."},"value":{"type":"string","description":"The tag value (the second half of the category:value pair)."},"added_by":{"type":"string","description":"The UUID of the user who assigned the tag to the asset."},"added_at":{"type":"string","description":"The ISO timestamp when the tag was assigned to the asset."}}}},"network_interfaces":{"type":"array","description":"The network interfaces that scans identified on the asset.","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the interface."},"mac_address":{"type":"array","description":"The MAC addresses of the interface.","items":{"type":"string"}},"ipv4":{"type":"array","description":"One or more IPv4 addresses belonging to the interface.","items":{"type":"string"}},"ipv6":{"type":"array","description":"One or more IPv6 addresses belonging to the interface.","items":{"type":"string"}},"fqdn":{"type":"array","description":"One or more FQDN belonging to the interface.","items":{"type":"string"}}}}}}},"examples":{"response":{"value":{"id":"60d5a1e7-aec0-45d3-b196-c2356b1567b9","has_agent":false,"has_plugin_results":true,"created_at":"2017-12-14T20:40:44.535Z","terminated_at":null,"terminated_by":null,"updated_at":"2018-02-23T22:27:58.599Z","deleted_at":null,"deleted_by":null,"first_seen":"2017-12-14T20:40:23.447Z","last_seen":"2018-02-23T22:27:52.869Z","first_scan_time":"2017-12-14T20:40:23.447Z","last_scan_time":"2018-02-23T22:27:52.869Z","last_authenticated_scan_date":null,"last_licensed_scan_date":"2018-02-23T22:27:52.869Z","azure_vm_id":null,"azure_resource_id":null,"gcp_project_id":null,"gcp_zone":null,"gcp_instance_id":null,"aws_ec2_instance_ami_id":null,"aws_ec2_instance_id":null,"agent_uuid":null,"bios_uuid":null,"aws_owner_id":null,"aws_availability_zone":null,"aws_region":null,"aws_vpc_id":null,"aws_ec2_instance_group_name":null,"aws_ec2_instance_state_name":null,"aws_ec2_instance_type":null,"aws_subnet_id":null,"aws_ec2_product_code":null,"aws_ec2_name":null,"mcafee_epo_guid":null,"mcafee_epo_agent_guid":null,"servicenow_sysid":null,"bigfix_asset_id":null,"agent_names":[],"installed_software":["cpe:/a:apple:itunes:12.8","cpe:/a:apple:quicktime:7.7.3","cpe:/a:openbsd:openssh:6.9","cpe:/a:google:chrome"],"ipv4s":["172.1.2.57"],"ipv6s":[],"fqdns":["172-1-2-57.lightspeed.hstntx.sbcglobal.net"],"mac_addresses":[],"netbios_names":[],"operating_systems":[],"system_types":[],"hostnames":[],"ssh_fingerprints":[],"qualys_asset_ids":[],"qualys_host_ids":[],"manufacturer_tpm_ids":[],"symantec_ep_hardware_keys":[],"sources":[{"name":"NESSUS_SCAN","first_seen":"2017-12-14T20:40:23.447Z","last_seen":"2018-02-23T22:27:52.869Z"}],"tags":[{"uuid":"6ee5761f-5c99-434b-aecb-e09b755921b7","key":"Geographic Area","value":"APAC","added_by":"e7ecb50b-1330-4a8c-b8e5-ee00ec8c46f8","added_at":"2018-02-13T14:53:13.817Z"}],"network_interfaces":[{"name":"enccw0.0.1234","mac_address":["00-00-5E-00-53-00","00-00-5E-00-53-FF"],"ipv4":["172.204.81.57","172.82.157.177"],"ipv6":["2001:DB8:1234:1234/32"],"fqdn":["example.com"]}]}}}}}},"400":{"description":"Returned if the chunk ID is invalid or the chunk is not ready for download."},"403":{"description":"Returned if you do not have permission to export assets."},"404":{"description":"Returned if Tenable.io cannot find a chunk with the specified UUID, or if the chunk with the specified UUID has expired."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"exports-assets-export-cancel","tags":["Exports"],"parameters":[{"description":"The UUID for the export request.","required":true,"name":"export_uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully cancels the specified export request.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"Text describing the export job status, `CANCELLED`."}}},"examples":{"response":{"value":{"status":"CANCELLED"}}}}}},"400":{"description":"Returned if your request message is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"The HTTP error code."},"message":{"type":"string","description":"Text describing the error condition Tenable.io encountered. Possible values include:\n\n - Cannot cancel a completed job\n - Export UUID is invalid"}}},"examples":{"response":{"value":{"status":400,"message":"Cannot cancel a completed job"}}}}}},"404":{"description":"Returned if Tenable.io cannot find an export job with the specified UUID.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"The HTTP error code."},"message":{"type":"string","description":"Text describing the error condition Tenable.io encountered."}}},"examples":{"response":{"value":{"status":404,"message":"Job with UUID: {export_uuid} not found"}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"exports-assets-export-status-recent","tags":["Exports"],"responses":{"200":{"description":"Returns a list of recent asset export jobs.","content":{"application/json":{"schema":{"type":"object","properties":{"exports":{"type":"array","items":{"description":"Information about the export job.","type":"object","properties":{"uuid":{"type":"string","description":"The UUID for the export request."},"status":{"type":"string","description":"The status of the export request. Possible values include:\n - QUEUED—Tenable.io has queued the export request until it completes other requests currently in process.\n - PROCESSING—Tenable.io has started processing the export request.\n - FINISHED—Tenable.io has completed processing the export request. The list of chunks is complete.\n - CANCELLED—An administrator has cancelled the export request.\n - ERROR—Tenable.io encountered an error while processing the export request. Tenable recommends that you retry the request. If the status persists on retry, contact Support."},"chunks_available":{"type":"array","description":"A list of completed chunks available for download.","items":{"type":"integer"}},"total_chunks":{"type":"integer","description":"The total number of chunks associated with the export job as a whole."},"finished_chunks":{"type":"integer","description":"The number of chunks that have been processed and are available for download."},"filters":{"type":"object","description":"The filters used in the export job request. For a list of possible filters, see the [POST /vulns/export](/reference#exports-vulns-export-request-export) and [POST /assets/export](/reference#exports-assets-request-export) endpoints.","properties":{}},"num_assets_per_chunk":{"type":"integer","description":"The number of assets contained in each export chunk."},"created":{"type":"integer","description":"The Unix timestamp when the export job was created."}}}}}},"examples":{"response":{"value":{"exports":[{"uuid":"9ec1b0d5-26f1-4079-9839-9eccf8a2e513","status":"FINISHED","filters":{"since":0,"first_found":0,"last_found":0,"last_fixed":0},"total_chunks":5,"finished_chunks":5,"num_assets_per_chunk":5,"created":1566418722831}]}}}}}},"400":{"description":"Returned if your request message is invalid."},"403":{"description":"Returned if you do not have permissions for the request."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"file-upload","tags":["File"],"parameters":[{"description":"Send value of `1` when uploading an encrypted file.","required":false,"name":"no_enc","in":"query","schema":{"type":"integer","format":"int32","enum":[0,1]}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"Filedata":{"type":"string","description":"The file to upload.","format":"binary"}}}}}},"responses":{"200":{"description":"Returns the name of the successfully uploaded file.","content":{"application/json":{"schema":{"type":"object","properties":{"fileuploaded":{"type":"string","description":"The name of the uploaded file. If the file with the same name already exists, Tenable.io appends an underscore with a number, for example scan-targets_1.txt. Use this attribute value when referencing the file for subsequent requests."}}},"examples":{"response":{"value":{"fileuploaded":"scan_targets.txt"}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"filters-agents-filters","tags":["Filters"],"responses":{"200":{"description":"Returns the filtering, sorting, and pagination capabilities.","content":{"application/json":{"schema":{"type":"object","properties":{"wildcard_fields":{"description":"Array of strings which represent each field which supports \"wildcard\" search. Wildcard search is a mechanism where multiple fields of a record are filtered against one specific filter string. If any one of the supported fields' values matches against the filter string, then the record matches the wildcard filter. Note that for a record to be returned, it must pass the wildcard filter (if there is one) AND the set of standard filters.","type":"array","items":{"type":"string"}},"filters":{"type":"array","description":"A list of filters available for the record type.","items":{"type":"object","properties":{"name":{"type":"string","description":"The field name to be used in request query strings when applying the filter."},"readable_name":{"type":"string","description":"The filter's display label."},"control":{"type":"object","properties":{"readable_regex":{"type":"string","description":"Provides a human-readable \"hint\" which describes what the filter string should look like."},"type":{"type":"string","description":"The type of UI control which represents the filter."},"regex":{"type":"string","description":"A regex which can be used by a user interface to validate input."}}},"operators":{"description":"Strings which represent the comparison operations which can be used for the filter.","type":"array","items":{"type":"string"}}}}},"sort":{"type":"object","description":"The sorting parameters supported for data returned by the endpoint.","properties":{"max_sort_fields":{"type":"integer","description":"Maximum number of fields that may be specified for sorting. If this is parameter is not present, any number of fields may be used."},"sortable_fields":{"description":"Fields by which the returned list of records may be sorted.","type":"array","items":{"type":"string"}}}}}},"examples":{"response":{"value":{"wildcard_fields":["core_version","distro","groups"],"filters":[{"name":"core_version","readable_name":"Version","operators":["eq","neq","match","nmatch"],"control":{"readable_regex":"X.Y.Z","type":"entry","regex":".*"}},{"name":"distro","readable_name":"Distro","operators":["match","nmatch"],"control":{"readable_regex":"Distro Name (e.g. es7-x86-64)","type":"entry","regex":".*"}},{"name":"groups","readable_name":"Member of Group","operators":["eq","neq"],"control":{"type":"dropdown","list":[{"name":"None","id":-1},{"name":"slibs","id":106592}]}}],"sort":{"sortable_fields":["core_version","distro","ip","last_connect","last_scanned","name","platform","plugin_feed_id"]}}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"filters-assets-filter","tags":["Filters"],"responses":{"200":{"description":"Returns the filtering, sorting, and pagination capabilities.","content":{"application/json":{"schema":{"type":"object","properties":{"wildcard_fields":{"description":"Array of strings which represent each field which supports \"wildcard\" search. Wildcard search is a mechanism where multiple fields of a record are filtered against one specific filter string. If any one of the supported fields' values matches against the filter string, then the record matches the wildcard filter. Note that for a record to be returned, it must pass the wildcard filter (if there is one) AND the set of standard filters.","type":"array","items":{"type":"string"}},"filters":{"type":"array","description":"A list of filters available for the record type.","items":{"type":"object","properties":{"name":{"type":"string","description":"The field name to be used in request query strings when applying the filter."},"readable_name":{"type":"string","description":"The filter's display label."},"control":{"type":"object","properties":{"readable_regex":{"type":"string","description":"Provides a human-readable \"hint\" which describes what the filter string should look like."},"type":{"type":"string","description":"The type of UI control which represents the filter."},"regex":{"type":"string","description":"A regex which can be used by a user interface to validate input."}}},"operators":{"description":"Strings which represent the comparison operations which can be used for the filter.","type":"array","items":{"type":"string"}}}}},"sort":{"type":"object","description":"The sorting parameters supported for data returned by the endpoint.","properties":{"max_sort_fields":{"type":"integer","description":"Maximum number of fields that may be specified for sorting. If this is parameter is not present, any number of fields may be used."},"sortable_fields":{"description":"Fields by which the returned list of records may be sorted.","type":"array","items":{"type":"string"}}}}}},"examples":{"response":{"value":{"filters":[{"control":{"list":[{"name":"AWS Connector","value":"AWS"},{"name":"Agent","value":"NESSUS_AGENT"},{"name":"Microsoft Azure","value":"AZURE"},{"name":"NNM","value":"PVS"},{"name":"Nessus","value":"NESSUS_SCAN"},{"name":"Qualys Connector","value":"QUALYS"},{"name":"Web Application Scan","value":"WAS"}],"type":"dropdown_multi"},"name":"sources","operators":["set-has","set-hasnot","set-hasonly"],"readable_name":"Source"},{"control":{"list":["true","false"],"type":"dropdown"},"name":"belongs_to_access_group","operators":["eq"],"readable_name":"Belongs to Access Group"},{"control":{"list":[{"name":"Headquarters","value":"Headquarters"},{"name":"Los Angeles","value":"Los Angeles"},{"name":"New York","value":"New York"}],"type":"dropdown_multi"},"name":"tag.Location","operators":["set-has","set-hasnot"],"readable_name":"Location"}]}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"workbenches-vulnerabilities-filters","tags":["Filters"],"responses":{"200":{"description":"Returns the filters object.","content":{"application/json":{"schema":{"type":"object","properties":{"wildcard_fields":{"description":"Array of strings which represent each field which supports \"wildcard\" search. Wildcard search is a mechanism where multiple fields of a record are filtered against one specific filter string. If any one of the supported fields' values matches against the filter string, then the record matches the wildcard filter. Note that for a record to be returned, it must pass the wildcard filter (if there is one) AND the set of standard filters.","type":"array","items":{"type":"string"}},"filters":{"type":"array","description":"A list of filters available for the record type.","items":{"type":"object","properties":{"name":{"type":"string","description":"The field name to be used in request query strings when applying the filter."},"readable_name":{"type":"string","description":"The filter's display label."},"control":{"type":"object","properties":{"readable_regex":{"type":"string","description":"Provides a human-readable \"hint\" which describes what the filter string should look like."},"type":{"type":"string","description":"The type of UI control which represents the filter."},"regex":{"type":"string","description":"A regex which can be used by a user interface to validate input."}}},"operators":{"description":"Strings which represent the comparison operations which can be used for the filter.","type":"array","items":{"type":"string"}}}}},"sort":{"type":"object","description":"The sorting parameters supported for data returned by the endpoint.","properties":{"max_sort_fields":{"type":"integer","description":"Maximum number of fields that may be specified for sorting. If this is parameter is not present, any number of fields may be used."},"sortable_fields":{"description":"Fields by which the returned list of records may be sorted.","type":"array","items":{"type":"string"}}}}}},"examples":{"response":{"value":{"filters":[{"name":"host.id","readable_name":"Asset ID","control":{"type":"entry","regex":"[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}(,[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12})*","readable_regex":"01234567-abcd-ef01-2345-6789abcdef01"},"operators":["eq","neq","match","nmatch"],"group_name":null},{"name":"plugin.attributes.bid","readable_name":"Bugtraq ID","control":{"type":"entry","regex":"^[0-9]+(,[0-9]+)*","readable_regex":"NUMBER","maxlength":18},"operators":["eq","neq","match","nmatch"],"group_name":null},{"name":"plugin.attributes.exploit_framework_canvas","readable_name":"CANVAS Exploit Framework","control":{"type":"dropdown","list":["true","false"]},"operators":["eq","neq"],"group_name":null}]}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC (16) user permissions. See Permissions.
","operationId":"credentials-filters","tags":["Filters"],"responses":{"200":{"description":"Returns the filtering, sorting, and pagination capabilities for scan credentials.","content":{"application/json":{"schema":{"type":"object","properties":{"wildcard_fields":{"description":"Array of strings which represent each field which supports \"wildcard\" search. Wildcard search is a mechanism where multiple fields of a record are filtered against one specific filter string. If any one of the supported fields' values matches against the filter string, then the record matches the wildcard filter. Note that for a record to be returned, it must pass the wildcard filter (if there is one) AND the set of standard filters.","type":"array","items":{"type":"string"}},"filters":{"type":"array","description":"A list of filters available for the record type.","items":{"type":"object","properties":{"name":{"type":"string","description":"The field name to be used in request query strings when applying the filter."},"readable_name":{"type":"string","description":"The filter's display label."},"control":{"type":"object","properties":{"readable_regex":{"type":"string","description":"Provides a human-readable \"hint\" which describes what the filter string should look like."},"type":{"type":"string","description":"The type of UI control which represents the filter."},"regex":{"type":"string","description":"A regex which can be used by a user interface to validate input."}}},"operators":{"description":"Strings which represent the comparison operations which can be used for the filter.","type":"array","items":{"type":"string"}}}}},"sort":{"type":"object","description":"The sorting parameters supported for data returned by the endpoint.","properties":{"max_sort_fields":{"type":"integer","description":"Maximum number of fields that may be specified for sorting. If this is parameter is not present, any number of fields may be used."},"sortable_fields":{"description":"Fields by which the returned list of records may be sorted.","type":"array","items":{"type":"string"}}}}}},"examples":{"response":{"value":{"wildcard_fields":["name","description","type"],"filters":[{"name":"name","readable_name":"Credential Name","control":{"readable_regex":"TEXT","type":"entry","regex":".*"},"operators":["eq","neq","match","nmatch"]},{"name":"type","readable_name":"Credential Type","control":{"type":"dropdown_multi","list":[{"id":"Windows","name":"Windows"}]},"operators":["eq","neq"]},{"name":"created_date","readable_name":"Created Date","control":{"type":"datefield","regex":"^[0-9]{4}/[0-9]{2}/[0-9]{2}$","readable_regex":"YYYY/MM/DD"},"operators":["date-lt","date-gt","date-eq","date-neq"]}],"sort":{"sortable_fields":["name","type","created_date"]}}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"filters-scan-filters","tags":["Filters"],"responses":{"200":{"description":"Returns the filtering, sorting, and pagination capabilities.","content":{"application/json":{"schema":{"type":"object","properties":{"filters":{"type":"array","description":"A list of filters available for the record type.","items":{"type":"object","properties":{"name":{"type":"string","description":"The field name to be used in request query strings when applying the filter."},"readable_name":{"type":"string","description":"The filter's display label."},"control":{"type":"object","properties":{"readable_regex":{"type":"string","description":"Provides a human-readable \"hint\" which describes what the filter string should look like."},"type":{"type":"string","description":"The type of UI control which represents the filter."},"regex":{"type":"string","description":"A regex which can be used by a user interface to validate input."}}},"operators":{"description":"Strings which represent the comparison operations which can be used for the filter.","type":"array","items":{"type":"string"}}}}}}},"examples":{"response":{"value":{"filters":[{"name":"host.id","readable_name":"Asset ID","control":{"type":"entry","regex":"[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}(,[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12})*","readable_regex":"01234567-abcd-ef01-2345-6789abcdef01"},"operators":["eq","neq","match","nmatch"],"group_name":null},{"name":"plugin.attributes.exploit_framework_canvas","readable_name":"CANVAS Exploit Framework","control":{"type":"dropdown","list":["true","false"]},"operators":["eq","neq"],"group_name":null},{"name":"plugin.name","readable_name":"Plugin Name","control":{"type":"entry","regex":".*","readable_regex":"TEXT"},"operators":["eq","neq","match","nmatch"],"group_name":null}]}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"filters-scan-history-filters","tags":["Filters"],"responses":{"200":{"description":"Returns the filtering, sorting, and pagination capabilities.","content":{"application/json":{"schema":{"type":"object","properties":{"wildcard_fields":{"description":"Array of strings which represent each field which supports \"wildcard\" search. Wildcard search is a mechanism where multiple fields of a record are filtered against one specific filter string. If any one of the supported fields' values matches against the filter string, then the record matches the wildcard filter. Note that for a record to be returned, it must pass the wildcard filter (if there is one) AND the set of standard filters.","type":"array","items":{"type":"string"}},"filters":{"type":"array","description":"A list of filters available for the record type.","items":{"type":"object","properties":{"name":{"type":"string","description":"The field name to be used in request query strings when applying the filter."},"readable_name":{"type":"string","description":"The filter's display label."},"control":{"type":"object","properties":{"readable_regex":{"type":"string","description":"Provides a human-readable \"hint\" which describes what the filter string should look like."},"type":{"type":"string","description":"The type of UI control which represents the filter."},"regex":{"type":"string","description":"A regex which can be used by a user interface to validate input."}}},"operators":{"description":"Strings which represent the comparison operations which can be used for the filter.","type":"array","items":{"type":"string"}}}}},"sort":{"type":"object","description":"The sorting parameters supported for data returned by the endpoint.","properties":{"max_sort_fields":{"type":"integer","description":"Maximum number of fields that may be specified for sorting. If this is parameter is not present, any number of fields may be used."},"sortable_fields":{"description":"Fields by which the returned list of records may be sorted.","type":"array","items":{"type":"string"}}}}}},"examples":{"response":{"value":{"wildcard_fields":[],"filters":[{"name":"start_date","readable_name":"Start Date","operators":["date-gt","date-lt","date-eq","date-neq"],"control":{"readable_regex":"YYYY/MM/DD","type":"datefield","regex":"^[0-9]{4}/[0-9]{2}/[0-9]{2}$"}},{"name":"end_date","readable_name":"End Date","operators":["date-gt","date-lt","date-eq","date-neq"],"control":{"readable_regex":"YYYY/MM/DD","type":"datefield","regex":"^[0-9]{4}/[0-9]{2}/[0-9]{2}$"}},{"name":"status","readable_name":"Scan Status","operators":["eq","neq","nmatch","match"],"control":{"readable_regex":"TEXT","type":"entry","regex":".*"}}],"sort":{"sortable_fields":["start_date","end_date","status"]}}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"folders-create","tags":["Folders"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the folder.\n**Note:** Tenable.io does not allow the following special characters in folder names: `( ) [ ] : ; = + / | ? , ^ % & $`"}},"required":["name"]}}}},"responses":{"200":{"description":"Returns the new folder ID.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"The ID of the created folder."}}},"examples":{"response":{"value":{"id":55}}}}}},"400":{"description":"Returned if the folder name is invalid."},"403":{"description":"Returned if you do not have permission to create a folder."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"folders-list","tags":["Folders"],"responses":{"200":{"description":"Returns the folder list.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the folder."},"name":{"type":"string","description":"The name of the folder."},"type":{"type":"string","description":"The type of the folder (main, trash, custom)."},"default_tag":{"type":"integer","description":"Whether or not the folder is the default (1 or 0)."},"custom":{"type":"integer","description":"The custom status of the folder (1 or 0)."},"unread_count":{"type":"integer","description":"The number of unread scans in the folder."}}}},"examples":{"response":{"value":{"folders":[{"unread_count":0,"custom":0,"default_tag":0,"type":"trash","name":"Trash","id":18},{"unread_count":6,"custom":0,"default_tag":1,"type":"main","name":"My Scans","id":19},{"unread_count":0,"custom":1,"default_tag":0,"type":"custom","name":"Linux Scans","id":50},{"unread_count":0,"custom":1,"default_tag":0,"type":"custom","name":"Daily Scans","id":55}]}}}}}},"403":{"description":"Returned if you do not have permission to view the list."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"folders-edit","tags":["Folders"],"parameters":[{"description":"The ID of the folder to edit.","required":true,"name":"folder_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the folder.\n**Note:** Tenable.io does not allow the following special characters in folder names: `( ) [ ] : ; = + / | ? , ^ % & $`"}},"required":["name"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully renames the folder.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if you attempt to rename a system folder."},"404":{"description":"Returned if Tenable.io cannot find the specified folder."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"folders-delete","tags":["Folders"],"parameters":[{"description":"The ID of the folder to delete.","required":true,"name":"folder_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully deletes the folder.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if you attempt to delete a system folder."},"404":{"description":"Returned if Tenable.io cannot find the specified folder."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions.
","operationId":"networks-create","tags":["Networks"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"description":"The name of the network object. This name must be unique within your Tenable.io instance, cannot duplicate the name of a previously deleted network, and cannot be `default`. \n \n**Note:** You can add a maximum of 50,000 network objects to an individual Tenable.io instance.","type":"string"},"description":{"description":"The description of the network object.","type":"string"}},"required":["name"]},"example":{"name":"Area 51","description":"classified"}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully creates a network object.","content":{"application/json":{"schema":{"type":"object","properties":{"owner_uuid":{"type":"string","description":"The UUID of the owner of the network object. The owner of the network object does not have any additional permissions above administrator permissions."},"created":{"type":"integer","description":"The date (in Unix milliseconds) when the network object was created."},"modified":{"type":"integer","description":"The date (in Unix milliseconds) when the network object was last updated."},"uuid":{"type":"string","description":"The UUID of the network object."},"name":{"type":"string","description":"The name of the network object."},"description":{"type":"string","description":"The description of the network object."},"is_default":{"type":"boolean","description":"Indicates whether the network object is the default network object. The default network object is a system-generated object that contains any scanners and scanner groups not yet assigned to a custom network object. You cannot update or delete the default network object."},"created_by":{"type":"string","description":"The UUID of the user who created the network object."},"modified_by":{"type":"string","description":"The UUID of the user who last updated the network object."},"deleted_at":{"type":"integer","description":"The date (in Unix time) when the network object was deleted. This attribute is present for deleted network objects only. To view deleted network objects, use the `includeDeleted` parameter on the [/GET networks](/reference#networks-list) endpoint."},"created_in_seconds":{"type":"integer","description":"The date (in Unix seconds) when the network object was created."},"modified_in_seconds":{"type":"integer","description":"The date (in Unix seconds) when the network object was last updated."}}},"examples":{"response":{"value":{"owner_uuid":"08d242c3-9553-4ccc-835d-0c17ed942cdf","created":1557526802865,"modified":1557526802865,"scanner_count":0,"uuid":"1b17ee49-8f17-4c8f-8536-bff9aff73429","name":"Headquarters","description":"Network devices at Columbia, MD location","is_default":false,"created_by":"18d242c3-9553-4ccc-835d-0d17ed942cef","modified_by":"18d242c3-9553-4ccc-835d-0d17ed942cef","created_in_seconds":1557526802,"modified_in_seconds":1557526802}}}}}},"400":{"description":"Returned if Tenable.io encounters invalid JSON in request body."},"401":{"description":"Returned if Tenable.io cannot authenticate the user account that submitted the request."},"403":{"description":"Returned if you do not have permission to create network objects."},"409":{"description":"Returned if a network object with the same name already exists."},"415":{"description":"Returned if the request payload is in an unsupported format."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions.
","operationId":"networks-list","tags":["Networks"],"parameters":[{"description":"A filter condition in the following format: `field:operator:value`. For network objects, you can only filter on the `name` field, using the following operators: \n* eq—The name of the returned network object is equal to the text you specify. \n* neq—The returned list of network objects excludes the network object where the name is equal to the text you specify. \n* match—The returned list includes network objects where the name contains the text you specify at least partially.\n\nYou can specify multiple `f` parameters, separated by ampersand (&) characters. If you specify multiple `f` parameters, use the `ft` parameter to specify how Tenable.io applies the multiple filter conditions.","required":false,"name":"f","in":"query","schema":{"type":"string"}},{"description":"The operator that Tenable.io applies if multiple \\`f\\` parameters are present. The `OR` operator is the only supported value. If you omit this parameter and multiple `f` parameters are present, Tenable.io applies the `OR` operator by default.","required":false,"name":"ft","in":"query","schema":{"type":"string"}},{"description":"Maximum number of objects requested (or service imposed limit if not in request).","required":false,"name":"limit","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"Offset from request (or zero).","required":false,"name":"offset","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"Objects that specify the sort order for the returned data.","required":false,"name":"sort","in":"query","schema":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The field on which Tenable.io sorts the results."},"order":{"type":"string","description":"The direction of the sort order. Supported values are `asc` (ascending) and `desc` (descending)."}}}}},{"description":"Indicates whether Tenable.io includes deleted network objects in the response message. Deleted network objects contain the additional attribute, `deleted\\_at`, which specifies the date (in Unix time) when the network object was deleted.","name":"includeDeleted","in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Returns a list of network objects.","content":{"application/json":{"schema":{"type":"object","properties":{"networks":{"type":"array","items":{"type":"object","properties":{"owner_uuid":{"type":"string","description":"The UUID of the owner of the network object. The owner of the network object does not have any additional permissions above administrator permissions."},"created":{"type":"integer","description":"The date (in Unix milliseconds) when the network object was created."},"modified":{"type":"integer","description":"The date (in Unix milliseconds) when the network object was last updated."},"uuid":{"type":"string","description":"The UUID of the network object."},"name":{"type":"string","description":"The name of the network object."},"description":{"type":"string","description":"The description of the network object."},"is_default":{"type":"boolean","description":"Indicates whether the network object is the default network object. The default network object is a system-generated object that contains any scanners and scanner groups not yet assigned to a custom network object. You cannot update or delete the default network object."},"created_by":{"type":"string","description":"The UUID of the user who created the network object."},"modified_by":{"type":"string","description":"The UUID of the user who last updated the network object."},"deleted_at":{"type":"integer","description":"The date (in Unix time) when the network object was deleted. This attribute is present for deleted network objects only. To view deleted network objects, use the `includeDeleted` parameter on the [/GET networks](/reference#networks-list) endpoint."},"created_in_seconds":{"type":"integer","description":"The date (in Unix seconds) when the network object was created."},"modified_in_seconds":{"type":"integer","description":"The date (in Unix seconds) when the network object was last updated."}}}},"pagination":{"type":"array","items":{"type":"object","properties":{"total":{"type":"integer","description":"The total number of objects matching your search criteria.","format":"int32"},"limit":{"type":"integer","description":"Maximum number of objects requested (or service imposed limit if not in request).","format":"int32"},"offset":{"type":"integer","description":"Offset from request (or zero).","format":"int32"},"sort":{"description":"An array of the fields you specified as sort fields in the request, which Tenable.io uses to sort the returned data.","type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The field on which Tenable.io sorts the results."},"order":{"type":"string","description":"The direction of the sort order. Supported values are `asc` (ascending) and `desc` (descending)."}}}}}}}}},"examples":{"response":{"value":{"networks":[{"owner_uuid":"c31d1cd4-6e77-4a15-a10d-54e854e3cfa9","created":154474408527,"modified":154474408527,"scanner_count":10,"uuid":"00000000-0000-0000-0000-000000000000","name":"Default","is_default":true,"created_by":"c31d1cd4-6e77-4a15-a10d-54e854e3cfa9","modified_by":"c31d1cd4-6e77-4a15-a10d-54e854e3cfa9","created_in_seconds":1544744085,"modified_in_seconds":1544744085},{"owner_uuid":"08d242c3-9553-4ccc-835d-0c17ed942cdf","created":1557526802865,"modified":1557526802865,"scanner_count":1,"uuid":"1b17ee49-8f17-4c8f-8536-bff9aff73429","name":"Headquarters","description":"Network devices at Columbia, MD location","is_default":false,"created_by":"18d242c3-9553-4ccc-835d-0d17ed942cef","modified_by":"18d242c3-9553-4ccc-835d-0d17ed942cef","created_in_seconds":1557526802,"modified_in_seconds":1557526802}],"pagination":{"total":2,"limit":50,"offset":0,"sort":[{"name":"name","order":"asc"}]}}}}}}},"400":{"description":"Returned if the query parameters in your request were invalid."},"403":{"description":"Returned if you do not have sufficient permissions to list network objects."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions.
","operationId":"networks-details","tags":["Networks"],"parameters":[{"description":"The UUID of the network object for which you want to view details.","required":true,"name":"network_id","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the details of the specified network object.","content":{"application/json":{"schema":{"type":"object","properties":{"owner_uuid":{"type":"string","description":"The UUID of the owner of the network object. The owner of the network object does not have any additional permissions above administrator permissions."},"created":{"type":"integer","description":"The date (in Unix milliseconds) when the network object was created."},"modified":{"type":"integer","description":"The date (in Unix milliseconds) when the network object was last updated."},"uuid":{"type":"string","description":"The UUID of the network object."},"name":{"type":"string","description":"The name of the network object."},"description":{"type":"string","description":"The description of the network object."},"is_default":{"type":"boolean","description":"Indicates whether the network object is the default network object. The default network object is a system-generated object that contains any scanners and scanner groups not yet assigned to a custom network object. You cannot update or delete the default network object."},"created_by":{"type":"string","description":"The UUID of the user who created the network object."},"modified_by":{"type":"string","description":"The UUID of the user who last updated the network object."},"deleted_at":{"type":"integer","description":"The date (in Unix time) when the network object was deleted. This attribute is present for deleted network objects only. To view deleted network objects, use the `includeDeleted` parameter on the [/GET networks](/reference#networks-list) endpoint."},"created_in_seconds":{"type":"integer","description":"The date (in Unix seconds) when the network object was created."},"modified_in_seconds":{"type":"integer","description":"The date (in Unix seconds) when the network object was last updated."}}},"examples":{"response":{"value":{"owner_uuid":"08d242c3-9553-4ccc-835d-0c17ed942cdf","created":1557526802865,"modified":1557526802865,"scanner_count":0,"uuid":"1b17ee49-8f17-4c8f-8536-bff9aff73429","name":"Headquarters","description":"Network devices at Columbia, MD location","is_default":false,"created_by":"18d242c3-9553-4ccc-835d-0d17ed942cef","modified_by":"18d242c3-9553-4ccc-835d-0d17ed942cef","created_in_seconds":1557526802,"modified_in_seconds":1557526802}}}}}},"404":{"description":"Returned if Tenable.io cannot find a network object with the specified UUID."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions.
","operationId":"networks-update","tags":["Networks"],"parameters":[{"description":"The UUID of the network object you want to update. You cannot update the default network object.","required":true,"name":"network_id","in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"description":"The new name of the network object. This name must be unique within your Tenable.io instance, cannot duplicate the name of a previously deleted network, and cannot be `default`","type":"string"},"description":{"description":"The new description of the network object.","type":"string"}}}}}},"responses":{"200":{"description":"Returns successfully updated details of the network object.","content":{"application/json":{"schema":{"type":"object","properties":{"owner_uuid":{"type":"string","description":"The UUID of the owner of the network object. The owner of the network object does not have any additional permissions above administrator permissions."},"created":{"type":"integer","description":"The date (in Unix milliseconds) when the network object was created."},"modified":{"type":"integer","description":"The date (in Unix milliseconds) when the network object was last updated."},"uuid":{"type":"string","description":"The UUID of the network object."},"name":{"type":"string","description":"The name of the network object."},"description":{"type":"string","description":"The description of the network object."},"is_default":{"type":"boolean","description":"Indicates whether the network object is the default network object. The default network object is a system-generated object that contains any scanners and scanner groups not yet assigned to a custom network object. You cannot update or delete the default network object."},"created_by":{"type":"string","description":"The UUID of the user who created the network object."},"modified_by":{"type":"string","description":"The UUID of the user who last updated the network object."},"deleted_at":{"type":"integer","description":"The date (in Unix time) when the network object was deleted. This attribute is present for deleted network objects only. To view deleted network objects, use the `includeDeleted` parameter on the [/GET networks](/reference#networks-list) endpoint."},"created_in_seconds":{"type":"integer","description":"The date (in Unix seconds) when the network object was created."},"modified_in_seconds":{"type":"integer","description":"The date (in Unix seconds) when the network object was last updated."}}},"examples":{"response":{"value":{"owner_uuid":"08d242c3-9553-4ccc-835d-0c17ed942cdf","created":1557526802865,"modified":1557526802865,"scanner_count":0,"uuid":"1b17ee49-8f17-4c8f-8536-bff9aff73429","name":"Columbia office","description":"Network devices at Columbia, MD location","is_default":false,"created_by":"18d242c3-9553-4ccc-835d-0d17ed942cef","modified_by":"18d242c3-9553-4ccc-835d-0d17ed942cef","created_in_seconds":1557526802,"modified_in_seconds":1557526802}}}}}},"400":{"description":"Returned if Tenable.io encounters invalid JSON in the request body or if you attempted to change the default network object."},"401":{"description":"Returned if Tenable.io cannot authenticate the user account that submitted the request."},"403":{"description":"Returned if you do not have permission to update the specified network object."},"404":{"description":"Returned if Tenable.io could not find the specified network object, either because the object does not exist or because the object has been deleted."},"409":{"description":"Returned if a network object with the same name already exists."},"415":{"description":"Returned if the request payload is in an unsupported format."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions.
","operationId":"networks-delete","tags":["Networks"],"parameters":[{"description":"UUID for the network object you want to delete. You cannot delete the default network object.","required":true,"name":"network_id","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully deleted the specified network object.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"400":{"description":"Returned if you attempted to delete the default network object."},"401":{"description":"Returned if Tenable.io cannot authenticate the user account that submitted the request."},"403":{"description":"Returned if you do not have sufficient permissions to delete the specified network object."},"404":{"description":"Returned if Tenable.io could not find the network object you specified."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions.
","operationId":"networks-assign-scanner","tags":["Networks"],"parameters":[{"description":"The UUID of the network object where you want to assign a scanner or scanner group.","required":true,"name":"network_id","in":"path","schema":{"type":"string"}},{"description":"The UUID of the scanner or scanner group you want to assign to the network object. To get UUID values, use the [GET /networks/{network_id}/assignable-scanners](/reference#networks-list-assignable-scanners) endpoint.","required":true,"name":"scanner_uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully assigned the scanner or scanner group to the network object.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"400":{"description":"Returned if you attempt to assign an AWS scanner to the network object. For AWS assets, use network segmentation processes offered by AWS instead."},"401":{"description":"Returned if Tenable.io cannot authenticate the user account that submitted the request."},"403":{"description":"Returned if you do not have sufficient permissions to assign a scanner or scanner group to the specified network object."},"404":{"description":"Returned if Tenable.io could not find either the network object, the scanner object, or the scanner group object you specified."},"409":{"description":"Returned if Tenable.io determines that assigning the scanner or scanner group causes a network conflict. A response message with this code includes a response body under the following conditions: \n* The scanner you attempted to assign is a member of more than one scanner group. \n* The scanner group you attempted to assign contains one or more scanners that belong to another scanner group.","content":{"application/json":{"schema":{"type":"object","properties":{"conflicts":{"type":"array","items":{"type":"object","properties":{"scanner_uuid":{"type":"string","description":"The UUID of the scanner involved in the conflict."},"scanner_groups":{"description":"A list of scanner groups involved in the conflict.","type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","description":"The UUID of the scanner group."},"name":{"type":"string","description":"The name of the scanner group."}}}}}}}}},"examples":{"response":{"value":{"conflicts":[{"scanner_uuid":"94b4be1a-d658-20a8-131b-ac0fa06f04b5db3eac57471272de","scanner_groups":[{"uuid":"32a3d0d2-3c41-432e-8479-7da815a09b23","name":"Northeast sector"}]}]}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions.
","operationId":"networks-list-scanners","tags":["Networks"],"parameters":[{"description":"The UUID of the network object for which you want to list assigned scanners and scanner groups.","required":true,"name":"network_id","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns a list of scanners and scanner groups for the specified network object.","content":{"application/json":{"schema":{"type":"object","description":"A list of scanners and scanner groups.","properties":{"scanners":{"type":"array","items":{"type":"object","properties":{"creation_date":{"type":"integer","description":"The date on which the scanner was linked to the Tenable.io instance.","format":"int32"},"distro":{"type":"string","description":"The scanner software distribution."},"engine_build":{"type":"string","description":"The build of the engine running on the scanner."},"engine_version":{"type":"string","description":"The version of the engine running on the scanner."},"group":{"type":"boolean","description":"Indicates whether the object represents a single scanner (`false`) or a scanner group (`true`)."},"id":{"type":"integer","description":"The unique ID of the scanner.","format":"int32"},"key":{"type":"string","description":"An alpha-numeric sequence of characters used when linking a scanner to Tenable.io."},"last_connect":{"type":"integer","description":"The Unix timestamp when the scanner last connected to the Tenable.io instance.","format":"int32"},"last_modification_date":{"type":"integer","description":"The Unix timestamp when the scanner was last updated."},"linked":{"type":"integer","description":"Indicates if the scanner is enabled (`1`) or not disabled (`0`)."},"loaded_plugin_set":{"type":"string","description":"The current plugin set on the scanner."},"name":{"type":"string","description":"The user-defined name of the scanner."},"num_hosts":{"type":"integer","description":"The number of hosts that the scanner's analysis have discovered."},"num_scans":{"type":"integer","description":"The number of scan tasks the scanner is currently executing."},"num_sessions":{"type":"integer","description":"The number of active sessions between the scanner and hosts."},"num_tcp_sessions":{"type":"integer","description":"The number of active TCP sessions between the scanner and hosts."},"owner":{"type":"string","description":"The scanner owner."},"owner_id":{"type":"integer","description":"The ID of the scanner owner."},"owner_name":{"type":"string","description":"The name of the scanner owner."},"owner_uuid":{"type":"string","description":"The UUID of the scanner owner."},"platform":{"type":"string","description":"The platform of the scanner."},"pool":{"type":"boolean","description":"Indicates whether the scanner is part of a scanner group."},"report_frequency":{"type":"integer","description":"The frequency (in seconds) at which the scanner polls the Tenable.io instance."},"settings":{"type":"object","description":""},"scan_count":{"type":"integer","description":"The current number of scans currently running on the scanner."},"source":{"type":"string","description":"Historical attribute. Always `service`."},"status":{"type":"string","description":"The scanner's current status. Possible values are:\n - on—The scanner has connected in the last five minutes.\n - off—The scanner has not connected in the last five minutes."},"timestamp":{"type":"integer","description":"Equivalent to the last_modification_date."},"type":{"type":"string","description":"The type of scanner (local or remote)."},"uuid":{"type":"string","description":"The UUID of the scanner."},"remote_uuid":{"type":"string","description":"The UUID of the Nessus installation on the scanner."},"supports_remote_logs":{"type":"boolean","description":"Indicates whether the scanner supports remote logging."}}}}}},"examples":{"response":{"value":{"scanners":[{"creation_date":1521065518,"distro":"2.6.32-504.8.1.el6.x86_64","engine_build":"201710101","engine_version":"NNM 5.4.0","group":false,"id":215898,"key":"bd98a384ff0e91c8f94fa7f786f8827c1eb7b28dffcfb9895f9d85bd8f0a7d53","last_connect":1524524576,"last_modification_date":1524523493,"linked":1,"loaded_plugin_set":"201803271415","name":"NNM-540","num_hosts":0,"num_scans":0,"num_sessions":0,"num_tcp_sessions":0,"owner":"system","owner_id":1,"owner_name":"system","owner_uuid":"c31d1cd4-6e77-4a15-a10d-54e854e3cfa9","platform":"LINUX","pool":false,"report_frequency":3600,"settings":{},"scan_count":0,"source":"service","status":"off","timestamp":1524523493,"type":"managed_pvs","uuid":"34f9ddc5-eed0-4b87-80b2-1b2b6ccec8f8","remote_uuid":"131658d2-9a1a-3daa-5ca5-196f200a3e3f9b9a533780bda648","supports_remote_logs":false}]}}}}}},"401":{"description":"Returned if Tenable.io cannot authenticate the user account that submitted the request."},"403":{"description":"Returned if you do not have sufficient permissions to list scanners and scanner groups for the specified network object."},"404":{"description":"Returned if Tenable.io could not find the network object you specified."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions.
","operationId":"networks-assign-scanner-bulk","tags":["Networks"],"parameters":[{"description":"The UUID of the network object where you want to bulk assign scanners and scanner groups.","required":true,"name":"network_id","in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"scanner_uuids":{"description":"A list of UUIDs for the scanners and scanner groups you want to bulk move to a network object. To get values for this list, use the [GET /networks/{network_id}/assignable-scanners](/reference#networks-list-assignable-scanners) endpoint.","type":"array","items":{"type":"string"}}},"required":["scanner_uuids"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully assigned the scanners and scanner groups to the network object.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"400":{"description":"Returned if you attempt to assign an AWS scanner to the network object. For AWS assets, use network segmentation processes offered by AWS instead."},"401":{"description":"Returned if Tenable.io cannot authenticate the user account that submitted the request."},"403":{"description":"Returned if you do not have sufficient permissions to assign a scanner or scanner group to the specified network object."},"404":{"description":"Returned if Tenable.io could not find either the network object, the scanner object, or the scanner group object you specified."},"409":{"description":"Returned if Tenable.io determines that assigning the scanner or scanner group causes a network conflict. A response message with this code includes a response body under the following conditions: \n* A scanner you attempted to assign is a member of more than one scanner group. \n* A scanner group you attempted to assign contains one or more scanners that belong to another scanner group.","content":{"application/json":{"schema":{"type":"object","properties":{"conflicts":{"type":"array","items":{"type":"object","properties":{"scanner_uuid":{"type":"string","description":"The UUID of the scanner involved in the conflict."},"scanner_groups":{"description":"A list of scanner groups involved in the conflict.","type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","description":"The UUID of the scanner group."},"name":{"type":"string","description":"The name of the scanner group."}}}}}}}}},"examples":{"response":{"value":{"conflicts":[{"scanner_uuid":"94b4be1a-d658-20a8-131b-ac0fa06f04b5db3eac57471272de","scanner_groups":[{"uuid":"32a3d0d2-3c41-432e-8479-7da815a09b23","name":"Northeast sector"}]}]}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions.
","operationId":"networks-list-assignable-scanners","tags":["Networks"],"parameters":[{"description":"The UUID of the default network object.","required":true,"name":"network_id","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns a list of assignable scanners and scanner groups in the default network object.","content":{"application/json":{"schema":{"type":"object","description":"A list of scanners and scanner groups.","properties":{"scanners":{"type":"array","items":{"type":"object","properties":{"creation_date":{"type":"integer","description":"The date on which the scanner was linked to the Tenable.io instance.","format":"int32"},"distro":{"type":"string","description":"The scanner software distribution."},"engine_build":{"type":"string","description":"The build of the engine running on the scanner."},"engine_version":{"type":"string","description":"The version of the engine running on the scanner."},"group":{"type":"boolean","description":"Indicates whether the object represents a single scanner (`false`) or a scanner group (`true`)."},"id":{"type":"integer","description":"The unique ID of the scanner.","format":"int32"},"key":{"type":"string","description":"An alpha-numeric sequence of characters used when linking a scanner to Tenable.io."},"last_connect":{"type":"integer","description":"The Unix timestamp when the scanner last connected to the Tenable.io instance.","format":"int32"},"last_modification_date":{"type":"integer","description":"The Unix timestamp when the scanner was last updated."},"linked":{"type":"integer","description":"Indicates if the scanner is enabled (`1`) or not disabled (`0`)."},"loaded_plugin_set":{"type":"string","description":"The current plugin set on the scanner."},"name":{"type":"string","description":"The user-defined name of the scanner."},"num_hosts":{"type":"integer","description":"The number of hosts that the scanner's analysis have discovered."},"num_scans":{"type":"integer","description":"The number of scan tasks the scanner is currently executing."},"num_sessions":{"type":"integer","description":"The number of active sessions between the scanner and hosts."},"num_tcp_sessions":{"type":"integer","description":"The number of active TCP sessions between the scanner and hosts."},"owner":{"type":"string","description":"The scanner owner."},"owner_id":{"type":"integer","description":"The ID of the scanner owner."},"owner_name":{"type":"string","description":"The name of the scanner owner."},"owner_uuid":{"type":"string","description":"The UUID of the scanner owner."},"platform":{"type":"string","description":"The platform of the scanner."},"pool":{"type":"boolean","description":"Indicates whether the scanner is part of a scanner group."},"report_frequency":{"type":"integer","description":"The frequency (in seconds) at which the scanner polls the Tenable.io instance."},"settings":{"type":"object","description":""},"scan_count":{"type":"integer","description":"The current number of scans currently running on the scanner."},"source":{"type":"string","description":"Historical attribute. Always `service`."},"status":{"type":"string","description":"The scanner's current status. Possible values are:\n - on—The scanner has connected in the last five minutes.\n - off—The scanner has not connected in the last five minutes."},"timestamp":{"type":"integer","description":"Equivalent to the last_modification_date."},"type":{"type":"string","description":"The type of scanner (local or remote)."},"uuid":{"type":"string","description":"The UUID of the scanner."},"remote_uuid":{"type":"string","description":"The UUID of the Nessus installation on the scanner."},"supports_remote_logs":{"type":"boolean","description":"Indicates whether the scanner supports remote logging."}}}}}},"examples":{"response":{"value":{"scanners":[{"creation_date":1521065518,"distro":"2.6.32-504.8.1.el6.x86_64","engine_build":"201710101","engine_version":"NNM 5.4.0","group":false,"id":215898,"key":"bd98a384ff0e91c8f94fa7f786f8827c1eb7b28dffcfb9895f9d85bd8f0a7d53","last_connect":1524524576,"last_modification_date":1524523493,"linked":1,"loaded_plugin_set":"201803271415","name":"NNM-540","num_hosts":0,"num_scans":0,"num_sessions":0,"num_tcp_sessions":0,"owner":"system","owner_id":1,"owner_name":"system","owner_uuid":"c31d1cd4-6e77-4a15-a10d-54e854e3cfa9","platform":"LINUX","pool":false,"report_frequency":3600,"settings":{},"scan_count":0,"source":"service","status":"off","timestamp":1524523493,"type":"managed_pvs","uuid":"34f9ddc5-eed0-4b87-80b2-1b2b6ccec8f8","remote_uuid":"131658d2-9a1a-3daa-5ca5-196f200a3e3f9b9a533780bda648","supports_remote_logs":false}]}}}}}},"401":{"description":"Returned if Tenable.io cannot authenticate the user account that submitted the request."},"403":{"description":"Returned if you do not have sufficient permissions to list scanners and scanner groups for the default network object."},"404":{"description":"Returned if Tenable.io could not find the network object you specified."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"permissions-list","tags":["Permissions"],"parameters":[{"description":"The type of object.","required":true,"name":"object_type","in":"path","schema":{"type":"string","enum":["scanner"],"default":"scanner"}},{"description":"The unique ID of the object.","required":true,"name":"object_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the object permissions.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"owner":{"type":"integer","description":"The unique ID of the owner of the object."},"type":{"type":"string","description":"The type of permission (default, user, group).","enum":["default","user","group"]},"permissions":{"type":"integer","description":"The permission value to grant access as described in Permissions.","format":"int32"},"id":{"type":"integer","description":"The unique ID of the user if type is user."},"name":{"type":"string","description":"The name of the user or group."},"display_name":{"type":"string","description":"The display-friendly name of the user or group."}}}},"examples":{"response":{"value":{"acls":[{"type":"user","id":1,"uuid":"47e6b2ea-4e3c-4c09-b137-72e9f53b97f6","name":"system","display_name":"system","permissions":128,"owner":1},{"type":"default","permissions":16}]}}}}}},"403":{"description":"Returned if you do not have permission to view the object."},"404":{"description":"Returned if Tenable.io cannot find the specified object."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"permissions-change","tags":["Permissions"],"parameters":[{"description":"The type of object.","required":true,"name":"object_type","in":"path","schema":{"type":"string","enum":["scanner"],"default":"scanner"}},{"description":"The unique ID of the object (for example, scanner).","required":true,"name":"object_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"acls":{"type":"array","items":{"type":"object","properties":{"owner":{"type":"integer","description":"The unique ID of the owner of the object."},"type":{"type":"string","description":"The type of permission (default, user, group).","enum":["default","user","group"]},"permissions":{"type":"integer","description":"The permission value to grant access as described in Permissions.","format":"int32"},"id":{"type":"integer","description":"The unique ID of the user if type is user."},"name":{"type":"string","description":"The name of the user or group."},"display_name":{"type":"string","description":"The display-friendly name of the user or group."}}}}}}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully updates the object permissions.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if you do not have permission to edit the object."},"404":{"description":"Returned if Tenable.io cannot find the specified object."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"plugins-families","tags":["Plugins"],"parameters":[{"description":"Specifies whether to return all plugin families. If `true`, the plugin families hidden in Tenable.io UI, for example, Port Scanners, are included in the list.","required":false,"name":"all","in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Returns the list of plugin families.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the family."},"name":{"type":"string","description":"The name of the family."},"count":{"type":"integer","description":"The number of plugins in the family."}}}},"examples":{"response":{"value":{"families":[{"count":11342,"name":"AIX Local Security Checks","id":1},{"count":1164,"name":"Amazon Linux Local Security Checks","id":35},{"count":114,"name":"Backdoors","id":17}]}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"plugins-family-details","tags":["Plugins"],"parameters":[{"description":"The ID of the family to lookup.","required":true,"name":"id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the list of plugins in a family.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the family."},"id":{"type":"integer","description":"The unique ID of the family."},"plugins":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The ID of the plugin."},"name":{"type":"string","description":"The name of the plugin."}}}}}},"examples":{"response":{"value":{"plugins":[{"id":22372,"name":"AIX 5.1 : IY19744"},{"id":22373,"name":"AIX 5.1 : IY20486"},{"id":22374,"name":"AIX 5.1 : IY21309"}],"name":"AIX Local Security Checks","id":1}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"plugins-plugin-details","tags":["Plugins"],"parameters":[{"description":"The ID of the plugin.","required":true,"name":"id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the plugin details.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"The ID of the plugin."},"name":{"type":"string","description":"The name of the plugin."},"family_name":{"type":"string","description":"The name of the plugin family."},"attributes":{"type":"array","description":"The plugin attributes.","items":{"type":"object","properties":{"attribute_name":{"type":"string","description":"The name of the attribute."},"attribute_value":{"type":"string","description":"The value of the attribute."}}}}}},"examples":{"response":{"value":{"attributes":[{"attribute_value":"aix_IY19744.nasl","attribute_name":"fname"},{"attribute_value":"AIX 5.1 : IY19744","attribute_name":"plugin_name"},{"attribute_value":"$Revision: 1.5 $","attribute_name":"script_version"},{"attribute_value":"http://www-912.ibm.com/eserver/support/fixes/","attribute_name":"solution"},{"attribute_value":"High","attribute_name":"risk_factor"},{"attribute_value":"The remote host is missing AIX Critical Security Patch number IY19744\n(SECURITY: Buffer Overflow in xntpd).\n\nYou should install this patch for your system to be up-to-date.","attribute_name":"description"},{"attribute_value":"2006/09/16","attribute_name":"plugin_publication_date"},{"attribute_value":"The remote host is missing a vendor-supplied security patch","attribute_name":"synopsis"}],"family_name":"AIX Local Security Checks","name":"AIX 5.1 : IY19744","id":22372}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"policies-create","tags":["Policies"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"type":"string","description":"The uuid for the editor template to use.","example":"ab4bacd2-05f6-425c-9d79-3ba3940ad1c24e51e1f403febe40"},"settings":{"type":"object","properties":{}}},"required":["uuid"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully saves the policy.","content":{"application/json":{"schema":{"type":"object","properties":{"policy_id":{"type":"integer"},"policy_name":{"type":"string"}}},"examples":{"response":{"value":{"policy_id":"integer","policy_name":"string"}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"policies-list","tags":["Policies"],"responses":{"200":{"description":"Returns the policy list.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the policy."},"template_uuid":{"type":"string","description":"The UUID for the template the policy uses."},"name":{"type":"string","description":"The name of the policy."},"description":{"type":"string","description":"The description of the policy."},"owner_id":{"type":"string","description":"The unique ID of the owner of the policy."},"owner":{"type":"string","description":"The username for the owner of the policy."},"shared":{"type":"integer","description":"The shared status of the policy."},"user_permissions":{"type":"integer","description":"The sharing permissions for the policy."},"creation_date":{"type":"integer","description":"The creation date of the policy in unixtime."},"last_modification_date":{"type":"integer","description":"The last modification date for the policy in unixtime."},"visibility":{"type":"integer","description":"The visibility of the target (private or shared)."},"no_target":{"type":"boolean","description":"If true, the policy does not use targets."}}}},"examples":{"response":{"value":{"policies":[{"no_target":"false","template_uuid":"ad629e16-03b6-8c1d-cef6-ef8c9dd3c658d24bd260ef5f9e66","description":"An example policy.","name":"Test Policy 1","owner":"api@api.demo","visibility":"shared","shared":1,"user_permissions":128,"last_modification_date":1545938690,"creation_date":1545938690,"owner_id":3,"id":43},{"no_target":"false","template_uuid":"65d5b7ce-8d3b-d0df-f473-40633bb6122108a510a44374a167","description":"An example policy using the Shellshock template.","name":"Test Policy 2","owner":"api@api.demo","visibility":"shared","shared":1,"user_permissions":128,"last_modification_date":1545938735,"creation_date":1545938735,"owner_id":3,"id":44}]}}}}}},"403":{"description":"Returned if you do not have permission to view the policy list."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions and CAN EDIT [32] policy permissions. See Permissions.
","operationId":"policies-copy","tags":["Policies"],"parameters":[{"description":"The id of the policy to copy.","required":true,"name":"policy_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the policy object.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{"name":"Copy of Test Policy 1","id":45}}}}}},"403":{"description":"Returned if you do not have permission to copy the policy."},"404":{"description":"Returned if Tenable.io cannot find the specified policy."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"policies-import","tags":["Policies"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"file":{"type":"string","description":"The name of the file to import as provided by the response from file-upload."}},"required":["file"]}}}},"responses":{"200":{"description":"Returns the policy object.","content":{"application/json":{"schema":{"type":"object","properties":{"private":{"type":"integer"},"no_target":{"type":"string"},"template_uuid":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"owner":{"type":"string"},"shared":{"type":"integer"},"user_permissions":{"type":"integer"},"last_modification_date":{"type":"integer"},"creation_date":{"type":"integer"},"owner_id":{"type":"integer"},"id":{"type":"integer"}}},"examples":{"response":{"value":{"private":"integer","no_target":"string","template_uuid":"string","description":"string","name":"string","owner":"string","shared":"integer","user_permissions":"integer","last_modification_date":"integer","creation_date":"integer","owner_id":"integer","id":"integer"}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions and CAN EDIT [32] policy permissions. See Permissions.
","operationId":"policies-export","tags":["Policies"],"parameters":[{"description":"The ID of the policy to export.","required":true,"name":"policy_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the policy in nessus (XML) format.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{"To do":"Add response sample here"}}}}}},"403":{"description":"Returned if you do not have permission to export the policy."},"404":{"description":"Returned if Tenable.io cannot find the specified policy."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions and CAN USE [32] policy permissions. See Permissions.
","operationId":"policies-details","tags":["Policies"],"parameters":[{"description":"The ID of the policy to retrieve.","required":true,"name":"policy_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the policy details. This response can be edited and passed directly to the [PUT /policies/{policy_id}](/reference#was-policies-configure) endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"type":"string"},"audits":{"type":"object"},"credentials":{"type":"object"},"plugins":{"type":"object"},"scap":{"type":"object"},"settings":{"type":"object"}}},"examples":{"response":{"value":{"plugins":{"SMTP problems":{"status":"enabled"},"Backdoors":{"status":"enabled"},"Ubuntu Local Security Checks":{"status":"enabled"},"Gentoo Local Security Checks":{"status":"enabled"},"Oracle Linux Local Security Checks":{"status":"enabled"},"RPC":{"status":"enabled"},"Brute force attacks":{"status":"enabled"},"Gain a shell remotely":{"status":"enabled"},"Service detection":{"status":"enabled"},"DNS":{"status":"enabled"},"Mandriva Local Security Checks":{"status":"enabled"},"Junos Local Security Checks":{"status":"enabled"},"Misc.":{"status":"enabled"},"FTP":{"status":"enabled"},"Slackware Local Security Checks":{"status":"enabled"},"Default Unix Accounts":{"status":"enabled"},"AIX Local Security Checks":{"status":"enabled"},"SNMP":{"status":"enabled"},"OracleVM Local Security Checks":{"status":"enabled"},"CGI abuses":{"status":"enabled"},"Settings":{"status":"enabled"},"CISCO":{"status":"enabled"},"Firewalls":{"status":"enabled"},"Databases":{"status":"enabled"},"Debian Local Security Checks":{"status":"enabled"},"Fedora Local Security Checks":{"status":"enabled"},"Netware":{"status":"enabled"},"Huawei Local Security Checks":{"status":"enabled"},"Windows : User management":{"status":"enabled"},"VMware ESX Local Security Checks":{"status":"enabled"},"Virtuozzo Local Security Checks":{"status":"enabled"},"CentOS Local Security Checks":{"status":"enabled"},"Peer-To-Peer File Sharing":{"status":"enabled"},"General":{"status":"enabled"},"Policy Compliance":{"status":"enabled"},"Amazon Linux Local Security Checks":{"status":"enabled"},"Solaris Local Security Checks":{"status":"enabled"},"F5 Networks Local Security Checks":{"status":"enabled"},"Denial of Service":{"status":"enabled"},"Windows : Microsoft Bulletins":{"status":"enabled"},"SuSE Local Security Checks":{"status":"enabled"},"Palo Alto Local Security Checks":{"status":"enabled"},"Red Hat Local Security Checks":{"status":"enabled"},"PhotonOS Local Security Checks":{"status":"enabled"},"HP-UX Local Security Checks":{"status":"enabled"},"Mobile Devices":{"status":"enabled"},"CGI abuses : XSS":{"status":"enabled"},"FreeBSD Local Security Checks":{"status":"enabled"},"Windows":{"status":"enabled"},"MacOS X Local Security Checks":{"status":"enabled"},"Scientific Linux Local Security Checks":{"status":"enabled"},"Web Servers":{"status":"enabled"},"SCADA":{"status":"enabled"}},"settings":{"cisco_offline_configs":"","apm_force_updates":"yes","region_hkg_pref_name":"yes","http_login_max_redir":"0","portscan_range":"default","icmp_unreach_means_host_down":"no","start_cotp_tsap":"8","ssh_port":"22","av_grace_period":"0","http_login_auth_regex_nocase":"no","snmp_port":"161","enable_admin_shares":"no","arista_offline_configs":"","icmp_ping_retries":"2","syn_firewall_detection":"Automatic (normal)","snmp_scanner":"yes","sonicos_offline_configs":"","slice_network_addresses":"no","patch_audit_over_rsh":"no","aws_verify_ssl":"yes","was_http_request_timeout":"5","tcp_ping":"yes","additional_snmp_port3":"161","dell_f10_offline_configs":"","test_default_oracle_accounts":"no","only_portscan_if_enum_failed":"yes","apm_update_timeout":"5","ssl_prob_ports":"Known SSL ports","ping_the_remote_host":"yes","office365filecontents_max_cumulative_size":"","attempt_least_privilege":"no","region_dfw_pref_name":"yes","modbus_start_reg":"0","max_simult_tcp_sessions_per_scan":"","scan_network_printers":"no","stop_scan_on_disconnect":"no","report_verbosity":"Normal","was_plugins_rate_limiter_requests_per_second":"25","fast_network_discovery":"no","udp_ping":"no","scan_malware":"no","never_send_win_creds_in_the_clear":"yes","log_live_hosts":"no","enum_domain_users_start_uid":"1000","name":"Test Policy 1","description":"An example policy.","tcp_scanner":"no","watchguard_offline_configs":"","office365filecontents_modified_within_x_days":"","http_login_invert_auth_regex":"no","smtp_from":"nobody@example.com","smtp_domain":"example.com","thorough_tests":"no","office365filecontents_exclude_paths":"","scan_webapps":"no","dont_use_ntlmv1":"yes","reverse_lookup":"no","smtp_to":"postmaster@[AUTO_REPLACED_IP]","adtran_aos_offline_configs":"","procurve_config_to_audit":"Saved/(show config)","microsoft_azure_subscriptions_ids":"","max_hosts_per_scan":"80","region_syd_pref_name":"yes","start_remote_registry":"no","patch_audit_over_telnet":"no","aws_use_https":"yes","stop_cotp_tsap":"8","unscanned_closed":"no","scan_netware_hosts":"no","ssh_client_banner":"OpenSSH_5.0","enumerate_all_ciphers":"yes","netapp_offline_configs":"","office365filecontents_file_extensions":"","use_kernel_congestion_detection":"no","was_http_request_concurrency":"10","wol_wait_time":"5","huawei_offline_configs":"","report_paranoia":"Normal","http_login_auth_regex_on_headers":"no","wmi_netstat_scanner":"yes","provided_creds_only":"yes","wol_mac_addresses":"","region_lon_pref_name":"yes","cert_expiry_warning_days":"60","bluecoat_proxysg_offline_configs":"","display_unreachable_hosts":"no","verify_open_ports":"no","enum_local_users_end_uid":"1200","udp_scanner":"no","was_plugins_autothrottle":"yes","ssh_known_hosts":"","safe_checks":"yes","patch_audit_over_rexec":"no","fortios_offline_configs":"","brocade_offline_configs":"","allow_post_scan_editing":"yes","report_superseded_patches":"yes","max_simult_tcp_sessions_per_host":"","region_iad_pref_name":"yes","tcp_ping_dest_ports":"built-in","enum_domain_users_end_uid":"1200","max_checks_per_host":"5","junos_offline_configs":"","check_crl":"no","svc_detection_on_all_ports":"yes","scan_ot_devices":"no","syn_scanner":"yes","cisco_config_to_audit":"Saved/(show config)","detect_ssl":"yes","request_windows_domain_info":"yes","network_receive_timeout":"5","aws_ui_region_type":"Rest of the World","additional_snmp_port1":"161","additional_snmp_port2":"161","reduce_connections_on_congestion":"no","icmp_ping":"yes","network_type":"Mixed (use RFC 1918)","checkpoint_gaia_offline_configs":"","office365filecontents_max_size":"","procurve_offline_configs":"","was_browser_cluster_job_timeout":"10","arp_ping":"yes","region_ord_pref_name":"yes","enum_local_users_start_uid":"1000","fireeye_offline_configs":"","extremeos_offline_configs":"","http_login_method":"POST","ssh_netstat_scanner":"yes","silent_dependencies":"yes","enable_plugin_debugging":"no","http_reauth_delay":0,"timeout_abort_threshold":"100","office365filecontents_include_paths":"","modbus_end_reg":"16","host_tagging":"yes"},"uuid":"ad629e16-03b6-8c1d-cef6-ef8c9dd3c658d24bd260ef5f9e66"}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions and CAN EDIT [32] policy permissions. See Permissions.
","operationId":"policies-configure","tags":["Policies"],"parameters":[{"description":"The ID of the policy to change.","required":true,"name":"policy_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io updated the configuration of the specified policy.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{"To do":"Add response sample here"}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified policy."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions and CAN EDIT [32] policy permissions. See Permissions.
","operationId":"policies-delete","tags":["Policies"],"parameters":[{"description":"The ID of the policy to delete.","required":true,"name":"policy_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully deletes the policy.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if you do not have permission to delete the policy."},"404":{"description":"Returned if Tenable.io cannot find the specified policy."},"405":{"description":"Returned if the policy is in use by a scan."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"scanner-groups-create","tags":["Scanner Groups"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name for the new scanner group."},"type":{"type":"string","description":"The type of scanner group. If you omit this parameter, Tenable.io automatically uses the default (`load_balancing`).","enum":["load_balancing"]}},"required":["name"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully creates the scanner group.","content":{"application/json":{"schema":{"type":"object","properties":{"creation_date":{"type":"integer","description":"The creation date for the scanner group in Unix time."},"last_modification_date":{"type":"integer","description":"The last modification date for the scanner group in Unix time."},"owner_id":{"type":"integer","description":"The unique ID of the owner of the scanner group."},"owner":{"type":"string","description":"The username of the owner of the scanner group."},"default_permissions":{"type":"integer","description":"The access permissions for the Default group."},"user_permissions":{"type":"integer","description":"The sharing permissions for the scanner group."},"shared":{"type":"integer","description":"The shared status of the scanner-group."},"scan_count":{"type":"integer","description":"The number of scans currently tasked to the scanner group."},"scanner_count":{"type":"string","description":"The number of scanners associated with this scanner group."},"uuid":{"type":"string","description":"The UUID of the scanner group."},"token":{"type":"string","description":"The unique token for a scanner group."},"flag":{"type":"string","description":"The flag indicating what type of scanner group."},"type":{"type":"string","description":"The type of scanner group. This is set to \"load_balancing\" by default."},"name":{"type":"string","description":"The name of the scanner group."},"network_name":{"type":"string","description":"The name of the network object associated with the scanner group. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio)."},"id":{"type":"integer","description":"The unique ID of the scanner group."},"scanner_id":{"type":"integer","description":"The unique scanner ID of the scanner group."}}},"examples":{"response":{"value":{"creation_date":1545331392,"last_modification_date":1545331392,"owner_id":1,"owner":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","default_permissions":16,"scan_count":0,"uuid":"5bf560f7-1730-4006-bb38-c1ec69e73797","type":"load_balancing","name":"Example Group","id":102826,"owner_name":"system"}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"scanner-groups-list","tags":["Scanner Groups"],"responses":{"200":{"description":"Returns the scanner group list.","content":{"application/json":{"schema":{"type":"object","properties":{"creation_date":{"type":"integer","description":"The creation date for the scanner group in Unix time."},"last_modification_date":{"type":"integer","description":"The last modification date for the scanner group in Unix time."},"owner_id":{"type":"integer","description":"The unique ID of the owner of the scanner group."},"owner":{"type":"string","description":"The username of the owner of the scanner group."},"default_permissions":{"type":"integer","description":"The access permissions for the Default group."},"user_permissions":{"type":"integer","description":"The sharing permissions for the scanner group."},"shared":{"type":"integer","description":"The shared status of the scanner-group."},"scan_count":{"type":"integer","description":"The number of scans currently tasked to the scanner group."},"scanner_count":{"type":"string","description":"The number of scanners associated with this scanner group."},"uuid":{"type":"string","description":"The UUID of the scanner group."},"token":{"type":"string","description":"The unique token for a scanner group."},"flag":{"type":"string","description":"The flag indicating what type of scanner group."},"type":{"type":"string","description":"The type of scanner group. This is set to \"load_balancing\" by default."},"name":{"type":"string","description":"The name of the scanner group."},"network_name":{"type":"string","description":"The name of the network object associated with the scanner group. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio)."},"id":{"type":"integer","description":"The unique ID of the scanner group."},"scanner_id":{"type":"integer","description":"The unique scanner ID of the scanner group."}}},"examples":{"response":{"value":{"scanner_pools":[{"creation_date":1545326169,"last_modification_date":1545345793,"owner_id":1,"owner":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","default_permissions":16,"user_permissions":128,"shared":1,"scan_count":0,"scanner_count":1,"uuid":"9b7b3d08-cc43-4e67-adc6-41b706c0b680","type":"load_balancing","name":"New Group Name","network_name":"Default","id":102823,"scanner_id":144057,"scanner_uuid":"9b7b3d08-cc43-4e67-adc6-41b706c0b680","owner_name":"system"},{"creation_date":1545326198,"last_modification_date":1545345902,"owner_id":1,"owner":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","default_permissions":16,"user_permissions":128,"shared":1,"scan_count":0,"scanner_count":1,"uuid":"80ac7fcd-429b-4858-9d85-207577f6a35c","type":"load_balancing","name":"Group New Name","network_name":"Columbia","id":102824,"scanner_id":144058,"scanner_uuid":"80ac7fcd-429b-4858-9d85-207577f6a35c","owner_name":"system"},{"creation_date":1545331154,"last_modification_date":1545331154,"owner_id":1,"owner":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","default_permissions":16,"user_permissions":128,"shared":1,"scan_count":0,"scanner_count":2,"uuid":"f00b532a-cbcd-4f9e-9292-9174083332df","type":"load_balancing","name":"test1","network_name":"San Francisco","id":102825,"scanner_id":144059,"scanner_uuid":"f00b532a-cbcd-4f9e-9292-9174083332df","owner_name":"system"}]}}}}}},"403":{"description":"Returned if you do not have permission to view the list."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"scanner-groups-details","tags":["Scanner Groups"],"parameters":[{"description":"The ID of the scanner group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the scanner group details.","content":{"application/json":{"schema":{"type":"object","properties":{"creation_date":{"type":"integer","description":"The creation date for the scanner group in Unix time."},"last_modification_date":{"type":"integer","description":"The last modification date for the scanner group in Unix time."},"owner_id":{"type":"integer","description":"The unique ID of the owner of the scanner group."},"owner":{"type":"string","description":"The username of the owner of the scanner group."},"default_permissions":{"type":"integer","description":"The access permissions for the Default group."},"user_permissions":{"type":"integer","description":"The sharing permissions for the scanner group."},"shared":{"type":"integer","description":"The shared status of the scanner-group."},"scan_count":{"type":"integer","description":"The number of scans currently tasked to the scanner group."},"scanner_count":{"type":"string","description":"The number of scanners associated with this scanner group."},"uuid":{"type":"string","description":"The UUID of the scanner group."},"token":{"type":"string","description":"The unique token for a scanner group."},"flag":{"type":"string","description":"The flag indicating what type of scanner group."},"type":{"type":"string","description":"The type of scanner group. This is set to \"load_balancing\" by default."},"name":{"type":"string","description":"The name of the scanner group."},"network_name":{"type":"string","description":"The name of the network object associated with the scanner group. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio)."},"id":{"type":"integer","description":"The unique ID of the scanner group."},"scanner_id":{"type":"integer","description":"The unique scanner ID of the scanner group."}}},"examples":{"response":{"value":{"creation_date":1545326169,"last_modification_date":1545326169,"owner_id":1,"owner":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","default_permissions":16,"user_permissions":128,"shared":1,"scan_count":0,"uuid":"9b7b3d08-cc43-4e67-adc6-41b706c0b680","type":"load_balancing","name":"New Scanner Group","network_name":"Default","id":102823,"scanner_id":144057,"scanner_uuid":"9b7b3d08-cc43-4e67-adc6-41b706c0b680","owner_name":"system"}}}}}},"403":{"description":"Returned if you do not have permission to view the scanner group."},"404":{"description":"Returned if Tenable.io cannot find the specified scanner group."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"scanner-groups-edit","tags":["Scanner Groups"],"parameters":[{"description":"The ID of the scanner group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The new name for the scanner group."}},"required":["name"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully updates the scanner group.","content":{"application/json":{"schema":{"type":"object","properties":{"creation_date":{"type":"integer","description":"The creation date for the scanner group in Unix time."},"last_modification_date":{"type":"integer","description":"The last modification date for the scanner group in Unix time."},"owner_id":{"type":"integer","description":"The unique ID of the owner of the scanner group."},"owner":{"type":"string","description":"The username of the owner of the scanner group."},"default_permissions":{"type":"integer","description":"The access permissions for the Default group."},"user_permissions":{"type":"integer","description":"The sharing permissions for the scanner group."},"shared":{"type":"integer","description":"The shared status of the scanner-group."},"scan_count":{"type":"integer","description":"The number of scans currently tasked to the scanner group."},"scanner_count":{"type":"string","description":"The number of scanners associated with this scanner group."},"uuid":{"type":"string","description":"The UUID of the scanner group."},"token":{"type":"string","description":"The unique token for a scanner group."},"flag":{"type":"string","description":"The flag indicating what type of scanner group."},"type":{"type":"string","description":"The type of scanner group. This is set to \"load_balancing\" by default."},"name":{"type":"string","description":"The name of the scanner group."},"network_name":{"type":"string","description":"The name of the network object associated with the scanner group. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio)."},"id":{"type":"integer","description":"The unique ID of the scanner group."},"scanner_id":{"type":"integer","description":"The unique scanner ID of the scanner group."}}},"examples":{"response":{"value":{"owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","created":1545326169245,"modified":1545345793683,"container_uuid":"36f234c4-4ae3-4353-9324-8ad3dcc7fcc5","uuid":"9b7b3d08-cc43-4e67-adc6-41b706c0b680","id":102823,"name":"New Group Name","type":"load_balancing","distributed":false,"default_permissions":16,"network_name":"Default","shared":1,"user_permissions":128,"created_in_seconds":1545326169,"modified_in_seconds":1545345793}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified scanner group."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"scanner-groups-delete","tags":["Scanner Groups"],"parameters":[{"description":"The ID of the scanner group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully deletes the specified scanner group.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified scanner group."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"scanner-groups-list-scanners","tags":["Scanner Groups"],"parameters":[{"description":"The ID of the scanner group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the list of scanners in the group.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the scanner."},"uuid":{"type":"string","description":"The UUID of the scanner."},"name":{"type":"string","description":"The user-defined name of the scanner."},"network_name":{"type":"string","description":"The name of the network object associated with the scanner. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio)."},"type":{"type":"string","description":"The type of scanner (local or remote)."},"status":{"type":"string","description":"The status of the scanner (on or off)."},"scan_count":{"type":"integer","description":"The current number of running scans on the scanner."},"engine_version":{"type":"string","description":"The version of the scanner."},"platform":{"type":"string","description":"The platform of the scanner."},"loaded_plugin_set":{"type":"string","description":"The current plugin set on the scanner."},"registration_code":{"type":"string","description":"The registration code of the scanner."},"owner":{"type":"string","description":"The owner of the scanner."},"key":{"type":"string","description":"An alpha-numeric sequence of characters used when linking a scanner to Tenable.io."},"license":{"type":"object","properties":{"type":{"type":"string","description":"The license type."},"ips":{"type":"integer","description":"The number of hosts the scanner is licensed to use."},"agents":{"type":"integer","description":"The number of hosts agents scanner is licensed to use."},"scanners":{"type":"integer","description":"The number of scanners the scanner is licensed to use."}}}}}},"examples":{"response":{"value":{"scanners":[{"creation_date":1543416914,"group":true,"id":141483,"key":"e3eeefeacca0d998c466af126549d68ef0f4e0d0ba3ab04a6e59a1d8a8a57079","last_connect":null,"last_modification_date":1543416914,"license":null,"linked":1,"name":"EU Frankfurt Cloud Scanners","num_scans":0,"owner":"system","owner_id":1,"owner_name":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","pool":true,"scan_count":0,"source":"service","status":"on","timestamp":1543416914,"type":"local","uuid":"06ab826a-301d-7829-d2c4-37f400c0f949ea8cce60f523eeef"},{"creation_date":1543416914,"group":true,"id":141482,"key":"83520d0f4da8265cb52f7b558a3319ecb36d4b0ea490d4f9ec4ca9f2e1eee8b9","last_connect":null,"last_modification_date":1543416914,"license":null,"linked":1,"name":"AP Singapore Cloud Scanners","num_scans":0,"owner":"system","owner_id":1,"owner_name":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","pool":true,"scan_count":0,"source":"service","status":"on","timestamp":1543416914,"type":"local","uuid":"1b895828-62a9-5084-8bc5-d4864a927fb10523d1e84e3fef44"},{"creation_date":1545331392,"group":true,"id":144060,"key":"7ceeb2b90a14d640093e5c6b6a163d0e625e575f71ee7dec9b4d97b90a874d98","last_connect":null,"last_modification_date":1545331392,"linked":1,"name":"Example Group","num_scans":0,"owner":"system","owner_id":1,"owner_name":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","pool":true,"scan_count":0,"source":"service","status":"on","timestamp":1545331392,"type":"pool","uuid":"5bf560f7-1730-4006-bb38-c1ec69e73797"}]}}}}}},"403":{"description":"Returned if you do not have permission to view the list."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"scanner-groups-add-scanner","tags":["Scanner Groups"],"parameters":[{"description":"The ID of the scanner group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the scanner to add to the scanner group.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully adds the scanner to the scanner group.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{"To do":"Add response sample here"}}}}}},"400":{"description":"Returned if you attempt to add a scanner group to another scanner group."},"409":{"description":"Returned if you attempt to add a scanner to a scanner group that the scanner is already a member of.","content":{"text/html":{"examples":{"response":{"value":{"error":"Scanner 00000000-0000-0000-0000-00000000000000000000000000001 already exists in group 9b7b3d08-cc43-4e67-adc6-41b706c0b680"}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"scanner-groups-delete-scanner","tags":["Scanner Groups"],"parameters":[{"description":"The ID of the scanner group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the scanner to remove from the scanner group.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully removes the scanner from the scanner group.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"scanners-list","tags":["Scanners"],"responses":{"200":{"description":"Returns the scanner list.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the scanner."},"uuid":{"type":"string","description":"The UUID of the scanner."},"name":{"type":"string","description":"The user-defined name of the scanner."},"network_name":{"type":"string","description":"The name of the network object associated with the scanner. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio)."},"type":{"type":"string","description":"The type of scanner (local or remote)."},"status":{"type":"string","description":"The status of the scanner (on or off)."},"scan_count":{"type":"integer","description":"The current number of running scans on the scanner."},"engine_version":{"type":"string","description":"The version of the scanner."},"platform":{"type":"string","description":"The platform of the scanner."},"loaded_plugin_set":{"type":"string","description":"The current plugin set on the scanner."},"registration_code":{"type":"string","description":"The registration code of the scanner."},"owner":{"type":"string","description":"The owner of the scanner."},"key":{"type":"string","description":"An alpha-numeric sequence of characters used when linking a scanner to Tenable.io."},"license":{"type":"object","properties":{"type":{"type":"string","description":"The license type."},"ips":{"type":"integer","description":"The number of hosts the scanner is licensed to use."},"agents":{"type":"integer","description":"The number of hosts agents scanner is licensed to use."},"scanners":{"type":"integer","description":"The number of scanners the scanner is licensed to use."}}}}}},"examples":{"response":{"value":{"scanners":[{"creation_date":1543416914,"group":true,"id":141483,"key":"e3eeefeacca0d998c466af126549d68ef0f4e0d0ba3ab04a6e59a1d8a8a57079","last_connect":null,"last_modification_date":1543416914,"license":{"agents":512,"ips":1024,"scanners":2,"users":10,"enterprise_pause":false,"expiration_date":1551160800,"evaluation":false,"apps":{"was":{"mode":"eval","expiration_date":1549299101}},"scanners_used":0,"agents_used":0},"linked":1,"name":"EU Frankfurt Cloud Scanners","network_name":"Default","num_scans":0,"owner":"system","owner_id":1,"owner_name":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","pool":true,"scan_count":0,"shared":1,"source":"service","status":"on","timestamp":1543416914,"type":"local","user_permissions":64,"uuid":"06ab826a-301d-7829-d2c4-37f400c0f949ea8cce60f523eeef"},{"creation_date":1543416914,"group":true,"id":141484,"key":"70d1969c3a1a14697ad51f27f1ee4afe48ef535051d90f5481e32fd78005f05a","last_connect":null,"last_modification_date":1543416914,"license":{"agents":512,"ips":1024,"scanners":2,"users":10,"enterprise_pause":false,"expiration_date":1551160800,"evaluation":false,"apps":{"was":{"mode":"eval","expiration_date":1549299101}},"scanners_used":0,"agents_used":0},"linked":1,"name":"US Cloud Scanner","network_name":"Default","num_scans":0,"owner":"system","owner_id":1,"owner_name":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","pool":true,"scan_count":0,"shared":1,"source":"service","status":"on","timestamp":1543416914,"type":"local","user_permissions":64,"uuid":"00000000-0000-0000-0000-00000000000000000000000000001"},{"creation_date":1543416914,"group":true,"id":141486,"key":"288b2c20c88c1c5d4dbd9a561713cfc91bacccb65d1d4f6e2edee244afc43c87","last_connect":null,"last_modification_date":1543416914,"license":{"agents":512,"ips":1024,"scanners":2,"users":10,"enterprise_pause":false,"expiration_date":1551160800,"evaluation":false,"apps":{"was":{"mode":"eval","expiration_date":1549299101}},"scanners_used":0,"agents_used":0},"linked":1,"name":"US West Cloud Scanners","network_name":"Default","num_scans":0,"owner":"system","owner_id":1,"owner_name":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","pool":true,"scan_count":0,"shared":1,"source":"service","status":"on","timestamp":1543416914,"type":"local","user_permissions":64,"uuid":"37b315c1-f31f-cc8e-7e78-585c609fc1d7eba88f8d1e7d24b3"}]}}}}}},"403":{"description":"Returned if you do not have permission to view the list."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"scanners-details","tags":["Scanners"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the scanner details.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the scanner."},"uuid":{"type":"string","description":"The UUID of the scanner."},"name":{"type":"string","description":"The user-defined name of the scanner."},"network_name":{"type":"string","description":"The name of the network object associated with the scanner. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio)."},"type":{"type":"string","description":"The type of scanner (local or remote)."},"status":{"type":"string","description":"The status of the scanner (on or off)."},"scan_count":{"type":"integer","description":"The current number of running scans on the scanner."},"engine_version":{"type":"string","description":"The version of the scanner."},"platform":{"type":"string","description":"The platform of the scanner."},"loaded_plugin_set":{"type":"string","description":"The current plugin set on the scanner."},"registration_code":{"type":"string","description":"The registration code of the scanner."},"owner":{"type":"string","description":"The owner of the scanner."},"key":{"type":"string","description":"An alpha-numeric sequence of characters used when linking a scanner to Tenable.io."},"license":{"type":"object","properties":{"type":{"type":"string","description":"The license type."},"ips":{"type":"integer","description":"The number of hosts the scanner is licensed to use."},"agents":{"type":"integer","description":"The number of hosts agents scanner is licensed to use."},"scanners":{"type":"integer","description":"The number of scanners the scanner is licensed to use."}}}}},"examples":{"response":{"value":{"creation_date":1543416914,"group":true,"id":141482,"key":"83520d0f4da8265cb52f7b558a3319ecb36d4b0ea490d4f9ec4ca9f2e1eee8b9","last_connect":null,"last_modification_date":1543416914,"license":null,"linked":1,"name":"AP Singapore Cloud Scanners","network_name":"Default","num_scans":0,"owner":"system","owner_id":1,"owner_name":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","pool":true,"scan_count":0,"shared":1,"source":"service","status":"on","timestamp":1543416914,"type":"local","user_permissions":64,"uuid":"1b895828-62a9-5084-8bc5-d4864a927fb10523d1e84e3fef44"}}}}}},"403":{"description":"Returned if you do not have permission to view the specified scanner."},"404":{"description":"Returned if Tenable.io cannot find the specified scanner."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"scanners-edit","tags":["Scanners"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"force_plugin_update":{"type":"integer","description":"Pass 1 to force a plugin update.","format":"int32"},"force_ui_update":{"type":"integer","description":"Pass 1 to force a UI update.","format":"int32"},"finish_update":{"type":"integer","description":"Pass 1 to reboot the scanner and run the latest software update (only valid if automatic updates are disabled).","format":"int32"},"registration_code":{"type":"string","description":"Sets the registration code for the scanner."},"aws_update_interval":{"type":"integer","description":"For Amazon Web Services scanners this will tell the scanner how often to check in Tenable.io.","format":"int32"}}}}}},"responses":{"200":{"description":"Returned if Tenable.io succesfully updates the specified scanner.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the scanner."},"uuid":{"type":"string","description":"The UUID of the scanner."},"name":{"type":"string","description":"The user-defined name of the scanner."},"network_name":{"type":"string","description":"The name of the network object associated with the scanner. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio)."},"type":{"type":"string","description":"The type of scanner (local or remote)."},"status":{"type":"string","description":"The status of the scanner (on or off)."},"scan_count":{"type":"integer","description":"The current number of running scans on the scanner."},"engine_version":{"type":"string","description":"The version of the scanner."},"platform":{"type":"string","description":"The platform of the scanner."},"loaded_plugin_set":{"type":"string","description":"The current plugin set on the scanner."},"registration_code":{"type":"string","description":"The registration code of the scanner."},"owner":{"type":"string","description":"The owner of the scanner."},"key":{"type":"string","description":"An alpha-numeric sequence of characters used when linking a scanner to Tenable.io."},"license":{"type":"object","properties":{"type":{"type":"string","description":"The license type."},"ips":{"type":"integer","description":"The number of hosts the scanner is licensed to use."},"agents":{"type":"integer","description":"The number of hosts agents scanner is licensed to use."},"scanners":{"type":"integer","description":"The number of scanners the scanner is licensed to use."}}}}},"examples":{"response":{"value":{"owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","created":1543416914744,"modified":1545944374309,"container_uuid":"36f234c4-4ae3-4353-9324-8ad3dcc7fcc5","uuid":"06ab826a-301d-7829-d2c4-37f400c0f949ea8cce60f523eeef","id":141483,"network_id":"00000000-0000-0000-0000-000000000000","key":"e3eeefeacca0d998c466af126549d68ef0f4e0d0ba3ab04a6e59a1d8a8a57079","name":"EU Frankfurt Cloud Scanners","type":"local","system":true,"linked":1,"settings":{},"network_name":"Default","default_permissions":16,"shared":1,"user_permissions":64,"status":"on","lce":false,"pvs":false,"aws":false,"industrial_security":false,"webapp":false,"group":true,"can_factory_reset":false,"scanner_scanner":false,"system_group_scanner":true,"system_scanner_scanner":false,"system_webapp_scanner":false,"created_in_seconds":1543416914,"modified_in_seconds":1545944374}}}}}},"403":{"description":"Returned if you attempt to update a cloud scanner where you don't have edit permissions, or if you attempt to set a registration code for an Amazon Web Services scanner."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"scanners-delete","tags":["Scanners"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully deletes/unlinks the scanner.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if you attempt to delete the local scanner."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"scanners-get-scanner-key","tags":["Scanners"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the scanner key.","content":{"application/json":{"schema":{"type":"object","properties":{"scanner_id":{"type":"string","description":"The key of the scanner."}}},"examples":{"response":{"value":{"key":"615f4cbeda288998dffe534d36385a422cd4e27be34dcdd7738dc0a01b787f5f"}}}}}},"403":{"description":"Returned if you do not have permission to view scanner data."},"404":{"description":"Returned if Tenable.io cannot find the specified scanner."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"scanners-get-aws-targets","tags":["Scanners"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the AWS target list for the specified scanner.","content":{"application/json":{"schema":{"type":"object","properties":{"scanner_id":{"type":"integer","description":"The ID of the scanner."},"instance_id":{"type":"string","description":"Unique instance identifier from Amazon."},"private_ip":{"type":"string","description":"Private IP address of the AWS instance."},"public_ip":{"type":"string","description":"Public IP address of the AWS instance."},"state":{"type":"string","description":"The state of the instance. Can be one of the following values: `running`, `stopped`, or `terminated`."},"zone":{"type":"string","description":"The availability zone for the instance. Example: `us-east-1a`, `us-east-1b`, etc..."},"type":{"type":"string","description":"The size of the instance. Example: `t2.small`, `t2.medium`, etc..."},"name":{"type":"string","description":"The user-defined name of the instance."}}},"examples":{"response":{"value":{"object":"aws-target"}}}}}},"403":{"description":"Returned if you do not have permission to view scanner data."},"404":{"description":"Returned if Tenable.io cannot find the specified scanner, or if the scanner is not an AWS scanner."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"scanners-get-scans","tags":["Scanners"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the list of scans running on the specified scanner.","content":{"application/json":{"schema":{"type":"object","properties":{"scanner_uuid":{"type":"string","description":"The UUID of the scanner the scan belongs to."},"name":{"type":"string","description":"The name of the scan."},"status":{"type":"string","description":"Scan status. One of pending, processing, stopping, pausing, paused, resuming, or running."},"id":{"type":"string","description":"The scan UUID."},"scan_id":{"type":"integer","description":"The ID of the scan."},"user":{"type":"string","description":"The username of the owner of the scan."},"last_modification_date":{"type":"integer","description":"The last time the scan was modified."},"start_time":{"type":"integer","description":"When the scan was started."},"remote":{"type":"boolean","description":"true if the scan is running remotely; false otherwise."},"network_id":{"type":"string","description":"The ID of the network object associated with the scanner currently running the scan. The default network ID is `00000000-0000-0000-0000-000000000000`. To determine the ID of a custom network, use the [GET /networks](/reference#networks-list) endpoint. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio)."}}},"examples":{"response":{"value":{"scans":[{"scan_id":36,"scanner_uuid":"00000000-0000-0000-0000-00000000000000000000000000001","name":"Basic Scan","status":"pending","id":"cd5c32e9-0b66-4c31-b61a-8d1bdd8a67ad","user":"API Demo User","user_uuid":"394a4be9-782d-406a-9d0a-695188260f0b","last_modification_date":1545945321,"start_time":1545945321,"network_id":"df4656fc-9ba8-4efb-bd1f-ff83991ec107"}]}}}}}},"403":{"description":"Returned if you do not have permission to view scanner data."},"404":{"description":"Returned if Tenable.io cannot find the specified scanner."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"scanners-control-scans","tags":["Scanners"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The UUID of the scan.","required":true,"name":"scan_uuid","in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","description":"An action to perform on a scan. Valid values are `stop`, `pause`, and `resume`."}},"required":["action"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully completes the specified action.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if you do not have permission to perform the specified action."},"404":{"description":"Returned if Tenable.io cannot find the specified scan or scanner."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions. See Permissions.
","operationId":"scanners-toggle-link-state","tags":["Scanners"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"link":{"type":"integer","description":"Pass `1` enable the link. Pass `0` to disable.","format":"int32"}},"required":["link"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully updates the link state of the scanner.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if you attempt to edit a cloud scanner where you do not have edit permissions."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions. See Permissions.
","operationId":"scans-create","tags":["Scans"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"type":"string","description":"The UUID for the editor template to use. Use the [GET /editor/scan/templates] (#editor-list-templates) endpoint to find the template UUID.","example":"ab4bacd2-05f6-425c-9d79-3ba3940ad1c24e51e1f403febe40"},"settings":{"type":"object","properties":{"name":{"type":"string","description":"The name of the scan."},"description":{"type":"string","description":"The description of the scan."},"policy_id":{"type":"integer","description":"The unique ID of the policy to use. If your user permissions are set to SCAN OPERATOR [24], this parameter is required. Use the [GET /policies] (#policies-list) endpoint to find the policy ID.","format":"int32"},"folder_id":{"type":"integer","description":"The unique ID of the destination folder for the scan. Use the [GET /folders] (#folders-list) endpoint to find the folder ID.","format":"int32"},"scanner_id":{"type":"integer","description":"The unique ID of the scanner to use. Use the [GET /scanners] (#scanners-list) endpoint to find the scanner ID.","example":"1","format":"int32"},"scanner_uuid":{"type":"string","description":"The UUID of the scanner to use. Use the [GET /scanners] (#scanners-list) endpoint to find the scanner UUID."},"enabled":{"type":"boolean","description":"If `true`, the schedule for the scan is enabled."},"launch":{"type":"string","description":"When to launch the scan. (i.e. ON\\_DEMAND, DAILY, WEEKLY, MONTHLY, YEARLY)","enum":["ON_DEMAND","DAILY","WEEKLY","MONTHLY","YEARLY"]},"starttime":{"type":"string","description":"The starting time and date for the scan (i.e. YYYYMMDDTHHMMSS).","example":"20140826T133000"},"rrules":{"type":"string","description":"The interval at which the scan repeats. The interval is formatted as a string of three values delimited by semi-colons. These values are: the frequency (FREQ=ONETIME or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). For a scan that runs every three weeks on Monday Wednesday and Friday, the string would be `FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR`.","example":"FREQ=DAILY;INTERVAL=1"},"timezone":{"type":"string","description":"The timezone for the scan schedule. Use the [GET /scans/timezones] (#scans-timezones) endpoint to find the scanner ID.","example":"America/New_York"},"text_targets":{"type":"string","description":"The list of targets to scan.","example":"localhost"},"file_targets":{"type":"string","description":"The name of a file containing the list of targets to scan. Use the [POST /files/upload] (#file-upload) endpoint to upload the file to Tenable.io.","example":"scan_targets.txt"},"tag_targets":{"type":"array","description":"The list of asset tag identifiers the scan uses to determine which assets it evaluates. For more information about tag-based scans, see [Manage Tag-Based Scans](/docs/manage-tag-based-scans-tio).","items":{"type":"string","description":"The UUID for an asset tag value. For more information about asset tags, see [Manage Asset Tags](/docs/manage-asset-tags-tio)."}},"agent_group_id":{"items":{"type":"string"},"description":"An array of agent group UUIDs to scan. Required if the scan is an agent scan.","type":"array"},"emails":{"type":"string","description":"A comma-separated list of accounts that receive the email summary report.","example":"test1@test.com, test2@test.com"},"acls":{"items":{"type":"object","properties":{"permissions":{"type":"integer","description":"The scan permission. For more information, see [Permissions](/docs/permissions)."},"owner":{"type":"integer","description":"A value that indicates whether the user or user group specified in the object owns the scan. Possible values include: `null` (system-owned permissions), `0` (the user is not the owner of the scan), `1` (the user is the owner of the scan)."},"display_name":{"type":"string","description":"The name of the user or group granted the specified permissions, as it appears in the Tenable.io user interface."},"name":{"type":"string","description":"The name of the user or group granted the specified permissions."},"id":{"type":"integer","description":"A number representing the order in which the user or user groups display in the Permissions tab in the Tenable.io user interface."},"type":{"type":"string","description":"The type of scan permissions: `default` (default permissions for the scan), `user` (permissions for an individual user), or `group` (permissions for a user group)."}}},"description":"An array containing permissions to apply to the scan.","type":"array","example":"[{\"type\": \"default\", \"permissions\": 16}, {\"type\": \"user\", \"permissions\": 64, \"name\": \"admin\", \"id\": 1, \"owner\": 1}]"}},"required":["name","enabled","text_targets"]}},"required":["uuid"]}}}},"responses":{"200":{"description":"Returned if Tenable.io creates the scan configuration successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"container_id":{"type":"string","description":"The unique ID of your Tenable.io instance."},"owner_uuid":{"type":"string","description":"The unique ID of the scan owner."},"uuid":{"type":"string","description":"The UUID of the schedule for the scan."},"name":{"type":"string","description":"The user-defined scan name."},"description":{"type":"string","description":"A brief user-defined description of the scan."},"policy_id":{"type":"integer","description":"The unique ID of the policy associated with the scan."},"scanner_id":{"type":"integer","description":"The unique ID of the scanner that the scan is configured to use.","example":"1","format":"int32"},"scanner_uuid":{"type":"string","description":"The UUID of the scanner that the scan is configured to use."},"emails":{"type":"string","description":"A comma-separated list of accounts that receive the email summary report.","example":"test1@test.com, test2@test.com"},"sms":{"type":"string","description":"A comma-separated list of mobile phone numbers that receive notification of the scan."},"enabled":{"type":"boolean","description":"A value indicating whether the scan schedule is active (`true`) or inactive (`false`)."},"dashboard_file":{"type":"string","description":"The name of the dashboard file associated with the scan."},"include_aggregate":{"type":"boolean","description":"A value indicating whether the scan results appear in dashboards."},"scan_time_window":{"type":"string","description":"The time frame during which agents must report in order to be included and visible in vulnerability reports. For non-agent scans, this attribute is `null`."},"custom_targets":{"type":"string","description":"Targets you specify in the text_targets parameter of the request message that creates or modifies the scan configuration."},"starttime":{"type":"string","description":"The scheduled start time for the scan."},"rrules":{"type":"string","description":"The interval at which the scan repeats. The interval is formatted as a string of three values delimited by semi-colons. These values are: the frequency (FREQ=ONETIME or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). For a scan that runs every three weeks on Monday Wednesday and Friday, the string would be `FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR`. If the scan is not scheduled to recur, this attribute is `null`. "},"timezone":{"type":"string","description":"The timezone for the scan."},"notification_filters":{"type":"array","description":"A list of filters that Tenable.io applies to determine whether it sends a notification email on scan completion to the recipients specified in the `emails` attribute.","items":{"type":"object","properties":{"value":{"type":"string","description":"The attribute value Tenable.io filters on. For example, when filtering on severity, this attribute might specify `Critical`."},"quality":{"type":"string","description":"The operator Tenable.io applies to the filter value, for example, `eq`."},"filter":{"type":"string","description":"The attribute name. For example, use the `risk_factor` attribute if you want to filter on vulnerability severity."}}}},"tag_targets":{"type":"array","description":"The list of asset tag identifiers the scan uses to determine which assets it evaluates. For more information about tag-based scans, see [Manage Tag-Based Scans](/docs/manage-tag-based-scans-tio).","items":{"type":"string","description":"The UUID for an asset tag value. For more information about asset tags, see [Manage Asset Tags](/docs/manage-asset-tags-tio)."}},"shared":{"type":"boolean","description":"If `1`, the scan is shared with users other than the scan owner. The level of sharing is specified in the `acls` attribute of the scan details."},"user_permissions":{"type":"integer","description":"The sharing permissions for the scan.","format":"int32"},"default_permissions":{"type":"integer","description":"The default permissions for the scan.","format":"int32"},"owner":{"type":"string","description":"The owner of the scan."},"owner_id":{"type":"integer","description":"The unique ID of the owner of the scan."},"last_modification_date":{"type":"integer","description":"For newly-created scans, the date on which the scan configuration was created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was last modified. Instead, it represents the date on which the scan was last launched, in Unix time format. Tenable.io updates this attribute each time the scan launches.","format":"int32"},"creation_date":{"type":"integer","description":"For newly-created scans, the date on which the scan configuration was originally created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was originally created. Instead, it represents the date on which the scan was first launched, in Unix time format.","format":"int32"},"type":{"type":"string","description":"The type of scan."},"id":{"type":"integer","description":"The unique ID of the scan.","format":"int32"}}},"examples":{"response":{"value":{"scan":{"container_id":"40ac4662-6af3-4a0b-b422-93387ec0f298","owner_uuid":"50f84b7f-d1d3-4182-bb46-79cf5c51806e","uuid":"template-c311aa94-82d0-7827-6c71-72978df15544f4f660ba792e0b0f","name":"Full Network Scan","description":"Scan all hosts daily","policy_id":16,"scanner_id":null,"scanner_uuid":"00000000-0000-0000-0000-00000000000000000000000000001","emails":null,"sms":"","enabled":true,"dashboard_file":null,"include_aggregate":true,"scan_time_window":null,"custom_targets":"host1.example.com\r\nhost2.example.com\r\nhost3.example.com\r\nhost4.example.com\r\nhost5.example.com\r\n","starttime":null,"rrules":null,"timezone":"US-Central","notification_filters":null,"tag_targets":["6fb39d03-fc3d-470d-96f1-6dbb7bef1f51","715f11cc-c503-4a73-9dc2-cbfb1089616d"],"shared":0,"user_permissions":128,"default_permissions":0,"owner":"user2@example.com","owner_id":2,"last_modification_date":1544145190,"creation_date":1544145190,"type":"public","id":26}}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions and CAN VIEW [16] scan permissions. See Permissions.
","operationId":"scans-list","tags":["Scans"],"parameters":[{"description":"The ID of the folder where the scans you want to list are stored.","required":false,"name":"folder_id","in":"query","schema":{"type":"integer"}},{"description":"Limit the results to those scans that have only changed since the specified time.","required":false,"name":"last_modification_date","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"Returns the scan list.","content":{"application/json":{"schema":{"type":"object","properties":{"folders":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the folder."},"name":{"type":"string","description":"The name of the folder."},"type":{"type":"string","description":"The type of the folder (main, trash, custom)."},"default_tag":{"type":"integer","description":"Whether or not the folder is the default (1 or 0)."},"custom":{"type":"integer","description":"The custom status of the folder (1 or 0)."},"unread_count":{"type":"integer","description":"The number of unread scans in the folder."}}}},"scans":{"type":"array","items":{"type":"object","properties":{"legacy":{"type":"boolean","description":"A value indicating whether the scan results were created before a change in storage method. If `true`, Tenable.io stores the results in the old storage method. If `false`, Tenable.io stores the results in the new storage method."},"permissions":{"type":"integer","description":"The requesting user's permissions for the scan.","format":"int32"},"type":{"type":"string","description":"The type of scan."},"read":{"type":"boolean","description":"A value indicating whether the user account associated with the request message has viewed the scan in the Tenable.io user interface. If `1`, the user account has viewed the scan results."},"last_modification_date":{"type":"integer","description":"For newly-created scans, the date on which the scan configuration was created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was last modified. Instead, it represents the date on which the scan was last launched, in Unix time format. Tenable.io updates this attribute each time the scan launches.","format":"int32"},"creation_date":{"type":"integer","description":"For newly-created scans, the date on which the scan configuration was originally created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was originally created. Instead, it represents the date on which the scan was first launched, in Unix time format.","format":"int32"},"status":{"type":"string","description":"The status of the scan (completed, aborted, imported, pending, running, resuming, canceling, canceled, pausing, paused, stopping, stopped)."},"uuid":{"type":"string","description":"The UUID of the scan."},"shared":{"type":"boolean","description":"If `true`, the scan is shared with users other than the scan owner. The level of sharing is specified in the `acls` attribute of the scan details."},"user_permissions":{"type":"integer","description":"The sharing permissions for the scan.","format":"int32"},"owner":{"type":"string","description":"The owner of the scan."},"schedule_uuid":{"type":"string","description":"The UUID for a specific instance in the scan schedule."},"timezone":{"type":"string","description":"The timezone for the scan."},"rrules":{"type":"string","description":"The interval at which the scan repeats. The interval is formatted as a string of three values delimited by semi-colons. These values are: the frequency (FREQ=ONETIME or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). For a scan that runs every three weeks on Monday Wednesday and Friday, the string would be `FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR`. If the scan is not scheduled to recur, this attribute is `null`. "},"starttime":{"type":"string","description":"The scheduled start time for the scan."},"enabled":{"type":"boolean","description":"A value indicating whether the scan schedule is active (`true`) or inactive (`false`)."},"control":{"type":"boolean","description":"If `true`, the scan has a schedule and can be launched."},"name":{"type":"string","description":"The name of the scan."},"id":{"type":"integer","description":"The unique ID of the scan.","format":"int32"}}}},"timestamp":{"type":"integer","description":"The Unix timestamp when Tenable.io received the list request.","format":"int32"}}},"examples":{"response":{"value":{"folders":[{"unread_count":0,"custom":0,"default_tag":0,"type":"trash","name":"Trash","id":8},{"unread_count":0,"custom":0,"default_tag":1,"type":"main","name":"My Scans","id":9}],"scans":[{"legacy":false,"permissions":128,"type":null,"read":true,"last_modification_date":1430934526,"creation_date":1430933086,"status":"imported","uuid":"2776e999-1f5b-45b9-2e15-65a7be35b2e3ab8f7ecb158c480e","shared":false,"user_permissions":128,"owner":"user2@example.com","schedule_uuid":"0fafc7a8-c5f6-fe9d-68b9-4d60ab0d9d2cf60557ee0e264228","timezone":null,"rrules":null,"starttime":null,"enabled":false,"control":false,"name":"KitchenSinkScan","id":11},{"permissions":128,"type":null,"read":true,"last_modification_date":0,"creation_date":0,"status":"empty","uuid":null,"shared":false,"user_permissions":128,"owner":"user2@example.com","schedule_uuid":"template-c311aa94-82d0-7827-6c71-72978df15544f4f660ba792e0b0f","timezone":"US-Central","rrules":null,"starttime":null,"enabled":true,"control":true,"name":"Full Network Scan","id":26},{"permissions":128,"type":null,"read":true,"last_modification_date":0,"creation_date":0,"status":"empty","uuid":null,"shared":false,"user_permissions":128,"owner":"user2@example.com","schedule_uuid":"template-5f050b0a-6be6-1eb8-68dc-5a2f459ec7f710499ad7667391df","timezone":null,"rrules":null,"starttime":null,"enabled":false,"control":true,"name":"test-scan-2","id":25},{"permissions":128,"type":null,"read":true,"last_modification_date":0,"creation_date":0,"status":"empty","uuid":null,"shared":false,"user_permissions":128,"owner":"user2@example.com","schedule_uuid":"template-95626145-6b38-96bc-238f-148b1353910d0c27f2a930c2c843","timezone":null,"rrules":null,"starttime":null,"enabled":false,"control":true,"name":"test-scan","id":23},{"permissions":128,"type":null,"read":true,"last_modification_date":0,"creation_date":0,"status":"empty","uuid":null,"shared":false,"user_permissions":128,"owner":"user2@example.com","schedule_uuid":"template-ac665a85-2fca-f34c-9294-9bdc5bc925aee1c068e70183409e","timezone":null,"rrules":null,"starttime":null,"enabled":false,"control":true,"name":"basic Scan","id":21}],"timestamp":1544146142}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions and CAN VIEW [16] scan permissions. See Permissions.
","operationId":"scans-details","tags":["Scans"],"parameters":[{"description":"The identifier for the scan you want to retrieve. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string","format":"uuid"}},{"description":"The history\\_id of the historical data that should be returned.","name":"history_id","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The history\\_uuid of the historical data that should be returned.","name":"history_uuid","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the scan details.","content":{"application/json":{"schema":{"type":"object","properties":{"info":{"type":"object","properties":{"owner":{"type":"string","description":"The owner of the scan."},"name":{"type":"string","description":"The name of the scan."},"no_target":{"type":"boolean","description":"Indicates whether the scan based on this policy can specify targets."},"folder_id":{"type":"integer","description":"The unique ID of the destination folder for the scan.","format":"int32"},"control":{"type":"boolean","description":"If `true`, the scan has a schedule and can be launched."},"user_permissions":{"type":"integer","description":"The sharing permissions for the scan.","format":"int32"},"schedule_uuid":{"type":"string","description":"The UUID for a specific instance in the scan schedule."},"edit_allowed":{"type":"boolean","description":"If `true`, the requesting user can edit this scan configuration."},"scanner_name":{"type":"string","description":"The name of the scanner configured to run the scan."},"policy":{"type":"string","description":"The name of the scan template associated with the scan."},"shared":{"type":"boolean","description":"If `true`, the scan is shared with users other than the owner. The level of sharing is specified in the `acls` attribute of the scan details."},"object_id":{"type":"integer","description":"","format":"int32"},"tag_targets":{"type":"array","description":"The list of asset tag identifiers the scan uses to determine which assets it evaluates. For more information about tag-based scans, see [Manage Tag-Based Scans](/docs/manage-tag-based-scans-tio).","items":{"type":"string","description":"The UUID for an asset tag value. For more information about asset tags, see [Manage Asset Tags](/docs/manage-asset-tags-tio)."}},"acls":{"type":"array","description":"An array of objects that control sharing permissions for the scan.","items":{"type":"object","properties":{"permissions":{"type":"integer","description":"The scan permission. For more information, see [Permissions](/docs/permissions)."},"owner":{"type":"integer","description":"A value that indicates whether the user or user group specified in the object owns the scan. Possible values include: `null` (system-owned permissions), `0` (the user is not the owner of the scan), `1` (the user is the owner of the scan)."},"display_name":{"type":"string","description":"The name of the user or group granted the specified permissions, as it appears in the Tenable.io user interface."},"name":{"type":"string","description":"The name of the user or group granted the specified permissions."},"id":{"type":"integer","description":"A number representing the order in which the user or user groups display in the Permissions tab in the Tenable.io user interface."},"type":{"type":"string","description":"The type of scan permissions: `default` (default permissions for the scan), `user` (permissions for an individual user), or `group` (permissions for a user group)."}}}},"hostcount":{"type":"integer","description":"The total number of assets scanned for vulnerabilities.","format":"int32"},"uuid":{"type":"string","description":"The UUID of the scan."},"status":{"type":"string","description":"The status of the scan (completed, aborted, imported, pending, running, resuming, canceling, canceled, pausing, paused, stopping, stopped)."},"scan_type":{"type":"string","description":"The type of scan: `local` (a credentialed scan performed over the network), `remote` (an uncredentialed scan performed over the network, `agent` (a scan on a local host that a Nessus agent performs directly), or `null` (the scan has never been launched, or the scan is imported)."},"targets":{"type":"string","description":"A comma-delimited list of IPv4 addresses that are configured as targets for the scan."},"alt_targets_used":{"type":"boolean","description":"If `true`, Tenable.io did not not launched with a target list. This parameter is `true` for agent scans."},"pci-can-upload":{"type":"boolean","description":"If `true`, you can submit the results of the scan for PCI ASV review. For more information, see [PCI ASV](https://docs.tenable.com/cloud/Content/PCI_ASV/Welcome.htm) in the Tenable.io Vulnerability Management User Guide."},"scan_start":{"type":"integer","description":"The Unix timestamp when the scan instance started.","format":"int32"},"timestamp":{"type":"integer","description":"The Unix timestamp when the scan instance finished."},"scan_end":{"type":"integer","description":"The Unix timestamp when the scan instance finished."},"haskb":{"type":"boolean","description":"Indicates whether a scan has a Knowledge Base (KB) associated with it. A KB is an ASCII text file containing a log of information relevant to the scan performed and results found."},"hasaudittrail":{"type":"boolean","description":"Indicates whether the scan is configured to create an audit trail."},"scanner_start":{"type":"string","description":"The scan's start time, if the scan is imported."},"scanner_end":{"type":"string","description":"The scan's end time, if the scan is imported."}}},"comphosts":{"type":"array","items":{"type":"object","properties":{"totalchecksconsidered":{"type":"integer","description":"The total number of checks considered on the host."},"numchecksconsidered":{"type":"integer","description":"The number of checks considered on the host."},"scanprogresstotal":{"type":"integer","description":"The total scan progress for the host."},"scanprogresscurrent":{"type":"integer","description":"The current scan progress for the host."},"host_index":{"type":"string","description":"The index for the host."},"score":{"type":"integer","description":"The overall score for the host."},"severitycount":{"type":"object","properties":{}},"progress":{"type":"string","description":"The scan progress of the host."},"critical":{"type":"integer","description":"The percentage of critical findings on the host."},"high":{"type":"integer","description":"The percentage of high findings on the host."},"medium":{"type":"integer","description":"The percentage of medium findings on the host."},"low":{"type":"integer","description":"The percentage of low findings on the host."},"info":{"type":"integer","description":"The percentage of info findings on the host."},"host_id":{"type":"integer","description":"The unique ID of the host."},"hostname":{"type":"string","description":"The name of the host."}}}},"hosts":{"type":"array","items":{"type":"object","properties":{"totalchecksconsidered":{"type":"integer","description":"The total number of checks considered on the host."},"numchecksconsidered":{"type":"integer","description":"The number of checks considered on the host."},"scanprogresstotal":{"type":"integer","description":"The total scan progress for the host."},"scanprogresscurrent":{"type":"integer","description":"The current scan progress for the host."},"host_index":{"type":"string","description":"The index for the host."},"score":{"type":"integer","description":"The overall score for the host."},"severitycount":{"type":"object","properties":{}},"progress":{"type":"string","description":"The scan progress of the host."},"critical":{"type":"integer","description":"The percentage of critical findings on the host."},"high":{"type":"integer","description":"The percentage of high findings on the host."},"medium":{"type":"integer","description":"The percentage of medium findings on the host."},"low":{"type":"integer","description":"The percentage of low findings on the host."},"info":{"type":"integer","description":"The percentage of info findings on the host."},"host_id":{"type":"integer","description":"The unique ID of the host."},"hostname":{"type":"string","description":"The name of the host."}}}},"notes":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the note."},"message":{"type":"string","description":"The specific message of the note."},"severity":{"type":"integer","description":"The severity of the note."}}}},"remediations":{"type":"object"},"vulnerabilities":{"type":"array","items":{"type":"object","properties":{"count":{"type":"integer","description":"The number of vulnerabilities found."},"plugin_name":{"type":"string","description":"The name of the vulnerability plugin."},"vuln_index":{"type":"integer","description":"The index of the vulnerability plugin."},"severity":{"type":"integer","description":"The severity rating of the plugin."},"plugin_id":{"type":"integer","description":"The unique ID of the vulnerability plugin."},"severity_index":{"type":"integer","description":"The severity index order of the plugin."},"plugin_family":{"type":"string","description":"The parent family of the vulnerability plugin."}}}},"filters":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The short name of the filter."},"readable_name":{"type":"string","description":"The long name of the filter."},"operators":{"description":"The comparison options for the filter.","type":"array","items":{"type":"string"}},"control":{"type":"object","properties":{"type":{"type":"string","description":"The input type (entry or dropdown)."},"readable_regest":{"type":"string","description":"The placeholder for the input."},"regex":{"type":"string","description":"A regex for checking the value of the input."},"options":{"description":"A list of options if the input is a dropdown.","type":"array","items":{"type":"string"}}}}}}},"history":{"type":"array","items":{"type":"object","properties":{"alt_targets_used":{"type":"boolean","description":"If `true`, Tenable.io did not not launched with a target list. This parameter is `true` for agent scans."},"scheduler":{"type":"integer","description":"If `true`, Tenable.io launched the scan automatically from a schedule."},"status":{"type":"string","description":"The status of the historical data."},"type":{"type":"string","description":"The type of scan: local, remote, or agent."},"uuid":{"type":"string","description":"The UUID of the historical data."},"last_modification_date":{"type":"integer","description":"The last modification date for the historical data in Unix time."},"creation_date":{"type":"integer","description":"The creation date for the historical data in Unix time."},"owner_id":{"type":"integer","description":"The unique ID of the owner of the scan."},"history_id":{"type":"integer","description":"The unique ID of the historical data."}}}},"compliance":{"type":"array","items":{"type":"object","properties":{"count":{"type":"integer","description":"The number of vulnerabilities found."},"plugin_name":{"type":"string","description":"The name of the vulnerability plugin."},"vuln_index":{"type":"integer","description":"The index of the vulnerability plugin."},"severity":{"type":"integer","description":"The severity rating of the plugin."},"plugin_id":{"type":"integer","description":"The unique ID of the vulnerability plugin."},"severity_index":{"type":"integer","description":"The severity index order of the plugin."},"plugin_family":{"type":"string","description":"The parent family of the vulnerability plugin."}}}}}},"examples":{"response":{"value":{"info":{"owner":"user2@example.com","name":"KitchenSinkScan","no_target":false,"folder_id":9,"control":false,"user_permissions":128,"schedule_uuid":"0fafc7a8-c5f6-fe9d-68b9-4d60ab0d9d2cf60557ee0e264228","edit_allowed":false,"scanner_name":null,"policy":null,"shared":false,"object_id":11,"tag_targets":["6fb39d03-fc3d-470d-96f1-6dbb7bef1f51","715f11cc-c503-4a73-9dc2-cbfb1089616d"],"acls":[{"permissions":0,"owner":null,"display_name":null,"name":null,"id":null,"type":"default"},{"permissions":128,"owner":1,"display_name":"user2@example.com","name":"user2@example.com","id":2,"type":"user"}],"hostcount":10,"uuid":"2776e999-1f5b-45b9-2e15-65a7be35b2e3ab8f7ecb158c480e","status":"imported","scan_type":null,"targets":null,"alt_targets_used":null,"pci-can-upload":null,"scan_start":1430933086,"timestamp":1430934526,"scan_end":1430934526,"haskb":true,"hasaudittrail":true,"scanner_start":null,"scanner_end":null},"history":[{"history_id":10328682,"owner_id":2,"creation_date":1430933086,"last_modification_date":1430934526,"uuid":"2776e999-1f5b-45b9-2e15-65a7be35b2e3ab8f7ecb158c480e","type":null,"status":"imported","scheduler":0,"alt_targets_used":false}],"hosts":[{"asset_id":5,"host_id":5,"hostname":"172.204.81.57","progress":"100-100/200-200","scanprogresscurrent":100,"scanprogresstotal":100,"numchecksconsidered":100,"totalchecksconsidered":100,"severitycount":{"item":[{"count":156,"severitylevel":0},{"count":1,"severitylevel":1},{"count":6,"severitylevel":2},{"count":3,"severitylevel":3},{"count":0,"severitylevel":4}]},"severity":166,"score":3766,"info":156,"low":1,"medium":6,"high":3,"critical":0,"host_index":0},{"asset_id":3,"host_id":3,"hostname":"172.204.81.57","progress":"100-100/200-200","scanprogresscurrent":100,"scanprogresstotal":100,"numchecksconsidered":100,"totalchecksconsidered":100,"severitycount":{"item":[{"count":52,"severitylevel":0},{"count":11,"severitylevel":1},{"count":100,"severitylevel":2},{"count":58,"severitylevel":3},{"count":32,"severitylevel":4}]},"severity":253,"score":388162,"info":52,"low":11,"medium":100,"high":58,"critical":32,"host_index":1},{"asset_id":9,"host_id":9,"hostname":"172.204.81.57","progress":"100-100/200-200","scanprogresscurrent":100,"scanprogresstotal":100,"numchecksconsidered":100,"totalchecksconsidered":100,"severitycount":{"item":[{"count":115,"severitylevel":0},{"count":5,"severitylevel":1},{"count":21,"severitylevel":2},{"count":45,"severitylevel":3},{"count":16,"severitylevel":4}]},"severity":202,"score":207265,"info":115,"low":5,"medium":21,"high":45,"critical":16,"host_index":2}],"vulnerabilities":[{"count":68,"plugin_id":34220,"plugin_name":"Netstat Portscanner (WMI)","severity":0,"plugin_family":"Port scanners","vuln_index":1},{"count":65,"plugin_id":34252,"plugin_name":"Microsoft Windows Remote Listeners Enumeration (WMI)","severity":0,"plugin_family":"Windows","vuln_index":2},{"count":41,"plugin_id":14272,"plugin_name":"netstat portscanner (SSH)","severity":0,"plugin_family":"Port scanners","vuln_index":3}],"comphosts":[{"asset_id":5,"host_id":5,"hostname":"172.204.81.57","progress":"100-100/200-200","scanprogresscurrent":100,"scanprogresstotal":100,"numchecksconsidered":100,"totalchecksconsidered":100,"severitycount":{"item":[{"count":0,"severitylevel":0},{"count":145,"severitylevel":1},{"count":62,"severitylevel":2},{"count":0,"severitylevel":3},{"count":86,"severitylevel":4}]},"score":867650,"info":0,"low":145,"medium":62,"high":0,"critical":86,"host_index":0,"severity":293},{"asset_id":3,"host_id":3,"hostname":"172.204.81.57","progress":"100-100/200-200","scanprogresscurrent":100,"scanprogresstotal":100,"numchecksconsidered":100,"totalchecksconsidered":100,"severitycount":{"item":[{"count":0,"severitylevel":0},{"count":52,"severitylevel":1},{"count":1,"severitylevel":2},{"count":0,"severitylevel":3},{"count":45,"severitylevel":4}]},"score":450620,"info":0,"low":52,"medium":1,"high":0,"critical":45,"host_index":1,"severity":98},{"asset_id":9,"host_id":9,"hostname":"172.204.81.57","progress":"100-100/200-200","scanprogresscurrent":100,"scanprogresstotal":100,"numchecksconsidered":100,"totalchecksconsidered":100,"severitycount":{"item":[{"count":0,"severitylevel":0},{"count":61,"severitylevel":1},{"count":23,"severitylevel":2},{"count":0,"severitylevel":3},{"count":64,"severitylevel":4}]},"score":642910,"info":0,"low":61,"medium":23,"high":0,"critical":64,"host_index":2,"severity":148}],"compliance":[{"count":5,"host_id":0,"hostname":null,"plugin_family":"Unix Compliance Checks","plugin_id":"143e17d31e1a30830fcc2c3539d803d0","plugin_name":"BSI-100-2: S 4.13: /etc/group consistency - Careful allocation of identifiers","severity":1,"severity_index":0},{"count":5,"host_id":0,"hostname":null,"plugin_family":"Unix Compliance Checks","plugin_id":"21361aed1df4e64051bc939431ca3096","plugin_name":"BSI-100-2: S 4.105: No world writeable files - Preventing unauthorised acquisition of administrator rights","severity":3,"severity_index":1},{"count":5,"host_id":0,"hostname":null,"plugin_family":"Unix Compliance Checks","plugin_id":"5784176f032f448cb73b6cd4d4cff8be","plugin_name":"BSI-100-2: S 4.105: Rlogind must be deactivated","severity":3,"severity_index":2}],"filters":[{"name":"host.id","readable_name":"Asset ID","control":{"type":"entry","regex":"[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}(,[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12})*","readable_regex":"01234567-abcd-ef01-2345-6789abcdef01"},"operators":["eq","neq","match","nmatch"],"group_name":"vulnerability"},{"name":"plugin.attributes.bid","readable_name":"Bugtraq ID","control":{"type":"entry","regex":"^[0-9]+(,[0-9]+)*","readable_regex":"NUMBER","maxlength":18},"operators":["eq","neq","match","nmatch"],"group_name":"vulnerability"},{"name":"plugin.attributes.exploit_framework_canvas","readable_name":"CANVAS Exploit Framework","control":{"type":"dropdown","list":["true","false"]},"operators":["eq","neq"],"group_name":"vulnerability"}],"notes":[{"message":"One or more AirWatch API settings are not set","title":"MDM501 AirWatch API settings misconfiguration"},{"message":"Unable to connect to the ActiveSync server.","title":"MDM501 ActiveSync connection error"},{"message":"ADSI server (matrix.tenablesecurity.com) could not connect to server.","title":"adsi_enum_directory_trusts.nbin: ADSI error"}],"remediations":{"num_cves":2536,"num_hosts":10,"num_remediated_cves":2283,"num_impacted_hosts":8,"remediations":[{"vulns":1,"value":"96a449d372af3d23ca9a4f9f9a2ea73e","hosts":1,"remediation":"FreeBSD : gpgme -- heap-based buffer overflow in gpgsm status handler (90ca3ba5-19e6-11e4-8616-001b3856973b): Update the affected package."},{"vulns":296,"value":"319a8ba9e264c876028b2a5abf5a1b0e","hosts":1,"remediation":"FreeBSD : mozilla -- multiple vulnerabilities (d0c97697-df2c-4b8b-bff2-cec24dc35af8): Update the affected packages."},{"vulns":0,"value":"c22105fdc2756d11c39d1380e58c8fbc","hosts":1,"remediation":"RHEL 6 / 7 : postgresql (RHSA-2015:0750): Update the affected packages."}]}}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions and CAN CONFIGURE [64] scan permissions. See Permissions.
\nNote: You can specify scan targets as text, input file, or target groups.","operationId":"scans-configure","tags":["Scans"],"parameters":[{"description":"The identifier for the scan you want to update. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"settings":{"type":"object","properties":{"name":{"type":"string","description":"The name of the scan."},"description":{"type":"string","description":"The description of the scan."},"folder_id":{"type":"integer","description":"The unique ID of the destination folder for the scan.","format":"int32"},"scanner_id":{"type":"integer","description":"The unique ID of the scanner to use.","example":"1","format":"int32"},"scanner_uuid":{"type":"string","description":"The UUID of the scanner to use. Use the [GET /scanners] (#scanners-list) endpoint to find the scanner UUID."},"enabled":{"type":"boolean","description":"If `true`, the schedule for the scan is enabled."},"launch":{"type":"string","description":"When to launch the scan. (i.e. DAILY, WEEKLY, MONTHLY, YEARLY)","enum":["DAILY","WEEKLY","MONTHLY","YEARLY"]},"starttime":{"type":"string","description":"The starting time and date for the scan (i.e. YYYYMMDDTHHMMSS).","example":"20140826T133000"},"rrules":{"type":"string","description":"Expects a semi-colon delimited string comprised of three values. The frequency (FREQ=ONETIME or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). To create a scan that runs every three weeks on Monday Wednesday and Friday the string would be `FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR`","example":"FREQ=DAILY;INTERVAL=1"},"timezone":{"type":"string","description":"The timezone for the scan schedule.","example":"America/New_York"},"target_groups":{"items":{"type":"string"},"description":"An array of target group IDs to scan.","type":"array","example":"[2, 8, 12]"},"agent_group_id":{"items":{"type":"string"},"description":"An array of agent group UUIDs to scan. Required if the scan is an agent scan.","type":"array"},"text_targets":{"type":"string","description":"Comma separated list of targets to scan. Required for non-agent scans if no target groups are provided.","example":"localhost"},"file_targets":{"type":"string","description":"The name of a file containing the list of targets to scan.","example":"targets.txt"},"tag_targets":{"type":"array","description":"The list of asset tag identifiers the scan uses to determine which assets it evaluates. For more information about tag-based scans, see [Manage Tag-Based Scans](/docs/manage-tag-based-scans-tio).","items":{"type":"string","description":"The UUID for an asset tag value. For more information about asset tags, see [Manage Asset Tags](/docs/manage-asset-tags-tio)."}},"emails":{"type":"string","description":"A comma-separated list of accounts that receive the email summary report.","example":"test1@test.com, test2@test.com"},"acls":{"items":{"type":"object","properties":{"permissions":{"type":"integer","description":"The scan permission. For more information, see [Permissions](/docs/permissions)."},"owner":{"type":"integer","description":"A value that indicates whether the user or user group specified in the object owns the scan. Possible values include: `null` (system-owned permissions), `0` (the user is not the owner of the scan), `1` (the user is the owner of the scan)."},"display_name":{"type":"string","description":"The name of the user or group granted the specified permissions, as it appears in the Tenable.io user interface."},"name":{"type":"string","description":"The name of the user or group granted the specified permissions."},"id":{"type":"integer","description":"A number representing the order in which the user or user groups display in the Permissions tab in the Tenable.io user interface."},"type":{"type":"string","description":"The type of scan permissions: `default` (default permissions for the scan), `user` (permissions for an individual user), or `group` (permissions for a user group)."}}},"description":"An array containing sharing permissions to apply to the scan.","type":"array","example":"[{\"type\": \"default\", \"permissions\": 16}, {\"type\": \"user\", \"permissions\": 64, \"name\": \"admin\", \"id\": 1, \"owner\": 1}]"}},"required":["text_targets","file_targets","target_groups"]}}}}}},"responses":{"200":{"description":"Returned if Tenable.io updates the scan configuration as specified.","content":{"application/json":{"schema":{"type":"object","properties":{"container_id":{"type":"string","description":"The unique ID of your Tenable.io instance."},"owner_uuid":{"type":"string","description":"The unique ID of the scan owner."},"uuid":{"type":"string","description":"The UUID of the schedule for the scan."},"name":{"type":"string","description":"The user-defined scan name."},"description":{"type":"string","description":"A brief user-defined description of the scan."},"policy_id":{"type":"integer","description":"The unique ID of the policy associated with the scan."},"scanner_id":{"type":"integer","description":"The unique ID of the scanner that the scan is configured to use.","example":"1","format":"int32"},"scanner_uuid":{"type":"string","description":"The UUID of the scanner that the scan is configured to use."},"emails":{"type":"string","description":"A comma-separated list of accounts that receive the email summary report.","example":"test1@test.com, test2@test.com"},"sms":{"type":"string","description":"A comma-separated list of mobile phone numbers that receive notification of the scan."},"enabled":{"type":"boolean","description":"A value indicating whether the scan schedule is active (`true`) or inactive (`false`)."},"dashboard_file":{"type":"string","description":"The name of the dashboard file associated with the scan."},"include_aggregate":{"type":"boolean","description":"A value indicating whether the scan results appear in dashboards."},"scan_time_window":{"type":"string","description":"The time frame during which agents must report in order to be included and visible in vulnerability reports. For non-agent scans, this attribute is `null`."},"custom_targets":{"type":"string","description":"Targets you specify in the text_targets parameter of the request message that creates or modifies the scan configuration."},"starttime":{"type":"string","description":"The scheduled start time for the scan."},"rrules":{"type":"string","description":"The interval at which the scan repeats. The interval is formatted as a string of three values delimited by semi-colons. These values are: the frequency (FREQ=ONETIME or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). For a scan that runs every three weeks on Monday Wednesday and Friday, the string would be `FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR`. If the scan is not scheduled to recur, this attribute is `null`. "},"timezone":{"type":"string","description":"The timezone for the scan."},"notification_filters":{"type":"array","description":"A list of filters that Tenable.io applies to determine whether it sends a notification email on scan completion to the recipients specified in the `emails` attribute.","items":{"type":"object","properties":{"value":{"type":"string","description":"The attribute value Tenable.io filters on. For example, when filtering on severity, this attribute might specify `Critical`."},"quality":{"type":"string","description":"The operator Tenable.io applies to the filter value, for example, `eq`."},"filter":{"type":"string","description":"The attribute name. For example, use the `risk_factor` attribute if you want to filter on vulnerability severity."}}}},"tag_targets":{"type":"array","description":"The list of asset tag identifiers the scan uses to determine which assets it evaluates. For more information about tag-based scans, see [Manage Tag-Based Scans](/docs/manage-tag-based-scans-tio).","items":{"type":"string","description":"The UUID for an asset tag value. For more information about asset tags, see [Manage Asset Tags](/docs/manage-asset-tags-tio)."}},"shared":{"type":"boolean","description":"If `1`, the scan is shared with users other than the scan owner. The level of sharing is specified in the `acls` attribute of the scan details."},"user_permissions":{"type":"integer","description":"The sharing permissions for the scan.","format":"int32"},"default_permissions":{"type":"integer","description":"The default permissions for the scan.","format":"int32"},"owner":{"type":"string","description":"The owner of the scan."},"owner_id":{"type":"integer","description":"The unique ID of the owner of the scan."},"last_modification_date":{"type":"integer","description":"For newly-created scans, the date on which the scan configuration was created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was last modified. Instead, it represents the date on which the scan was last launched, in Unix time format. Tenable.io updates this attribute each time the scan launches.","format":"int32"},"creation_date":{"type":"integer","description":"For newly-created scans, the date on which the scan configuration was originally created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was originally created. Instead, it represents the date on which the scan was first launched, in Unix time format.","format":"int32"},"type":{"type":"string","description":"The type of scan."},"id":{"type":"integer","description":"The unique ID of the scan.","format":"int32"}}},"examples":{"response":{"value":{"container_id":"40ac4662-6af3-4a0b-b422-93387ec0f298","owner_uuid":"50f84b7f-d1d3-4182-bb46-79cf5c51806e","uuid":"template-c311aa94-82d0-7827-6c71-72978df15544f4f660ba792e0b0f","name":"Basic Daily Network Scan","description":"Scan all hosts daily","policy_id":16,"scanner_id":null,"scanner_uuid":"00000000-0000-0000-0000-00000000000000000000000000001","emails":"","sms":"","enabled":false,"dashboard_file":null,"include_aggregate":true,"scan_time_window":null,"custom_targets":"host1.example.com\r\nhost2.example.com\r\nhost3.example.com\r\nhost4.example.com\r\nhost5.example.com\r\n","starttime":null,"rrules":null,"timezone":"US-Central","notification_filters":[{"value":"Critical","quality":"eq","filter":"risk_factor"}],"tag_targets":["6fb39d03-fc3d-470d-96f1-6dbb7bef1f51","715f11cc-c503-4a73-9dc2-cbfb1089616d"],"shared":0,"user_permissions":128,"default_permissions":0,"owner":"user2@example.com","owner_id":2,"last_modification_date":1544207231,"creation_date":1544145190,"type":"public","id":26}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified scan."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN MANAGER [40] user permissions and CAN CONFIGURE [64] scan permissions. See Permissions.
","operationId":"scans-delete","tags":["Scans"],"parameters":[{"description":"The identifier for the scan you want to delete. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully deletes the specified scan configuration.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions and CAN CONTROL [32] scan permissions. See Permissions.
","operationId":"scans-launch","tags":["Scans"],"parameters":[{"description":"The identifier for the scan you want to launch. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"alt_targets":{"items":{"type":"string"},"description":"If you include this parameter, Tenable.io scans these targets instead of the default. Value can be an array where each index is a target, or an array with a single index of comma-separated targets.","type":"array"}}}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully launches the scan.","content":{"application/json":{"schema":{"type":"object","properties":{"scan_uuid":{"type":"string"}}},"examples":{"response":{"value":{"scan_uuid":"e7f6c3f2-1718-4451-b459-1e8aa2ec6cdf"}}}}}},"403":{"description":"Returned if Tenable.io cannot launch the scan because the scan is disabled."},"404":{"description":"Returned if Tenable.io cannot find the specified scan."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions and CAN CONTROL [32] scan permissions. See Permissions.
","operationId":"scans-pause","tags":["Scans"],"parameters":[{"description":"The identifier for the scan you want to pause. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully queues the scan to pause.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified scan."},"409":{"description":"Returned if the scan is not currently active."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions and CAN CONTROL [32] scan permissions. See Permissions.
","operationId":"scans-resume","tags":["Scans"],"parameters":[{"description":"The identifier for the scan you want to resume. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully queues the scan to resume.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified scan."},"409":{"description":"Returned if the scan is not currently active."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions and CAN CONTROL [32] scan permissions. See Permissions.
","operationId":"scans-stop","tags":["Scans"],"parameters":[{"description":"The identifier for the scan you want to stop. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully queues the scan to stop.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified scan."},"409":{"description":"Returned if the scan is not currently active."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permisisons and CAN CONTROL [32] scan permissions. See Permissions.
","operationId":"scans-schedule","tags":["Scans"],"parameters":[{"description":"The identifier for the scan you want to schedule. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Enables or disables the scan schedule."}},"required":["enabled"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully enabled or disabled the scan schedule.","content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"If `true`, the schedule for the scan is enabled."},"control":{"type":"boolean","description":"If `true`, the scan has a schedule and can be launched."},"rrules":{"type":"string","description":"Indicates whether the schedule is enabled."},"starttime":{"type":"string","description":"Indicates whether the schedule is enabled."},"timezone":{"type":"string","description":"Indicates whether the schedule is enabled."}}},"examples":{"response":{"value":{"control":true,"enabled":false,"rrules":"FREQ=DAILY;INTERVAL=1","timezone":"US/Central","starttime":"20181206T230000"}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified scan."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions and CAN VIEW [16] scan permissions. See Permissions.
","operationId":"scans-get-latest-status","tags":["Scans"],"parameters":[{"description":"The identifier for the scan. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully retrieves the scan status.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"The latest status of the scan."}}},"examples":{"response":{"value":{"status":"imported"}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified scan."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions and CAN VIEW [16] scan permissions. See Permissions.
","operationId":"scans-read-status","tags":["Scans"],"parameters":[{"description":"The identifier for the scan. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"read":{"type":"boolean","description":"If `true`, the scan has been read."}},"required":["read"]}}}},"responses":{"200":{"description":"Returned if Tenable.io updates the scan status.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified scan."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions and CAN CONFIGURE [64] scan permissions. See Permissions.
","operationId":"scans-copy","tags":["Scans"],"parameters":[{"description":"The identifier for the scan you want to copy. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"folder_id":{"type":"integer","description":"The ID of the destination folder. If you don't specify a folder ID, Tenable.io creates the copy in the same folder as the original.","format":"int32"},"name":{"type":"string","description":"The name of the copied scan. If you don't specify a name, Tenable.io uses the same name as the original with \"Copy of\" prefix."}}}}}},"responses":{"200":{"description":"Returns the copied scan object.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the scan."},"status":{"type":"string","description":"The status of the scan (completed, aborted, imported, pending, running, resuming, canceling, canceled, pausing, paused, stopping, stopped)."},"id":{"type":"integer","description":"The unique ID of the scan."},"last_modification_date":{"type":"integer","description":"For newly-created scans, the date on which the scan configuration was created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was last modified. Instead, it represents the date on which the scan was last launched, in Unix time format. Tenable.io updates this attribute each time the scan launches.","format":"int32"},"uuid":{"type":"string","description":"The UUID of the scan."},"type":{"type":"string","description":"The type of scan (local, remote, or agent)."},"owner":{"type":"string","description":"The owner of the scan."},"enabled":{"type":"boolean","description":"If `true`, the schedule for the scan is enabled."},"read":{"type":"boolean","description":"If `true`, the scan has been read."},"shared":{"type":"boolean","description":"If `1`, the scan is shared with users other than the scan owner. The level of sharing is specified in the `acls` attribute of the scan details."},"user_permissions":{"type":"integer","description":"The sharing permissions for the scan."},"creation_date":{"type":"integer","description":"The creation date for the scan in Unix time."},"control":{"type":"boolean","description":"If `true`, the scan has a schedule and can be launched."},"starttime":{"type":"string","description":"The scheduled start time for the scan."},"timezone":{"type":"string","description":"The timezone for the scan."},"rrules":{"type":"string","description":"The interval at which the scan repeats. The interval is formatted as a string of three values delimited by semi-colons. These values are: the frequency (FREQ=ONETIME or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). For a scan that runs every three weeks on Monday Wednesday and Friday, the string would be `FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR`. If the scan is not scheduled to recur, this attribute is `null`. "},"schedule_uuid":{"type":"string","description":"The UUID for a specific instance in the scan schedule."}}},"examples":{"response":{"value":{"timezone":"US-Central","enabled":false,"last_modification_date":1544207231,"id":28,"status":"empty","user_permissions":128,"owner":"user@example.com","starttime":null,"control":true,"uuid":"6240fb62-e950-5a07-90fa-9a82634a851615c4912d35e1c64c","rrules":null,"creation_date":1544145190,"read":false,"shared":false,"name":"Copy of Basic Network Scan - Daily"}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified scan."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"scans-import","tags":["Scans"],"parameters":[{"description":"Specifies whether to include the imported scan data in the vulnerabilities dashboard views. To include, use `1`. To exclude, use `0`. If you don't specify the include_aggregate parameter, the data does not appear in the dashboard.","required":false,"name":"include_aggregate","in":"query","schema":{"type":"integer","enum":[0,1]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"file":{"type":"string","description":"The name of the file to import as provided by the response from [Upload File] (#file-upload) endpoint."},"folder_id":{"type":"integer","description":"The ID of the destination folder. If you omit this parameter, Tenable.io stores the imported scan in the default folder.","format":"int32"},"password":{"type":"string","description":"The password for the file to import (required for nessus.db).","format":"password"}},"required":["file"]}}}},"responses":{"200":{"description":"Returns the scan object.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the scan."},"status":{"type":"string","description":"The status of the scan (completed, aborted, imported, pending, running, resuming, canceling, canceled, pausing, paused, stopping, stopped)."},"id":{"type":"integer","description":"The unique ID of the scan."},"last_modification_date":{"type":"integer","description":"For newly-created scans, the date on which the scan configuration was created. For scans that have been launched at least once, this attribute does not represent the date on which the scan configuration was last modified. Instead, it represents the date on which the scan was last launched, in Unix time format. Tenable.io updates this attribute each time the scan launches.","format":"int32"},"uuid":{"type":"string","description":"The UUID of the scan."},"type":{"type":"string","description":"The type of scan (local, remote, or agent)."},"owner":{"type":"string","description":"The owner of the scan."},"enabled":{"type":"boolean","description":"If `true`, the schedule for the scan is enabled."},"read":{"type":"boolean","description":"If `true`, the scan has been read."},"shared":{"type":"boolean","description":"If `1`, the scan is shared with users other than the scan owner. The level of sharing is specified in the `acls` attribute of the scan details."},"user_permissions":{"type":"integer","description":"The sharing permissions for the scan."},"creation_date":{"type":"integer","description":"The creation date for the scan in Unix time."},"control":{"type":"boolean","description":"If `true`, the scan has a schedule and can be launched."},"starttime":{"type":"string","description":"The scheduled start time for the scan."},"timezone":{"type":"string","description":"The timezone for the scan."},"rrules":{"type":"string","description":"The interval at which the scan repeats. The interval is formatted as a string of three values delimited by semi-colons. These values are: the frequency (FREQ=ONETIME or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). For a scan that runs every three weeks on Monday Wednesday and Friday, the string would be `FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR`. If the scan is not scheduled to recur, this attribute is `null`. "},"schedule_uuid":{"type":"string","description":"The UUID for a specific instance in the scan schedule."}}},"examples":{"response":{"value":{"scan":{"timezone":null,"id":38,"last_modification_date":1544219402,"status":"imported","user_permissions":128,"folder_id":null,"owner":"user2@example.com","control":null,"starttime":null,"uuid":"25f3b839-3e4b-aa38-252f-f4614dbe5b170e3fa8eea4c7cb27","rrules":null,"creation_date":1544219402,"read":false,"name":"KitchenSinkScan","shared":false}}}}}}},"409":{"description":"Returned if you attempt to import results from scans run more than 15 months ago.","content":{"text/html":{"examples":{"response":{"value":{"error":"{\"error\":\"Scans older than 06/01/2018 cannot be imported.\"}"}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions and CAN VIEW [16] scan permissions. See Permissions.
","operationId":"scans-export-request","tags":["Scans"],"parameters":[{"description":"The identifier for the scan you want to export. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string"}},{"description":"The ID of the historical data that should be exported.","required":false,"name":"history_id","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The UUID of the historical data that should be returned.","required":false,"name":"history_uuid","in":"query","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"format":{"type":"string","description":"The file format to use (Nessus, HTML, PDF, CSV, or DB).","enum":["nessus","html","pdf","csv","db"]},"password":{"type":"string","description":"The password used to encrypt database exports (\\*Required when exporting as DB).","format":"password"},"chapters":{"type":"string","description":"The chapters to include in the export (expecting a semi-colon delimited string comprised of some combination of the following options: vuln\\_hosts\\_summary, vuln\\_by\\_host, compliance\\_exec, remediations, vuln\\_by\\_plugin, compliance)"},"filter.0.filter":{"type":"string","description":"The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/vulnerabilities](#workbenches-vulnerabilities-filters) endpoint. If you specify the name of the filter, you must specify the operator as the `filter.0.quality` parameter and the value as the `filter.0.value` parameter. To use multiple filters, increment the `Requires SCAN OPERATOR [24] user permissions and CAN VIEW [16] scan permissions. See Permissions.
","operationId":"scans-export-status","tags":["Scans"],"parameters":[{"description":"The identifier for the scan. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string"}},{"description":"The ID of the file to poll (Included in response from /scans/{scan\\_id}/export).","required":true,"name":"file_id","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the status of the file. A status of `ready` indicates the file can be downloaded.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"The export status."}}},"examples":{"response":{"value":{"status":"ready"}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified file."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions and CAN VIEW [16] scan permissions. See Permissions.
","operationId":"scans-export-download","tags":["Scans"],"parameters":[{"description":"The identifier for the exported scan you want to download. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string"}},{"description":"The ID of the file to download (Included in response from /scans/{scan\\_id}/export).","required":true,"name":"file_id","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the content of the file as an attachment.","content":{"application/octet-stream":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified file."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions and CAN VIEW [16] scan permissions. See Permissions.
","operationId":"scans-history","tags":["Scans"],"parameters":[{"description":"The identifier for the scan. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string"}},{"description":"Maximum number of objects requested (or service imposed limit if not in request). The max limit value allowed is 50. Must be in the int32 format.","required":false,"name":"limit","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"Offset from request (or zero). Must be in the int32 format.","required":false,"name":"offset","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns a scan's history records.","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"total":{"type":"integer","description":"The total number of objects matching your search criteria. Must be in the int32 format."},"limit":{"type":"integer","description":"Maximum number of objects requested (or service imposed limit if not in request). Must be in the int32 format."},"offset":{"type":"integer","description":"Offset from request (or zero). Must be in the int32 format."},"sort":{"description":"An array of objects representing the fields you specified as sort fields in the request message, which Tenable.io uses to sort the returned data.","type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The field on which Tenable.io sorts the results."},"order":{"type":"string","description":"The direction of the sort order. Supported values are `asc` (ascending) and `desc` (descending)."}}}}}},"history":{"type":"array","items":{"type":"object","properties":{"time_end":{"type":"integer","description":"The date the scan completed in Unix time."},"scan_uuid":{"type":"string","description":"The scan history's UUID."},"time_start":{"type":"integer","description":"The date the scan started in Unix time."},"visibility":{"type":"string","description":"The visibility of the scan in workbenches (public or private)."},"targets":{"type":"object","description":"The target parameters used to launch the scan.","properties":{"custom":{"type":"boolean","description":"If `true`, custom parameters were used to launch the scan."},"default":{"type":"boolean","description":"If `true`, default parameters were used to launch the scan.."}}},"status":{"type":"string","description":"The status of the scan (completed, aborted, imported, pending, running, resuming, canceling, canceled, pausing, paused, stopping, stopped)."}}}}}},"examples":{"response":{"value":{"pagination":{"offset":0,"total":8,"sort":[{"order":"DESC","name":"start_date"}],"limit":50},"history":[{"time_end":1545945607,"scan_uuid":"1732621d-a7c3-4295-bbc9-37035112ff0a","id":10535512,"time_start":1545945482,"visibility":"public","targets":{"custom":false,"default":null},"status":"canceled"},{"time_end":1545945457,"scan_uuid":"cd5c32e9-0b66-4c31-b61a-8d1bdd8a67ad","id":10535505,"time_start":1545945321,"visibility":"public","targets":{"custom":false,"default":null},"status":"completed"},{"time_end":1545944767,"scan_uuid":"34e04696-2abf-4767-86cb-c51eb26a3511","id":10535496,"time_start":1545944637,"visibility":"public","targets":{"custom":false,"default":null},"status":"completed"},{"time_end":1545877987,"scan_uuid":"47ee2c49-9422-4082-9b5b-48d0883bc76e","id":10534608,"time_start":1545877843,"visibility":"public","targets":{"custom":false,"default":null},"status":"aborted"},{"time_end":1545877717,"scan_uuid":"0a20f6f1-cb6e-4947-ab71-8121dddff8e9","id":10534601,"time_start":1545877590,"visibility":"public","targets":{"custom":false,"default":null},"status":"aborted"},{"time_end":1545877057,"scan_uuid":"2b346502-d769-452e-9c2e-0c50033852d2","id":10534598,"time_start":1545876907,"visibility":"public","targets":{"custom":false,"default":null},"status":"aborted"},{"time_end":1545871897,"scan_uuid":"e80fa271-8a6e-44e8-bdcf-dc75274d4b25","id":10534540,"time_start":1545871758,"visibility":"public","targets":{"custom":false,"default":null},"status":"aborted"},{"time_end":1545871177,"scan_uuid":"36984557-946d-4858-8af7-ded422fee78b","id":10534536,"time_start":1545871035,"visibility":"public","targets":{"custom":false,"default":null},"status":"aborted"}]}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified `scan_id`."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions and CAN VIEW [16] scan permissions. See Permissions.
","operationId":"scans-history-details","tags":["Scans"],"parameters":[{"description":"The identifier for the scan. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string"}},{"description":"The UUID of the historical scan result to return details about. You can use either the `history_uuid` or the numeric `history_id` attribute. You can find the ID values by examining the scan details object returned by the [GET /scans/{scan_id}](#scans-details) endpoint.","required":true,"name":"history_uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns details of the historical scan result.","content":{"application/json":{"schema":{"type":"object","properties":{"alt_targets_used":{"type":"boolean","description":"If `true`, Tenable.io did not not launched with a target list. This parameter is `true` for agent scans."},"scheduler":{"type":"integer","description":"If `true`, Tenable.io launched the scan automatically from a schedule."},"status":{"type":"string","description":"The status of the historical data."},"type":{"type":"string","description":"The type of scan: local, remote, or agent."},"uuid":{"type":"string","description":"The UUID of the historical data."},"last_modification_date":{"type":"integer","description":"The last modification date for the historical data in Unix time."},"creation_date":{"type":"integer","description":"The creation date for the historical data in Unix time."},"owner_id":{"type":"integer","description":"The unique ID of the owner of the scan."},"history_id":{"type":"integer","description":"The unique ID of the historical data."}}},"examples":{"response":{"value":{"owner_id":2,"schedule_uuid":"template-c47a2aec-516d-20fc-6128-e8cbbb9864d1c98ab9a2d2e18e78","status":"aborted","scan_start":1543870842,"owner_uuid":"6ee44fda-eced-400b-a574-503884bdafa5","owner":"user2@example.com","targets":"","object_id":10509951,"uuid":"7cf03b42-ee6b-4d89-aa83-6c726509b369","scan_end":null,"scan_type":"remote","name":"Advanced Windows Servers Scan"}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified `scan_id` or `history_uuid`."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions and CAN CONFIGURE [64] scan permissions. See Permissions.
","operationId":"scans-delete-history","tags":["Scans"],"parameters":[{"description":"The identifier for the scan. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string"}},{"description":"The ID of the results to delete.","required":true,"name":"history_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully deleted the specified scan results.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified scan results."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions and CAN VIEW [16] scan permissions. See Permissions.
","operationId":"scans-host-details","tags":["Scans"],"parameters":[{"description":"The identifier for the scan. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_uuid","in":"path","schema":{"type":"string"}},{"description":"The ID of the host to retrieve.","required":true,"name":"host_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the historical data that should be returned.","name":"history_id","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the historical data that should be returned.","name":"history_uuid","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the host details.","content":{"application/json":{"schema":{"type":"object","properties":{"info":{"type":"object"},"compliance":{"type":"array","items":{"type":"object","properties":{"host_id":{"type":"integer","description":"The unique ID of the host."},"hostname":{"type":"string","description":"The name of the host."},"plugin_id":{"type":"integer","description":"The unique ID of the vulnerability plugin."},"plugin_name":{"type":"string","description":"The name of the vulnerability plugin."},"plugin_family":{"type":"string","description":"The parent family of the vulnerability plugin."},"count":{"type":"integer","description":"The number of vulnerabilities found."},"severity_index":{"type":"integer","description":"The severity index order of the plugin."},"severity":{"type":"integer","description":"The severity of plugin."}}}},"vulnerabilities":{"type":"array","items":{"type":"object","properties":{"host_id":{"type":"integer","description":"The unique ID of the host."},"hostname":{"type":"string","description":"The name of the host."},"plugin_id":{"type":"integer","description":"The unique ID of the vulnerability plugin."},"plugin_name":{"type":"string","description":"The name of the vulnerability plugin."},"plugin_family":{"type":"string","description":"The parent family of the vulnerability plugin."},"count":{"type":"integer","description":"The number of vulnerabilities found."},"vuln_index":{"type":"integer","description":"The index of the vulnerability plugin."},"severity_index":{"type":"integer","description":"The severity index order of the plugin."},"severity":{"type":"integer","description":"The severity of plugin."}}}}}},"examples":{"response":{"value":{"info":{"mac-address":null,"host-fqdn":"matrixcentos5_matrix","host-ip":"172.204.81.57","operating-system":["Linux Kernel 2.6.18-274.el5PAE on CentOS release 5.7 (Final)"],"host_end":"Fri Dec 7 21:46:59 2018","host_start":"Fri Dec 7 21:46:59 2018"},"vulnerabilities":[{"count":7,"host_id":9,"hostname":"172.204.81.57","plugin_family":"Port scanners","plugin_id":14272,"plugin_name":"Netstat Portscanner (SSH)","severity":0,"severity_index":0,"vuln_index":0},{"count":7,"host_id":9,"hostname":"172.204.81.57","plugin_family":"Service detection","plugin_id":25221,"plugin_name":"Remote listeners enumeration (Linux / AIX)","severity":0,"severity_index":0,"vuln_index":0},{"count":4,"host_id":9,"hostname":"172.204.81.57","plugin_family":"Service detection","plugin_id":11111,"plugin_name":"RPC Services Enumeration","severity":0,"severity_index":0,"vuln_index":0}],"compliance":[{"count":1,"host_id":9,"hostname":"172.204.81.57","plugin_family":"Unix Compliance Checks","plugin_id":"0042cf05a8358f531c68c8bd249a4874","plugin_name":"BSI-100-2: S 4.105: Telnet should be replaced by SSH.","severity":1,"severity_index":0},{"count":1,"host_id":9,"hostname":"172.204.81.57","plugin_family":"Unix Compliance Checks","plugin_id":"0483f10c66f3ecf1f2ec55cf47365416","plugin_name":"BSI-100-2: S 4.105: /usr/X11R6/bin/startx - `xhost +` should never be used.","severity":3,"severity_index":1},{"count":1,"host_id":9,"hostname":"172.204.81.57","plugin_family":"Unix Compliance Checks","plugin_id":"04a999b7e2dbe28fc1c76b15237a39a2","plugin_name":"Red Hat 6 is not installed on target","severity":2,"severity_index":2}]}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions and CAN VIEW [16] scan permissions. See Permissions.
","operationId":"scans-plugin-output","tags":["Scans"],"parameters":[{"description":"The identifier for the scan. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_uuid","in":"path","schema":{"type":"string"}},{"description":"The ID of the host to retrieve.","required":true,"name":"host_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the plugin to retrieve.","required":true,"name":"plugin_id","in":"path","schema":{"type":"string"}},{"description":"The ID of the historical data that should be returned.","name":"history_id","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The UUID of the historical data that should be returned.","name":"history_uuid","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the plugin output.","content":{"application/json":{"schema":{"type":"object","properties":{"output":{"type":"array","items":{"type":"object","properties":{"ports":{"type":"object","properties":{}},"has_attachment":{"type":"integer","description":"If the value is 1, the plugin output contains files that may be exported."},"custom_description":{"type":"string","description":"A custom description of the plugin."},"plugin_output":{"type":"string","description":"The text of the plugin output."},"hosts":{"type":"string","description":"Other hosts with the same output."},"severity":{"type":"integer","description":"The severity the output."}}}},"info":{"type":"object","properties":{"host-fqdn":{"type":"string","description":"The host's fully qualified domain name; optional."},"host_fqdn":{"type":"string","description":"The FQDN of the host. Normally, this is populated with the value used to scan the host in the target list of the last scan that was ran where it was seen; always present."},"host-ip":{"type":"string","description":"The host's IPv4 address; optional."},"host-uuid":{"type":"string","description":"The host's UUID generated by Tenable.io for identification purposes; always present."},"host_start":{"type":"string","description":"The last time a scan was started for this host as an ISO 8601 timestamp; always present."},"host_end":{"type":"string","description":"The last time a scan was completed for this host as an ISO 8601 timestamp; always present."},"mac-address":{"type":"string","description":"The hosts's mac addresses in a newline-separated list; optional."}}}}},"examples":{"response":{"value":{"outputs":[{"ports":{"445 / tcp / cifs":[{"hostname":"172.204.81.57"}]},"has_attachment":0,"severity":0,"plugin_output":"\nThe following DCERPC services are available remotely :\n\nObject UUID : 765294ba-60bc-48b8-92e9-89fd77769d91\nUUID : d95afe70-a6d5-4259-822e-2c84da1ddb0d, version 1.0\nDescription : Unknown RPC service\nType : Remote RPC service\nNamed pipe : \\PIPE\\InitShutdown\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : b08669ee-8cb5-43a5-a017-84fe00000000\nUUID : 76f226c3-ec14-4325-8a99-6a46348418af, version 1.0\nDescription : Unknown RPC service\nType : Remote RPC service\nNamed pipe : \\PIPE\\InitShutdown\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 0767a036-0d22-48aa-ba69-b619480f38cb, version 1.0\nDescription : Unknown RPC service\nAnnotation : PcaSvc\nType : Remote RPC service\nNamed pipe : \\pipe\\trkwks\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 12345778-1234-abcd-ef00-0123456789ac, version 1.0\nDescription : Security Account Manager\nWindows process : lsass.exe\nType : Remote RPC service\nNamed pipe : \\pipe\\lsass\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 12345778-1234-abcd-ef00-0123456789ac, version 1.0\nDescription : Security Account Manager\nWindows process : lsass.exe\nType : Remote RPC service\nNamed pipe : \\PIPE\\protected_storage\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 3473dd4d-2e88-4006-9cba-22570909dd10, version 5.0\nDescription : Unknown RPC service\nAnnotation : WinHttp Auto-Proxy Service\nType : Remote RPC service\nNamed pipe : \\PIPE\\W32TIME_ALT\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 1ff70682-0a51-30e8-076d-740be8cee98b, version 1.0\nDescription : Scheduler Service\nWindows process : svchost.exe\nType : Remote RPC service\nNamed pipe : \\PIPE\\atsvc\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 378e52b0-c0a9-11cf-822d-00aa0051e40f, version 1.0\nDescription : Scheduler Service\nWindows process : svchost.exe\nType : Remote RPC service\nNamed pipe : \\PIPE\\atsvc\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 86d35949-83c9-4044-b424-db363231fd0c, version 1.0\nDescription : Unknown RPC service\nType : Remote RPC service\nNamed pipe : \\PIPE\\atsvc\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : a398e520-d59a-4bdd-aa7a-3c1e0303a511, version 1.0\nDescription : Unknown RPC service\nAnnotation : IKE/Authip API\nType : Remote RPC service\nNamed pipe : \\PIPE\\atsvc\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 552d076a-cb29-4e44-8b6a-d15e59e2c0af, version 1.0\nDescription : Unknown RPC service\nAnnotation : IP Transition Configuration endpoint\nType : Remote RPC service\nNamed pipe : \\PIPE\\atsvc\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 98716d03-89ac-44c7-bb8c-285824e51c4a, version 1.0\nDescription : Unknown RPC service\nAnnotation : XactSrv service\nType : Remote RPC service\nNamed pipe : \\PIPE\\atsvc\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 201ef99a-7fa0-444c-9399-19ba84f12a1a, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Remote RPC service\nNamed pipe : \\PIPE\\atsvc\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 201ef99a-7fa0-444c-9399-19ba84f12a1a, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Remote RPC service\nNamed pipe : \\PIPE\\srvsvc\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 201ef99a-7fa0-444c-9399-19ba84f12a1a, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Remote RPC service\nNamed pipe : \\PIPE\\browser\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 5f54ce7d-5b79-4175-8584-cb65313a0e98, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Remote RPC service\nNamed pipe : \\PIPE\\atsvc\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 5f54ce7d-5b79-4175-8584-cb65313a0e98, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Remote RPC service\nNamed pipe : \\PIPE\\srvsvc\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 5f54ce7d-5b79-4175-8584-cb65313a0e98, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Remote RPC service\nNamed pipe : \\PIPE\\browser\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : fd7a0523-dc70-43dd-9b2e-9c5ed48225b1, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Remote RPC service\nNamed pipe : \\PIPE\\atsvc\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : fd7a0523-dc70-43dd-9b2e-9c5ed48225b1, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Remote RPC service\nNamed pipe : \\PIPE\\srvsvc\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : fd7a0523-dc70-43dd-9b2e-9c5ed48225b1, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Remote RPC service\nNamed pipe : \\PIPE\\browser\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 58e604e8-9adb-4d2e-a464-3b0683fb1480, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Remote RPC service\nNamed pipe : \\PIPE\\atsvc\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 58e604e8-9adb-4d2e-a464-3b0683fb1480, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Remote RPC service\nNamed pipe : \\PIPE\\srvsvc\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 58e604e8-9adb-4d2e-a464-3b0683fb1480, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Remote RPC service\nNamed pipe : \\PIPE\\browser\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : f6beaff7-1e19-4fbb-9f8f-b89e2018337c, version 1.0\nDescription : Unknown RPC service\nAnnotation : Event log TCPIP\nType : Remote RPC service\nNamed pipe : \\pipe\\eventlog\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 30adc50c-5cbc-46ce-9a0e-91914789e23c, version 1.0\nDescription : Unknown RPC service\nAnnotation : NRP server endpoint\nType : Remote RPC service\nNamed pipe : \\pipe\\eventlog\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 3c4728c5-f0ab-448b-bda1-6ce01eb0a6d5, version 1.0\nDescription : DHCP Client Service\nWindows process : svchost.exe\nAnnotation : DHCP Client LRPC Endpoint\nType : Remote RPC service\nNamed pipe : \\pipe\\eventlog\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 3c4728c5-f0ab-448b-bda1-6ce01eb0a6d6, version 1.0\nDescription : Unknown RPC service\nAnnotation : DHCPv6 Client LRPC Endpoint\nType : Remote RPC service\nNamed pipe : \\pipe\\eventlog\nNetbios name : \\\\WIN764-UTIL\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 06bba54a-be05-49f9-b0a0-30f790261023, version 1.0\nDescription : Unknown RPC service\nAnnotation : Security Center\nType : Remote RPC service\nNamed pipe : \\pipe\\eventlog\nNetbios name : \\\\WIN764-UTIL\n\n","hosts":null,"custom_description":null},{"ports":{"135 / tcp / epmap":[{"hostname":"172.204.81.57"}]},"has_attachment":0,"severity":0,"plugin_output":"\nThe following DCERPC services are available locally :\n\nObject UUID : 765294ba-60bc-48b8-92e9-89fd77769d91\nUUID : d95afe70-a6d5-4259-822e-2c84da1ddb0d, version 1.0\nDescription : Unknown RPC service\nType : Local RPC service\nNamed pipe : WindowsShutdown\n\nObject UUID : 765294ba-60bc-48b8-92e9-89fd77769d91\nUUID : d95afe70-a6d5-4259-822e-2c84da1ddb0d, version 1.0\nDescription : Unknown RPC service\nType : Local RPC service\nNamed pipe : WMsgKRpc080D30\n\nObject UUID : b08669ee-8cb5-43a5-a017-84fe00000000\nUUID : 76f226c3-ec14-4325-8a99-6a46348418af, version 1.0\nDescription : Unknown RPC service\nType : Local RPC service\nNamed pipe : WindowsShutdown\n\nObject UUID : b08669ee-8cb5-43a5-a017-84fe00000000\nUUID : 76f226c3-ec14-4325-8a99-6a46348418af, version 1.0\nDescription : Unknown RPC service\nType : Local RPC service\nNamed pipe : WMsgKRpc080D30\n\nObject UUID : 6d726574-7273-0076-0000-000000000000\nUUID : c9ac6db5-82b7-4e55-ae8a-e464ed7b4277, version 1.0\nDescription : Unknown RPC service\nAnnotation : Impl friendly name\nType : Local RPC service\nNamed pipe : LRPC-1c3977acb41cea1124\n\nObject UUID : 52ef130c-08fd-4388-86b3-6edf00000001\nUUID : 12e65dd8-887f-41ef-91bf-8d816c42c2e7, version 1.0\nDescription : Unknown RPC service\nAnnotation : Secure Desktop LRPC interface\nType : Local RPC service\nNamed pipe : WMsgKRpc080F61\n\nObject UUID : b08669ee-8cb5-43a5-a017-84fe00000001\nUUID : 76f226c3-ec14-4325-8a99-6a46348418af, version 1.0\nDescription : Unknown RPC service\nType : Local RPC service\nNamed pipe : WMsgKRpc080F61\n\nObject UUID : 8d6696ea-1fe0-42cf-89e9-788c0c0bed65\nUUID : 906b0ce0-c70b-1067-b317-00dd010662da, version 1.0\nDescription : Distributed Transaction Coordinator\nWindows process : msdtc.exe\nType : Local RPC service\nNamed pipe : LRPC-1f8c246f740d47d8e2\n\nObject UUID : 36833313-dcb3-4e11-901d-4d9bbd1c431e\nUUID : 906b0ce0-c70b-1067-b317-00dd010662da, version 1.0\nDescription : Distributed Transaction Coordinator\nWindows process : msdtc.exe\nType : Local RPC service\nNamed pipe : LRPC-1f8c246f740d47d8e2\n\nObject UUID : 3e594dc9-6140-44a0-96f3-c5fe867c50d0\nUUID : 906b0ce0-c70b-1067-b317-00dd010662da, version 1.0\nDescription : Distributed Transaction Coordinator\nWindows process : msdtc.exe\nType : Local RPC service\nNamed pipe : LRPC-1f8c246f740d47d8e2\n\nObject UUID : 5ee96290-1a81-45db-b4e6-8f26c5b72870\nUUID : 906b0ce0-c70b-1067-b317-00dd010662da, version 1.0\nDescription : Distributed Transaction Coordinator\nWindows process : msdtc.exe\nType : Local RPC service\nNamed pipe : LRPC-1f8c246f740d47d8e2\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 12345678-1234-abcd-ef00-0123456789ab, version 1.0\nDescription : IPsec Services (Windows XP & 2003)\nWindows process : lsass.exe\nAnnotation : IPSec Policy agent endpoint\nType : Local RPC service\nNamed pipe : LRPC-b5787f2c3745e80e78\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 0767a036-0d22-48aa-ba69-b619480f38cb, version 1.0\nDescription : Unknown RPC service\nAnnotation : PcaSvc\nType : Local RPC service\nNamed pipe : OLE9B946BCEF2704168BDBCB83E70EF\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 0767a036-0d22-48aa-ba69-b619480f38cb, version 1.0\nDescription : Unknown RPC service\nAnnotation : PcaSvc\nType : Local RPC service\nNamed pipe : trkwks\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 12345778-1234-abcd-ef00-0123456789ac, version 1.0\nDescription : Security Account Manager\nWindows process : lsass.exe\nType : Local RPC service\nNamed pipe : LRPC-055bf0579030efacc0\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 12345778-1234-abcd-ef00-0123456789ac, version 1.0\nDescription : Security Account Manager\nWindows process : lsass.exe\nType : Local RPC service\nNamed pipe : audit\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 12345778-1234-abcd-ef00-0123456789ac, version 1.0\nDescription : Security Account Manager\nWindows process : lsass.exe\nType : Local RPC service\nNamed pipe : securityevent\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 12345778-1234-abcd-ef00-0123456789ac, version 1.0\nDescription : Security Account Manager\nWindows process : lsass.exe\nType : Local RPC service\nNamed pipe : LSARPC_ENDPOINT\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 12345778-1234-abcd-ef00-0123456789ac, version 1.0\nDescription : Security Account Manager\nWindows process : lsass.exe\nType : Local RPC service\nNamed pipe : lsapolicylookup\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 12345778-1234-abcd-ef00-0123456789ac, version 1.0\nDescription : Security Account Manager\nWindows process : lsass.exe\nType : Local RPC service\nNamed pipe : lsasspirpc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 12345778-1234-abcd-ef00-0123456789ac, version 1.0\nDescription : Security Account Manager\nWindows process : lsass.exe\nType : Local RPC service\nNamed pipe : protected_storage\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 12345778-1234-abcd-ef00-0123456789ac, version 1.0\nDescription : Security Account Manager\nWindows process : lsass.exe\nType : Local RPC service\nNamed pipe : samss lpc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : dd490425-5325-4565-b774-7e27d6c09c24, version 1.0\nDescription : Unknown RPC service\nAnnotation : Base Firewall Engine API\nType : Local RPC service\nNamed pipe : LRPC-1bee010807d4fce7f5\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 7f9d11bf-7fb9-436b-a812-b2d50c5d4c03, version 1.0\nDescription : Unknown RPC service\nAnnotation : Fw APIs\nType : Local RPC service\nNamed pipe : LRPC-1bee010807d4fce7f5\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 2fb92682-6599-42dc-ae13-bd2ca89bd11c, version 1.0\nDescription : Unknown RPC service\nAnnotation : Fw APIs\nType : Local RPC service\nNamed pipe : LRPC-1bee010807d4fce7f5\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 0b6edbfa-4a24-4fc6-8a23-942b1eca65d1, version 1.0\nDescription : Unknown RPC service\nAnnotation : Spooler function endpoint\nType : Local RPC service\nNamed pipe : spoolss\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : ae33069b-a2a8-46ee-a235-ddfd339be281, version 1.0\nDescription : Unknown RPC service\nAnnotation : Spooler base remote object endpoint\nType : Local RPC service\nNamed pipe : spoolss\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 4a452661-8290-4b36-8fbe-7f4093a94978, version 1.0\nDescription : Unknown RPC service\nAnnotation : Spooler function endpoint\nType : Local RPC service\nNamed pipe : spoolss\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 7ea70bcf-48af-4f6a-8968-6a440754d5fa, version 1.0\nDescription : Unknown RPC service\nAnnotation : NSI server endpoint\nType : Local RPC service\nNamed pipe : OLE1555EBBE48654F7BBACABDD0A0E0\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 7ea70bcf-48af-4f6a-8968-6a440754d5fa, version 1.0\nDescription : Unknown RPC service\nAnnotation : NSI server endpoint\nType : Local RPC service\nNamed pipe : LRPC-1195853e231b3360c7\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 3473dd4d-2e88-4006-9cba-22570909dd10, version 5.0\nDescription : Unknown RPC service\nAnnotation : WinHttp Auto-Proxy Service\nType : Local RPC service\nNamed pipe : OLE1555EBBE48654F7BBACABDD0A0E0\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 3473dd4d-2e88-4006-9cba-22570909dd10, version 5.0\nDescription : Unknown RPC service\nAnnotation : WinHttp Auto-Proxy Service\nType : Local RPC service\nNamed pipe : LRPC-1195853e231b3360c7\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 3473dd4d-2e88-4006-9cba-22570909dd10, version 5.0\nDescription : Unknown RPC service\nAnnotation : WinHttp Auto-Proxy Service\nType : Local RPC service\nNamed pipe : W32TIME_ALT\n\nObject UUID : 666f7270-6c69-7365-0000-000000000000\nUUID : c9ac6db5-82b7-4e55-ae8a-e464ed7b4277, version 1.0\nDescription : Unknown RPC service\nAnnotation : Impl friendly name\nType : Local RPC service\nNamed pipe : IUserProfile2\n\nObject UUID : 6c637067-6569-746e-0000-000000000000\nUUID : c9ac6db5-82b7-4e55-ae8a-e464ed7b4277, version 1.0\nDescription : Unknown RPC service\nAnnotation : Impl friendly name\nType : Local RPC service\nNamed pipe : IUserProfile2\n\nObject UUID : 24d1f7c7-76af-4f28-9ccd-7f6cb6468601\nUUID : 2eb08e3e-639f-4fba-97b1-14f878961076, version 1.0\nDescription : Unknown RPC service\nType : Local RPC service\nNamed pipe : IUserProfile2\n\nObject UUID : 736e6573-0000-0000-0000-000000000000\nUUID : c9ac6db5-82b7-4e55-ae8a-e464ed7b4277, version 1.0\nDescription : Unknown RPC service\nAnnotation : Impl friendly name\nType : Local RPC service\nNamed pipe : IUserProfile2\n\nObject UUID : 736e6573-0000-0000-0000-000000000000\nUUID : c9ac6db5-82b7-4e55-ae8a-e464ed7b4277, version 1.0\nDescription : Unknown RPC service\nAnnotation : Impl friendly name\nType : Local RPC service\nNamed pipe : OLEE4DBCACEC38F463A8D7319C3ED20\n\nObject UUID : 736e6573-0000-0000-0000-000000000000\nUUID : c9ac6db5-82b7-4e55-ae8a-e464ed7b4277, version 1.0\nDescription : Unknown RPC service\nAnnotation : Impl friendly name\nType : Local RPC service\nNamed pipe : senssvc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 0a74ef1c-41a4-4e06-83ae-dc74fb1cdd53, version 1.0\nDescription : Scheduler Service\nWindows process : svchost.exe\nType : Local RPC service\nNamed pipe : IUserProfile2\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 0a74ef1c-41a4-4e06-83ae-dc74fb1cdd53, version 1.0\nDescription : Scheduler Service\nWindows process : svchost.exe\nType : Local RPC service\nNamed pipe : OLEE4DBCACEC38F463A8D7319C3ED20\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 0a74ef1c-41a4-4e06-83ae-dc74fb1cdd53, version 1.0\nDescription : Scheduler Service\nWindows process : svchost.exe\nType : Local RPC service\nNamed pipe : senssvc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 1ff70682-0a51-30e8-076d-740be8cee98b, version 1.0\nDescription : Scheduler Service\nWindows process : svchost.exe\nType : Local RPC service\nNamed pipe : IUserProfile2\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 1ff70682-0a51-30e8-076d-740be8cee98b, version 1.0\nDescription : Scheduler Service\nWindows process : svchost.exe\nType : Local RPC service\nNamed pipe : OLEE4DBCACEC38F463A8D7319C3ED20\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 1ff70682-0a51-30e8-076d-740be8cee98b, version 1.0\nDescription : Scheduler Service\nWindows process : svchost.exe\nType : Local RPC service\nNamed pipe : senssvc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 378e52b0-c0a9-11cf-822d-00aa0051e40f, version 1.0\nDescription : Scheduler Service\nWindows process : svchost.exe\nType : Local RPC service\nNamed pipe : IUserProfile2\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 378e52b0-c0a9-11cf-822d-00aa0051e40f, version 1.0\nDescription : Scheduler Service\nWindows process : svchost.exe\nType : Local RPC service\nNamed pipe : OLEE4DBCACEC38F463A8D7319C3ED20\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 378e52b0-c0a9-11cf-822d-00aa0051e40f, version 1.0\nDescription : Scheduler Service\nWindows process : svchost.exe\nType : Local RPC service\nNamed pipe : senssvc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 86d35949-83c9-4044-b424-db363231fd0c, version 1.0\nDescription : Unknown RPC service\nType : Local RPC service\nNamed pipe : IUserProfile2\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 86d35949-83c9-4044-b424-db363231fd0c, version 1.0\nDescription : Unknown RPC service\nType : Local RPC service\nNamed pipe : OLEE4DBCACEC38F463A8D7319C3ED20\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 86d35949-83c9-4044-b424-db363231fd0c, version 1.0\nDescription : Unknown RPC service\nType : Local RPC service\nNamed pipe : senssvc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : a398e520-d59a-4bdd-aa7a-3c1e0303a511, version 1.0\nDescription : Unknown RPC service\nAnnotation : IKE/Authip API\nType : Local RPC service\nNamed pipe : IUserProfile2\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : a398e520-d59a-4bdd-aa7a-3c1e0303a511, version 1.0\nDescription : Unknown RPC service\nAnnotation : IKE/Authip API\nType : Local RPC service\nNamed pipe : OLEE4DBCACEC38F463A8D7319C3ED20\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : a398e520-d59a-4bdd-aa7a-3c1e0303a511, version 1.0\nDescription : Unknown RPC service\nAnnotation : IKE/Authip API\nType : Local RPC service\nNamed pipe : senssvc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 552d076a-cb29-4e44-8b6a-d15e59e2c0af, version 1.0\nDescription : Unknown RPC service\nAnnotation : IP Transition Configuration endpoint\nType : Local RPC service\nNamed pipe : IUserProfile2\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 552d076a-cb29-4e44-8b6a-d15e59e2c0af, version 1.0\nDescription : Unknown RPC service\nAnnotation : IP Transition Configuration endpoint\nType : Local RPC service\nNamed pipe : OLEE4DBCACEC38F463A8D7319C3ED20\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 552d076a-cb29-4e44-8b6a-d15e59e2c0af, version 1.0\nDescription : Unknown RPC service\nAnnotation : IP Transition Configuration endpoint\nType : Local RPC service\nNamed pipe : senssvc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 98716d03-89ac-44c7-bb8c-285824e51c4a, version 1.0\nDescription : Unknown RPC service\nAnnotation : XactSrv service\nType : Local RPC service\nNamed pipe : IUserProfile2\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 98716d03-89ac-44c7-bb8c-285824e51c4a, version 1.0\nDescription : Unknown RPC service\nAnnotation : XactSrv service\nType : Local RPC service\nNamed pipe : OLEE4DBCACEC38F463A8D7319C3ED20\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 98716d03-89ac-44c7-bb8c-285824e51c4a, version 1.0\nDescription : Unknown RPC service\nAnnotation : XactSrv service\nType : Local RPC service\nNamed pipe : senssvc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 201ef99a-7fa0-444c-9399-19ba84f12a1a, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Local RPC service\nNamed pipe : IUserProfile2\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 201ef99a-7fa0-444c-9399-19ba84f12a1a, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Local RPC service\nNamed pipe : OLEE4DBCACEC38F463A8D7319C3ED20\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 201ef99a-7fa0-444c-9399-19ba84f12a1a, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Local RPC service\nNamed pipe : senssvc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 5f54ce7d-5b79-4175-8584-cb65313a0e98, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Local RPC service\nNamed pipe : IUserProfile2\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 5f54ce7d-5b79-4175-8584-cb65313a0e98, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Local RPC service\nNamed pipe : OLEE4DBCACEC38F463A8D7319C3ED20\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 5f54ce7d-5b79-4175-8584-cb65313a0e98, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Local RPC service\nNamed pipe : senssvc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : fd7a0523-dc70-43dd-9b2e-9c5ed48225b1, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Local RPC service\nNamed pipe : IUserProfile2\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : fd7a0523-dc70-43dd-9b2e-9c5ed48225b1, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Local RPC service\nNamed pipe : OLEE4DBCACEC38F463A8D7319C3ED20\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : fd7a0523-dc70-43dd-9b2e-9c5ed48225b1, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Local RPC service\nNamed pipe : senssvc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 58e604e8-9adb-4d2e-a464-3b0683fb1480, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Local RPC service\nNamed pipe : IUserProfile2\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 58e604e8-9adb-4d2e-a464-3b0683fb1480, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Local RPC service\nNamed pipe : OLEE4DBCACEC38F463A8D7319C3ED20\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 58e604e8-9adb-4d2e-a464-3b0683fb1480, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Local RPC service\nNamed pipe : senssvc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : f6beaff7-1e19-4fbb-9f8f-b89e2018337c, version 1.0\nDescription : Unknown RPC service\nAnnotation : Event log TCPIP\nType : Local RPC service\nNamed pipe : eventlog\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 30adc50c-5cbc-46ce-9a0e-91914789e23c, version 1.0\nDescription : Unknown RPC service\nAnnotation : NRP server endpoint\nType : Local RPC service\nNamed pipe : eventlog\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 30adc50c-5cbc-46ce-9a0e-91914789e23c, version 1.0\nDescription : Unknown RPC service\nAnnotation : NRP server endpoint\nType : Local RPC service\nNamed pipe : AudioClientRpc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 30adc50c-5cbc-46ce-9a0e-91914789e23c, version 1.0\nDescription : Unknown RPC service\nAnnotation : NRP server endpoint\nType : Local RPC service\nNamed pipe : Audiosrv\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 3c4728c5-f0ab-448b-bda1-6ce01eb0a6d5, version 1.0\nDescription : DHCP Client Service\nWindows process : svchost.exe\nAnnotation : DHCP Client LRPC Endpoint\nType : Local RPC service\nNamed pipe : eventlog\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 3c4728c5-f0ab-448b-bda1-6ce01eb0a6d5, version 1.0\nDescription : DHCP Client Service\nWindows process : svchost.exe\nAnnotation : DHCP Client LRPC Endpoint\nType : Local RPC service\nNamed pipe : AudioClientRpc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 3c4728c5-f0ab-448b-bda1-6ce01eb0a6d5, version 1.0\nDescription : DHCP Client Service\nWindows process : svchost.exe\nAnnotation : DHCP Client LRPC Endpoint\nType : Local RPC service\nNamed pipe : Audiosrv\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 3c4728c5-f0ab-448b-bda1-6ce01eb0a6d5, version 1.0\nDescription : DHCP Client Service\nWindows process : svchost.exe\nAnnotation : DHCP Client LRPC Endpoint\nType : Local RPC service\nNamed pipe : dhcpcsvc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 3c4728c5-f0ab-448b-bda1-6ce01eb0a6d6, version 1.0\nDescription : Unknown RPC service\nAnnotation : DHCPv6 Client LRPC Endpoint\nType : Local RPC service\nNamed pipe : eventlog\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 3c4728c5-f0ab-448b-bda1-6ce01eb0a6d6, version 1.0\nDescription : Unknown RPC service\nAnnotation : DHCPv6 Client LRPC Endpoint\nType : Local RPC service\nNamed pipe : AudioClientRpc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 3c4728c5-f0ab-448b-bda1-6ce01eb0a6d6, version 1.0\nDescription : Unknown RPC service\nAnnotation : DHCPv6 Client LRPC Endpoint\nType : Local RPC service\nNamed pipe : Audiosrv\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 3c4728c5-f0ab-448b-bda1-6ce01eb0a6d6, version 1.0\nDescription : Unknown RPC service\nAnnotation : DHCPv6 Client LRPC Endpoint\nType : Local RPC service\nNamed pipe : dhcpcsvc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 3c4728c5-f0ab-448b-bda1-6ce01eb0a6d6, version 1.0\nDescription : Unknown RPC service\nAnnotation : DHCPv6 Client LRPC Endpoint\nType : Local RPC service\nNamed pipe : dhcpcsvc6\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 06bba54a-be05-49f9-b0a0-30f790261023, version 1.0\nDescription : Unknown RPC service\nAnnotation : Security Center\nType : Local RPC service\nNamed pipe : eventlog\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 06bba54a-be05-49f9-b0a0-30f790261023, version 1.0\nDescription : Unknown RPC service\nAnnotation : Security Center\nType : Local RPC service\nNamed pipe : AudioClientRpc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 06bba54a-be05-49f9-b0a0-30f790261023, version 1.0\nDescription : Unknown RPC service\nAnnotation : Security Center\nType : Local RPC service\nNamed pipe : Audiosrv\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 06bba54a-be05-49f9-b0a0-30f790261023, version 1.0\nDescription : Unknown RPC service\nAnnotation : Security Center\nType : Local RPC service\nNamed pipe : dhcpcsvc\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 06bba54a-be05-49f9-b0a0-30f790261023, version 1.0\nDescription : Unknown RPC service\nAnnotation : Security Center\nType : Local RPC service\nNamed pipe : dhcpcsvc6\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 06bba54a-be05-49f9-b0a0-30f790261023, version 1.0\nDescription : Unknown RPC service\nAnnotation : Security Center\nType : Local RPC service\nNamed pipe : OLE4F91526C693C4FC7944E94E9DEC2\n\n","hosts":null,"custom_description":null},{"ports":{"49155 / tcp / dce-rpc":[{"hostname":"172.204.81.57"}]},"has_attachment":0,"severity":0,"plugin_output":"\nThe following DCERPC services are available on TCP port 49155 :\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 12345778-1234-abcd-ef00-0123456789ac, version 1.0\nDescription : Security Account Manager\nWindows process : lsass.exe\nType : Remote RPC service\nTCP Port : 49155\nIP : 172.204.81.57\n\n","hosts":null,"custom_description":null},{"ports":{"49152 / tcp / dce-rpc":[{"hostname":"172.204.81.57"}]},"has_attachment":0,"severity":0,"plugin_output":"\nThe following DCERPC services are available on TCP port 49152 :\n\nObject UUID : 765294ba-60bc-48b8-92e9-89fd77769d91\nUUID : d95afe70-a6d5-4259-822e-2c84da1ddb0d, version 1.0\nDescription : Unknown RPC service\nType : Remote RPC service\nTCP Port : 49152\nIP : 172.204.81.57\n\n","hosts":null,"custom_description":null},{"ports":{"49157 / tcp / dce-rpc":[{"hostname":"172.204.81.57"}]},"has_attachment":0,"severity":0,"plugin_output":"\nThe following DCERPC services are available on TCP port 49157 :\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 6b5bdd1e-528c-422c-af8c-a4079be4fe48, version 1.0\nDescription : Unknown RPC service\nAnnotation : Remote Fw APIs\nType : Remote RPC service\nTCP Port : 49157\nIP : 172.204.81.57\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 12345678-1234-abcd-ef00-0123456789ab, version 1.0\nDescription : IPsec Services (Windows XP & 2003)\nWindows process : lsass.exe\nAnnotation : IPSec Policy agent endpoint\nType : Remote RPC service\nTCP Port : 49157\nIP : 172.204.81.57\n\n","hosts":null,"custom_description":null},{"ports":{"49156 / tcp / dce-rpc":[{"hostname":"172.204.81.57"}]},"has_attachment":0,"severity":0,"plugin_output":"\nThe following DCERPC services are available on TCP port 49156 :\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 367abb81-9844-35f1-ad32-98f038001003, version 2.0\nDescription : Service Control Manager\nWindows process : svchost.exe\nType : Remote RPC service\nTCP Port : 49156\nIP : 172.204.81.57\n\n","hosts":null,"custom_description":null},{"ports":{"49154 / tcp / dce-rpc":[{"hostname":"172.204.81.57"}]},"has_attachment":0,"severity":0,"plugin_output":"\nThe following DCERPC services are available on TCP port 49154 :\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 86d35949-83c9-4044-b424-db363231fd0c, version 1.0\nDescription : Unknown RPC service\nType : Remote RPC service\nTCP Port : 49154\nIP : 172.204.81.57\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : a398e520-d59a-4bdd-aa7a-3c1e0303a511, version 1.0\nDescription : Unknown RPC service\nAnnotation : IKE/Authip API\nType : Remote RPC service\nTCP Port : 49154\nIP : 172.204.81.57\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 552d076a-cb29-4e44-8b6a-d15e59e2c0af, version 1.0\nDescription : Unknown RPC service\nAnnotation : IP Transition Configuration endpoint\nType : Remote RPC service\nTCP Port : 49154\nIP : 172.204.81.57\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 98716d03-89ac-44c7-bb8c-285824e51c4a, version 1.0\nDescription : Unknown RPC service\nAnnotation : XactSrv service\nType : Remote RPC service\nTCP Port : 49154\nIP : 172.204.81.57\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 201ef99a-7fa0-444c-9399-19ba84f12a1a, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Remote RPC service\nTCP Port : 49154\nIP : 172.204.81.57\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 5f54ce7d-5b79-4175-8584-cb65313a0e98, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Remote RPC service\nTCP Port : 49154\nIP : 172.204.81.57\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : fd7a0523-dc70-43dd-9b2e-9c5ed48225b1, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Remote RPC service\nTCP Port : 49154\nIP : 172.204.81.57\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 58e604e8-9adb-4d2e-a464-3b0683fb1480, version 1.0\nDescription : Unknown RPC service\nAnnotation : AppInfo\nType : Remote RPC service\nTCP Port : 49154\nIP : 172.204.81.57\n\n","hosts":null,"custom_description":null},{"ports":{"49153 / tcp / dce-rpc":[{"hostname":"172.204.81.57"}]},"has_attachment":0,"severity":0,"plugin_output":"\nThe following DCERPC services are available on TCP port 49153 :\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : f6beaff7-1e19-4fbb-9f8f-b89e2018337c, version 1.0\nDescription : Unknown RPC service\nAnnotation : Event log TCPIP\nType : Remote RPC service\nTCP Port : 49153\nIP : 172.204.81.57\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 30adc50c-5cbc-46ce-9a0e-91914789e23c, version 1.0\nDescription : Unknown RPC service\nAnnotation : NRP server endpoint\nType : Remote RPC service\nTCP Port : 49153\nIP : 172.204.81.57\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 3c4728c5-f0ab-448b-bda1-6ce01eb0a6d5, version 1.0\nDescription : DHCP Client Service\nWindows process : svchost.exe\nAnnotation : DHCP Client LRPC Endpoint\nType : Remote RPC service\nTCP Port : 49153\nIP : 172.204.81.57\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 3c4728c5-f0ab-448b-bda1-6ce01eb0a6d6, version 1.0\nDescription : Unknown RPC service\nAnnotation : DHCPv6 Client LRPC Endpoint\nType : Remote RPC service\nTCP Port : 49153\nIP : 172.204.81.57\n\nObject UUID : 00000000-0000-0000-0000-000000000000\nUUID : 06bba54a-be05-49f9-b0a0-30f790261023, version 1.0\nDescription : Unknown RPC service\nAnnotation : Security Center\nType : Remote RPC service\nTCP Port : 49153\nIP : 172.204.81.57\n\n","hosts":null,"custom_description":null}],"info":{"plugindescription":{"severity":0,"pluginname":"DCE Services Enumeration","pluginattributes":{"risk_information":{"risk_factor":"None"},"plugin_information":{"plugin_version":"$Revision: 1.51 $","plugin_id":10736,"plugin_type":"local","plugin_publication_date":"2001-08-26T00:00:00Z","plugin_family":"Windows","plugin_modification_date":"2014-05-12T00:00:00Z"},"solution":null,"has_patch":false,"description":"By sending a Lookup request to the portmapper (TCP 135 or epmapper PIPE) it was possible to enumerate the Distributed Computing Environment (DCE) services running on the remote port. Using this information it is possible to connect and bind to each service by sending an RPC request to the remote port/pipe.","synopsis":"A DCE/RPC service is running on the remote host."},"pluginfamily":"Windows","pluginid":"10736"}}}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions and CAN VIEW [16] scan permissions. See Permissions.
","operationId":"scans-attachments","tags":["Scans"],"parameters":[{"description":"The identifier for the scan containing the attachment. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string"}},{"description":"The ID of the scan attachment.","required":true,"name":"attachment_id","in":"path","schema":{"type":"string"}},{"description":"The attachment access token.","required":true,"name":"key","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the attachment file.","content":{"application/octet-stream":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified attachment file."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions. See Permissions.
","operationId":"scans-timezones","tags":["Scans"],"responses":{"200":{"description":"Returns the timezone list.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The readable name of the timezone."},"value":{"type":"string","description":"The system value for the timezone."}}}},"examples":{"response":{"value":{"timezones":[{"name":"Africa/Abidjan","value":"Africa/Abidjan"},{"name":"Europe/Tiraspol","value":"Europe/Tiraspol"},{"name":"UCT","value":"UCT"},{"name":"US/Alaska","value":"US/Alaska"},{"name":"US/Aleutian","value":"US/Aleutian"},{"name":"US/Arizona","value":"US/Arizona"},{"name":"US/Central","value":"US/Central"},{"name":"US/East-Indiana","value":"US/East-Indiana"},{"name":"US/Eastern","value":"US/Eastern"},{"name":"US/Hawaii","value":"US/Hawaii"},{"name":"US/Indiana-Starke","value":"US/Indiana-Starke"},{"name":"US/Michigan","value":"US/Michigan"},{"name":"US/Mountain","value":"US/Mountain"},{"name":"US/Pacific","value":"US/Pacific"},{"name":"US/Pacific-New","value":"US/Pacific-New"},{"name":"US/Samoa","value":"US/Samoa"},{"name":"UTC","value":"UTC"},{"name":"Universal","value":"Universal"},{"name":"W-SU","value":"W-SU"},{"name":"WET","value":"WET"},{"current":true,"name":"Zulu","value":"Zulu"}]}}}}}},"403":{"description":"Returned if you do not have permission to view timezones."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"server-status","tags":["Server"],"responses":{"200":{"description":"Returns the server status. Status values can include:\n - loading\n - ready\n - corrupt-db\n - feed-expired\n - eval-expired\n - locked\n - register\n - register-locked\n - download-failed\n - feed-error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"code":{"type":"integer"}}},"examples":{"response":{"value":{"code":200,"status":"ready"}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"server-properties","tags":["Server"],"responses":{"200":{"description":"Returns the server properties.","content":{"application/json":{"schema":{"type":"object","properties":{"capabilities":{"type":"object"},"enterprise":{"type":"boolean"},"expiration":{"type":"integer"},"expiration_time":{"type":"integer"},"idle_timeout":{"type":"integer"},"license":{"type":"object"},"loaded_plugin_set":{"type":"string"},"login_banner":{"type":"boolean"},"nessus_type":{"type":"string"},"nessus_ui_version":{"type":"string"},"notifications":{"type":"array","items":{"type":"string"}},"plugin_set":{"type":"string"},"scanner_boottime":{"type":"integer"},"server_version":{"type":"string"},"server_uuid":{"type":"string"},"update":{"type":"object","properties":{"href":{"type":"string"},"new_version":{"type":"integer"},"restart":{"type":"integer"}}},"analytics":{"type":"object"},"limitEnabled":{"type":"boolean"},"msp":{"type":"boolean"},"server_build":{"type":"string"},"force_ui_reload":{"type":"boolean"},"nessus_ui_build":{"type":"string"},"container_db_version":{"type":"string"}}},"examples":{"response":{"value":{"limitEnabled":false,"region":"US East","loaded_plugin_set":"201812271241","server_uuid":"417457f6-cd2b-727c-d94f-06bce34d74cf27789b39c292efc6","update":{"href":null,"new_version":0,"restart":0},"expiration":1551160800,"nessus_ui_version":"11.0.52","nessus_type":"Nessus Cloud","notifications":[],"expiration_time":60,"license":{"enterprise_pause":false,"expiration_date":1551160800,"ips":1024,"agents":512,"users":10,"scanners":2,"evaluation":false,"scanners_used":0,"agents_used":0,"apps":{"was":{"mode":"eval","expiration_date":1549299101}}},"enterprise":true,"analytics":{"key":"ddf4b2ef-ac5e-4ee7-701d-7fd1a95bc458","enabled":true,"site_id":"us-2b"},"msp":true,"server_build":"C20023","force_ui_reload":true,"capabilities":{"multi_user":"full","multi_scanner":true,"report_email_config":true,"two_factor":{"twilio":true,"smtp":false}},"plugin_set":"201812271241","idle_timeout":"30","nessus_ui_build":"161","scanner_boottime":1545191736,"evaluation":{"limitEnabled":true,"targets":25},"container_db_version":"10.43.0","login_banner":null,"server_version":"6.9.1"}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"tags-create-tag-category","tags":["Tags"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the tag category."},"description":{"type":"string","description":"The description of the tag category."}},"required":["name"]},"example":{"name":"Location","description":"The geographic location of the asset."}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully creates a category.","content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"type":"string","description":"The UUID of the category."},"name":{"type":"string","description":"The name of the category. The name must be unique within a Tenable.io instance."},"description":{"type":"string","description":"The description of the category."},"created_at":{"type":"string","description":"An ISO timestamp indicating the date and time on which the category was created, for example, `2018-08-09T13:51:17.243Z`."},"created_by":{"type":"string","description":"The name of the user who created the category."},"updated_at":{"type":"string","description":"An ISO timestamp indicating the date and time on which the category was last updated, for example, `2018-08-09T13:51:17.243Z`."},"updated_by":{"type":"string","description":"The name of the user who last updated the category."},"reserved":{"type":"boolean","description":"Indicates whether the tags in this category are reserved (cannot be updated). This is a read-only field set by the system."}}},"examples":{"response":{"value":{"uuid":"ce8e96b5-4e4a-4469-99a6-425479153dea","created_at":"2018-10-30T20:43:36.496Z","created_by":"user3@example.com","updated_at":"2018-10-30T20:43:36.496Z","updated_by":"user3@example.com","name":"Location","description":"The geographic location of the asset.","reserved":false}}}}}},"400":{"description":"Returned if Tenable.io encounters any of the following error conditions:\n - max_entries—your request exceeds the maximum number of categories (100 per container).\n - duplicate—a category with the name you specified already exists."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"tags-list-tag-categories","tags":["Tags"],"parameters":[{"description":"A filter condition in the `field:operator:value` format, for example, `f=name:match:location`. Filter conditions can include: \n* name:eq:<name> \n* name:match:Requires BASIC [16] user permissions. See Permissions.
","operationId":"tags-tag-category-details","tags":["Tags"],"parameters":[{"description":"The UUID of the tag category to return details for. For more information on determining this value, see [Determine Tag Identifiers](/docs/determine-tag-identifiers-tio).","required":true,"name":"category_uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the category details.","content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"type":"string","description":"The UUID of the category."},"name":{"type":"string","description":"The name of the category. The name must be unique within a Tenable.io instance."},"description":{"type":"string","description":"The description of the category."},"created_at":{"type":"string","description":"An ISO timestamp indicating the date and time on which the category was created, for example, `2018-08-09T13:51:17.243Z`."},"created_by":{"type":"string","description":"The name of the user who created the category."},"updated_at":{"type":"string","description":"An ISO timestamp indicating the date and time on which the category was last updated, for example, `2018-08-09T13:51:17.243Z`."},"updated_by":{"type":"string","description":"The name of the user who last updated the category."},"reserved":{"type":"boolean","description":"Indicates whether the tags in this category are reserved (cannot be updated). This is a read-only field set by the system."}}},"examples":{"response":{"value":{"uuid":"ce8e96b5-4e4a-4469-99a6-425479153dea","created_at":"2018-10-30T20:43:36.496Z","created_by":"user3@example.com","updated_at":"2018-10-30T20:43:36.496Z","updated_by":"user3@example.com","name":"Location","description":"The geographic location of the asset.","reserved":false}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified tag category."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"tags-edit-tag-category","tags":["Tags"],"parameters":[{"description":"The UUID of the category. For more information on determining this value, see [Determine Tag Identifiers](/docs/determine-tag-identifiers-tio).","required":true,"name":"category_uuid","in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the tag category."},"description":{"type":"string","description":"The description of the category."}},"required":["name"]},"example":{"name":"location","description":"The physical location of the asset."}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully updates the tag category.","content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"type":"string","description":"The UUID of the category."},"name":{"type":"string","description":"The name of the category. The name must be unique within a Tenable.io instance."},"description":{"type":"string","description":"The description of the category."},"created_at":{"type":"string","description":"An ISO timestamp indicating the date and time on which the category was created, for example, `2018-08-09T13:51:17.243Z`."},"created_by":{"type":"string","description":"The name of the user who created the category."},"updated_at":{"type":"string","description":"An ISO timestamp indicating the date and time on which the category was last updated, for example, `2018-08-09T13:51:17.243Z`."},"updated_by":{"type":"string","description":"The name of the user who last updated the category."},"reserved":{"type":"boolean","description":"Indicates whether the tags in this category are reserved (cannot be updated). This is a read-only field set by the system."}}},"examples":{"response":{"value":{"uuid":"ce8e96b5-4e4a-4469-99a6-425479153dea","created_at":"2018-10-30T20:43:36.496Z","created_by":"user3@sample.org","updated_at":"2018-10-30T23:01:42.105Z","updated_by":"user3@sample.org","name":"operating_system","description":"The operating system of the asset","reserved":false}}}}}},"400":{"description":"Returned if your request message does not specify a value for the tag category name."},"404":{"description":"Returned if Tenable.io cannot find the specified tag category."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"tags-delete-tag-category","tags":["Tags"],"parameters":[{"description":"The UUID of the category to delete. For more information on determining this value, see [Determine Tag Identifiers](/docs/determine-tag-identifiers-tio).","required":true,"name":"category_uuid","in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Returned if Tenable.io successfully deletes the specified tag category.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified tag category."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"tags-list-tag-values","tags":["Tags"],"parameters":[{"description":"A filter condition in the `field:operator:value` format, for example, `f=value:match:rhel`. Filters should match `field:op:value` format. Filter conditions can include: \n* value:eq:<value> \n* value:match:<value> \n* category\\_name:match:Requires BASIC [16] user permissions. See Permissions.
","operationId":"tags-create-tag-value","tags":["Tags"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"category_name":{"type":"string","description":"The name of the tag category to associate with the new value.\n\nSpecify the name of a new category if you want to add both a new category and tag value.\n\nSpecify the name of an existing category if you want to add the tag value to the existing category.\n\nCaution: This value is case-sensitive. For example, Tenable.io considers \"location\" and \"Location\" to be separate categories.\n\nThe category_name can result in the following responses:\n\n - If the category_name you specify exists, and the tag value you specify already exists for that category, Tenable.io returns a 400 response code, instead of adding the tag.\n\n - If the category_name you specify exists, but the tag value you specify does not yet exist for that category, Tenable.io adds the tag value to the existing category.\n\n - If the category_name you specify does not exist, Tenable.io creates a new tag category and adds the new tag value to that category.\n\nThis parameter is required if category_uuid is not present in the request message."},"category_uuid":{"type":"string","description":"The UUID of the tag category to associate with the new value. For more information on determining this value, see [Determine Tag Identifiers](/docs/determine-tag-identifiers-tio).\n\nUse this parameter only if you want to add the tag value to an existing category. If the UUID you specify does not exist, Tenable.io does not create a new catgory. Instead, it returns a 400 (Bad Request) response code.\n\nThis parameter is required if category_name is not present in the request message."},"category_description":{"type":"string","description":"The description for the new tag category that Tenable.io creates if the category specified by name does not exist. Otherwise, Tenable.io ignores the description."},"value":{"type":"string","description":"The new tag value.\n\nCaution: This value is case-sensitive. For example, Tenable.io considers \"headquarters\" and \"Headquarters\" to be separate tag values."},"description":{"type":"string","description":"The new tag value description."},"filters":{"type":"object","description":"The filters (conditional sets of rules) for automatically applying the tag to assets. For more information, see [Apply Dynamic Tags](/docs/apply-dynamic-tags).","properties":{"asset":{"type":"object","description":"The object containing conditional sets of rules for applying the tags. \n\n**Note:** Tenable.io supports a maximum of 1,000 rules per tag. This limit means that you can specify a maximum of 1,000 `and` or `or` conditions for a single tag value. However, there is no limit on the number of values you can specify in a comma-delimited string for the `value` of an individual rule.","properties":{"and":{"type":"array","description":"To apply the tag to assets that match all of the rules, specify the rules inside the `and` object.","items":{"type":"object","description":"A rule for applying the tag to assets by matching asset properties or other tags. Includes a field or tag name, an operator, and a value.","properties":{"field":{"type":"string","description":"The asset attribute name or tag to match."},"operator":{"type":"string","description":"The operator to apply to the matched value, for example, equals, does not equal, or contains. To find supported operators, use the [GET /tags/assets/filters](/reference#tags-list-asset-filters) endpoint."},"value":{"type":"string","description":"The asset attribute value or tag to match. You can specify multiple values separated by commas, for example, \"172.204.81.57,172.82.157.177,172.156.65.8,172.207.124.176,172.106.217.225\"."}}}},"or":{"type":"array","description":"To apply the tag to assets that match any of the rules, specify the rules inside the `or` object.","items":{"type":"object","description":"A rule for applying the tag to assets by matching asset properties or other tags. Includes a field or tag name, an operator, and a value.","properties":{"field":{"type":"string","description":"The asset attribute name or tag to match."},"operator":{"type":"string","description":"The operator to apply to the matched value, for example, equals, does not equal, or contains. To find supported operators, use the [GET /tags/assets/filters](/reference#tags-list-asset-filters) endpoint."},"value":{"type":"string","description":"The asset attribute value or tag to match. You can specify multiple values separated by commas, for example, \"172.204.81.57,172.82.157.177,172.156.65.8,172.207.124.176,172.106.217.225\"."}}}}}}}}},"required":["value"]},"example":{"category_name":"Location","value":"San Diego","description":"San Diego - WFH"}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully creates a value.","content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"description":"The UUID of the tag value. Use this value to assign the tag to assets.","type":"string"},"created_at":{"type":"string","description":"An ISO timestamp indicating the date and time on which the tag value was created, for example, `2018-08-09T13:51:17.243Z`."},"created_by":{"type":"string","description":"The name of the user who created the tag value."},"updated_at":{"type":"string","description":"An ISO timestamp indicating the date and time on which the tag value was last updated, for example, `2018-08-09T13:51:17.243Z`. When you create a tag value, this date matches the `created_at` date."},"updated_by":{"type":"string","description":"The name of the user who last updated the tag value. When you create a tag value, this name matches the `created_by` name."},"category_uuid":{"type":"string","description":"The UUID of the category associated with the tag value. Use this value to create future tags in the same category."},"value":{"description":"The tag value. Must be unique within the category.","type":"string"},"description":{"type":"string","description":"The description of the tag value."},"type":{"type":"string","description":"The tag type:\n - static—A user must manually apply the tag to assets.\n - dynamic—Tenable.io automatically applies the tag based on asset attribute rules."},"category_name":{"type":"string","description":"The name of the category associated with the tag value."},"category_description":{"type":"string","description":"The description of the category associated with the tag value."},"filters":{"type":"object","description":"For dynamic tags, asset selection rules.","properties":{"asset":{"type":"string","description":"Tag rule definitions represented as a JSON-formatted string."}}}}},"examples":{"response":{"value":{"uuid":"fb7fae7d-8acb-48e4-928c-d93103e9e73f","created_at":"2018-11-08T19:39:40.473Z","created_by":"user3@example.com","updated_at":"2018-11-08T19:39:40.473Z","updated_by":"user3@example.com","category_uuid":"8981f2d8-a043-4a74-ad78-e6a73b13ccaf","value":"San Diego","description":"San Diego - WFH","type":"static","category_name":"location","category_description":"Asset location"}}}}}},"400":{"description":"Returned if Tenable.io encounters any of the following error conditions:\n - the combination of category and value you specified already exists (`duplicate`)\n - the category you specified does not exist (`not_found`)\n - your request exceeded a tag limit for your organization, which can be either the maximum of 100 categories or the maximum 100,000 tags for each category, or as configured for your organization\n - you attempted to specify more than 1,000 rules for an individual tag (`Filter expression cannot have more than 1,000 conditions`)\n - your request specified an invalid filter for the dynamic tag rule, for example, `ipv 4` (`The following filter types are not valid: {string}`)."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"tags-tag-value-details","tags":["Tags"],"parameters":[{"description":"The UUID of the tag value. For more information on determining this value, see [Determine Tag Identifiers](/docs/determine-tag-identifiers-tio).","required":true,"name":"value_uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the details for tag value.","content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"description":"The UUID of the tag value. Use this value to assign the tag to assets.","type":"string"},"created_at":{"type":"string","description":"An ISO timestamp indicating the date and time on which the tag value was created, for example, `2018-08-09T13:51:17.243Z`."},"created_by":{"type":"string","description":"The name of the user who created the tag value."},"updated_at":{"type":"string","description":"An ISO timestamp indicating the date and time on which the tag value was last updated, for example, `2018-08-09T13:51:17.243Z`. When you create a tag value, this date matches the `created_at` date."},"updated_by":{"type":"string","description":"The name of the user who last updated the tag value. When you create a tag value, this name matches the `created_by` name."},"category_uuid":{"type":"string","description":"The UUID of the category associated with the tag value. Use this value to create future tags in the same category."},"value":{"description":"The tag value. Must be unique within the category.","type":"string"},"description":{"type":"string","description":"The description of the tag value."},"type":{"type":"string","description":"The tag type:\n - static—A user must manually apply the tag to assets.\n - dynamic—Tenable.io automatically applies the tag based on asset attribute rules."},"category_name":{"type":"string","description":"The name of the category associated with the tag value."},"category_description":{"type":"string","description":"The description of the category associated with the tag value."},"filters":{"type":"object","description":"For dynamic tags, asset selection rules.","properties":{"asset":{"type":"string","description":"Tag rule definitions represented as a JSON-formatted string."}}}}},"examples":{"response":{"value":{"uuid":"2ffde3b7-85b4-4f01-b226-15ebc4551c4e","created_at":"2019-05-02T17:11:26.492Z","created_by":"user@example.com","updated_at":"2019-05-02T17:11:26.492Z","updated_by":"user@example.com","category_uuid":"7467cbe4-d6d3-4ffe-ae36-9f5ef4dac933","value":"freebsd","description":"FreeBSD hosts","type":"dynamic","category_name":"unix","category_description":"Unix hosts","filters":{"asset":"{\"and\":[{\"field\":\"operating_system\",\"operator\":\"match\",\"value\":\"FreeBSD\"}]}"}}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified tag value."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"tags-update-tag-value","tags":["Tags"],"parameters":[{"description":"The UUID of the value you want to update. For more information on determining this value, see [Determine Tag Identifiers](/docs/determine-tag-identifiers-tio).","required":true,"name":"value_uuid","in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"value":{"type":"string","description":"The new tag value."},"description":{"type":"string","description":"The new tag value description."},"filters":{"type":"object","description":"The filters (conditional sets of rules) for automatically applying the tag to assets. For more information, see [Apply Dynamic Tags](/docs/apply-dynamic-tags).","properties":{"asset":{"type":"object","description":"The object containing conditional sets of rules for applying the tags.\n\n**Note:** Tenable.io supports a maximum of 1,000 rules per tag. This limit means that you can specify a maximum of 1,000 `and` or `or` conditions for a single tag value. However, there is no limit on the number of values you can specify in a comma-delimited string for the `value` of an individual rule.","properties":{"and":{"type":"array","description":"To apply the tag to assets that match all of the rules, specify the rules inside the `and` object.","items":{"type":"object","description":"A rule for applying the tag to assets by matching asset properties or other tags. Includes a field or tag name, an operator, and a value.","properties":{"field":{"type":"string","description":"The asset attribute name or tag to match."},"operator":{"type":"string","description":"The operator to apply to the matched value, for example, equals, does not equal, or contains. To find supported operators, use the [GET /tags/assets/filters](/reference#tags-list-asset-filters) endpoint."},"value":{"type":"string","description":"The asset attribute value or tag to match. You can specify multiple values separated by commas, for example, \"172.204.81.57,172.82.157.177,172.156.65.8,172.207.124.176,172.106.217.225\"."}}}},"or":{"type":"array","description":"To apply the tag to assets that match any of the rules, specify the rules inside the `or` object.","items":{"type":"object","description":"A rule for applying the tag to assets by matching asset properties or other tags. Includes a field or tag name, an operator, and a value.","properties":{"field":{"type":"string","description":"The asset attribute name or tag to match."},"operator":{"type":"string","description":"The operator to apply to the matched value, for example, equals, does not equal, or contains. To find supported operators, use the [GET /tags/assets/filters](/reference#tags-list-asset-filters) endpoint."},"value":{"type":"string","description":"The asset attribute value or tag to match. You can specify multiple values separated by commas, for example, \"172.204.81.57,172.82.157.177,172.156.65.8,172.207.124.176,172.106.217.225\"."}}}}}}}}}},"example":{"description":"San Diego - Home Office"}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully updates the tag value.","content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"description":"The UUID of the tag value. Use this value to assign the tag to assets.","type":"string"},"created_at":{"type":"string","description":"An ISO timestamp indicating the date and time on which the tag value was created, for example, `2018-08-09T13:51:17.243Z`."},"created_by":{"type":"string","description":"The name of the user who created the tag value."},"updated_at":{"type":"string","description":"An ISO timestamp indicating the date and time on which the tag value was last updated, for example, `2018-08-09T13:51:17.243Z`. When you create a tag value, this date matches the `created_at` date."},"updated_by":{"type":"string","description":"The name of the user who last updated the tag value. When you create a tag value, this name matches the `created_by` name."},"category_uuid":{"type":"string","description":"The UUID of the category associated with the tag value. Use this value to create future tags in the same category."},"value":{"description":"The tag value. Must be unique within the category.","type":"string"},"description":{"type":"string","description":"The description of the tag value."},"type":{"type":"string","description":"The tag type:\n - static—A user must manually apply the tag to assets.\n - dynamic—Tenable.io automatically applies the tag based on asset attribute rules."},"category_name":{"type":"string","description":"The name of the category associated with the tag value."},"category_description":{"type":"string","description":"The description of the category associated with the tag value."},"filters":{"type":"object","description":"For dynamic tags, asset selection rules.","properties":{"asset":{"type":"string","description":"Tag rule definitions represented as a JSON-formatted string."}}}}},"examples":{"response":{"value":{"uuid":"fb7fae7d-8acb-48e4-928c-d93103e9e73f","created_at":"2018-11-08T19:39:40.473Z","created_by":"user3@example.com","updated_at":"2018-11-08T19:45:37.591Z","updated_by":"user3@example.com","category_uuid":"8981f2d8-a043-4a74-ad78-e6a73b13ccaf","value":"San Diego","description":"San Diego - Home Office","type":"static","category_name":"location","category_description":"Asset location"}}}}}},"400":{"description":"Returned if Tenable.io encounters any of the following error conditions:\n - the combination of category and value you specified already exists (`duplicate`)\n - the category you specified does not exist (`not_found`)\n - your request exceeded a tag limit for your organization, which can be either the maximum of 100 categories or the maximum 100,000 tags for each category, or as configured for your organization\n - you attempted to specify more than 1,000 rules for an individual tag (`Filter expression cannot have more than 1,000 conditions`)\n - your request specified an invalid filter for the dynamic tag rule, for example, `ipv 4` (`The following filter types are not valid: {string}`)."},"404":{"description":"Returned if Tenable.io cannot find the specified tag value."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"tags-delete-tag-value","tags":["Tags"],"parameters":[{"description":"The UUID of the tag value you want to delete.\n\n**Note:** A tag UUID is technically assigned to the tag value only (the second half of the category:value pair), but the API commands use this value to represent the whole `category:value` pair. For more information on determining this value, see [Determine Tag Identifiers](/docs/determine-tag-identifiers-tio).","required":true,"name":"value_uuid","in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":"Returned if Tenable.io successfully deletes the specified tag value.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified tag value."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"tags-delete-tag-values-bulk","tags":["Tags"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"values":{"items":{"type":"string","format":"uuid"},"description":"The UUIDs of the tag values you want to delete.\n\n**Note:** A tag UUID is technically assigned to the tag value only (the second half of the category:value pair), but the API commands use this value to represent the whole `category:value` pair. For more information on determining this value, see [Determine Tag Identifiers](/docs/determine-tag-identifiers-tio).","type":"array"}}},"example":{"values":["18179e00-b0e0-4fd7-be91-e9e854fe66b9","f45a48b4-50e7-41c3-afb9-2e01f5423698","fb7fae7d-8acb-48e4-928c-d93103e9e73f"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully deletes the specified tag values.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"400":{"description":"Returned if you specify invalid UUIDs."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"tags-list-asset-tags","tags":["Tags"],"parameters":[{"description":"The UUID of the asset.","required":true,"name":"asset_uuid","in":"path","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Returns a list of tags assigned to the specified asset. If no tags are assigned to the asset, Tenable.io returns an empty list. Also, the service does not validate the asset UUID.","content":{"application/json":{"schema":{"type":"object","properties":{"tags":{"description":"An array of asset assignment objects.","type":"array","items":{"type":"object","properties":{"asset_uuid":{"type":"string","description":"The UUID of the asset where the tag is assigned."},"value":{"type":"string","description":"The tag value (the second half of the category:value pair)."},"value_uuid":{"description":"The UUID of the tag value.\n\n**Note:** A tag UUID is technically assigned to the tag value only (the second half of the category:value pair), but the API commands use this value to represent the whole `category:value` pair.","type":"string"},"category_name":{"type":"string","description":"The tag category name (the first half of the category:value pair)."},"category_uuid":{"description":"The UUID of the tag category. Use this value to create future tags in the same category.","type":"string"},"created_at":{"type":"string","description":"An ISO timestamp indicating the date and time on which the was assigned to an asset, for example, `2018-08-09T13:51:17.243Z`."},"created_by":{"type":"string","description":"The name of the user who assigned the tag to the asset."},"source":{"type":"string","description":"The tag type:\n - static—A user must manually apply the tag to assets.\n - dynamic—Tenable.io automatically applies the tag based on asset attribute rules."}}}}}},"examples":{"response":{"value":{"tags":[{"value_uuid":"18179e00-b0e0-4fd7-be91-e9e854fe66b9","category_name":"location","asset_uuid":"842fa017-0141-4fdd-a53b-bcdd971ed1da","created_at":"2018-11-01T16:29:40.606Z","source":"static","value":"Chicago","created_by":"fa76f456-9a6f-4f63-8553-1cee233eb965","category_uuid":"8981f2d8-a043-4a74-ad78-e6a73b13ccaf"},{"value_uuid":"f45a48b4-50e7-41c3-afb9-2e01f5423698","category_name":"threat","asset_uuid":"842fa017-0141-4fdd-a53b-bcdd971ed1da","created_at":"2018-11-01T16:29:40.606Z","source":"static","value":"wannacry","created_by":"fa76f456-9a6f-4f63-8553-1cee233eb965","category_uuid":"a43054ec-87d7-4290-951f-2c489e848463"}]}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"tags-assign-asset-tags","tags":["Tags"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","description":"Specifies whether to add or remove tags.","enum":["add","remove"]},"assets":{"items":{"type":"string","format":"uuid"},"description":"An array of asset UUIDs. For more information on determining values for this array, see [Determine Tag Identifiers](/docs/determine-tag-identifiers-tio).","type":"array"},"tags":{"items":{"type":"string","format":"uuid"},"description":"An array of tag value UUIDs. For more information on determining values for this array, see [Determine Tag Identifiers](/docs/determine-tag-identifiers-tio).","type":"array"}},"required":["action","assets","tags"]},"example":{"action":"add","assets":["208d8f5f-73a9-47cd-8b04-4aa99f38af79","c2332afe-5bfd-41fe-9e2e-5462dd3df455","9166eea2-d4aa-4a99-99eb-fee1c36d6457","5fc79177-e820-4ff7-ac28-6a5a995fea8b","fc0a57cb-66fc-43a5-a628-13ef10664fe8"],"tags":["18179e00-b0e0-4fd7-be91-e9e854fe66b9","f45a48b4-50e7-41c3-afb9-2e01f5423698","fb7fae7d-8acb-48e4-928c-d93103e9e73f"]}}}},"responses":{"202":{"description":"Returns the UUID of the asynchronous asset update job.","content":{"application/json":{"schema":{"type":"object","properties":{"job_uuid":{"type":"string","format":"uuid","description":"The UUID of the asynchronous asset update job."}}},"examples":{"response":{"value":{"job_uuid":"62210d02a7056d0297f50a8ddfbd549eaef1d0bc94e1ea3fad09"}}}}}},"400":{"description":"Returned if Tenable.io cannot find the specified assets."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"tags-list-asset-filters","tags":["Tags"],"responses":{"200":{"description":"Returns a list of filters.","content":{"application/json":{"schema":{"type":"array","description":"A list of available filters that you can use to define the rules for applying tags to assets.","items":{"type":"object","description":"A filter definition. Includes the field to be matched, the operators that you can use with the filter, and the rules for matching the values (`control` field), for example, a list of valid values.","properties":{"name":{"type":"string","description":"The name of the asset attribute or tag."},"readable_name":{"type":"string","description":"The asset attribute name displayed in the Tenable.io user interface."},"control":{"type":"object","properties":{"readable_regex":{"type":"string","description":"Provides a human-readable \"hint\" to guide users creating tag rules in the Tenable.io user interface."},"type":{"type":"string","description":"The type of UI control that represents the filter in the Tenable.io user interface."},"regex":{"type":"string","description":"A regular expression that Tenable.io UI uses to validate input."}}},"operators":{"description":"The comparison operators that can be used for the filter. To find supported operators, use the [GET /tags/assets/filters](/reference#tags-list-asset-filters) endpoint.","type":"array","items":{"type":"string"}}}}},"examples":{"response":{"value":{"filters":[{"control":{"readable_regex":"e.g. 123e4567e89b12d3a456426655440000","type":"entry","regex":".*"},"name":"tenable_uuid","readable_name":"Tenable UUID","operators":["eq","neq"]},{"control":{"readable_regex":"e.g. 01:23:45:67:89:AB","type":"entry","regex":"^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$"},"name":"mac_address","readable_name":"MAC Address","operators":["eq","neq"]},{"control":{"readable_regex":"e.g. mail01","type":"entry","regex":".*"},"name":"netbios_name","readable_name":"NetBIOS Name","operators":["eq","neq","match","nmatch"]},{"control":{"type":"dropdown_multi","list":[{"name":"US pacific","value":"US pacific"},{"name":"US Central","value":"US Central"},{"name":"US Pacific","value":"US Pacific"}]},"name":"tag.US Timezone","readable_name":"US Timezone","operators":["set-has","set-hasnot"]},{"control":{"type":"dropdown_multi","list":[{"name":"chicago","value":"chicago"}]},"name":"tag.city","readable_name":"city","operators":["set-has","set-hasnot"]},{"control":{"type":"dropdown_multi","list":[{"name":"FreeBSD","value":"FreeBSD"},{"name":"Linux Kernel","value":"Linux Kernel"},{"name":"Solaris","value":"Solaris"}]},"name":"tag.linux","readable_name":"linux","operators":["set-has","set-hasnot"]},{"control":{"type":"dropdown_multi","list":[{"name":"aix","value":"aix"}]},"name":"tag.unix","readable_name":"unix","operators":["set-has","set-hasnot"]}]}}}}}},"400":{"description":"Returned if Tenable.io cannot find the specified assets."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] permissions to create user target groups, and ADMINISTRATOR [64] permissions to create system target groups. For information about target group types, see Tenable.io Vulnerability Management User Guide. For information about permissions, see Permissions.
","operationId":"target-groups-create","tags":["Target Groups"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name for the group."},"members":{"type":"string","description":"The members of the group. A comma-separated list of FQDNs or IP address ranges that you want to scan."},"type":{"type":"string","description":"The group type (user or system).","enum":["user","system"]},"acls":{"items":{"type":"object","properties":{"owner":{"type":"integer","description":"The unique ID of the owner of the object."},"type":{"type":"string","description":"The type of permission (default, user, group).","enum":["default","user","group"]},"permissions":{"type":"integer","description":"The permission value to grant access as described in Permissions.","format":"int32"},"id":{"type":"integer","description":"The unique ID of the user if type is user."},"name":{"type":"string","description":"The name of the user or group."},"display_name":{"type":"string","description":"The display-friendly name of the user or group."}}},"description":"An array containing permissions to apply to the group.","type":"array","example":"[{\"type\": \"default\", \"permissions\": 16}, {\"type\": \"target-group\", \"permissions\": 64, \"name\": \"admin\", \"id\": 1, \"owner\": 1}]"}},"required":["name","members","type"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully creates the group.","content":{"application/json":{"schema":{"type":"object","properties":{"acls":{"description":"The Access Control Lists applicable to the group.","type":"array","items":{"type":"object","properties":{"owner":{"type":"integer","description":"The unique ID of the owner of the object."},"type":{"type":"string","description":"The type of permission (default, user, group).","enum":["default","user","group"]},"permissions":{"type":"integer","description":"The permission value to grant access as described in Permissions.","format":"int32"},"id":{"type":"integer","description":"The unique ID of the user if type is user."},"name":{"type":"string","description":"The name of the user or group."},"display_name":{"type":"string","description":"The display-friendly name of the user or group."}}}},"id":{"type":"integer","description":"The unique ID of the group."},"default_group":{"type":"boolean","description":"If true, this group is the default."},"name":{"type":"string","description":"The name of the group."},"members":{"type":"string","description":"The members of the group."},"type":{"type":"string","description":"The group type (user or system). Only administrators can create groups using the `system` type."},"owner":{"type":"string","description":"The name of the owner of the group. A user of `nessus_ms_agent` indicates it is a system target group."},"owner_id":{"type":"integer","description":"The unique ID of the owner of the group."},"last_modification_date":{"type":"integer","description":"The last modification date for the group in unixtime."},"shared":{"type":"integer","description":"The shared status of the group."},"user_permissions":{"type":"integer","description":"The current user permissions for the group."}}},"examples":{"response":{"value":{"acls":[{"permissions":0,"owner":null,"display_name":null,"name":null,"id":null,"type":"default"},{"permissions":128,"owner":1,"display_name":"user2@example.com","name":"user2@example.com","id":2,"type":"user"}],"default_group":0,"members":"172.204.81.53, 172.204.81.54, 172.204.81.55, 172.204.81.56, 172.204.81.57","name":"RHEL_Hosts","owner":"user2@example.com","shared":0,"user_permissions":128,"last_modification_date":1543622674,"creation_date":1543622674,"owner_id":2,"id":18}}}}}},"400":{"description":"Returned if your response message is missing a required parameter or is otherwise invalid."},"403":{"description":"Returned if you do not have permission to create a group."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"target-groups-list","tags":["Target Groups"],"responses":{"200":{"description":"Returns the group.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"acls":{"description":"The Access Control Lists applicable to the group.","type":"array","items":{"type":"object","properties":{"owner":{"type":"integer","description":"The unique ID of the owner of the object."},"type":{"type":"string","description":"The type of permission (default, user, group).","enum":["default","user","group"]},"permissions":{"type":"integer","description":"The permission value to grant access as described in Permissions.","format":"int32"},"id":{"type":"integer","description":"The unique ID of the user if type is user."},"name":{"type":"string","description":"The name of the user or group."},"display_name":{"type":"string","description":"The display-friendly name of the user or group."}}}},"id":{"type":"integer","description":"The unique ID of the group."},"default_group":{"type":"boolean","description":"If true, this group is the default."},"name":{"type":"string","description":"The name of the group."},"members":{"type":"string","description":"The members of the group."},"type":{"type":"string","description":"The group type (user or system). Only administrators can create groups using the `system` type."},"owner":{"type":"string","description":"The name of the owner of the group. A user of `nessus_ms_agent` indicates it is a system target group."},"owner_id":{"type":"integer","description":"The unique ID of the owner of the group."},"last_modification_date":{"type":"integer","description":"The last modification date for the group in unixtime."},"shared":{"type":"integer","description":"The shared status of the group."},"user_permissions":{"type":"integer","description":"The current user permissions for the group."}}}},"examples":{"response":{"value":{"target_groups":[{"acls":[{"permissions":0,"owner":null,"display_name":null,"name":null,"id":null,"type":"default"},{"permissions":128,"owner":1,"display_name":"user2@example.com","name":"user2@example.com","id":2,"type":"user"}],"default_group":0,"type":"user","members":"172.204.81.53, 172.204.81.54, 172.204.81.55, 172.204.81.56, 172.204.81.57","name":"Centos_Hosts","owner":"user2@example.com","shared":0,"user_permissions":128,"last_modification_date":1543622642,"creation_date":1543622642,"owner_id":2,"id":17},{"acls":[{"permissions":64,"owner":null,"display_name":null,"name":null,"id":null,"type":"default"},{"permissions":128,"owner":1,"display_name":"system","name":"nessus_ms_agent","id":1,"type":"user"}],"default_group":1,"type":"system","members":"*","name":"Default","owner":"nessus_ms_agent","shared":1,"user_permissions":64,"last_modification_date":1532459326,"creation_date":1532459326,"owner_id":1,"id":7},{"acls":[{"permissions":0,"owner":null,"display_name":null,"name":null,"id":null,"type":"default"},{"permissions":128,"owner":1,"display_name":"user2@example.com","name":"user2@example.com","id":2,"type":"user"}],"default_group":0,"type":"user","members":"172.204.81.53, 172.204.81.54, 172.204.81.55, 172.204.81.56, 172.204.81.57","name":"RHEL_Hosts","owner":"user2@example.com","shared":0,"user_permissions":128,"last_modification_date":1543622674,"creation_date":1543622674,"owner_id":2,"id":18}]}}}}}},"403":{"description":"Returned if you do not have permission to view the group."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] permissions. See Permissions.
","operationId":"target-groups-details","tags":["Target Groups"],"parameters":[{"description":"The ID of the group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the group details.","content":{"application/json":{"schema":{"type":"object","properties":{"acls":{"description":"The Access Control Lists applicable to the group.","type":"array","items":{"type":"object","properties":{"owner":{"type":"integer","description":"The unique ID of the owner of the object."},"type":{"type":"string","description":"The type of permission (default, user, group).","enum":["default","user","group"]},"permissions":{"type":"integer","description":"The permission value to grant access as described in Permissions.","format":"int32"},"id":{"type":"integer","description":"The unique ID of the user if type is user."},"name":{"type":"string","description":"The name of the user or group."},"display_name":{"type":"string","description":"The display-friendly name of the user or group."}}}},"id":{"type":"integer","description":"The unique ID of the group."},"default_group":{"type":"boolean","description":"If true, this group is the default."},"name":{"type":"string","description":"The name of the group."},"members":{"type":"string","description":"The members of the group."},"type":{"type":"string","description":"The group type (user or system). Only administrators can create groups using the `system` type."},"owner":{"type":"string","description":"The name of the owner of the group. A user of `nessus_ms_agent` indicates it is a system target group."},"owner_id":{"type":"integer","description":"The unique ID of the owner of the group."},"last_modification_date":{"type":"integer","description":"The last modification date for the group in unixtime."},"shared":{"type":"integer","description":"The shared status of the group."},"user_permissions":{"type":"integer","description":"The current user permissions for the group."}}},"examples":{"response":{"value":{"acls":[{"permissions":0,"owner":null,"display_name":null,"name":null,"id":null,"type":"default"},{"permissions":128,"owner":1,"display_name":"user2@example.com","name":"user2@example.com","id":2,"type":"user"}],"default_group":0,"type":"user","members":"172.204.81.53, 172.204.81.54, 172.204.81.55, 172.204.81.56, 172.204.81.57","name":"Centos_Hosts","owner":"user2@example.com","shared":0,"user_permissions":128,"last_modification_date":1543622642,"creation_date":1543622642,"owner_id":2,"id":17}}}}}},"403":{"description":"Returned if you do not have permission to view the group."},"404":{"description":"Returned if Tenable.io cannot find the specified group."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"vulnerabilities-import","tags":["Vulnerabilities"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","description":"The source of the scan that generated the vulnerability data. If you want to categorize the imported vulnerabilities in the same way that Tenable.io categorizes vulnerabilities detected in scans it manages, use the following values: \n - security_center—A Nessus scan identified the vulnerabilities you want to import. Use this value for all Nessus scans, regardless of the scan manager (Tenable.io, SecurityCenter, or Nessus Manager).\n - qualys—A Qualys scan identified the vulnerabilities you want to import.","example":"nessus"},"type":{"type":"string","description":"The type of scan that identified the vulnerabilities you want to import. If you want to categorize the imported vulnerabilities in the same way that Tenable.io categorizes vulnerabilities detected in scans it manages, use the following values: \n - vm—A Vulnerability Management scan identified the vulnerabilities.\n - was—A Web Application Scanning scan identified the vulnerabilities.\n - pc—A scan of a personal computer identified the vulnerabilities.","example":"vm"},"assets":{"type":"array","description":"An array of asset objects with vulnerabilities information. A valid asset record requires at least one valid network_interface object.\n\n**Note:** Tenable.io supports a maximum of 50 individual asset objects per request message. In addition, because Tenable.io supports a total size limit of 15 MB for the request message, you may want to limit the number of asset objects you include in an individual request, depending on the number of vulnerabilities identified on the assets and the size of the related vulnerability output.\n\n**Note:** This endpoint does not support the network_id attribute in asset objects for import. Tenable.io automatically assigns imported assets to the default network object. For more information about network objects, see [Manage Networks](/docs/manage-networks-tio).","items":{"type":"object","properties":{"network_interfaces":{"type":"array","description":"A valid network_interface object must contain at least one of the following parameters: ipv4, netbios_name, fqdn.","items":{"type":"object","properties":{"ipv4":{"type":"array","description":"A list of IPv4 address that the scan identified as associated with the network interface.","items":{"type":"string"}},"ipv6":{"type":"array","description":"A list of IPv6 addresses that the scan identified as associated with the network interface.","items":{"type":"string"}},"mac_address":{"type":"string","description":"The MAC address of the network interface."},"netbios_name":{"type":"string","description":"The NETBIOS name of the network interface."},"fqdn":{"type":"string","description":"The fully-qualified domain name (FQDN) of the network interface."}}}},"hostname":{"type":"string","description":"The asset's hostname."},"qualys_asset_id":{"type":"string","description":"The Asset ID of the asset in Qualys. For more information, see the Qualys documentation."},"qualys_host_id":{"type":"string","description":"The Host ID of the asset in Qualys. For more information, see the Qualys documentation."},"servicenow_sysid":{"type":"string","description":"The unique record identifier of the asset in ServiceNow. For more information, see the ServiceNow documentation."},"ssh_fingerprint":{"type":"string","description":"The SSH key fingerprint that the scan has associated with the asset."},"bios_uuid":{"type":"string","description":"The BIOS UUID of the asset."},"netbios_name":{"type":"string","description":"The NetBIOS name that the scan has associated with the asset."},"tenable_agent_id":{"type":"integer","description":"The unique ID of the Nessus agent installed on the asset. This parameter is supported only if the `source` parameter for the request is `security_center`."},"vulnerabilities":{"type":"array","description":"A valid vulnerability object must contain at least one of the following parameters: tenable_plugin_id, qualys_id, or cve.","items":{"type":"object","properties":{"tenable_plugin_id":{"type":"string","description":"The ID of the Nessus plugin that identified the vulnerability. This parameter is required if the vulnerability object does not specify either a qualys_id or cve value."},"qualys_id":{"type":"string","description":"The unique ID (QID) of the vulnerability in the Qualys system. For more information, see the Qualys documentation. This parameter is required if the vulnerability object does not specify either a tenable_plugin_id or cve value."},"cve":{"type":"string","description":"The Common Vulnerability and Exposure (CVE) ID for the vulnerability. This parameter is required if the vulnerability object does not specify either a tenable_plugin_id or qualys_id value."},"port":{"type":"integer","description":"The port the scanner used to communicate with the asset.","format":"int32"},"protocol":{"type":"string","description":"The protocol the scanner used to communicate with the asset."},"authenticated":{"type":"boolean","description":"A value specifying whether the scan that identified the vulnerability was an authenticated (credentialed) scan."},"first_found":{"type":"integer","description":"The date (in Unix time) when a scan first identified the vulnerability on the asset.","format":"int32"},"last_found":{"type":"integer","description":"The date (in Unix time) when a scan last identified the vulnerability on the asset.","format":"int32"},"last_fixed":{"type":"integer","description":"The date (in Unix time) when the vulnerability state was changed to `fixed`. Tenable.io updates the vulnerability state to fixed when a scan no longer detects a previously detected vulnerability on the asset.","format":"int32"},"output":{"type":"string","description":"(Required) The text output of the scanner, up to 2,000 maximum characters."}}}}}}},"checks_ran":{"type":"array","description":"An array of objects, each representing a check that the scan used to detect the vulnerabilities you are importing. This parameter supports Tenable plugin checks only. For more information, see [Plugins](https://www.tenable.com/plugins).","items":{"type":"object","properties":{"tenable_plugin_id":{"type":"string","description":"The Tenable plugin ID."},"port":{"type":"integer","description":"The port on the asset where the check ran."},"protocol":{"type":"string","description":"The protocol used to communicate with the asset while running the check."}}}}},"required":["source","type","assets"]}}}},"responses":{"200":{"description":"Returned if Tenable.io successfully imports the vulnerabilities.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"400":{"description":"Returned if you submitted an invalid request."},"403":{"description":"Returned if you do not have permission to import vulnerabilities."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"workbenches-vulnerabilities","tags":["Workbenches"],"parameters":[{"description":"Lists only those vulnerabilities older than a certain number of days.","name":"age","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"Lists only authenticated vulnerabilities.","name":"authenticated","in":"query","schema":{"type":"boolean"}},{"description":"The number of days of data prior to and including today that should be returned.","name":"date_range","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"Lists only exploitable vulnerabilities.","name":"exploitable","in":"query","schema":{"type":"boolean"}},{"description":"The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/vulnerabilities](#workbenches-vulnerabilities-filters) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.filter","in":"query","schema":{"type":"string"},"example":"?filter.0.filter=plugin.name"},{"description":"The operator of the filter to apply to the exported scan report. You can find the operators for the filter using the [GET /filters/workbenches/vulnerabilities](#workbenches-vulnerabilities-filters) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.quality","in":"query","schema":{"type":"string"},"example":"&filter.0.quality=match"},{"description":"The value of the filter to apply to the exported scan report. You can find valid values for the filter in the 'control' attribute of the objects returned by the [GET /filters/workbenches/vulnerabilities](#workbenches-vulnerabilities-filters) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.value","in":"query","schema":{"type":"string"},"example":"&filter.0.value=RHEL"},{"description":"For multiple filters, specifies whether to use the AND or the OR logical operator. The default is AND. For more information about this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.search_type","in":"query","schema":{"type":"string","enum":["","and","or"]}},{"description":"Lists only those vulnerabilities with a remediation path.","name":"resolvable","in":"query","schema":{"type":"boolean"}},{"description":"Lists only vulnerabilities of a specific severity (critical, high, medium or low)","name":"severity","in":"query","schema":{"type":"string","enum":["","critical","high","medium","low"]}}],"responses":{"200":{"description":"Returns a list of vulnerabilities.","content":{"application/json":{"schema":{"type":"object","description":"A list of vulnerabilities.","properties":{"vulnerabilities":{"type":"array","description":"A list of discovered vulnerabilities.","items":{"type":"object","properties":{"count":{"type":"integer","description":"The number of times that a scan detected the vulnerability on an asset."},"plugin_family":{"type":"string","description":"The plugin's family."},"plugin_id":{"type":"integer","description":"The unique plugin ID."},"plugin_name":{"type":"string","description":"The name of the plugin that detected the vulnerability."},"vulnerability_state":{"type":"string","description":"The current state of the reported plugin. Possible states include:\n - Active—The vulnerability is currently present on an asset.\n - New—The vulnerability is active on an asset, and was first detected within the last 14 days.\n - Fixed—A subsequent scan detected that the formerly-active vulnerability is no longer present on an asset.\n - Resurfaced—The vulnerability was previously marked as fixed on an asset, but a subsequent scan detected the vulnerability on the asset again."},"vpr_score":{"type":"integer","description":"The Vulnerability Priority Rating (VPR) for the vulnerability. If a plugin is designed to detect multiple vulnerabilities, the VPR represents the highest value calculated for a vulnerability associated with the plugin. For more information, see Severity vs. VPR in the Tenable.io Vulnerability Management User Guide.","format":"int32"},"accepted_count":{"type":"integer","description":"The number of times that a user in the user interface created an accept rule for this vulnerability. For more information, see Recast Rules in the Tenable.io Vulnerability Management User Guide.","format":"int32"},"recasted_count":{"type":"integer","description":"The number of times that a user in the user interface created a recast rule for this vulnerability. For more information, see Recast Rules in the Tenable.io Vulnerability Management User Guide.","format":"int32"},"counts by severity":{"type":"array","description":"The number of times that a scan detected the vulnerability on an asset, grouped by severity level.","items":{"type":"object","properties":{"count":{"type":"integer","description":"The number of times that a scan detected the vulnerability on an asset while the vulnerability was assigned the specified severity level.","format":"int32"},"value":{"type":"integer","description":"The severity level of the vulnerabilities in the group."}}}},"severity":{"type":"integer","description":"The severity level of the vulnerability, as defined using the Common Vulnerability Scoring System (CVSS) base score. Possible values include: \n - 0—The vulnerability has a CVSS score of 0, which corresponds to the \"info\" severity level.\n - 1—The vulnerability has a CVSS score between 0.1 and 3.9, which corresponds to the \"low\" severity level.\n - 2—The vulnerability has a CVSS score between 4.0 and 6.9, which corresponds to the \"medium\" severity level.\n - 3—The vulnerability has a CVSS score between 7.0 and 9.9, which corresponds to the \"high\" severity level.\n - 4—The vulnerability has a CVSS score of 10.0, which corresponds to the \"critical\" severity level.","format":"int32"}}}},"total_vulnerability_count":{"type":"integer","description":"The total number of discovered vulnerabilities."},"total_asset_count":{"type":"integer","description":"The total number of assets."}}},"examples":{"response":{"value":{"vulnerabilities":[{"count":319,"plugin_family":"General","plugin_id":51192,"plugin_name":"SSL Certificate Cannot Be Trusted","vulnerability_state":"Active","vpr_score":2.4,"accepted_count":0,"recasted_count":0,"counts_by_severity":[{"count":319,"value":2}],"severity":2},{"count":215,"plugin_family":"Misc.","plugin_id":70658,"plugin_name":"SSH Server CBC Mode Ciphers Enabled","vulnerability_state":"Active","vpr_score":7.4,"accepted_count":0,"recasted_count":0,"counts_by_severity":[{"count":215,"value":1}],"severity":1},{"count":168,"plugin_family":"Misc.","plugin_id":71049,"plugin_name":"SSH Weak MAC Algorithms Enabled","vulnerability_state":"Active","vpr_score":5.5,"accepted_count":0,"recasted_count":0,"counts_by_severity":[{"count":168,"value":1}],"severity":1}],"total_vulnerability_count":3,"total_asset_count":0}}}}}},"403":{"description":"Returned if you do not have permission to list vulnerabilities."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"workbenches-vulnerability-info","tags":["Workbenches"],"parameters":[{"description":"The ID of the plugin. You can find the plugin ID by examining the output of the [GET /workbenches/vulnerabilities](#workbenches-vulnerabilities) endpoint.","required":true,"name":"plugin_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The number of days of data prior to and including today that should be returned.","name":"date_range","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/vulnerabilities](#workbenches-vulnerabilities-filters) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.filter","in":"query","schema":{"type":"string"},"example":"?filter.0.filter=plugin.name"},{"description":"The operator of the filter to apply to the exported scan report. You can find the operators for the filter using the [GET /filters/workbenches/vulnerabilities](#workbenches-vulnerabilities-filters) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.quality","in":"query","schema":{"type":"string"},"example":"&filter.0.quality=match"},{"description":"The value of the filter to apply to the exported scan report. You can find valid values for the filter in the 'control' attribute of the objects returned by the [GET /filters/workbenches/vulnerabilities](#workbenches-vulnerabilities-filters) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.value","in":"query","schema":{"type":"string"},"example":"&filter.0.value=RHEL"},{"description":"For multiple filters, specifies whether to use the AND or the OR logical operator. The default is AND. For more information about this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.search_type","in":"query","schema":{"type":"string","enum":["","and","or"]}}],"responses":{"200":{"description":"Returns plugin details.","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","format":"int32","description":"A count of the vulnerability occurrences."},"vuln_count":{"type":"integer","format":"int32","description":""},"description":{"type":"string","description":"The description of the vulnerability."},"synopsis":{"type":"string","description":"A brief summary of the vulnerability."},"solution":{"type":"string","description":"Information on how to fix the vulnerability."},"discovery":{"type":"object","properties":{"seen_first":{"type":"string","description":"The Unix timestamp of the scan that first detected the vulnerability on an asset."},"seen_last":{"type":"string","description":"The Unix timestamp of the scan that most recently detected the vulnerability on an asset."}}},"severity":{"type":"integer","description":"The severity level of the vulnerability."},"plugin_details":{"type":"object","properties":{"family":{"type":"string","description":"The plugin family."},"modification_date":{"type":"string","description":"The ISO timestamp when Tenable last updated the plugin definition."},"name":{"type":"string","description":"The name of the plugin."},"publication_date":{"type":"string","description":"The ISO timestamp when Tenable first published the plugin definition."},"type":{"type":"string","description":"The type of scan that uses the plugin, either a network scan (`remote`) or a credentialed scan (`local`)."},"version":{"type":"string","description":"The plugin version."},"severity":{"type":"integer","format":"int32","description":"The severity level of the plugin."}}},"reference_information":{"type":"array","description":"","items":{"type":"object","properties":{"name":{"type":"string","description":"The source of the reference information about the vulnerability. Possible values include:\n - bid—Bugtraq (Symantec Connect)\n - cert—CERT/CC Vulnerability Notes Database\n - cve—NIST National Vulnerability Database (NVD)\n - edb-id—The Exploit Database\n - iava—information assurance vulnerability alert\n - osvdb—Open Sourced Vulnerability Database"},"url":{"type":"string","description":"The URL of the source site, if available."},"values":{"type":"array","description":"The unique identifier(s) for the vulnerability at the source.","items":{"type":"string"}}}}},"risk_information":{"type":"object","properties":{"risk_factor":{"type":"string","description":"The risk factor associated with the plugin. Possible values are: `Low`, `Medium`, `High`, or `Critical`."},"cvss_vector":{"type":"string","description":"The raw CVSSv2 metrics for the vulnerability. For more information, see CVSSv2 documentation."},"cvss_base_score":{"type":"string","description":"The CVSSv2 base score (intrinsic and fundamental characteristics of a vulnerability that are constant over time and user environments)."},"cvss_temporal_vector":{"type":"string","description":"The raw CVSSv2 temporal metrics for the vulnerability."},"cvss_temporal_score":{"type":"string","description":"The CVSSv2 temporal score (characteristics of a vulnerability that change over time but not among user environments)."},"cvss3_vector":{"type":"string","description":"The raw CVSSv3 metrics for the vulnerability. For more information, see CVSSv3 documentation."},"cvss3_base_score":{"type":"string","description":"The CVSSv3 base score (intrinsic and fundamental characteristics of a vulnerability that are constant over time and user environments)."},"cvss3_temporal_vector":{"type":"string","description":"CVSSv3 temporal metrics for the vulnerability."},"cvss3_temporal_score":{"type":"string","description":"The CVSSv3 temporal score (characteristics of a vulnerability that change over time but not among user environments)."},"stig_severity":{"type":"string","description":"Security Technical Implementation Guide (STIG) severity code for the vulnerability."}}},"see_also":{"type":"array","description":"Links to external websites that contain helpful information about the vulnerability.","items":{"type":"string"}},"vulnerability_information":{"type":"object","properties":{"vulnerability_publication_date":{"type":"string","description":"The ISO timestamp for the first publication date of the plugin."},"exploited_by_malware":{"type":"boolean","description":"The vulnerability discovered by this plugin is known to be exploited by malware."},"patch_publication_date":{"type":"string","description":"The ISO timestamp for date on which the vendor published a patch for the vulnerability."},"exploit_available":{"type":"boolean","description":"A value specifying whether a public exploit exists for the vulnerability."},"exploitability_ease":{"type":"string","description":"Description of how easy it is to exploit the issue."},"asset_inventory":{"type":"string","description":""},"default_account":{"type":"string","description":""},"exploited_by_nessus":{"type":"boolean","description":"A value specifying whether Nessus exploited the vulnerability during the process of identification."},"in_the_news":{"type":"boolean","description":"A value specifying whether this plugin has received media attention (for example, ShellShock, Meltdown)."},"malware":{"type":"string","description":""},"unsupported_by_vendor":{"type":"boolean","description":"Software found by this plugin is unsupported by the software's vendor (for example, Windows 95 or Firefox 3)."},"cpe":{"type":"string","description":"The Common Platform Enumeration (CPE) number for the plugin."},"exploit_frameworks":{"type":"array","description":"A list of exploit frameworks that have identified the vulnerability.","items":{"type":"object","description":"Information about the vulnerability in a specific exploit framework.","properties":{"name":{"type":"string","description":"The name of the exploit framework."},"exploits":{"type":"array","description":"A list of exploits associated with the vulnerability in the specified exploit framework.","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the identified exploit."},"url":{"type":"string","description":"The URL for the exploit in the framework."}}}}}}}}},"vpr":{"type":"object","description":"Information about the Vulnerability Priority Rating (VPR) for the vulnerability.","properties":{"score":{"type":"integer","description":"The Vulnerability Priority Rating (VPR) for the vulnerability. If a plugin is designed to detect multiple vulnerabilities, the VPR represents the highest value calculated for a vulnerability associated with the plugin. For more information, see Severity vs. VPR in the Tenable.io Vulnerability Management User Guide.","format":"int32"},"drivers":{"type":"object","description":"The key drivers Tenable uses to calculate a vulnerability's VPR. For more information, see Vulnerability Priority Rating Drivers.","properties":{}},"updated":{"type":"string","description":"The ISO timestamp when Tenable.io last imported the VPR for this vulnerability. Tenable.io imports a VPR value the first time you scan a vulnerability on your network. Then, Tenable.io automatically re-imports new and updated VPR values daily."}}}}},"examples":{"response":{"value":{"info":{"count":13,"vuln_count":14,"description":"The remote web server is affected by a command injection vulnerability in GNU Bash known as Shellshock. The vulnerability is due to the processing of trailing strings after function definitions in the values of environment variables. This allows a remote attacker to execute arbitrary code via environment variable manipulation depending on the configuration of the system.","synopsis":"The remote web server is affected by a remote code execution vulnerability.","solution":"Apply the referenced patch.","discovery":{"seen_first":"2019-03-08T17:15:52.000Z","seen_last":"2019-04-05T22:53:45.000Z"},"severity":4,"plugin_details":{"family":"CGI abuses","modification_date":"2017-04-25T00:00:00Z","name":"GNU Bash Environment Variable Handling Code Injection (Shellshock)","publication_date":"2014-09-24T00:00:00Z","type":"remote","version":null,"severity":4},"reference_information":[{"name":"bid","url":"http://www.securityfocus.com/bid/","values":[70103]},{"name":"cert","url":"http://www.kb.cert.org/vuls/id/","values":["252743"]},{"name":"cve","url":"http://web.nvd.nist.gov/view/vuln/detail?vulnId=","values":["CVE-2014-6271"]},{"name":"edb-id","url":"http://www.exploit-db.com/exploits/","values":["34766","34777","34765"]},{"name":"iava","values":["2014-A-0142"]},{"name":"osvdb","values":["112004"]}],"risk_information":{"risk_factor":"Critical","cvss_vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","cvss_base_score":"10.0","cvss_temporal_vector":"E:F/RL:OF/RC:ND","cvss_temporal_score":"8.3","cvss3_vector":null,"cvss3_base_score":null,"cvss3_temporal_vector":null,"cvss3_temporal_score":null,"stig_severity":null},"see_also":["http://seclists.org/oss-sec/2014/q3/650","http://www.nessus.org/u?dacf7829","https://www.invisiblethreat.ca/post/shellshock/"],"vulnerability_information":{"vulnerability_publication_date":"2014-09-24T00:00:00Z","exploited_by_malware":true,"patch_publication_date":"2014-09-24T00:00:00Z","exploit_available":true,"exploitability_ease":null,"asset_inventory":null,"default_account":null,"exploited_by_nessus":null,"in_the_news":true,"malware":null,"unsupported_by_vendor":null,"cpe":null,"exploit_frameworks":[{"name":"Core Impact"},{"name":"Metasploit","exploits":[{"name":"Apache mod_cgi Bash Environment Variable Code Injection (Shellshock)","url":null}]}]},"vpr":{"score":9.6,"drivers":{"age_of_vuln":{"lower_bound":731,"upper_bound":0},"exploit_code_maturity":"HIGH","cvss3_impact_score":5.9,"cvss_impact_score_predicted":true,"threat_intensity_last28":"HIGH","threat_recency":{"lower_bound":0,"upper_bound":7},"threat_sources_last28":["Others","Mainstream Media","Code Repo and Paste Bins"],"product_coverage":"LOW"},"updated":"2019-04-01T10:10:57Z"}}}}}}}},"403":{"description":"Returned if you do not have permission to view plugin details."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"workbenches-vulnerability-output","tags":["Workbenches"],"parameters":[{"description":"The ID of the plugin. You can find the plugin ID by examining the output of the [GET /workbenches/vulnerabilities](#workbenches-vulnerabilities) endpoint.","required":true,"name":"plugin_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The number of days of data prior to and including today that should be returned.","name":"date_range","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/vulnerabilities](#workbenches-vulnerabilities-filters) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.filter","in":"query","schema":{"type":"string"},"example":"?filter.0.filter=plugin.name"},{"description":"The operator of the filter to apply to the exported scan report. You can find the operators for the filter using the [GET /filters/workbenches/vulnerabilities](#workbenches-vulnerabilities-filters) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.quality","in":"query","schema":{"type":"string"},"example":"&filter.0.quality=match"},{"description":"The value of the filter to apply to the exported scan report. You can find valid values for the filter in the 'control' attribute of the objects returned by the [GET /filters/workbenches/vulnerabilities](#workbenches-vulnerabilities-filters) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.value","in":"query","schema":{"type":"string"},"example":"&filter.0.value=RHEL"},{"description":"For multiple filters, specifies whether to use the AND or the OR logical operator. The default is AND. For more information about this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.search_type","in":"query","schema":{"type":"string","enum":["","and","or"]}}],"responses":{"200":{"description":"Returns plugin outputs.","content":{"application/json":{"schema":{"type":"array","description":"A list of vulnerabilities discovered by the plugin.","items":{"type":"object","properties":{"plugin_output":{"type":"string","description":"The plugin's output about the vulnerability. May be an empty string."},"states":{"type":"array","description":"Vulnerability state items.","items":{"type":"object","properties":{"name":{"type":"string","description":"The current state of the reported plugin (Active, Fixed, New, etc.)"},"results":{"type":"array","items":{"type":"object","properties":{"application_protocol":{"type":"string","description":"The application protocol where this vulnerability was found."},"port":{"type":"integer","description":"The port number where this vulnerability was found."},"transport_protocol":{"type":"string","description":"The transportation protocol (TCP or UDP) where this vulnerability was found."},"assets":{"type":"array","description":"A list of assets where this output was found.","items":{"type":"object","properties":{"hostname":{"type":"string","description":"The host name of the asset."},"id":{"type":"string","description":"The ID of the asset."},"uuid":{"type":"string","description":"The UUID of the asset."},"netbios_name":{"type":"string","description":"The NetBios name of the asset."},"fqdn":{"type":"string","description":"The FQDN of the asset."},"ipv4":{"type":"string","description":"The IPV4 of the asset."},"first_seen":{"type":"string","format":"date-time","description":"Indicates when the asset was discovered by a scan."},"last_seen":{"type":"string","format":"date-time","description":"Indicates when the asset was last observed by a scan."}}}},"severity":{"type":"integer","description":"Integer [0-4] indicating how severe the vulnerability is, where 0 is info only."}}}}}}}}}},"examples":{"response":{"value":{"outputs":[{"plugin_output":"\nThe following certificate was at the top of the certificate\nchain sent by the remote host, but it is signed by an unknown\ncertificate authority :\n\n|-Subject : O=LCE Users/OU=LCE Certification Authority/L=New York/C=US/ST=NY/CN=LCE Certification Authority\n|-Issuer : O=LCE Users/OU=LCE Certification Authority/L=New York/C=US/ST=NY/CN=LCE Certification Authority\n","states":[{"name":"Active","results":[{"application_protocol":"unknown","port":1243,"transport_protocol":"tcp","assets":[{"hostname":"172.204.81.57","id":"484f06ae-c614-4a82-83f8-a8132b31ea37","uuid":"484f06ae-c614-4a82-83f8-a8132b31ea37","netbios_name":null,"fqdn":null,"ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:25Z","last_seen":"2018-11-28T15:00:25Z"},{"hostname":"172.204.81.57","id":"73261e87-8a1a-4644-9e99-d97feb3bdf48","uuid":"73261e87-8a1a-4644-9e99-d97feb3bdf48","netbios_name":null,"fqdn":null,"ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:25Z","last_seen":"2018-11-28T15:00:25Z"},{"hostname":"172.204.81.57","id":"9be6d0b1-33d2-4a29-86ea-69cd52642856","uuid":"9be6d0b1-33d2-4a29-86ea-69cd52642856","netbios_name":null,"fqdn":"benchlce2.dc.demo.io","ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:25Z","last_seen":"2018-11-28T15:00:25Z"},{"hostname":"172.204.81.57","id":"da2f6f2b-2a82-4fc4-865e-1a3d8b393b00","uuid":"da2f6f2b-2a82-4fc4-865e-1a3d8b393b00","netbios_name":null,"fqdn":null,"ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:25Z","last_seen":"2018-11-28T15:00:25Z"},{"hostname":"172.204.81.57","id":"eb970c99-08c4-4e44-ae5f-01f062b4349d","uuid":"eb970c99-08c4-4e44-ae5f-01f062b4349d","netbios_name":null,"fqdn":"centos7.dc.demo.io","ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:25Z","last_seen":"2018-11-28T15:00:25Z"},{"hostname":"172.204.81.57","id":"f228fdad-2f82-40c0-bb68-ad3ff2a8bebc","uuid":"f228fdad-2f82-40c0-bb68-ad3ff2a8bebc","netbios_name":null,"fqdn":null,"ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:25Z","last_seen":"2018-11-28T15:00:25Z"}],"severity":2}]}]},{"plugin_output":"\nThe following certificate was at the top of the certificate\nchain sent by the remote host, but it is signed by an unknown\ncertificate authority :\n\n|-Subject : O=VMware, Inc./OU=vCenterServer_2014.07.30_111246/CN=VMware default certificate/E=support@vmware.com\n|-Issuer : O=VMware, Inc./OU=vCenterServer_2014.07.30_111246/CN=172.204.81.57/E=support@vmware.com\n","states":[{"name":"Active","results":[{"application_protocol":"unknown","port":443,"transport_protocol":"tcp","assets":[{"hostname":"172.204.81.57","id":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","uuid":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","netbios_name":"VCENTER","fqdn":"vcenter.dc.demo.io","ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:25Z","last_seen":"2018-11-28T15:00:25Z"}],"severity":2},{"application_protocol":"unknown","port":8191,"transport_protocol":"tcp","assets":[{"hostname":"172.204.81.57","id":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","uuid":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","netbios_name":"VCENTER","fqdn":"vcenter.dc.demo.io","ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:25Z","last_seen":"2018-11-28T15:00:25Z"}],"severity":2},{"application_protocol":"unknown","port":8443,"transport_protocol":"tcp","assets":[{"hostname":"172.204.81.57","id":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","uuid":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","netbios_name":"VCENTER","fqdn":"vcenter.dc.demo.io","ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:25Z","last_seen":"2018-11-28T15:00:25Z"}],"severity":2},{"application_protocol":"unknown","port":31100,"transport_protocol":"tcp","assets":[{"hostname":"172.204.81.57","id":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","uuid":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","netbios_name":"VCENTER","fqdn":"vcenter.dc.demo.io","ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:25Z","last_seen":"2018-11-28T15:00:25Z"}],"severity":2},{"application_protocol":"unknown","port":32100,"transport_protocol":"tcp","assets":[{"hostname":"172.204.81.57","id":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","uuid":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","netbios_name":"VCENTER","fqdn":"vcenter.dc.demo.io","ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:25Z","last_seen":"2018-11-28T15:00:25Z"}],"severity":2}]}]},{"plugin_output":"\nThe following certificate was at the top of the certificate\nchain sent by the remote host, but it is signed by an unknown\ncertificate authority :\n\n|-Subject : CN=SSL_Self_Signed_Fallback\n|-Issuer : CN=SSL_Self_Signed_Fallback\n","states":[{"name":"Active","results":[{"application_protocol":"unknown","port":1433,"transport_protocol":"tcp","assets":[{"hostname":"172.204.81.57","id":"159295bd-0942-4ce6-aeb2-25aa7f161ba1","uuid":"159295bd-0942-4ce6-aeb2-25aa7f161ba1","netbios_name":"SQL2014","fqdn":"sql2014.dc.demo.io","ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:25Z","last_seen":"2018-11-28T15:00:25Z"},{"hostname":"172.204.81.57","id":"64cd2363-849f-46cb-88cf-df1b78511d9c","uuid":"64cd2363-849f-46cb-88cf-df1b78511d9c","netbios_name":"SCCMHOST","fqdn":"sccmhost.dc.demo.io","ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:25Z","last_seen":"2018-11-28T15:00:25Z"},{"hostname":"172.204.81.57","id":"ca66c0ad-3058-4abc-8173-040f622d9820","uuid":"ca66c0ad-3058-4abc-8173-040f622d9820","netbios_name":"SHAREPOINT2013","fqdn":"sharepoint2013.dc.demo.io","ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:25Z","last_seen":"2018-11-28T15:00:25Z"},{"hostname":"sql.ad.demo.io","id":"f674a95a-ec3d-4401-88c9-2eef4be82fa8","uuid":"f674a95a-ec3d-4401-88c9-2eef4be82fa8","netbios_name":"SQL","fqdn":"sql.ad.demo.io","ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:57Z","last_seen":"2018-11-28T15:00:57Z"}],"severity":2},{"application_protocol":"unknown","port":51361,"transport_protocol":"tcp","assets":[{"hostname":"172.204.81.57","id":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","uuid":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","netbios_name":"VCENTER","fqdn":"vcenter.dc.demo.io","ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:25Z","last_seen":"2018-11-28T15:00:25Z"}],"severity":2}]}]}]}}}}}},"403":{"description":"Returned if you do not have permission to view plugin outputs."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"workbenches-assets","tags":["Workbenches"],"parameters":[{"description":"The number of days of data prior to and including today that should be returned.","name":"date_range","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/assets](#filters-assets-filter) endpoint. If you specify the name of the filter, you must specify the operator as the filter.0.quality parameter and the value as the filter.0.value parameter. To use multiple filters, increment the `Requires BASIC [16] user permissions. See Permissions.
","operationId":"workbenches-assets-vulnerabilities","tags":["Workbenches"],"parameters":[{"description":"The number of days of data prior to and including today that should be returned.","name":"date_range","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/assets](#filters-assets-filter) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.filter","in":"query","schema":{"type":"string"},"example":"?filter.0.filter=plugin.name"},{"description":"The operator of the filter to apply to the exported scan report. You can find the operators for the filter using the [GET /filters/workbenches/assets](#filters-assets-filter) endpoint.For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.quality","in":"query","schema":{"type":"string"},"example":"&filter.0.quality=match"},{"description":"The value of the filter to apply to the exported scan report. You can find valid values for the filter in the 'control' attribute of the objects returned by the [GET /filters/workbenches/assets](#filters-assets-filter) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.value","in":"query","schema":{"type":"string"},"example":"&filter.0.value=RHEL"},{"description":"For multiple filters, specifies whether to use the AND or the OR logical operator. The default is AND. For more information about this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.search_type","in":"query","schema":{"type":"string","enum":["","and","or"]}}],"responses":{"200":{"description":"Returned an array of assets with vulnerabilities.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The UUID of the asset."},"severities":{"type":"array","description":"A count of vulnerabilities by severity.","items":{"type":"object","properties":{"count":{"type":"integer","description":"The number of vulnerabilities with the specified severity."},"level":{"type":"integer","description":"The code for the severity. Possible values include: \n - 0—The vulnerability has a CVSS score of 0, which corresponds to the \"info\" severity level.\n - 1—The vulnerability has a CVSS score between 0.1 and 3.9, which corresponds to the \"low\" severity level.\n - 2—The vulnerability has a CVSS score between 4.0 and 6.9, which corresponds to the \"medium\" severity level.\n - 3—The vulnerability has a CVSS score between 7.0 and 9.9, which corresponds to the \"high\" severity level.\n - 4—The vulnerability has a CVSS score of 10.0, which corresponds to the \"critical\" severity level."},"name":{"type":"string","description":"The severity of the vulnerability as defined using the Common Vulnerability Scoring System (CVSS) base score. Possible values include `info` (CVSS score of 0), `low` (CVSS score between 0.1 and 3.9), `medium` (CVSS score between 4.0 and 6.9), `high` (CVSS score between 7.0 and 9.9), and `critical` (CVSS score of 10.0)."}}}},"total":{"type":"integer","description":"The total number of vulnerabilities detected on the asset."},"fqdn":{"description":"A list of fully-qualified domain names (FQDNs) for the asset.","type":"array","items":{"type":"string"}},"ipv4":{"description":"A list of ipv4 addresses for the asset.","type":"array","items":{"type":"string"}},"ipv6":{"description":"A list of ipv6 addresses for the asset.","type":"array","items":{"type":"string"}},"last_seen":{"type":"string","description":"The ISO timestamp of the scan that most recently detected the asset."},"netbios_name":{"type":"array","description":"The NetBIOS name for the asset.","items":{"type":"string"}},"agent_name":{"type":"array","description":"The names of any Nessus agents that scanned and identified the asset.","items":{"type":"string"}}}}},"examples":{"response":{"value":{"assets":[{"id":"afa3a9cc-d615-4ac9-a1a4-8fd0686ffb04","severities":[{"count":0,"level":0,"name":"Info"},{"count":1,"level":1,"name":"Low"},{"count":0,"level":2,"name":"Medium"},{"count":0,"level":3,"name":"High"},{"count":0,"level":4,"name":"Critical"}],"total":1,"fqdn":[],"ipv4":["172.204.81.57"],"ipv6":[],"last_seen":"2018-11-28T17:28:28.000Z","netbios_name":[],"agent_name":[]},{"id":"bfcf0a96-cfc0-4299-8d56-bf7ea32daab1","severities":[{"count":0,"level":0,"name":"Info"},{"count":0,"level":1,"name":"Low"},{"count":1,"level":2,"name":"Medium"},{"count":0,"level":3,"name":"High"},{"count":0,"level":4,"name":"Critical"}],"total":1,"fqdn":["hpuxrisc.dc.demo.io"],"ipv4":["172.204.81.57"],"ipv6":[],"last_seen":"2018-11-28T17:28:28.000Z","netbios_name":[],"agent_name":[]},{"id":"e77201f2-d155-4bd7-b043-a60ad7561f07","severities":[{"count":0,"level":0,"name":"Info"},{"count":0,"level":1,"name":"Low"},{"count":1,"level":2,"name":"Medium"},{"count":0,"level":3,"name":"High"},{"count":0,"level":4,"name":"Critical"}],"total":1,"fqdn":["mint18.dc.demo.io"],"ipv4":["172.204.81.57"],"ipv6":[],"last_seen":"2018-11-28T17:28:28.000Z","netbios_name":[],"agent_name":[]}],"total_asset_count":3}}}}}},"403":{"description":"Returned if you do not have permission to view assets with vulnerabilities."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"workbenches-asset-info","tags":["Workbenches"],"parameters":[{"description":"The UUID of the asset. You can find the UUID by examining the output of the [GET /workbenches/assets](#workbenches-assets) endpoint.","required":true,"name":"asset_id","in":"path","schema":{"type":"string"}},{"description":"A value specifying whether you want the returned data to include all fields (`full`) or only the default fields (`default`). The schema for this endpoint defines the `default` fields only. For a definition of the `full` fields, see [Common Asset Attributes](/docs/common-asset-attributes).","required":false,"name":"all_fields","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns asset information.","content":{"application/json":{"schema":{"type":"object","properties":{"info":{"type":"object","properties":{"id":{"type":"string","description":"The UUID of the asset."},"uuid":{"type":"string","description":"The UUID of the asset."},"operating_system":{"type":"array","description":"The operating systems that scans have associated with the asset record.","items":{"type":"string"}},"counts":{"type":"object","description":"Counts of vulnerabilities on the asset, as well as counts of audit checks performed on the asset. For more information about this object, see [Common Asset Attributes](/docs/common-asset-attributes).","properties":{}},"has_agent":{"type":"boolean","description":"A value specifying whether a Nessus agent scan detected the asset."},"created_at":{"type":"string","description":"The time and date when Tenable.io created the asset record."},"updated_at":{"type":"string","description":"The time and date when the asset record was last updated."},"first_seen":{"type":"string","description":"The time and date when a scan first identified the asset."},"last_seen":{"type":"string","description":"The time and date of the scan that most recently identified the asset."},"last_authenticated_scan_date":{"type":"string","description":"The time and date of the last credentialed scan run on the asset."},"last_licensed_scan_date":{"type":"string","description":"The time and date of the last scan that identified the asset as licensed. Tenable.io categorizes an asset as licensed if a scan of that asset has returned results from a non-discovery plugin within the last 90 days."},"last_scan_target":{"type":"string","description":"The IPv4 address, IPv6 address, or FQDN that the scanner last used to evaluate the asset."},"sources":{"type":"array","description":"The sources of the scans that identified the asset.","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the entity that reported the asset details. Sources can include sensors, connectors, and API imports. Source names can be customized by your organization (for example, you specify a name when you import asset records). If your organization does not customize source names, system-generated names include:\n - AWS—You obtained the asset data from an Amazon Web Services connector.\n - NESSUS_AGENT—You obtained the asset data obtained from a Nessus agent scan.\n - PVS—You obtained the asset data from a Nessus Network Monitor (NNM) scan.\n - NESSUS_SCAN—You obtained the asset data from a Nessus scan.\n - WAS—You obtained the asset data from a Web Application Scanning scan."},"first_seen":{"type":"string","description":"The ISO timestamp when the source first reported the asset."},"last_seen":{"type":"string","description":"The ISO timestamp when the source last reported the asset."}}}},"tags":{"type":"array","description":"Category tags assigned to the asset in Tenable.io.","items":{"type":"object","properties":{"tag_uuid":{"type":"string","description":"The UUID of the tag."},"tag_key":{"type":"string","description":"The tag category (the first half of the category:value pair)."},"tag_value":{"type":"string","description":"The tag value (the second half of the category:value pair)."},"added_by":{"type":"string","description":"The UUID of the user who assigned the tag to the asset."},"added_at":{"type":"string","description":"The ISO timestamp when the tag was assigned to the asset."},"source":{"type":"string","description":"The tag type:\n - static—A user manually applied the tag to an asset. You can use the Tenable.io API to create and assign static tags to assets.\n - dynamic—Tenable.io automatically applies the tag based on asset attribute rules. For more information, see [Apply Dynamic Tags](/docs/apply-dynamic-tags)."}}}},"acr_score":{"type":"integer","description":"The Asset Criticality Rating (ACR) for the asset. Tenable assigns an ACR to each asset on your network to represent the asset's relative risk as an integer from 1 to 10. This attribute is only present in assets if Lumin is added to your Tenable.io instance. For more information, see [Lumin Metrics](https://docs.tenble.com/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*."},"acr_drivers":{"type":"array","description":"The key drivers that Tenable uses to calculate an asset's Tenable-provided ACR. This attribute is only present in assets if Lumin is added to your Tenable.io instance. For more information, see [Lumin Metrics](https://docs.tenble.com/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.","items":{"type":"object","description":"Information about an asset characteristic that factored into the ACR score calculation.","properties":{"driver_name":{"type":"string","description":"The type of characteristic."},"driver_value":{"type":"array","description":"The characteristic value.","items":{"type":"string"}}}}},"exposure_score":{"type":"integer","description":"The Asset Exposure Score (AES) for the asset. This attribute is only present in assets if Lumin is added to your Tenable.io instance. For more information, see [Lumin Metrics](https://docs.tenble.com/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*."},"scan_frequency":{"type":"array","description":"Information about how often scans ran against the asset during specified intervals. This attribute is only present in assets if Lumin is added to your Tenable.io instance. For more information, see [Lumin Metrics](https://docs.tenble.com/Content/Analysis/LuminMetrics.htm) in the *Tenable.io Vulnerability Management User Guide*.","items":{"type":"object","description":"Information about how often scans ran against asset during a specified interval.","properties":{"interval":{"type":"integer","description":"The number of days over which Tenable searches for scans involving the asset."},"frequency":{"type":"integer","description":"The number of times that a scan ran against the asset during the specified interval."},"licensed":{"type":"boolean","description":"Indicates whether the asset was licensed at the time of the identified scans."}}}},"ipv4":{"type":"array","description":"The IPv4 addresses that scans have associated with the asset record.","items":{"type":"string"}},"ipv6":{"type":"array","description":"The IPv6 addresses that scans have associated with the asset record.","items":{"type":"string"}},"fqdn":{"type":"array","description":"The fully-qualified domain names that scans have associated with the asset record.","items":{"type":"string"}},"mac_address":{"type":"array","description":"The MAC addresses that scans have associated with the asset record.","items":{"type":"string"}},"netbios_name":{"type":"array","description":"The NetBIOS names that scans have associated with the asset record.","items":{"type":"string"}},"system_type":{"type":"array","description":"The system types as reported by Plugin ID 54615. Possible values include `router`, `general-purpose`, `scan-host`, and `embedded`.","items":{"type":"string"}},"hostname":{"type":"array","description":"The hostnames that scans have associated with the asset record.","items":{"type":"string"}},"agent_name":{"type":"array","description":"The names of any Nessus agents that scanned and identified the asset.","items":{"type":"string"}},"bios_uuid":{"type":"array","description":"The BIOS UUID that scans have associated with the asset.","items":{"type":"string"}},"aws_ec2_instance_id":{"type":"array","description":"The unique identifier of the Linux instance in Amazon EC2. For more information, see the Amazon Elastic Compute Cloud Documentation.","items":{"type":"string"}},"aws_ec2_instance_ami_id":{"type":"array","description":"The unique identifier of the Linux AMI image in Amazon Elastic Compute Cloud (Amazon EC2). For more information, see the Amazon Elastic Compute Cloud Documentation.","items":{"type":"string"}},"aws_owner_id":{"type":"array","description":"The canonical user identifier for the AWS account associated with the virtual machine instance. For example, `79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be`. For more information, see AWS Account Identifiers in the AWS documentation.","items":{"type":"string"}},"aws_availability_zone":{"type":"array","description":"The availability zone where Amazon Web Services hosts the virtual machine instance, for example, `us-east-1a`. Availability zones are subdivisions of AWS regions. For more information, see Regions and Availability Zones in the AWS documentation.","items":{"type":"string"}},"aws_region":{"type":"array","description":"The region where AWS hosts the virtual machine instance, for example, `us-east-1`. For more information, see Regions and Availability Zones in the AWS documentation.","items":{"type":"string"}},"aws_vpc_id":{"type":"array","description":"The unique identifier for the public cloud that hosts the AWS virtual machine instance. For more information, see the Amazon Virtual Private Cloud User Guide.","items":{"type":"string"}},"aws_ec2_instance_group_name":{"type":"array","description":"The virtual machine instance's group in AWS.","items":{"type":"string"}},"aws_ec2_instance_state_name":{"type":"array","description":"The state of the virtual machine instance in AWS at the time of the scan.","items":{"type":"string"}},"aws_ec2_instance_type":{"type":"array","description":"The type of instance in AWS EC2.","items":{"type":"string"}},"aws_subnet_id":{"type":"array","description":"The unique identifier of the AWS subnet where the virtual machine instance was running at the time of the scan.","items":{"type":"string"}},"aws_ec2_product_code":{"type":"array","description":"The product code associated with the AMI used to launch the virtual machine instance in AWS EC2.","items":{"type":"string"}},"aws_ec2_name":{"type":"array","description":"The name of the virtual machine instance in AWS EC2.","items":{"type":"string"}},"azure_vm_id":{"type":"array","description":"The unique identifier of the Microsoft Azure virtual machine instance. For more information, see \"Accessing and Using Azure VM Unique ID\" in the Microsoft Azure documentation.","items":{"type":"string"}},"azure_resource_id":{"type":"array","description":"The unique identifier of the resource in the Azure Resource Manager. For more information, see the Azure Resource Manager Documentation.","items":{"type":"string"}},"gcp_project_id":{"type":"array","description":"The customized name of the project to which the virtual machine instance belongs in Google Cloud Platform (GCP). For more information, see \"Creating and Managing Projects\" in the GCP documentation.","items":{"type":"string"}},"gcp_zone":{"type":"array","description":"The zone where the virtual machine instance runs in GCP. For more information, see \"Regions and Zones\" in the GCP documentation.","items":{"type":"string"}},"gcp_instance_id":{"type":"array","description":"The unique identifier of the virtual machine instance in GCP.","items":{"type":"string"}},"ssh_fingerprint":{"type":"array","description":"The SSH key fingerprints that scans have associated with the asset record.","items":{"type":"string"}},"mcafee_epo_guid":{"type":"array","description":"The unique identifier of the asset in McAfee ePolicy Orchestrator (ePO). For more information, see the McAfee documentation.","items":{"type":"string"}},"mcafee_epo_agent_guid":{"type":"array","description":"The unique identifier of the McAfee ePO agent that identified the asset. For more information, see the McAfee documentation.","items":{"type":"string"}},"qualys_asset_id":{"type":"array","description":"The Asset ID of the asset in Qualys. For more information, see the Qualys documentation.","items":{"type":"string"}},"qualys_host_id":{"type":"array","description":"The Host ID of the asset in Qualys. For more information, see the Qualys documentation.","items":{"type":"string"}},"servicenow_sysid":{"type":"array","description":"The unique record identifier of the asset in ServiceNow. For more information, see the ServiceNow documentation.","items":{"type":"string"}},"installed_software":{"type":"array","description":"A list of Common Platform Enumeration (CPE) values that represent software applications a scan identified as present on an asset. This attribute supports the CPE 2.2 format. For more information, see the \"Component Syntax\" section of the [CPE Specification, Version 2.2](https://cpe.mitre.org/files/cpe-specification_2.2.pdf). For assets identified in Tenable scans, this attribute contains data only if a scan using [Nessus Plugin ID 45590](https://www.tenable.com/plugins/nessus/45590) has evaluated the asset.\n\n**Note:** If no scan detects an application within 30 days of the scan that originally detected the application, Tenable.io considers the detection of that application expired. As a result, the next time a scan evaluates the asset, Tenable.io removes the expired application from the installed_software attribute. This activity is logged as a `remove` type of `attribute_change` update in the asset activity log.","items":{"type":"string"}}}}}},"examples":{"response":{"value":{"info":{"time_end":"2018-11-28T15:00:25Z","time_start":"2018-11-28T15:00:25Z","id":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","uuid":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","operating_system":["Microsoft Windows Server 2008 R2 Standard Service Pack 1"],"fqdn":["vcenter.dc.demo.io"],"mac_address":["00:50:56:bd:4b:d8"],"counts":{"vulnerabilities":{"total":573,"severities":[{"count":392,"level":0,"name":"Info"},{"count":11,"level":1,"name":"Low"},{"count":122,"level":2,"name":"Medium"},{"count":316,"level":3,"name":"High"},{"count":27,"level":4,"name":"Critical"}]},"audits":{"total":0,"statuses":[{"count":0,"level":1,"name":"Passed"},{"count":0,"level":2,"name":"Warning"},{"count":0,"level":3,"name":"Failed"}]}},"has_agent":false,"created_at":"2018-11-28T15:00:45.684Z","updated_at":"2018-11-28T17:28:46.941Z","first_seen":"2018-11-28T15:00:25.000Z","last_seen":"2018-11-28T17:28:28.000Z","last_authenticated_scan_date":"2018-11-28T17:28:28.000Z","last_licensed_scan_date":"2018-11-28T17:28:28.000Z","last_scan_target":"172.204.81.57","sources":[{"name":"NESSUS_SCAN","first_seen":"2018-11-28T15:00:25.000Z","last_seen":"2018-11-28T17:28:28.000Z"}],"acr_score":8,"acr_drivers":[{"driver_name":"device_type","driver_value":["general_purpose"]},{"driver_name":"device_capability","driver_value":["pci"]},{"driver_name":"internet_exposure","driver_value":["internal"]}],"exposure_score":753,"scan_frequency":[{"interval":90,"frequency":3,"licensed":false},{"interval":30,"frequency":1,"licensed":false},{"interval":60,"frequency":1,"licensed":false}],"tags":[],"ipv4":["172.204.81.57"],"ipv6":[],"netbios_name":["VCENTER"],"system_type":["general-purpose"],"tenable_uuid":["02dfb8d5a8744a4d925dc8aec4c5dffb"],"hostname":["vcenter"],"agent_name":[],"bios_uuid":["32d83d42-beb4-69ee-131a-54ca30e6cc21"],"aws_ec2_instance_id":[],"aws_ec2_instance_ami_id":[],"aws_owner_id":[],"aws_availability_zone":[],"aws_region":[],"aws_vpc_id":[],"aws_ec2_instance_group_name":[],"aws_ec2_instance_state_name":[],"aws_ec2_instance_type":[],"aws_subnet_id":[],"aws_ec2_product_code":[],"aws_ec2_name":[],"azure_vm_id":[],"azure_resource_id":[],"gcp_project_id":[],"gcp_zone":[],"gcp_instance_id":[],"ssh_fingerprint":[],"mcafee_epo_guid":[],"mcafee_epo_agent_guid":[],"qualys_asset_id":[],"qualys_host_id":[],"servicenow_sysid":[],"installed_software":["cpe:/a:apple:itunes:12.8","cpe:/a:apple:quicktime:7.7.3","cpe:/a:openbsd:openssh:6.9","cpe:/a:google:chrome"],"bigfix_asset_id":[]}}}}}}},"403":{"description":"Returned if you do not have permission to view information for the specified asset."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"workbenches-assets-activity","tags":["Workbenches"],"parameters":[{"description":"The UUID of the asset. You can find the UUID by examining the output of the [GET /workbenches/assets](#workbenches-assets) endpoint.","required":true,"name":"asset_uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns activity for an asset.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"Event type:\n - discovered—Asset created (for example, by a network scan or import).\n - seen—Asset observed by a network scan without any changes to its attributes.\n - tagging—Tag added to or removed from asset.\n - attribute_change—A scan identified new or changed attributes for the asset (for example, new software applications installed on the asset).\n - updated—Asset updated either manually by a user or automatically by a new scan."},"timestamp":{"type":"integer","description":"The timestamp of the event. The timestamp is reported in ISO 8601 format in UTC time."},"scan_id":{"type":"string","description":"The UUID of the scan that logged the event."},"schedule_id":{"type":"string","description":"The ID of the scheduled scan associated with the event."},"source":{"type":"string","description":"The entity that logged the event, for example, NESSUS_AGENT, NESSUS_AGENT, PVS, or WAS."},"details":{"type":"object","properties":{"assetId":{"type":"string","description":"The UUID of the asset."},"containerId":{"type":"string","description":"The UUID of your Tenable.io instance."},"createdAt":{"type":"integer","description":"The timestamp of the asset creation. The timestamp is reported in ISO 8601 format in UTC time."},"updatedAt":{"type":"integer","description":"The timestamp of the asset update time. The timestamp is reported in ISO 8601 format in UTC time."},"hasAgent":{"type":"boolean","description":"Specifies whether the asset has an agent installed."},"hasPluginResults":{"type":"boolean","description":"Specifies whether or not any plugin results match this asset."},"firstScanTime":{"type":"integer","description":"The timestamp of the completion of the scan that discovered or observed the asset for the first time. The timestamp is reported in ISO 8601 format in UTC time."},"lastScanTime":{"type":"integer","description":"The timestamp of the completion of the last asset scan. The timestamp is reported in ISO 8601 format in UTC time."},"lastAuthenticatedScanTime":{"type":"integer","description":"The timestamp of the completion of the last authenticated scan of the asset. The timestamp is reported in ISO 8601 format in UTC time."},"lastLicensedScanTime":{"type":"integer","description":"The timestamp of the scan completion time when asset was last scanned and matched license v1 requirements. The timestamp is reported in ISO 8601 format in UTC time."},"lastLicensedScanTimeV2":{"type":"integer","description":"The timestamp of the scan completion time when asset was last scanned and matched license v2 requirements. The timestamp is reported in ISO 8601 format in UTC time."},"sources":{"description":"An array of source objects representing the entity that logged the event.","type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the entity that reported the asset details. Sources can include sensors, connectors, and API imports. Source names can be customized by your organization (for example, you specify a name when you import asset records). If your organization does not customize source names, system-generated names include:\n - AWS—You obtained the asset data from an Amazon Web Services connector.\n - NESSUS_AGENT—You obtained the asset data obtained from a Nessus agent scan.\n - PVS—You obtained the asset data from a Nessus Network Monitor (NNM) scan.\n - NESSUS_SCAN—You obtained the asset data from a Nessus scan.\n - WAS—You obtained the asset data from a Web Application Scanning scan."},"firstSeen":{"type":"string","description":"The ISO timestamp when the source first reported the asset."},"lastSeen":{"type":"string","description":"The ISO timestamp when the source last reported the asset."}}}},"terminatedAt":{"type":"integer","description":"If terminated, the timestamp of asset termination. The timestamp is reported in ISO 8601 format in UTC time."},"terminatedBy":{"type":"string","description":"The UUID of the user that terminated the asset."},"deletedAt":{"type":"integer","description":"If deleted, the timestamp of asset deletion. The timestamp is reported in ISO 8601 format in UTC time."},"deletedBy":{"type":"string","description":"The UUID of the user that deleted the asset."},"properties":{"type":"object","description":"Additional asset attributes. For attribute definitions, see [Common Asset Attributes](/docs/common-asset-attributes).","properties":{}}}},"updates":{"type":"array","description":"(attribute_change entries only) A list of updates to the asset's attributes.","items":{"type":"object","properties":{"method":{"type":"string","description":"The update method. Possible values include: \n - add—A scan identified a new software application installed on the asset.\n - remove—Tenable.io identified the specified application as expired and removed it from the installed_software attribute of the asset. Tenable.io considers an application detection expired if no scan detects the application within 30 days of the scan that originally detected the application."},"property":{"type":"string","description":"The name of the updated attribute."},"value":{"type":"string","description":"The updated value of the attribute."}}}}}}},"examples":{"response":{"value":{"activity":[{"type":"seen","timestamp":"2018-05-16T12:51:47.164Z","scan_id":"71243329-49b8-406c-87f9-64cf33ed4228","schedule_id":"template-027d96a5-d0ae-108b-de32-01ecf7f23d07423f49ea57344aef","source":"NESSUS_SCAN"},{"type":"seen","timestamp":"2018-05-09T11:43:55.975Z","scan_id":"bc9ea943-8273-431c-9113-f6827d1b4a06","schedule_id":"template-027d96a5-d0ae-108b-de32-01ecf7f23d07423f49ea57344aef","source":"NESSUS_SCAN"},{"type":"discovered","timestamp":"2018-05-04T16:50:55.418Z","scan_id":"63eca894-6da9-4eb7-9be6-b8a0510d29d4","schedule_id":"template-027d96a5-d0ae-108b-de32-01ecf7f23d07423f49ea57344aef","source":"NESSUS_SCAN","details":{"lastScanTime":"2018-05-04T16:50:55.418Z","createdAt":"2018-05-04T16:50:58.420Z","hasAgent":false,"sources":[{"name":"NESSUS_SCAN","firstSeen":"2018-05-04T16:50:55.418Z","lastSeen":"2018-05-04T16:50:55.418Z"}],"lastLicensedScanTime":"2018-05-04T16:50:55.418Z","firstScanTime":"2018-05-04T16:50:55.418Z","assetId":"39d6e01e-eaac-4951-a521-fe903f2c61bb","lastLicensedScanTimeV2":"2018-05-04T16:50:55.418Z","hasPluginResults":true,"containerId":"5043dfa2-7864-4785-aff7-80026f36efcb","properties":{"ipv4":{"lastObserved":"2018-05-04T16:50:55.418Z","values":["172.204.81.57"]}},"updatedAt":"2018-05-04T16:50:58.420Z"}},{"type":"attribute_change","timestamp":"2019-05-24T13:24:47.498Z","updates":[{"method":"add","property":"installed_software","value":"cpe:/a:apple:quicktime:7.7.1"},{"method":"add","property":"installed_software","value":"cpe:/a:apple:safari:12.0.2"},{"method":"add","property":"installed_software","value":"cpe:/a:apple:itunes:7.5"},{"method":"add","property":"installed_software","value":"cpe:/a:mariadb:mariadb:1.5"},{"method":"add","property":"installed_software","value":"cpe:/a:skype:skype:8.4"},{"method":"add","property":"installed_software","value":"cpe:/a:wireshark:wireshark:2.4.1"}]}]}}}}}},"401":{"description":"Returned if you do not have permission to view activity for an asset."},"404":{"description":"Returned if Tenable.io cannot find the specified asset."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"workbenches-asset-vulnerabilities","tags":["Workbenches"],"parameters":[{"description":"The UUID of the asset. You can find the UUID by examining the output of the [GET /workbenches/assets](#workbenches-assets) endpoint.","required":true,"name":"asset_id","in":"path","schema":{"type":"string"}},{"description":"The number of days of data prior to and including today that should be returned.","name":"date_range","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/assets](#filters-assets-filter) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.filter","in":"query","schema":{"type":"string"},"example":"?filter.0.filter=plugin.name"},{"description":"The operator of the filter to apply to the exported scan report. You can find the operators for the filter using the [GET /filters/workbenches/assets](#filters-assets-filter) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.quality","in":"query","schema":{"type":"string"},"example":"&filter.0.quality=match"},{"description":"The value of the filter to apply to the exported scan report. You can find valid values for the filter in the 'control' attribute of the objects returned by the [GET /filters/workbenches/assets](#filters-assets-filter) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.value","in":"query","schema":{"type":"string"},"example":"&filter.0.value=RHEL"},{"description":"For multiple filters, specifies whether to use the AND or the OR logical operator. The default is AND. For more information about this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.search_type","in":"query","schema":{"type":"string","enum":["","and","or"]}}],"responses":{"200":{"description":"Returns a list of vulnerabilities for the specified asset.","content":{"application/json":{"schema":{"type":"object","description":"A list of vulnerabilities.","properties":{"vulnerabilities":{"type":"array","description":"A list of discovered vulnerabilities.","items":{"type":"object","properties":{"count":{"type":"integer","description":"The number of times that a scan detected the vulnerability on an asset."},"plugin_family":{"type":"string","description":"The plugin's family."},"plugin_id":{"type":"integer","description":"The unique plugin ID."},"plugin_name":{"type":"string","description":"The name of the plugin that detected the vulnerability."},"vulnerability_state":{"type":"string","description":"The current state of the reported plugin. Possible states include:\n - Active—The vulnerability is currently present on an asset.\n - New—The vulnerability is active on an asset, and was first detected within the last 14 days.\n - Fixed—A subsequent scan detected that the formerly-active vulnerability is no longer present on an asset.\n - Resurfaced—The vulnerability was previously marked as fixed on an asset, but a subsequent scan detected the vulnerability on the asset again."},"vpr_score":{"type":"integer","description":"The Vulnerability Priority Rating (VPR) for the vulnerability. If a plugin is designed to detect multiple vulnerabilities, the VPR represents the highest value calculated for a vulnerability associated with the plugin. For more information, see Severity vs. VPR in the Tenable.io Vulnerability Management User Guide.","format":"int32"},"accepted_count":{"type":"integer","description":"The number of times that a user in the user interface created an accept rule for this vulnerability. For more information, see Recast Rules in the Tenable.io Vulnerability Management User Guide.","format":"int32"},"recasted_count":{"type":"integer","description":"The number of times that a user in the user interface created a recast rule for this vulnerability. For more information, see Recast Rules in the Tenable.io Vulnerability Management User Guide.","format":"int32"},"counts by severity":{"type":"array","description":"The number of times that a scan detected the vulnerability on an asset, grouped by severity level.","items":{"type":"object","properties":{"count":{"type":"integer","description":"The number of times that a scan detected the vulnerability on an asset while the vulnerability was assigned the specified severity level.","format":"int32"},"value":{"type":"integer","description":"The severity level of the vulnerabilities in the group."}}}},"severity":{"type":"integer","description":"The severity level of the vulnerability, as defined using the Common Vulnerability Scoring System (CVSS) base score. Possible values include: \n - 0—The vulnerability has a CVSS score of 0, which corresponds to the \"info\" severity level.\n - 1—The vulnerability has a CVSS score between 0.1 and 3.9, which corresponds to the \"low\" severity level.\n - 2—The vulnerability has a CVSS score between 4.0 and 6.9, which corresponds to the \"medium\" severity level.\n - 3—The vulnerability has a CVSS score between 7.0 and 9.9, which corresponds to the \"high\" severity level.\n - 4—The vulnerability has a CVSS score of 10.0, which corresponds to the \"critical\" severity level.","format":"int32"}}}},"total_vulnerability_count":{"type":"integer","description":"The total number of discovered vulnerabilities."},"total_asset_count":{"type":"integer","description":"The total number of assets."}}},"examples":{"response":{"value":{"vulnerabilities":[{"count":55,"plugin_family":"Port scanners","plugin_id":34220,"plugin_name":"Netstat Portscanner (WMI)","vulnerability_state":"Active","vpr_score":2.4,"accepted_count":0,"recasted_count":0,"counts_by_severity":[{"count":55,"value":0}],"severity":0},{"count":54,"plugin_family":"Windows","plugin_id":34252,"plugin_name":"Microsoft Windows Remote Listeners Enumeration (WMI)","vulnerability_state":"Active","vpr_score":6.3,"accepted_count":0,"recasted_count":0,"counts_by_severity":[{"count":54,"value":0}],"severity":0},{"count":21,"plugin_family":"Service detection","plugin_id":22964,"plugin_name":"Service Detection","vulnerability_state":"Active","vpr_score":4.5,"accepted_count":0,"recasted_count":0,"counts_by_severity":[{"count":21,"value":0}],"severity":0},{"count":18,"plugin_family":"Web Servers","plugin_id":24260,"plugin_name":"HyperText Transfer Protocol (HTTP) Information","vulnerability_state":"Active","vpr_score":5.5,"accepted_count":0,"recasted_count":0,"counts_by_severity":[{"count":18,"value":0}],"severity":0}],"total_vulnerability_count":3,"total_asset_count":0}}}}}},"403":{"description":"Returned if you do not have permission to list vulnerabilities for the specified asset."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"workbenches-asset-vulnerability-info","tags":["Workbenches"],"parameters":[{"description":"The UUID of the asset.","required":true,"name":"asset_id","in":"path","schema":{"type":"string"}},{"description":"The ID of the plugin.","required":true,"name":"plugin_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The number of days of data prior to and including today that should be returned.","name":"date_range","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/assets](#filters-assets-filter) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.filter","in":"query","schema":{"type":"string"},"example":"?filter.0.filter=plugin.name"},{"description":"The operator of the filter to apply to the exported scan report. You can find the operators for the filter using the [GET /filters/workbenches/assets](#filters-assets-filter) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.quality","in":"query","schema":{"type":"string"},"example":"&filter.0.quality=match"},{"description":"The value of the filter to apply to the exported scan report. You can find valid values for the filter in the 'control' attribute of the objects returned by the [GET /filters/workbenches/assets](#filters-assets-filter) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.value","in":"query","schema":{"type":"string"},"example":"&filter.0.value=RHEL"},{"description":"For multiple filters, specifies whether to use the AND or the OR logical operator. The default is AND. For more information about this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.search_type","in":"query","schema":{"type":"string","enum":["","and","or"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"info":{"type":"object","properties":{"count":{"type":"integer","format":"int32","description":"A count of the vulnerability occurrences."},"vuln_count":{"type":"integer","format":"int32","description":""},"description":{"type":"string","description":"The description of the vulnerability."},"synopsis":{"type":"string","description":"A brief summary of the vulnerability."},"solution":{"type":"string","description":"Information on how to fix the vulnerability."},"discovery":{"type":"object","properties":{"seen_first":{"type":"string","description":"The Unix timestamp of the scan that first detected the vulnerability on an asset."},"seen_last":{"type":"string","description":"The Unix timestamp of the scan that most recently detected the vulnerability on an asset."}}},"severity":{"type":"integer","description":"The severity level of the vulnerability."},"plugin_details":{"type":"object","properties":{"family":{"type":"string","description":"The plugin family."},"modification_date":{"type":"string","description":"The ISO timestamp when Tenable last updated the plugin definition."},"name":{"type":"string","description":"The name of the plugin."},"publication_date":{"type":"string","description":"The ISO timestamp when Tenable first published the plugin definition."},"type":{"type":"string","description":"The type of scan that uses the plugin, either a network scan (`remote`) or a credentialed scan (`local`)."},"version":{"type":"string","description":"The plugin version."},"severity":{"type":"integer","format":"int32","description":"The severity level of the plugin."}}},"reference_information":{"type":"array","description":"","items":{"type":"object","properties":{"name":{"type":"string","description":"The source of the reference information about the vulnerability. Possible values include:\n - bid—Bugtraq (Symantec Connect)\n - cert—CERT/CC Vulnerability Notes Database\n - cve—NIST National Vulnerability Database (NVD)\n - edb-id—The Exploit Database\n - iava—information assurance vulnerability alert\n - osvdb—Open Sourced Vulnerability Database"},"url":{"type":"string","description":"The URL of the source site, if available."},"values":{"type":"array","description":"The unique identifier(s) for the vulnerability at the source.","items":{"type":"string"}}}}},"risk_information":{"type":"object","properties":{"risk_factor":{"type":"string","description":"The risk factor associated with the plugin. Possible values are: `Low`, `Medium`, `High`, or `Critical`."},"cvss_vector":{"type":"string","description":"The raw CVSSv2 metrics for the vulnerability. For more information, see CVSSv2 documentation."},"cvss_base_score":{"type":"string","description":"The CVSSv2 base score (intrinsic and fundamental characteristics of a vulnerability that are constant over time and user environments)."},"cvss_temporal_vector":{"type":"string","description":"The raw CVSSv2 temporal metrics for the vulnerability."},"cvss_temporal_score":{"type":"string","description":"The CVSSv2 temporal score (characteristics of a vulnerability that change over time but not among user environments)."},"cvss3_vector":{"type":"string","description":"The raw CVSSv3 metrics for the vulnerability. For more information, see CVSSv3 documentation."},"cvss3_base_score":{"type":"string","description":"The CVSSv3 base score (intrinsic and fundamental characteristics of a vulnerability that are constant over time and user environments)."},"cvss3_temporal_vector":{"type":"string","description":"CVSSv3 temporal metrics for the vulnerability."},"cvss3_temporal_score":{"type":"string","description":"The CVSSv3 temporal score (characteristics of a vulnerability that change over time but not among user environments)."},"stig_severity":{"type":"string","description":"Security Technical Implementation Guide (STIG) severity code for the vulnerability."}}},"see_also":{"type":"array","description":"Links to external websites that contain helpful information about the vulnerability.","items":{"type":"string"}},"vulnerability_information":{"type":"object","properties":{"vulnerability_publication_date":{"type":"string","description":"The ISO timestamp for the first publication date of the plugin."},"exploited_by_malware":{"type":"boolean","description":"The vulnerability discovered by this plugin is known to be exploited by malware."},"patch_publication_date":{"type":"string","description":"The ISO timestamp for date on which the vendor published a patch for the vulnerability."},"exploit_available":{"type":"boolean","description":"A value specifying whether a public exploit exists for the vulnerability."},"exploitability_ease":{"type":"string","description":"Description of how easy it is to exploit the issue."},"asset_inventory":{"type":"string","description":""},"default_account":{"type":"string","description":""},"exploited_by_nessus":{"type":"boolean","description":"A value specifying whether Nessus exploited the vulnerability during the process of identification."},"in_the_news":{"type":"boolean","description":"A value specifying whether this plugin has received media attention (for example, ShellShock, Meltdown)."},"malware":{"type":"string","description":""},"unsupported_by_vendor":{"type":"boolean","description":"Software found by this plugin is unsupported by the software's vendor (for example, Windows 95 or Firefox 3)."},"cpe":{"type":"string","description":"The Common Platform Enumeration (CPE) number for the plugin."},"exploit_frameworks":{"type":"array","description":"A list of exploit frameworks that have identified the vulnerability.","items":{"type":"object","description":"Information about the vulnerability in a specific exploit framework.","properties":{"name":{"type":"string","description":"The name of the exploit framework."},"exploits":{"type":"array","description":"A list of exploits associated with the vulnerability in the specified exploit framework.","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the identified exploit."},"url":{"type":"string","description":"The URL for the exploit in the framework."}}}}}}}}},"vpr":{"type":"object","description":"Information about the Vulnerability Priority Rating (VPR) for the vulnerability.","properties":{"score":{"type":"integer","description":"The Vulnerability Priority Rating (VPR) for the vulnerability. If a plugin is designed to detect multiple vulnerabilities, the VPR represents the highest value calculated for a vulnerability associated with the plugin. For more information, see Severity vs. VPR in the Tenable.io Vulnerability Management User Guide.","format":"int32"},"drivers":{"type":"object","description":"The key drivers Tenable uses to calculate a vulnerability's VPR. For more information, see Vulnerability Priority Rating Drivers.","properties":{}},"updated":{"type":"string","description":"The ISO timestamp when Tenable.io last imported the VPR for this vulnerability. Tenable.io imports a VPR value the first time you scan a vulnerability on your network. Then, Tenable.io automatically re-imports new and updated VPR values daily."}}}}}}},"examples":{"response":{"value":{"info":{"count":1,"vuln_count":1,"description":"The remote Windows host contains a version of the Microsoft Foundation Class (MFC) library affected by an insecure library loading vulnerability. The path used for loading external libraries is not securely restricted.\n\nAn attacker can exploit this by tricking a user into opening an MFC application in a directory that contains a malicious DLL, resulting in arbitrary code execution.","synopsis":"Arbitrary code can be executed on the remote host through the Microsoft Foundation Class library.","solution":"Microsoft has released a set of patches for Visual Studio .NET 2003, 2005, and 2008, as well as Visual C++ 2005, 2008, and 2010.","discovery":{"seen_first":"2019-03-08T17:15:52.000Z","seen_last":"2019-03-08T17:15:52.000Z"},"severity":3,"plugin_details":{"family":"Windows : Microsoft Bulletins","modification_date":"2016-05-06T00:00:00Z","name":"MS11-025: Vulnerability in Microsoft Foundation Class (MFC) Library Could Allow Remote Code Execution (2500212)","publication_date":"2011-04-13T00:00:00Z","type":"local","version":null,"severity":3},"reference_information":[{"name":"bid","url":"http://www.securityfocus.com/bid/","values":[42811]},{"name":"cve","url":"http://web.nvd.nist.gov/view/vuln/detail?vulnId=","values":["CVE-2010-3190"]},{"name":"iavb","values":["2011-B-0046"]},{"name":"msft","url":"http://technet.microsoft.com/en-us/security/bulletin/","values":["MS11-025"]},{"name":"osvdb","values":["67674"]},{"name":"secunia","url":"http://secunia.com/advisories/","values":["41212"]}],"risk_information":{"risk_factor":"High","cvss_vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","cvss_base_score":"9.3","cvss_temporal_vector":"E:F/RL:OF/RC:ND","cvss_temporal_score":"7.7","cvss3_vector":null,"cvss3_base_score":null,"cvss3_temporal_vector":null,"cvss3_temporal_score":null,"stig_severity":null},"see_also":["[\"https://technet.microsoft.com/library/security/ms11-025\"]"],"vulnerability_information":{"vulnerability_publication_date":"2010-08-27T00:00:00Z","exploited_by_malware":null,"patch_publication_date":"2011-04-12T00:00:00Z","exploit_available":true,"exploitability_ease":null,"asset_inventory":null,"default_account":null,"exploited_by_nessus":null,"in_the_news":null,"malware":null,"unsupported_by_vendor":null,"cpe":null,"exploit_frameworks":[]},"vpr":{"score":5.9,"drivers":{"age_of_vuln":{"lower_bound":731,"upper_bound":0},"exploit_code_maturity":"UNPROVEN","cvss_impact_score_predicted":true,"threat_intensity_last28":"VERY_LOW","threat_sources_last28":["No recorded events"],"product_coverage":"MEDIUM"},"updated":"2019-02-07T10:08:58Z"}}}}}}},"description":"Returns details for the specified vulnerability recorded on the specified asset."},"403":{"description":"Returned if you do not have permission to view vulnerability details for the specified asset."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"workbenches-asset-vulnerability-output","tags":["Workbenches"],"parameters":[{"description":"The UUID of the asset.","required":true,"name":"asset_id","in":"path","schema":{"type":"string"}},{"description":"The ID of the plugin.","required":true,"name":"plugin_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The number of days of data prior to and including today that should be returned.","name":"date_range","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/assets](#filters-assets-filter) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.filter","in":"query","schema":{"type":"string"},"example":"?filter.0.filter=plugin.name"},{"description":"The operator of the filter to apply to the exported scan report. You can find the operators for the filter using the [GET /filters/workbenches/assets](#filters-assets-filter) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.quality","in":"query","schema":{"type":"string"},"example":"&filter.0.quality=match"},{"description":"The value of the filter to apply to the exported scan report. You can find valid values for the filter in the 'control' attribute of the objects returned by the [GET /filters/workbenches/assets](#filters-assets-filter) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.value","in":"query","schema":{"type":"string"},"example":"&filter.0.value=RHEL"},{"description":"For multiple filters, specifies whether to use the AND or the OR logical operator. The default is AND. For more information about this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.search_type","in":"query","schema":{"type":"string","enum":["","and","or"]}}],"responses":{"200":{"description":"Returns a list of asset vulnerabilties for the specified plugin.","content":{"application/json":{"schema":{"type":"object","properties":{"outputs":{"type":"array","description":"A list of vulnerabilities discovered by the plugin.","items":{"type":"object","properties":{"plugin_output":{"type":"string","description":"The plugin's output about the vulnerability. May be an empty string."},"states":{"type":"array","description":"Vulnerability state items.","items":{"type":"object","properties":{"name":{"type":"string","description":"The current state of the reported plugin (Active, Fixed, New, etc.)"},"results":{"type":"array","items":{"type":"object","properties":{"application_protocol":{"type":"string","description":"The application protocol where this vulnerability was found."},"port":{"type":"integer","description":"The port number where this vulnerability was found."},"transport_protocol":{"type":"string","description":"The transportation protocol (TCP or UDP) where this vulnerability was found."},"assets":{"type":"array","description":"A list of assets where this output was found.","items":{"type":"object","properties":{"hostname":{"type":"string","description":"The host name of the asset."},"id":{"type":"string","description":"The ID of the asset."},"uuid":{"type":"string","description":"The UUID of the asset."},"netbios_name":{"type":"string","description":"The NetBios name of the asset."},"fqdn":{"type":"string","description":"The FQDN of the asset."},"ipv4":{"type":"string","description":"The IPV4 of the asset."},"first_seen":{"type":"string","format":"date-time","description":"Indicates when the asset was discovered by a scan."},"last_seen":{"type":"string","format":"date-time","description":"Indicates when the asset was last observed by a scan."}}}},"severity":{"type":"integer","description":"Integer [0-4] indicating how severe the vulnerability is, where 0 is info only."}}}}}}}}}}}},"examples":{"response":{"value":{"outputs":[{"plugin_output":"Port 80/tcp was found to be open","states":[{"name":"Active","results":[{"application_protocol":"unknown","port":80,"transport_protocol":"tcp","assets":[{"hostname":"172.204.81.57","id":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","uuid":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","netbios_name":"VCENTER","fqdn":"vcenter.dc.demo.io","ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:25Z","last_seen":"2018-11-28T15:00:25Z"}],"severity":0}]}]},{"plugin_output":"Port 49153/tcp was found to be open","states":[{"name":"Active","results":[{"application_protocol":"unknown","port":49153,"transport_protocol":"tcp","assets":[{"hostname":"172.204.81.57","id":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","uuid":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","netbios_name":"VCENTER","fqdn":"vcenter.dc.demo.io","ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:25Z","last_seen":"2018-11-28T15:00:25Z"}],"severity":0}]}]},{"plugin_output":"Port 123/udp was found to be open","states":[{"name":"Active","results":[{"application_protocol":"unknown","port":123,"transport_protocol":"udp","assets":[{"hostname":"172.204.81.57","id":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","uuid":"7ee5f61c-e768-4dd7-baa6-f76381ca6970","netbios_name":"VCENTER","fqdn":"vcenter.dc.demo.io","ipv4":"172.204.81.57","first_seen":"2018-11-28T15:00:25Z","last_seen":"2018-11-28T15:00:25Z"}],"severity":0}]}]}]}}}}}},"403":{"description":"Returned if you do not have permission to list of asset vulnerabilties for the specified plugin."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions. See Permissions.
","operationId":"workbenches-assets-delete","tags":["Workbenches"],"parameters":[{"description":"The UUID of the asset. You can find the UUID by examining the output of the [GET /workbenches/assets](#workbenches-assets) endpoint.","required":true,"name":"asset_uuid","in":"path","schema":{"type":"string"}}],"responses":{"202":{"description":"Returned if Tenable.io successfully deletes the asset.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if you do not have permission to delete the asset."},"404":{"description":"Returned if Tenable.io cannot find the specified asset."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"workbenches-export-request","tags":["Workbenches"],"parameters":[{"description":"The file format to use (Nessus, HTML, PDF, or CSV).","required":true,"name":"format","in":"query","schema":{"type":"string","enum":["nessus","html","pdf","csv"]}},{"description":"The type of workbench report to be exported","required":true,"name":"report","in":"query","schema":{"type":"string","enum":["vulnerabilities"]}},{"description":"The date (in unixtime) at which the exported results should begin to be included. Defaults to today.","name":"start_date","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"Semicolon-separated list of chapters to include for vulnerabilities/hosts reports (vuln\\_by\\_plugin, vuln\\_by\\_asset, vuln\\_hosts\\_summary) or a single chapter for Executive Summary (exec\\_summary). Currently, only vuln\\_by\\_asset is supported for .nessus workbench exports.","required":true,"name":"chapter","in":"query","schema":{"type":"string"},"example":"vuln_by_asset"},{"description":"The number of days of data prior to and including start\\_date that should be returned. If not specified, data for all dates is returned.","name":"date_range","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The name of the filter to apply to the exported scan report. You can find available filters by using the [GET /filters/workbenches/assets](#filters-assets-filter) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.filter","in":"query","schema":{"type":"string"},"example":"?filter.0.filter=plugin.name"},{"description":"The operator of the filter to apply to the exported scan report. You can find the operators for the filter using the [GET /filters/workbenches/assets](#filters-assets-filter) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.quality","in":"query","schema":{"type":"string"},"example":"&filter.0.quality=match"},{"description":"The value of the filter to apply to the exported scan report. You can find valid values for the filter in the 'control' attribute of the objects returned by the [GET /filters/workbenches/assets](#filters-assets-filter) endpoint. For more information about the format of this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.0.value","in":"query","schema":{"type":"string"},"example":"&filter.0.value=RHEL"},{"description":"For multiple filters, specifies whether to use the AND or the OR logical operator. The default is AND. For more information about this parameter, see [Workbench Filters](/docs/workbench-filters).","required":false,"name":"filter.search_type","in":"query","schema":{"type":"string","enum":["","and","or"]}},{"description":"When `true`, Tenable.io returns only a minimal subset of scan details for each result, excluding plugin attributes. In this case, only plugin\\_output and vulnerability\\_state fields are always returned; first\\_found, last\\_found and last\\_fixed are also returned if possible.","name":"minimum_vuln_info","in":"query","schema":{"type":"boolean","enum":["false","true"]}},{"description":"A plugin ID. Restricts the export data to vulnerabilities that only the specified plugin detects.","name":"plugin_id","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The UUID of an asset. Restricts the export data to findings on the specified asset only.","name":"asset_id","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully queues the export.","content":{"application/json":{"schema":{"type":"object","properties":{"file":{"type":"integer","description":"The ID of the generated file."}}},"examples":{"response":{"value":{"file":"1279345678"}}}}}},"403":{"description":"Returned if you do not have permission to export the workbench."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"workbenches-export-status","tags":["Workbenches"],"parameters":[{"description":"The unique identifier of the workbench report being exported. The value for this parameter can be obtained from the response of the initial export request.","required":true,"name":"file_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the export status.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"The export processing status, for example, READY or LOADING."},"progress_total":{"type":"string","description":"The total number of items included in export."},"progress":{"type":"string","description":"The number of already processed items."}}},"examples":{"response":{"value":{"progress_total":"16666","progress":"4000","status":"loading"}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"workbenches-export-download","tags":["Workbenches"],"parameters":[{"description":"The unique identifier of the workbench report being downloaded. The value for this parameter can be obtained from the response of the initial export request.","required":true,"name":"file_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if the file downloaded successfully.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"was-assets-list-assets","tags":["Assets"],"responses":{"200":{"description":"Returns a list of assets.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The unique ID of the asset."},"bios_uuid":{"type":"string","description":"BIOS UUID of the asset."},"ipv4":{"description":"A list of ipv4 addresses for the asset.","type":"array","items":{"type":"string"}},"ipv6":{"description":"A list of ipv6 addresses for the asset.","type":"array","items":{"type":"string"}},"hostname":{"description":"A list of hostnames for the asset.","type":"array","items":{"type":"string"}},"fqdn":{"description":"A list of FQDNs for the asset.","type":"array","items":{"type":"string"}},"ssh_fingerprint":{"type":"string","description":"The SSH fingerprint for the asset."},"mac_address":{"description":"A list of MAC addresses for the asset.","type":"array","items":{"type":"string"}},"netbios_name":{"type":"string","description":"The NetBIOS name for the asset."},"operating_system":{"type":"string","description":"The operating system installed on the asset."},"system_type":{"type":"string","description":"The system architecture (x86) of the asset."}}}},"examples":{"response":{"value":{"assets":[{"id":"31e37f64-cf0f-4ba0-9359-f5094a92352b","has_agent":false,"last_seen":"2018-11-28T17:28:28.000Z","sources":[{"name":"NESSUS_SCAN","first_seen":"2018-11-28T15:00:25.000Z","last_seen":"2018-11-28T17:28:28.000Z"}],"ipv4":["172.204.81.57"],"ipv6":[],"fqdn":[],"netbios_name":["S11C"],"operating_system":["Microsoft Windows Server 2008 R2 Datacenter Service Pack 1"],"agent_name":[],"aws_ec2_name":[],"mac_address":[]},{"id":"7e35af00-a3f0-4d43-a354-0638ba2b05ae","has_agent":false,"last_seen":"2018-11-28T17:28:28.000Z","sources":[{"name":"NESSUS_SCAN","first_seen":"2018-11-28T15:00:25.000Z","last_seen":"2018-11-28T17:28:28.000Z"}],"ipv4":["172.204.81.57"],"ipv6":[],"fqdn":["freebsd11.dc.demo.io"],"netbios_name":[],"operating_system":["FreeBSD 11.1"],"agent_name":[],"aws_ec2_name":[],"mac_address":[]},{"id":"466934be-abb4-4fa9-b8b8-27ace85e5523","has_agent":false,"last_seen":"2018-11-28T17:28:28.000Z","sources":[{"name":"NESSUS_SCAN","first_seen":"2018-11-28T15:00:25.000Z","last_seen":"2018-11-28T17:28:28.000Z"}],"ipv4":["172.204.81.57"],"ipv6":[],"fqdn":["fedorawork27.dc.demo.io"],"netbios_name":[],"operating_system":["Linux Kernel 4.13.9-300.fc27.x86_64 on Fedora release 27 (Twenty Seven)"],"agent_name":[],"aws_ec2_name":[],"mac_address":[]}],"total":3}}}}}},"403":{"description":"Returned if the user does not have permission to list assets."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"was-assets-asset-info","tags":["Assets"],"parameters":[{"description":"The UUID of the asset.","required":true,"name":"asset_uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns a list of assets.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The unique ID of the asset."},"bios_uuid":{"type":"string","description":"BIOS UUID of the asset."},"ipv4":{"description":"A list of ipv4 addresses for the asset.","type":"array","items":{"type":"string"}},"ipv6":{"description":"A list of ipv6 addresses for the asset.","type":"array","items":{"type":"string"}},"hostname":{"description":"A list of hostnames for the asset.","type":"array","items":{"type":"string"}},"fqdn":{"description":"A list of FQDNs for the asset.","type":"array","items":{"type":"string"}},"ssh_fingerprint":{"type":"string","description":"The SSH fingerprint for the asset."},"mac_address":{"description":"A list of MAC addresses for the asset.","type":"array","items":{"type":"string"}},"netbios_name":{"type":"string","description":"The NetBIOS name for the asset."},"operating_system":{"type":"string","description":"The operating system installed on the asset."},"system_type":{"type":"string","description":"The system architecture (x86) of the asset."}}},"examples":{"response":{"value":{"id":"f56168ed-b719-4273-b58c-a340a09ffbce","has_agent":false,"created_at":"2018-11-28T15:01:01.618Z","updated_at":"2018-11-28T15:01:01.618Z","first_seen":"2018-11-28T15:00:57.000Z","last_seen":"2018-11-28T15:00:57.000Z","last_authenticated_scan_date":"2018-11-28T15:00:57.000Z","last_licensed_scan_date":"2018-11-28T15:00:57.000Z","sources":[{"name":"NESSUS_SCAN","first_seen":"2018-11-28T15:00:57.000Z","last_seen":"2018-11-28T15:00:57.000Z"}],"tags":[],"network_id":["00000000-0000-0000-0000-000000000000"],"ipv4":["172.204.81.57"],"ipv6":[],"fqdn":["kubernetes.ad.demo.io"],"mac_address":["aa:e6:57:2f:b3:13","ca:0f:69:8b:c8:ff","8a:83:e4:13:69:96","1e:1f:92:66:12:63","02:42:97:86:cb:b3","46:eb:64:68:6d:7d","6a:7b:e7:9e:a2:0e","f6:27:2f:17:12:bd","00:50:56:a6:6a:a4","a6:8c:f1:b7:2d:1d","16:dd:64:f9:12:6e"],"netbios_name":["kubernetes.ad.demo.io"],"operating_system":["Linux Kernel 3.10.0-862.14.4.el7.x86_64 on CentOS Linux release 7.5.1804 (Core)"],"system_type":["general-purpose"],"tenable_uuid":["dea43dad16684f8a93e88bbd6b30a35a"],"hostname":["kubernetes.ad.demo.io"],"agent_name":[],"bios_uuid":["42263460-6fee-53cb-7e3e-44c8304da18e"],"aws_ec2_instance_id":[],"aws_ec2_instance_ami_id":[],"aws_owner_id":[],"aws_availability_zone":[],"aws_region":[],"aws_vpc_id":[],"aws_ec2_instance_group_name":[],"aws_ec2_instance_state_name":[],"aws_ec2_instance_type":[],"aws_subnet_id":[],"aws_ec2_product_code":[],"aws_ec2_name":[],"azure_vm_id":[],"azure_resource_id":[],"gcp_project_id":[],"gcp_zone":[],"gcp_instance_id":[],"ssh_fingerprint":[],"mcafee_epo_guid":[],"mcafee_epo_agent_guid":[],"qualys_asset_id":[],"qualys_host_id":[],"servicenow_sysid":[]}}}}}},"403":{"description":"Returned if the user does not have permission to view information about an asset."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN CONFIGURE [64] scan permissions. See Permissions.
","operationId":"was-assets-import","tags":["Assets"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The unique ID of the asset."},"bios_uuid":{"type":"string","description":"BIOS UUID of the asset."},"ipv4":{"description":"A list of ipv4 addresses for the asset.","type":"array","items":{"type":"string"}},"ipv6":{"description":"A list of ipv6 addresses for the asset.","type":"array","items":{"type":"string"}},"hostname":{"description":"A list of hostnames for the asset.","type":"array","items":{"type":"string"}},"fqdn":{"description":"A list of FQDNs for the asset.","type":"array","items":{"type":"string"}},"ssh_fingerprint":{"type":"string","description":"The SSH fingerprint for the asset."},"mac_address":{"description":"A list of MAC addresses for the asset.","type":"array","items":{"type":"string"}},"netbios_name":{"type":"string","description":"The NetBIOS name for the asset."},"operating_system":{"type":"string","description":"The operating system installed on the asset."},"system_type":{"type":"string","description":"The system architecture (x86) of the asset."}}},"description":"An array of asset objects to import. Each asset object requires a value for at least one of the following properties: fqdn, ipv4, netbios\\_name, mac\\_address. Each asset object may also optionally contain additional properties for each property of was-assets. If any asset fails to be imported, an error message is returned indicating the cause of the failure.","example":"[{\"ipv4\":\"172.204.81.57\",\"operating_system\":\"Windows 7 x64\"}]"},"source":{"type":"string","description":"An identifier for the script used to upload the assets.","example":"Custom Import"}},"required":["assets","source"]}}}},"responses":{"200":{"description":"Returns the import job UUID.","content":{"application/json":{"schema":{"type":"object","properties":{"asset_import_job_uuid":{"type":"string","description":"The asset import job UUID."}}},"examples":{"response":{"value":{"asset_import_job_uuid":"fd7646b5-2c7a-433e-8f2b-f3281b7726ef"}}}}}},"400":{"description":"Returned if the user submitted a bad request."},"403":{"description":"Returned if the user does not have permission to import assets."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"was-assets-list-import-jobs","tags":["Assets"],"responses":{"200":{"description":"Returns a list of asset import jobs.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The unique ID of the job."},"user_uuid":{"type":"string","description":"The unique ID of the user who started the import job."},"start_time":{"type":"string","description":"The start time of the job."},"end_time":{"type":"string","description":"The end time of the job."},"asset_count":{"type":"integer","description":"The total number of assets uploaded for import."},"imported_asset_count":{"type":"integer","description":"The number of assets successfully imported."},"failed_asset_count":{"type":"integer","description":"The number of assets that failed to import."},"status":{"type":"string","description":"The status of the job."},"error_message":{"type":"string","description":"The description of why a job failed."}}}},"examples":{"response":{"value":{"asset_import_jobs":[{"job_id":"fd7646b5-2c7a-433e-8f2b-f3281b7726ef","container_id":"36f234c4-4ae3-4353-9324-8ad3dcc7fcc5","source":"gabbytest","batches":1,"uploaded_assets":0,"failed_assets":0,"start_time":1544480303548,"last_update_time":1544484511492,"end_time":1544484511492,"status":"ERROR","status_message":"Job failed by exceeding time limit"},{"job_id":"15759fd1-3483-4467-b04f-1bff11141c37","container_id":"36f234c4-4ae3-4353-9324-8ad3dcc7fcc5","source":"readmeio","batches":1,"uploaded_assets":0,"failed_assets":0,"start_time":1544480429785,"last_update_time":1544484511496,"end_time":1544484511496,"status":"ERROR","status_message":"Job failed by exceeding time limit"}]}}}}}},"403":{"description":"Returned if the user does not have permission to list asset import jobs."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"was-assets-import-job-info","tags":["Assets"],"parameters":[{"description":"The UUID of the asset import job.","required":true,"name":"asset_import_job_uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns information about the specified import job.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The unique ID of the job."},"user_uuid":{"type":"string","description":"The unique ID of the user who started the import job."},"start_time":{"type":"string","description":"The start time of the job."},"end_time":{"type":"string","description":"The end time of the job."},"asset_count":{"type":"integer","description":"The total number of assets uploaded for import."},"imported_asset_count":{"type":"integer","description":"The number of assets successfully imported."},"failed_asset_count":{"type":"integer","description":"The number of assets that failed to import."},"status":{"type":"string","description":"The status of the job."},"error_message":{"type":"string","description":"The description of why a job failed."}}},"examples":{"response":{"value":{"job_id":"fd7646b5-2c7a-433e-8f2b-f3281b7726ef","container_id":"36f234c4-4ae3-4353-9324-8ad3dcc7fcc5","source":"gabbytest","batches":1,"uploaded_assets":0,"failed_assets":0,"start_time":1544480303548,"last_update_time":1544484511492,"end_time":1544484511492,"status":"ERROR","status_message":"Job failed by exceeding time limit"}}}}}},"403":{"description":"Returned if the user does not have permission to list asset import jobs."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"was-editor-details","tags":["Editor"],"parameters":[{"description":"The type of object (scan or policy).","required":true,"name":"type","in":"path","schema":{"type":"string","enum":["scan","policy"]}},{"description":"The unique ID of the object.","required":true,"name":"id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the object data.","content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"type":"string"},"user_permissions":{"type":"integer"},"settings":{"type":"object"},"credentials":{"type":"object"},"plugins":{"type":"object"}}},"examples":{"response":{"value":{"credentials":{"data":[{"types":[{"inputs":[{"id":"username","placeholer":"admin","name":"Username","type":"entry","required":true},{"id":"password","name":"Password","type":"password","required":true},{"id":"type","name":"Authentication Type","type":"radio","default":"auto","options":["auto","ntlm"],"optionsLabels":["Basic / Digest","NTLM"]}],"max":1,"name":"HTTP Server Authentication","instances":[],"settings":null},{"inputs":[{"id":"was_auth_method","name":"Authentication method","type":"ui_radio","options":[{"inputs":[{"id":"login_page","name":"Login Page","type":"entry","required":true},{"id":"login_parameters","name":"Login Parameters","type":"entry"},{"id":"login_check","name":"Regex to verify successful auth","type":"entry","required":true},{"id":"login_check_url","name":"Page to verify active session","type":"entry","required":true},{"id":"login_check_pattern","name":"Regex to verify active session","type":"entry","required":true}],"name":"Login Form"},{"inputs":[{"id":"cookies","name":"Cookies","type":"entry"},{"id":"cookie_check_url","name":"Page to verify active session","type":"entry","required":true},{"id":"cookie_check_pattern","name":"Regex to verify active session","type":"entry","required":true}],"name":"Cookie Authentication"},{"inputs":[{"id":"selenium_script","name":"Selenium script (.side)","type":"file","required":true},{"id":"login_check_url","name":"Page to verify active session","type":"entry","required":true},{"id":"login_check_pattern","name":"Regex to verify active session","type":"entry","required":true}],"name":"Selenium Authentication"}],"default":"Login Form","required":true}],"max":1,"name":"Web Application Authentication","instances":[],"settings":null}],"name":"Web Authentication","default_expand":1}]},"is_was":true,"user_permissions":128,"owner":"admin@api.demo","title":"Web App Scan","is_agent":false,"uuid":"09805055-a034-4088-8986-aac5e1c57d5f0d44f09d736969bf","plugins":{"families":{"Injection":{"count":8,"id":8,"status":"enabled"},"File Inclusion":{"count":2,"id":10,"status":"enabled"},"Cross Site Request Forgery":{"count":1,"id":7,"status":"enabled"},"Data Exposure":{"count":7,"id":5,"status":"enabled"},"Cross Site Scripting":{"count":8,"id":6,"status":"enabled"},"Authentication & Session":{"count":4,"id":2,"status":"enabled"},"Web Servers":{"count":13,"id":4,"status":"enabled"},"Code Execution":{"count":5,"id":9,"status":"enabled"},"Component Vulnerability":{"count":502,"id":11,"status":"enabled"},"Web Applications":{"count":42,"id":3,"status":"enabled"}}},"filter_attributes":[],"settings":{"basic":{"inputs":[{"type":"entry","name":"Name","id":"name","default":"test","required":true},{"type":"textarea","name":"Description","id":"description","default":""},{"type":"select","id":"include_aggregate","name":"Scan results","default":true,"options":[{"name":"Keep private","value":"false"},{"name":"Show in dashboard","value":"true"}]},{"type":"select","id":"folder_id","name":"Folder","default":9,"options":[{"name":"My Scans","id":19},{"name":"Trash","id":18}]},{"type":"select","id":"scanner_id","name":"Scanner","default":"00000000-0000-0000-0000-00000000000000000000000000001","options":[{"id":"00000000-0000-0000-0000-00000000000000000000000000001","name":"US Cloud Scanner","type":"local","environment_name":null,"linked":true,"status":"on"},{"id":"1b895828-62a9-5084-8bc5-d4864a927fb10523d1e84e3fef44","name":"AP Singapore Cloud Scanners","type":"local","environment_name":null,"linked":true,"status":"on"},{"id":"cdf44a84-b547-b66c-d997-920aa1e897cc7165fe2e344196bb","name":"Demo Scanner","type":"local","environment_name":null,"linked":true,"status":"on"},{"id":"06ab826a-301d-7829-d2c4-37f400c0f949ea8cce60f523eeef","name":"EU Frankfurt Cloud Scanners","type":"local","environment_name":null,"linked":true,"status":"on"},{"id":"15e29fb5-c378-4803-37f7-67752912247e812e6cf942b4fd2e","name":"US East Cloud Scanners","type":"local","environment_name":null,"linked":true,"status":"on"},{"id":"37b315c1-f31f-cc8e-7e78-585c609fc1d7eba88f8d1e7d24b3","name":"US West Cloud Scanners","type":"local","environment_name":null,"linked":true,"status":"on"}]},{"type":"entry","id":"text_targets","name":"Target","default":"http://172.204.81.57","placeholder":"Example: https://www.tenable.com/","required":true,"regex":"^https?://\\S+$"}],"title":"Basic","groups":[{"title":"Schedule","name":"schedule","enabled":false,"rrules":null,"timezone":null,"starttime":null},{"filter_type":"and","inputs":[{"type":"textarea","name":"Email Recipient(s)","placeholder":"Example: me@example.com, you@example.com"}],"title":"Notifications","name":"email","emails":"","filters":null},{"title":"Permissions","name":"permissions","acls":[{"permissions":0,"owner":null,"display_name":null,"name":null,"id":null,"type":"default"},{"permissions":128,"owner":1,"display_name":"admin@api.demo","name":"admin@api.demo","id":2,"type":"user"}]}],"sections":[]},"assessment":{"inputs":null,"modes":{"id":"assessment_mode","name":"mode","type":"ui_radio","default":"Quick","options":[{"desc":"Requires STANDARD [32] user permissions. See Permissions.
","operationId":"was-editor-list","tags":["Editor"],"parameters":[{"description":"The type of templates to retrieve (scan or policy).","required":true,"name":"type","in":"path","schema":{"type":"string","enum":["scan","policy"]}}],"responses":{"200":{"description":"Returns the template list.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","description":"Templates are used to create scans or policies with predefined parameters.","properties":{"unsupported":{"type":"boolean","description":"If true, template is not supported."},"cloud_only":{"type":"boolean","description":"If true, template is only available on the cloud."},"desc":{"type":"string","description":"The description of the template."},"subscription_only":{"type":"boolean","description":"If true, the template is only available for subscribers."},"is_was":{"type":"boolean","description":"If true, the template is for Web Application Scanning."},"title":{"type":"string","description":"The long name of the template."},"is_agent":{"type":"boolean","description":"If true, the template is for agent scans."},"uuid":{"type":"string","description":"The UUID for the template."},"manager_only":{"type":"boolean","description":"If true, can only be used by manager."},"name":{"type":"string","description":"The short name of the template."}}}},"examples":{"response":{"value":{"templates":[{"unsupported":false,"cloud_only":false,"desc":"A scan that checks a web application for vulnerabilities.","order":3,"subscription_only":false,"is_was":true,"title":"Web App Scan","is_agent":false,"uuid":"09805055-a034-4088-8986-aac5e1c57d5f0d44f09d736969bf","manager_only":false,"name":"was_scan"},{"unsupported":false,"cloud_only":false,"desc":"A full system scan suitable for any host.","order":null,"subscription_only":false,"is_was":null,"title":"Basic Network Scan","is_agent":null,"uuid":"731a8e52-3ea6-a291-ec0a-d2ff0619c19d7bd788d6be818b65","manager_only":false,"name":"basic"},{"unsupported":false,"cloud_only":false,"desc":"Audit systems connected via Nessus Agents.","order":null,"subscription_only":false,"is_was":null,"title":"Policy Compliance Auditing","is_agent":true,"uuid":"523c833f-e434-a05f-5a52-0c0c2c160b7cd9c901634c382c2d","manager_only":false,"name":"agent_compliance"}]}}}}}},"403":{"description":"Returned if the user does not have permission to view the list."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"was-editor-plugin-description","tags":["Editor"],"parameters":[{"description":"The ID of the policy to lookup.","required":true,"name":"policy_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the family to lookup within the policy.","required":true,"name":"family_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the plugin to lookup within the family.","required":true,"name":"plugin_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the plugin output.","content":{"application/json":{"schema":{"type":"object","properties":{"plugindescription":{"type":"object"}}},"examples":{"response":{"value":{"plugindescription":{"severity":null,"pluginname":"Ubuntu 10.04 LTS / 10.10 / 11.04 / 11.10 : clamav vulnerability (USN-1258-1)","pluginattributes":{"synopsis":"The remote Ubuntu host is missing a security-related patch.","description":"Stephane Chazelas discovered the bytecode engine of ClamAV improperly handled recursion under certain circumstances. This could allow a remote attacker to craft a file that could cause ClamAV to crash, resulting in a denial of service.\n\nNote that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.","risk_information":{"cvss_vector":"CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P","risk_factor":"Medium","cvss_base_score":"4.3","cvss_temporal_score":"3.2","cvss_temporal_vector":"CVSS2#E:U/RL:OF/RC:C"},"ref_information":{"ref":[{"name":"bid","values":{"value":["50183"]},"url":"http://www.securityfocus.com/bid/"},{"name":"usn","values":{"value":["1258-1"]},"ext":"/","url":"http://www.ubuntu.com/usn/usn-"},{"name":"cve","values":{"value":["CVE-2011-3627"]},"url":"http://web.nvd.nist.gov/view/vuln/detail?vulnId="}]},"plugin_name":"Ubuntu 10.04 LTS / 10.10 / 11.04 / 11.10 : clamav vulnerability (USN-1258-1)","see_also":["https://usn.ubuntu.com/1258-1/"],"fname":"ubuntu_USN-1258-1.nasl","usn":"1258-1","plugin_information":{"plugin_version":"1.8","plugin_id":56777,"plugin_type":"local","plugin_publication_date":"2011/11/11","plugin_family":"Ubuntu Local Security Checks","plugin_modification_date":"2018/12/01"},"solution":"Update the affected libclamav6 package.","vuln_information":{"cpe":"cpe:/o:canonical:ubuntu_linux:10.04:-:lts\ncpe:/o:canonical:ubuntu_linux:10.10\ncpe:/o:canonical:ubuntu_linux:11.04\ncpe:/o:canonical:ubuntu_linux:11.10","exploitability_ease":"No known exploits are available","exploit_available":"false","patch_publication_date":"2011/11/10"}},"pluginfamily":"Ubuntu Local Security Checks","pluginid":"56777"}}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"was-editor-template-details","tags":["Editor"],"parameters":[{"description":"The type of template to retrieve (scan or policy).","required":true,"name":"type","in":"path","schema":{"type":"string"}},{"description":"The UUID for the template.","required":true,"name":"template_uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the template details.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"name":{"type":"string"},"is_agent":{"type":"boolean"},"settings":{"type":"object"},"credentials":{"type":"object"},"plugins":{"type":"object"}}},"examples":{"response":{"value":{"credentials":{"data":[{"types":[{"inputs":[{"id":"username","placeholer":"admin","name":"Username","type":"entry","required":true},{"id":"password","name":"Password","type":"password","required":true},{"id":"type","name":"Authentication Type","type":"radio","default":"auto","options":["auto","ntlm"],"optionsLabels":["Basic / Digest","NTLM"]}],"max":1,"name":"HTTP Server Authentication","instances":[],"settings":null},{"inputs":[{"id":"was_auth_method","name":"Authentication method","type":"ui_radio","options":[{"inputs":[{"id":"login_page","name":"Login Page","type":"entry","required":true},{"id":"login_parameters","name":"Login Parameters","type":"entry"},{"id":"login_check","name":"Regex to verify successful auth","type":"entry","required":true},{"id":"login_check_url","name":"Page to verify active session","type":"entry","required":true},{"id":"login_check_pattern","name":"Regex to verify active session","type":"entry","required":true}],"name":"Login Form"},{"inputs":[{"id":"cookies","name":"Cookies","type":"entry"},{"id":"cookie_check_url","name":"Page to verify active session","type":"entry","required":true},{"id":"cookie_check_pattern","name":"Regex to verify active session","type":"entry","required":true}],"name":"Cookie Authentication"},{"inputs":[{"id":"selenium_script","name":"Selenium script (.side)","type":"file","required":true},{"id":"login_check_url","name":"Page to verify active session","type":"entry","required":true},{"id":"login_check_pattern","name":"Regex to verify active session","type":"entry","required":true}],"name":"Selenium Authentication"}],"default":"Login Form","required":true}],"max":1,"name":"Web Application Authentication","instances":[],"settings":null}],"name":"Web Authentication","default_expand":1}]},"is_was":true,"user_permissions":128,"owner":"api@api.demo","title":"Web App Overview","is_agent":false,"uuid":"58323412-d521-9482-2224-bdf5e2d65e6a4c67d33d4322677f","plugins":{"families":{"Web Applications":{"count":15,"id":3,"status":"enabled"},"Data Exposure":{"count":4,"id":5,"status":"enabled"},"Authentication & Session":{"count":2,"id":2,"status":"enabled"},"Web Servers":{"count":5,"id":4,"status":"enabled"}}},"filter_attributes":[],"settings":{"basic":{"inputs":[{"type":"entry","name":"Name","id":"name","required":true},{"type":"textarea","name":"Description","id":"description"}],"title":"Basic","groups":[{"title":"Permissions","name":"permissions","acls":null}],"sections":[]},"advanced":{"inputs":null,"modes":{"id":"advanced_mode","name":"mode","type":"ui_radio","default":"Custom","options":[{"desc":"Requires BASIC [16] user permissions. See Permissions.
","operationId":"was-folders-create","tags":["Folders"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the folder."}},"required":["name"]}}}},"responses":{"200":{"description":"Returns the new folder ID.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{"id":50}}}}}},"400":{"description":"Returned if the folder name is invalid."},"403":{"description":"Returned if the user does not have permission to create a folder."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"was-folders-list","tags":["Folders"],"responses":{"200":{"description":"Returns the folder list.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the folder."},"name":{"type":"string","description":"The name of the folder."},"type":{"type":"string","description":"The type of the folder (main, trash, custom)."},"default_tag":{"type":"integer","description":"Whether or not the folder is the default (1 or 0)."},"custom":{"type":"integer","description":"The custom status of the folder (1 or 0)."},"unread_count":{"type":"integer","description":"The number of unread scans in the folder."}}}},"examples":{"response":{"value":{"folders":[{"unread_count":0,"custom":0,"default_tag":0,"type":"trash","name":"Trash","id":18},{"unread_count":5,"custom":0,"default_tag":1,"type":"main","name":"My Scans","id":19},{"unread_count":0,"custom":1,"default_tag":0,"type":"custom","name":"fphaghh","id":34}]}}}}}},"403":{"description":"Returned if the user does not have permission to view the list."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"was-folders-edit","tags":["Folders"],"parameters":[{"description":"The ID of the folder to edit.","required":true,"name":"folder_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the folder."}},"required":["name"]}}}},"responses":{"200":{"description":"Returned if the folder has been successfully renamed.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if the user tried to rename a system folder."},"404":{"description":"Returned if the folder does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"was-folders-delete","tags":["Folders"],"parameters":[{"description":"The ID of the folder to delete.","required":true,"name":"folder_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if the folder has been successfully deleted.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if the user tried to delete a system folder."},"404":{"description":"Returned if the folder does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"was-scanner-groups-create","tags":["Scanner Groups"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name for the new scanner group."},"type":{"type":"string","description":"The type of scanner group.","enum":["load_balancing"]}},"required":["name","type"]}}}},"responses":{"200":{"description":"Returned if the scanner group has been successfully created.","content":{"application/json":{"schema":{"type":"object","properties":{"creation_date":{"type":"integer","description":"The creation date for the scanner group in Unix time."},"last_modification_date":{"type":"integer","description":"The last modification date for the scanner group in Unix time."},"owner_id":{"type":"integer","description":"The unique ID of the owner of the scanner group."},"owner":{"type":"string","description":"The username of the owner of the scanner group."},"owner_uuid":{"type":"string","description":"The UUID of the owner of the scacner group."},"default_permissions":{"type":"integer","description":"The access permissions for the Default group."},"user_permissions":{"type":"integer","description":"The sharing permissions for the scanner group."},"shared":{"type":"integer","description":"The shared status of the scanner group."},"scan_count":{"type":"integer","description":"The number of scans currently tasked to the scanner group."},"scanner_count":{"type":"string","description":"The number of scanners associated with this scanner group."},"uuid":{"type":"string","description":"The UUID of the scanner group."},"type":{"type":"string","description":"The type of scanner group. This is set to \"load_balancing\" by default."},"name":{"type":"string","description":"The name of the scanner group."},"id":{"type":"integer","description":"The unique ID of the scanner group."},"scanner_id":{"type":"integer","description":"The unique scanner ID of the scanner group."},"scanner_uuid":{"type":"string","description":"The UUID of the scanner group."},"owner_name":{"type":"string","description":"The name for the owner of the scanner group."}}},"examples":{"response":{"value":{"creation_date":1545331154,"last_modification_date":1545331154,"owner_id":1,"owner":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","default_permissions":16,"scan_count":0,"uuid":"f00b532a-cbcd-4f9e-9292-9174083332df","type":"load_balancing","name":"Example Group","id":102825,"owner_name":"system"}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"was-scanner-groups-list","tags":["Scanner Groups"],"responses":{"200":{"description":"Returns the scanner group list.","content":{"application/json":{"schema":{"type":"object","properties":{"creation_date":{"type":"integer","description":"The creation date for the scanner group in Unix time."},"last_modification_date":{"type":"integer","description":"The last modification date for the scanner group in Unix time."},"owner_id":{"type":"integer","description":"The unique ID of the owner of the scanner group."},"owner":{"type":"string","description":"The username of the owner of the scanner group."},"owner_uuid":{"type":"string","description":"The UUID of the owner of the scacner group."},"default_permissions":{"type":"integer","description":"The access permissions for the Default group."},"user_permissions":{"type":"integer","description":"The sharing permissions for the scanner group."},"shared":{"type":"integer","description":"The shared status of the scanner group."},"scan_count":{"type":"integer","description":"The number of scans currently tasked to the scanner group."},"scanner_count":{"type":"string","description":"The number of scanners associated with this scanner group."},"uuid":{"type":"string","description":"The UUID of the scanner group."},"type":{"type":"string","description":"The type of scanner group. This is set to \"load_balancing\" by default."},"name":{"type":"string","description":"The name of the scanner group."},"id":{"type":"integer","description":"The unique ID of the scanner group."},"scanner_id":{"type":"integer","description":"The unique scanner ID of the scanner group."},"scanner_uuid":{"type":"string","description":"The UUID of the scanner group."},"owner_name":{"type":"string","description":"The name for the owner of the scanner group."}}},"examples":{"response":{"value":{"scanner_pools":[{"creation_date":1545326169,"last_modification_date":1545345793,"owner_id":1,"owner":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","default_permissions":16,"user_permissions":128,"shared":1,"scan_count":0,"scanner_count":1,"uuid":"9b7b3d08-cc43-4e67-adc6-41b706c0b680","type":"load_balancing","name":"New Group Name","id":102823,"scanner_id":144057,"scanner_uuid":"9b7b3d08-cc43-4e67-adc6-41b706c0b680","owner_name":"system"},{"creation_date":1545326198,"last_modification_date":1545345902,"owner_id":1,"owner":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","default_permissions":16,"user_permissions":128,"shared":1,"scan_count":0,"scanner_count":1,"uuid":"80ac7fcd-429b-4858-9d85-207577f6a35c","type":"load_balancing","name":"Group New Name","id":102824,"scanner_id":144058,"scanner_uuid":"80ac7fcd-429b-4858-9d85-207577f6a35c","owner_name":"system"},{"creation_date":1545331154,"last_modification_date":1545331154,"owner_id":1,"owner":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","default_permissions":16,"user_permissions":128,"shared":1,"scan_count":0,"scanner_count":2,"uuid":"f00b532a-cbcd-4f9e-9292-9174083332df","type":"load_balancing","name":"test1","id":102825,"scanner_id":144059,"scanner_uuid":"f00b532a-cbcd-4f9e-9292-9174083332df","owner_name":"system"}]}}}}}},"403":{"description":"Returned if the user does not have permission to view the list."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"was-scanner-groups-add-scanner","tags":["Scanner Groups"],"parameters":[{"description":"The ID of the scanner group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the scanner to add to the scanner group.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if the scanner has been successfully added to the scanner group.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{"To do":"Add response sample here"}}}}}},"400":{"description":"Returned if an attempt is made to add a scanner group to another scanner group."},"409":{"description":"Returned if you attempt to add a scanner to a scanner group that the scanner is already a member of.","content":{"text/html":{"examples":{"response":{"value":{"error":"Scanner 00000000-0000-0000-0000-00000000000000000000000000001 already exists in group f00b532a-cbcd-4f9e-9292-9174083332df"}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"was-scanner-groups-delete-scanner","tags":["Scanner Groups"],"parameters":[{"description":"The ID of the scanner group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the scanner to remove from the scanner group.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if the scanner has been successfully removed from the scanner group.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"was-scanner-groups-list-scanners","tags":["Scanner Groups"],"parameters":[{"description":"The ID of the scanner group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the list of scanners in the group.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"creation_date":{"type":"integer","description":"The creation date for the scanner in Unix time."},"group":{"type":"boolean","description":"True if the scanner is in a group; false, otherwise."},"id":{"type":"integer","description":"The unique ID of the scanner."},"uuid":{"type":"string","description":"The UUID of the scanner."},"last_connect":{"type":"integer","description":"The last_connect time in Unix time."},"last_modification_date":{"type":"integer","description":"The last_modification_date in Unix time."},"linked":{"type":"integer","description":"1 if the scanner is linked; 0, otherwise."},"name":{"type":"string","description":"The user-defined name of the scanner."},"type":{"type":"string","description":"The type of scanner (managed_webapp)."},"status":{"type":"string","description":"The status of the scanner (on or off)."},"scan_count":{"type":"integer","description":"The current number of running scans on the scanner."},"engine_version":{"type":"string","description":"The version of the scanner."},"owner":{"type":"string","description":"The owner of the scanner."},"key":{"type":"string","description":"A alphanumeric sequence of characters used when linking a scanner to Tenable.io."}}}},"examples":{"response":{"value":{"scanners":[{"creation_date":1543416914,"group":true,"id":141484,"key":"70d1969c3a1a14697ad51f27f1ee4afe48ef535051d90f5481e32fd78005f05a","last_connect":null,"last_modification_date":1543416914,"license":null,"linked":1,"name":"US Cloud Scanner","num_scans":0,"owner":"system","owner_id":1,"owner_name":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","pool":true,"scan_count":0,"source":"service","status":"on","timestamp":1543416914,"type":"local","uuid":"00000000-0000-0000-0000-00000000000000000000000000001"}]}}}}}},"403":{"description":"Returned if the user does not have permission to view the list."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"was-scanner-groups-details","tags":["Scanner Groups"],"parameters":[{"description":"The ID of the scanner group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the scanner group details.","content":{"application/json":{"schema":{"type":"object","properties":{"creation_date":{"type":"integer","description":"The creation date for the scanner group in Unix time."},"last_modification_date":{"type":"integer","description":"The last modification date for the scanner group in Unix time."},"owner_id":{"type":"integer","description":"The unique ID of the owner of the scanner group."},"owner":{"type":"string","description":"The username of the owner of the scanner group."},"owner_uuid":{"type":"string","description":"The UUID of the owner of the scacner group."},"default_permissions":{"type":"integer","description":"The access permissions for the Default group."},"user_permissions":{"type":"integer","description":"The sharing permissions for the scanner group."},"shared":{"type":"integer","description":"The shared status of the scanner group."},"scan_count":{"type":"integer","description":"The number of scans currently tasked to the scanner group."},"scanner_count":{"type":"string","description":"The number of scanners associated with this scanner group."},"uuid":{"type":"string","description":"The UUID of the scanner group."},"type":{"type":"string","description":"The type of scanner group. This is set to \"load_balancing\" by default."},"name":{"type":"string","description":"The name of the scanner group."},"id":{"type":"integer","description":"The unique ID of the scanner group."},"scanner_id":{"type":"integer","description":"The unique scanner ID of the scanner group."},"scanner_uuid":{"type":"string","description":"The UUID of the scanner group."},"owner_name":{"type":"string","description":"The name for the owner of the scanner group."}}},"examples":{"response":{"value":{"creation_date":1545326169,"last_modification_date":1545326169,"owner_id":1,"owner":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","default_permissions":16,"user_permissions":128,"shared":1,"scan_count":0,"uuid":"9b7b3d08-cc43-4e67-adc6-41b706c0b680","type":"load_balancing","name":"New Scanner Group","network_name":"Default","id":102823,"scanner_id":144057,"scanner_uuid":"9b7b3d08-cc43-4e67-adc6-41b706c0b680","owner_name":"system"}}}}}},"403":{"description":"Returned if user does not have permission to view the scanner group."},"404":{"description":"Returned if the scanner group does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"was-scanner-groups-edit","tags":["Scanner Groups"],"parameters":[{"description":"The ID of the scanner group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The new name for the scanner group."}},"required":["name"]}}}},"responses":{"200":{"description":"Returned if the scanner group has been successfully updated.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{"owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","created":1545326198354,"modified":1545345902579,"container_uuid":"36f234c4-4ae3-4353-9324-8ad3dcc7fcc5","uuid":"80ac7fcd-429b-4858-9d85-207577f6a35c","id":102824,"name":"Group New Name","type":"load_balancing","distributed":false,"default_permissions":16,"network_name":"Default","shared":1,"user_permissions":128,"created_in_seconds":1545326198,"modified_in_seconds":1545345902}}}}}},"404":{"description":"Returned if the scanner group does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"was-scanner-groups-delete","tags":["Scanner Groups"],"parameters":[{"description":"The ID of the scanner group.","required":true,"name":"group_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if the scanner group has been successfully deleted.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if the scanner group does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"was-policies-create","tags":["Policies"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"type":"string","description":"The UUID for the editor template to use.","example":"ab4bacd2-05f6-425c-9d79-3ba3940ad1c24e51e1f403febe40"},"settings":{"type":"object","properties":{}}},"required":["uuid"]}}}},"responses":{"200":{"description":"Returned if Tenable.io saved the policy successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"policy_id":{"type":"integer"},"policy_name":{"type":"string"}}},"examples":{"response":{"value":{"policy_id":"integer","policy_name":"string"}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"was-policies-list","tags":["Policies"],"responses":{"200":{"description":"Returns the policy list.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the policy."},"template_uuid":{"type":"string","description":"The UUID for the template the policy uses."},"name":{"type":"string","description":"The name of the policy."},"description":{"type":"string","description":"The description of the policy."},"owner_id":{"type":"string","description":"The unique ID of the owner of the policy."},"owner":{"type":"string","description":"The username for the owner of the policy."},"shared":{"type":"integer","description":"The shared status of the policy."},"user_permissions":{"type":"integer","description":"The sharing permissions for the policy."},"creation_date":{"type":"integer","description":"The creation date of the policy in Unix time."},"last_modification_date":{"type":"integer","description":"The last modification date for the policy in Unix time."},"visibility":{"type":"integer","description":"The visibility of the target (private or shared)."},"no_target":{"type":"boolean","description":"If `true`, the policy does not use targets."},"timeout_abort_threshold":{"type":"integer","description":"The number of consecutive timeouts before the scan aborts (minimum 100)."},"was_browser_cluster_ignore_images":{"type":"string","description":"Specifies whether images on web pages should be crawled or ignored by the virtual browser instance embedded into the scanner. Possible values are `yes` or `no`."},"was_browser_cluster_job_timeout":{"type":"integer","description":"The time that the scanner waits for a response from a browser, unless otherwise specified within a plugin. If you are scanning over a slow connection, you may wish to set this to a higher number of seconds."},"was_browser_cluster_screen_height":{"type":"integer","description":"The screen height, in pixels, of the virtual browser instance embedded into the scanner."},"was_browser_cluster_screen_width":{"type":"integer","description":"The screen width, in pixels, of the virtual browser instance embedded into the scanner."},"was_chrome_script_command_wait":{"type":"integer","description":"When running Selenium scripts for authentication and crawling, the number of milliseconds to wait after processing a command before passing to the next one."},"was_chrome_script_finish_wait":{"type":"integer","description":"When running Selenium scripts for authentication and crawling, the number of milliseconds to wait once all commands are processed for rendering new contents."},"was_chrome_script_page_load_wait":{"type":"integer","description":"When running Selenium scripts for authentication and crawling, the number of milliseconds to let the browser render the page."},"was_http_request_concurrency":{"type":"integer","description":"The maximum number of established HTTP sessions for a single host."},"was_http_request_headers":{"type":"string","description":"A list of custom headers injected into each HTTP request."},"was_http_request_redirect_limit":{"type":"integer","description":"The number of redirects the scan follows before it stops trying to crawl the page."},"was_http_request_timeout":{"type":"integer","description":"The time that the scanner waits for a response from a host, unless otherwise specified within a plugin. If you are scanning over a slow connection, you may wish to set this to a higher number of seconds."},"was_http_response_max_size":{"type":"integer","description":"The maximum load size of a page in order to be audited. If the scanner crawls a URL and the response exceeds the limit, then it is not audited and no vulnerability assessment is performed."},"was_http_user_agent":{"type":"string","description":"The user-agent header used by the scanner when sending an HTTP request. For example, `Nessus WAS/%v` where %v is the version of the scan engine."},"was_plugins_autothrottle":{"type":"string","description":"The plugins autothrottle setting (yes or no)."},"was_plugins_rate_limiter_requests_per_second":{"type":"integer","description":"The maximum number of HTTP requests for the entire scan for a single host."},"was_plugins_selenium_crawl_script":{"type":"string","description":"The name of the file containing Selenium scripts that Web Application Scanning uploads and uses to crawl during the scan. For more information, see Configure Selenium Authentication in the Tenable.io Web Application Scanning User Guide."},"was_scope_directory_depth_limit":{"type":"integer","description":"The maximum number of sub-directories the scanner crawls. For example, http://www.tenable.com/products/tenable-io has two sub-directories."},"was_scope_dom_depth_limit":{"type":"integer","description":"The maximum depth of HTML nested elements the scanner crawls."},"was_scope_exclude_file_extensions":{"type":"string","description":"A list of file types excluded from the scan. Possible values are: css, js, png, jpeg, gif, pdf, csv."},"was_scope_exclude_path_patterns":{"type":"string","description":"A regex specifying URLs excluded from the scan."},"was_scope_option":{"type":"string","description":"Specifies how the scanner handles URLs found during the application crawl. Possible values are:\n - all—Crawl all URLs detected.\n - urls—Limit crawling to specified URLs.\n - paths—Limit crawling to specified URLs and child paths."},"was_scope_page_limit":{"type":"integer","description":"The maximum number of URLs the scanner attempts to crawl and therefore audit."},"was_scope_urls":{"type":"string","description":"The list of URLs that are scanned."},"was_timeout":{"type":"string","description":"The maximum duration the scan runs before it stops automatically. This value uses the format, HH:MM:SS."}}}},"examples":{"response":{"value":{"policies":[{"no_target":"false","template_uuid":"ad629e16-03b6-8c1d-cef6-ef8c9dd3c658d24bd260ef5f9e66","description":"An example policy.","name":"Test Policy 1","owner":"api@api.demo","visibility":"shared","shared":1,"user_permissions":128,"last_modification_date":1545938690,"creation_date":1545938690,"owner_id":3,"id":43},{"no_target":"false","template_uuid":"09805055-a034-4088-8986-aac5e1c57d5f0d44f09d736969bf","description":"Policy for web app scans.","name":"Web App Scan Policy","owner":"api@api.demo","visibility":"private","shared":0,"user_permissions":128,"last_modification_date":1545947139,"creation_date":1545947139,"owner_id":3,"id":51}]}}}}}},"403":{"description":"Returned if the user does not have permission to view the policy list."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN USE [32] policy permissions. See Permissions.
","operationId":"was-policies-details","tags":["Policies"],"parameters":[{"description":"The ID of the policy to retrieve.","required":true,"name":"policy_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the policy details. This response can be edited and passed directly to the [PUT /policies/{policy_id}](/reference#was-policies-configure) endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"type":"string"},"credentials":{"type":"object"},"plugins":{"type":"object"},"settings":{"type":"object"}}},"examples":{"response":{"value":{"plugins":{"Injection":{"status":"enabled"},"File Inclusion":{"status":"enabled"},"Cross Site Request Forgery":{"status":"enabled"},"Data Exposure":{"status":"enabled"},"Cross Site Scripting":{"status":"enabled"},"Authentication & Session":{"status":"enabled"},"Web Servers":{"status":"enabled"},"Code Execution":{"status":"enabled"},"Component Vulnerability":{"status":"enabled"},"Web Applications":{"status":"enabled"}},"settings":{"was_chrome_script_command_wait":"500","was_scope_urls":"","description":"Policy for web app scans.","was_http_request_redirect_limit":"1","was_browser_cluster_screen_height":"1200","was_scope_dom_depth_limit":"5","was_http_user_agent":"Nessus WAS/%v","was_plugins_rate_limiter_requests_per_second":"25","was_scope_exclude_path_patterns":"logout","was_http_response_max_size":"500000","was_plugins_autothrottle":"yes","was_http_request_timeout":"5","was_plugins_selenium_crawl_script":"","was_http_request_concurrency":"10","assessment_mode":"Quick","was_timeout":"08:00:00","was_http_request_headers":"","was_scope_page_limit":"10000","was_browser_cluster_job_timeout":"10","was_scope_exclude_file_extensions":"css, png, jpeg, gif, pdf, csv","was_chrome_script_finish_wait":"5000","was_scope_directory_depth_limit":"10","was_chrome_script_page_load_wait":"10000","timeout_abort_threshold":"100","was_scope_option":"all","was_browser_cluster_ignore_images":"yes","was_browser_cluster_screen_width":"1600","name":"Web App Scan Policy"},"uuid":"09805055-a034-4088-8986-aac5e1c57d5f0d44f09d736969bf"}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN EDIT [32] policy permissions. See Permissions.
","operationId":"was-policies-configure","tags":["Policies"],"parameters":[{"description":"The ID of the policy to change.","required":true,"name":"policy_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io changed the policy configuration.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if the policy does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN EDIT [32] policy permissions. See Permissions.
","operationId":"was-policies-delete","tags":["Policies"],"parameters":[{"description":"The ID of the policy to delete.","required":true,"name":"policy_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io deleted the policy.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if the user does not have permission to delete the policy."},"404":{"description":"Returned if the policy does not exist."},"405":{"description":"Returned if the policy is in use by a scan."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN EDIT [32] policy permissions. See Permissions.
","operationId":"was-policies-copy","tags":["Policies"],"parameters":[{"description":"The ID of the policy to copy.","required":true,"name":"policy_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the policy object with the ID and name properties set.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{"name":"Copy of Web App Scan Policy","id":52}}}}}},"403":{"description":"Returned if the user does not have permission to copy the policy."},"404":{"description":"Returned if the policy does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"was-policies-import","tags":["Policies"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"file":{"type":"string","description":"The name of the file to import as provided by the response from [file: upload](/reference#file-upload)."}},"required":["file"]}}}},"responses":{"200":{"description":"Returns the policy object.","content":{"application/json":{"schema":{"type":"object","properties":{"private":{"type":"integer"},"no_target":{"type":"string"},"template_uuid":{"type":"string"},"description":{"type":"string"},"name":{"type":"string"},"owner":{"type":"string"},"shared":{"type":"integer"},"user_permissions":{"type":"integer"},"last_modification_date":{"type":"integer"},"creation_date":{"type":"integer"},"owner_id":{"type":"integer"},"id":{"type":"integer"}}},"examples":{"response":{"value":{"private":"integer","no_target":"string","template_uuid":"string","description":"string","name":"string","owner":"string","shared":"integer","user_permissions":"integer","last_modification_date":"integer","creation_date":"integer","owner_id":"integer","id":"integer"}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN EDIT [32] policy permissions. See Permissions.
","operationId":"was-policies-export","tags":["Policies"],"parameters":[{"description":"The ID of the policy to export.","required":true,"name":"policy_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the policy in nessus (XML) format.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if the user does not have permission to export the policy."},"404":{"description":"Returned if the policy does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"was-scanners-list","tags":["Scanners"],"responses":{"200":{"description":"Returns the scanner list.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"creation_date":{"type":"integer","description":"The creation date for the scanner in Unix time."},"group":{"type":"boolean","description":"True if the scanner is in a group; false, otherwise."},"id":{"type":"integer","description":"The unique ID of the scanner."},"uuid":{"type":"string","description":"The UUID of the scanner."},"last_connect":{"type":"integer","description":"The last_connect time in Unix time."},"last_modification_date":{"type":"integer","description":"The last_modification_date in Unix time."},"linked":{"type":"integer","description":"1 if the scanner is linked; 0, otherwise."},"name":{"type":"string","description":"The user-defined name of the scanner."},"type":{"type":"string","description":"The type of scanner (managed_webapp)."},"status":{"type":"string","description":"The status of the scanner (on or off)."},"scan_count":{"type":"integer","description":"The current number of running scans on the scanner."},"engine_version":{"type":"string","description":"The version of the scanner."},"owner":{"type":"string","description":"The owner of the scanner."},"key":{"type":"string","description":"A alphanumeric sequence of characters used when linking a scanner to Tenable.io."}}}},"examples":{"response":{"value":{"scanners":[{"creation_date":1543416914,"group":true,"id":141482,"key":"83520d0f4da8265cb52f7b558a3319ecb36d4b0ea490d4f9ec4ca9f2e1eee8b9","last_connect":null,"last_modification_date":1543416914,"license":{"agents":512,"ips":1024,"scanners":2,"users":10,"enterprise_pause":false,"expiration_date":1551160800,"evaluation":false,"apps":{"was":{"mode":"eval","expiration_date":1549299101}},"scanners_used":0,"agents_used":0},"linked":1,"name":"AP Singapore Cloud Scanners","network_name":"Default","num_scans":0,"owner":"system","owner_id":1,"owner_name":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","pool":true,"scan_count":0,"shared":1,"source":"service","status":"on","timestamp":1543416914,"type":"local","user_permissions":64,"uuid":"1b895828-62a9-5084-8bc5-d4864a927fb10523d1e84e3fef44"},{"creation_date":1543416914,"group":true,"id":141483,"key":"e3eeefeacca0d998c466af126549d68ef0f4e0d0ba3ab04a6e59a1d8a8a57079","last_connect":null,"last_modification_date":1543416914,"license":{"agents":512,"ips":1024,"scanners":2,"users":10,"enterprise_pause":false,"expiration_date":1551160800,"evaluation":false,"apps":{"was":{"mode":"eval","expiration_date":1549299101}},"scanners_used":0,"agents_used":0},"linked":1,"name":"EU Frankfurt Cloud Scanners","network_name":"Default","num_scans":0,"owner":"system","owner_id":1,"owner_name":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","pool":true,"scan_count":0,"shared":1,"source":"service","status":"on","timestamp":1543416914,"type":"local","user_permissions":64,"uuid":"06ab826a-301d-7829-d2c4-37f400c0f949ea8cce60f523eeef"},{"creation_date":1543416914,"group":true,"id":141484,"key":"70d1969c3a1a14697ad51f27f1ee4afe48ef535051d90f5481e32fd78005f05a","last_connect":null,"last_modification_date":1543416914,"license":{"agents":512,"ips":1024,"scanners":2,"users":10,"enterprise_pause":false,"expiration_date":1551160800,"evaluation":false,"apps":{"was":{"mode":"eval","expiration_date":1549299101}},"scanners_used":0,"agents_used":0},"linked":1,"name":"US Cloud Scanner","network_name":"Default","num_scans":0,"owner":"system","owner_id":1,"owner_name":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","pool":true,"scan_count":0,"shared":1,"source":"service","status":"on","timestamp":1543416914,"type":"local","user_permissions":64,"uuid":"00000000-0000-0000-0000-00000000000000000000000000001"}]}}}}}},"403":{"description":"Returned if the user does not have permission to view the list."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"was-scanners-get-scanner-key","tags":["Scanners"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the scanner key.","content":{"application/json":{"schema":{"type":"object","properties":{"key":{"type":"string"}}},"examples":{"response":{"value":{"key":"83520d0f4da8265cb52f7b558a3319ecb36d4b0ea490d4f9ec4ca9f2e1eee8b9"}}}}}},"403":{"description":"Returned if user does not have permission to view scanner data."},"404":{"description":"Returned if the scanner does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"was-scanners-details","tags":["Scanners"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the scanner details.","content":{"application/json":{"schema":{"type":"object","properties":{"creation_date":{"type":"integer","description":"The creation date for the scanner in Unix time."},"group":{"type":"boolean","description":"True if the scanner is in a group; false, otherwise."},"id":{"type":"integer","description":"The unique ID of the scanner."},"uuid":{"type":"string","description":"The UUID of the scanner."},"last_connect":{"type":"integer","description":"The last_connect time in Unix time."},"last_modification_date":{"type":"integer","description":"The last_modification_date in Unix time."},"linked":{"type":"integer","description":"1 if the scanner is linked; 0, otherwise."},"name":{"type":"string","description":"The user-defined name of the scanner."},"type":{"type":"string","description":"The type of scanner (managed_webapp)."},"status":{"type":"string","description":"The status of the scanner (on or off)."},"scan_count":{"type":"integer","description":"The current number of running scans on the scanner."},"engine_version":{"type":"string","description":"The version of the scanner."},"owner":{"type":"string","description":"The owner of the scanner."},"key":{"type":"string","description":"A alphanumeric sequence of characters used when linking a scanner to Tenable.io."}}},"examples":{"response":{"value":{"creation_date":1543416914,"group":true,"id":141482,"key":"83520d0f4da8265cb52f7b558a3319ecb36d4b0ea490d4f9ec4ca9f2e1eee8b9","last_connect":null,"last_modification_date":1543416914,"license":null,"linked":1,"name":"AP Singapore Cloud Scanners","network_name":"Default","num_scans":0,"owner":"system","owner_id":1,"owner_name":"system","owner_uuid":"fe2e8b99-791a-429a-ab84-4226e62306ff","pool":true,"scan_count":0,"shared":1,"source":"service","status":"on","timestamp":1543416914,"type":"local","user_permissions":64,"uuid":"1b895828-62a9-5084-8bc5-d4864a927fb10523d1e84e3fef44"}}}}}},"403":{"description":"Returned if user does not have permission to view the scanner."},"404":{"description":"Returned if the scanner does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"was-scanners-delete","tags":["Scanners"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if the server deleted/unlinked the scanner.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if an attempt is made to delete the local scanner."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"was-scanners-get-scans","tags":["Scanners"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the list of scans running on the requested scanner.","content":{"application/json":{"schema":{"type":"object","properties":{"scanner_uuid":{"type":"string","description":"The UUID of the scanner the scan belongs to."},"name":{"type":"string","description":"The name of the scan."},"status":{"type":"string","description":"Scan status. Can be: pending, processing, stopping, pausing, paused, resuming, or running."},"id":{"type":"string","description":"The scan UUID."},"scan_id":{"type":"integer","description":"The ID of the scan."},"user":{"type":"string","description":"The username of the scan owner."},"last_modification_date":{"type":"integer","description":"The last time the scan was modified in Unix time."},"start_time":{"type":"integer","description":"The date and time when the scan was started."},"remote":{"type":"boolean","description":"True if the scan is running remotely; false, otherwise."}}},"examples":{"response":{"value":{"scans":[{"scan_id":53,"scanner_uuid":"00000000-0000-0000-0000-00000000000000000000000000001","name":"Web App Scan","status":"running","id":"0224cbf3-144b-415a-96e5-526afdbd6bec","user":"API Demo User","user_uuid":"394a4be9-782d-406a-9d0a-695188260f0b","last_modification_date":1545948401,"start_time":1545948381}]}}}}}},"403":{"description":"Returned if user does not have permission to view scanner data."},"404":{"description":"Returned if the scanner does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires ADMINISTRATOR [64] user permissions. See Permissions.
","operationId":"was-scanners-toggle-link-state","tags":["Scanners"],"parameters":[{"description":"The ID of the scanner.","required":true,"name":"scanner_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"link":{"type":"integer","description":"Pass 1 enable the link. Pass 0 to disable.","format":"int32"}},"required":["link"]}}}},"responses":{"200":{"description":"Returned if updating the scanner was successful.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"403":{"description":"Returned if the scanner is a cloud scanner and the user doesn’t have permission to edit it."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"was-scans-create","tags":["Scans"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"type":"string","description":"The UUID for the editor template to use.","example":"ab4bacd2-05f6-425c-9d79-3ba3940ad1c24e51e1f403febe40"},"settings":{"type":"object","properties":{"name":{"type":"string","description":"The name of the scan."},"description":{"type":"string","description":"The description of the scan."},"policy_id":{"type":"integer","description":"The unique ID of the policy to use.","format":"int32"},"folder_id":{"type":"integer","description":"The unique ID of the destination folder for the scan.","format":"int32"},"scanner_id":{"type":"integer","description":"The unique ID of the scanner to use.","example":"1","format":"int32"},"enabled":{"type":"boolean","description":"If `true`, the schedule for the scan is enabled."},"launch":{"type":"string","description":"When to launch the scan. Valid values are: ON\\_DEMAND, DAILY, WEEKLY, MONTHLY, YEARLY.","enum":["ON_DEMAND","DAILY","WEEKLY","MONTHLY","YEARLY"]},"starttime":{"type":"string","description":"The starting time and date for the scan in the following format: YYYYMMDDTHHMMSS.","example":"20140826T133000"},"rrules":{"type":"string","description":"Expects a string of three values separated by semi-colons. The frequency (FREQ=ONETIME or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). To create a scan that runs every three weeks on Monday Wednesday and Friday the string would be `FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR`","example":"FREQ=DAILY;INTERVAL=1"},"timezone":{"type":"string","description":"The timezone for the scan schedule.","example":"America/New_York"},"text_targets":{"type":"string","description":"A single URL to scan.","example":"localhost"},"emails":{"type":"string","description":"A comma-separated list of accounts who will receive the email summary report.","example":"test1@test.com, test2@test.com"},"acls":{"items":{"type":"string"},"description":"An array containing permissions to apply to the scan.","type":"array","example":"[{\"type\": \"default\", \"permissions\": 16}, {\"type\": \"user\", \"permissions\": 64, \"name\": \"admin\", \"id\": 1, \"owner\": 1}]"}},"required":["name","enabled","text_targets"]}},"required":["uuid"]}}}},"responses":{"200":{"description":"Returned if the scan was saved successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the scan."},"uuid":{"type":"string","description":"The UUID for the scan."},"name":{"type":"string","description":"The name of the scan."},"type":{"type":"string","description":"The type of scan (local, remote, webapp, or agent). WAS scans will always have the type set to webapp."},"owner":{"type":"string","description":"The owner of the scan."},"enabled":{"type":"boolean","description":"If `true`, the schedule for the scan is enabled."},"read":{"type":"boolean","description":"If `true`, the scan has been read."},"status":{"type":"string","description":"The status of the scan (completed, aborted, imported, pending, running, resuming, canceling, canceled, pausing, paused, stopping, stopped)."},"shared":{"type":"boolean","description":"If `true`, the scan is shared."},"user_permissions":{"type":"integer","description":"The sharing permissions for the scan."},"creation_date":{"type":"integer","description":"The creation date for the scan in Unix time."},"last_modification_date":{"type":"integer","description":"The last modification date for the scan in Unix time."},"control":{"type":"boolean","description":"If `true`, the scan has a schedule and can be launched."},"starttime":{"type":"string","description":"The scheduled start time for the scan."},"timezone":{"type":"string","description":"The timezone for the scan."},"rrules":{"type":"string","description":"The rules for repeating the scan."},"schedule_uuid":{"type":"string","description":"The schedule_uuid of the scan that should be returned."}}},"examples":{"response":{"value":{"scan":{"container_id":"36f234c4-4ae3-4353-9324-8ad3dcc7fcc5","owner_uuid":"394a4be9-782d-406a-9d0a-695188260f0b","uuid":"template-6950fa18-56c2-fe8b-5f3c-3a6d7b2c406485debdf5bb0ba8ef","name":"Basic WebApp Scan","description":null,"policy_id":37,"scanner_id":null,"scanner_uuid":"00000000-0000-0000-0000-00000000000000000000000000001","emails":null,"sms":"","enabled":true,"dashboard_file":null,"include_aggregate":true,"scan_time_window":null,"custom_targets":"172.204.81.57:3030","starttime":"20190101T000000","rrules":null,"timezone":null,"notification_filters":null,"shared":0,"user_permissions":128,"default_permissions":0,"owner":"api@api.demo","owner_id":3,"last_modification_date":1545869117,"creation_date":1545869117,"type":"public","id":38}}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires BASIC [16] user permissions. See Permissions.
","operationId":"was-scans-list","tags":["Scans"],"parameters":[{"description":"The ID of the folder whose scans should be listed.","required":false,"name":"folder_id","in":"query","schema":{"type":"integer"}},{"description":"Limit the results to those that have only changed since this time.","required":false,"name":"last_modification_date","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"Returns the scan list.","content":{"application/json":{"schema":{"type":"object","properties":{"folders":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the folder."},"name":{"type":"string","description":"The name of the folder."},"type":{"type":"string","description":"The type of the folder (main, trash, custom)."},"default_tag":{"type":"integer","description":"Whether or not the folder is the default (1 or 0)."},"custom":{"type":"integer","description":"The custom status of the folder (1 or 0)."},"unread_count":{"type":"integer","description":"The number of unread scans in the folder."}}}},"scans":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the scan."},"uuid":{"type":"string","description":"The UUID for the scan."},"name":{"type":"string","description":"The name of the scan."},"type":{"type":"string","description":"The type of scan (local, remote, webapp, or agent). WAS scans will always have the type set to webapp."},"owner":{"type":"string","description":"The owner of the scan."},"enabled":{"type":"boolean","description":"If `true`, the schedule for the scan is enabled."},"read":{"type":"boolean","description":"If `true`, the scan has been read."},"status":{"type":"string","description":"The status of the scan (completed, aborted, imported, pending, running, resuming, canceling, canceled, pausing, paused, stopping, stopped)."},"shared":{"type":"boolean","description":"If `true`, the scan is shared."},"user_permissions":{"type":"integer","description":"The sharing permissions for the scan."},"creation_date":{"type":"integer","description":"The creation date for the scan in Unix time."},"last_modification_date":{"type":"integer","description":"The last modification date for the scan in Unix time."},"control":{"type":"boolean","description":"If `true`, the scan has a schedule and can be launched."},"starttime":{"type":"string","description":"The scheduled start time for the scan."},"timezone":{"type":"string","description":"The timezone for the scan."},"rrules":{"type":"string","description":"The rules for repeating the scan."},"schedule_uuid":{"type":"string","description":"The schedule_uuid of the scan that should be returned."}}}},"timestamp":{"type":"integer"}}},"examples":{"response":{"value":{"folders":[{"unread_count":0,"custom":0,"default_tag":0,"type":"trash","name":"Trash","id":18},{"unread_count":0,"custom":0,"default_tag":1,"type":"main","name":"My Scans","id":19},{"unread_count":0,"custom":1,"default_tag":0,"type":"custom","name":"User3","id":34}],"scans":[{"legacy":false,"permissions":128,"type":null,"read":false,"last_modification_date":1543417257,"creation_date":1543417257,"status":"imported","uuid":"9968ccf5-dbbe-efe0-cc4c-a1b348e4eb841b20953abd11a344","shared":false,"user_permissions":128,"owner":"admin@api.demo","schedule_uuid":"428cba1c-8b40-5e3d-bdbb-e74472fade60e4282a12cd401b0b","timezone":null,"rrules":null,"starttime":null,"enabled":false,"control":false,"name":"Office - Network Scan - Auth","id":15},{"legacy":false,"permissions":128,"type":null,"read":false,"last_modification_date":1543417225,"creation_date":1543417225,"status":"imported","uuid":"09b50432-e029-201e-89b2-8b733f8a3efa8e53637fa729b116","shared":false,"user_permissions":128,"owner":"admin@api.demo","schedule_uuid":"49e7fc46-ecf4-fbc4-fa85-47c94c41023621febad27bd16e6b","timezone":null,"rrules":null,"starttime":null,"enabled":false,"control":false,"name":"DataCenters Scan","id":13},{"legacy":false,"permissions":128,"type":null,"read":false,"last_modification_date":1543417163,"creation_date":1543417163,"status":"imported","uuid":"efce931f-1f65-ac49-b022-78abeefdc085896b4f12aa7e823a","shared":false,"user_permissions":128,"owner":"admin@api.demo","schedule_uuid":"75528521-c3f5-9e31-3a40-c9e6b60d3164a486252826efc36c","timezone":null,"rrules":null,"starttime":null,"enabled":false,"control":false,"name":"Office - Agent Scan","id":11},{"legacy":false,"permissions":128,"type":null,"read":false,"last_modification_date":1543426108,"creation_date":1543426108,"status":"imported","uuid":"3a1332e9-71ef-3310-1302-ac82958eaf29423df53aecd40878","shared":false,"user_permissions":128,"owner":"admin@api.demo","schedule_uuid":"b98d669f-350d-a1e4-90e0-f6c4c11858385a3910706fdda295","timezone":null,"rrules":null,"starttime":null,"enabled":false,"control":false,"name":"DataCenters Scan","id":21},{"legacy":false,"permissions":128,"type":null,"read":false,"last_modification_date":1543417268,"creation_date":1543417268,"status":"imported","uuid":"920bd8d4-0715-1786-e8d8-58e8073c7aa2d115de514e664c2f","shared":false,"user_permissions":128,"owner":"admin@api.demo","schedule_uuid":"e688787c-0fed-b31c-6152-70478d436ed41ea88435b632b080","timezone":null,"rrules":null,"starttime":null,"enabled":false,"control":false,"name":"Cloud - PreAuth - Network Scan - Auth","id":17},{"permissions":128,"type":null,"read":true,"last_modification_date":0,"creation_date":0,"status":"empty","uuid":null,"shared":false,"user_permissions":128,"owner":"api@api.demo","schedule_uuid":"template-6950fa18-56c2-fe8b-5f3c-3a6d7b2c406485debdf5bb0ba8ef","timezone":null,"rrules":null,"starttime":"20190101T000000","enabled":true,"control":true,"name":"Basic WebApp Scan","id":38},{"permissions":128,"type":null,"read":true,"last_modification_date":0,"creation_date":0,"status":"empty","uuid":null,"shared":false,"user_permissions":128,"owner":"admin@api.demo","schedule_uuid":"template-76bd081d-e946-d72b-99e5-beb5e746e53859260f2708c44a96","timezone":null,"rrules":null,"starttime":null,"enabled":false,"control":true,"name":"test","id":29},{"permissions":128,"type":null,"read":true,"last_modification_date":0,"creation_date":0,"status":"empty","uuid":null,"shared":false,"user_permissions":128,"owner":"api@api.demo","schedule_uuid":"template-e7421587-770f-9cf1-a4b8-4dc90bd0f18887f3bd19e6c05c67","timezone":null,"rrules":null,"starttime":null,"enabled":true,"control":true,"name":"Basic Scan","id":36}],"timestamp":1545869219}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN VIEW [16] scan permissions. See Permissions.
","operationId":"was-scans-details","tags":["Scans"],"parameters":[{"description":"The UUID of the scan to retrieve. While scan UUID is preferred, scan ID is supported.","required":true,"name":"scan_uuid","in":"path","schema":{"type":"string"}},{"description":"The ID of the historical data that should be returned.","name":"history_id","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The UUID of the historical data that should be returned.","name":"history_uuid","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the scan details.","content":{"application/json":{"schema":{"type":"object","properties":{"info":{"type":"object"},"hosts":{"type":"array","items":{"type":"object","properties":{"totalchecksconsidered":{"type":"integer","description":"The total number of checks considered on the host."},"numchecksconsidered":{"type":"integer","description":"The number of checks considered on the host."},"scanprogresstotal":{"type":"integer","description":"The total scan progress for the host."},"scanprogresscurrent":{"type":"integer","description":"The current scan progress for the host."},"host_index":{"type":"string","description":"The index for the host."},"score":{"type":"integer","description":"The overall score for the host."},"severitycount":{"type":"object","properties":{}},"progress":{"type":"string","description":"The scan progress of the host."},"critical":{"type":"integer","description":"The percentage of critical findings on the host."},"high":{"type":"integer","description":"The percentage of high findings on the host."},"medium":{"type":"integer","description":"The percentage of medium findings on the host."},"low":{"type":"integer","description":"The percentage of low findings on the host."},"info":{"type":"integer","description":"The percentage of info findings on the host."},"host_id":{"type":"integer","description":"The unique ID of the host."},"hostname":{"type":"string","description":"The name of the host."}}}},"notes":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the note."},"message":{"type":"string","description":"The specific message of the note."},"severity":{"type":"integer","description":"The severity of the note."}}}},"vulnerabilities":{"type":"array","items":{"type":"object","properties":{"count":{"type":"integer","description":"The number of vulnerabilities found."},"plugin_name":{"type":"string","description":"The name of the vulnerability plugin."},"vuln_index":{"type":"integer","description":"The index of the vulnerability plugin."},"severity":{"type":"integer","description":"The severity rating of the plugin."},"plugin_id":{"type":"integer","description":"The unique ID of the vulnerability plugin."},"severity_index":{"type":"integer","description":"The severity index order of the plugin."},"plugin_family":{"type":"string","description":"The parent family of the vulnerability plugin."}}}},"filters":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The short name of the filter."},"readable_name":{"type":"string","description":"The long name of the filter."},"operators":{"description":"The comparison options for the filter.","type":"array","items":{"type":"string"}},"control":{"type":"object","properties":{"type":{"type":"string","description":"The input type (entry or dropdown)."},"readable_regest":{"type":"string","description":"The placeholder for the input."},"regex":{"type":"string","description":"A regex for checking the value of the input."},"options":{"description":"A list of options if the input is a dropdown.","type":"array","items":{"type":"string"}}}}}}},"history":{"type":"array","items":{"type":"object","properties":{"alt_targets_used":{"type":"boolean","description":"If `true`, the scan was not launched with a target list. This parameter is `true` for agent scans."},"scheduler":{"type":"integer","description":"If `true`, the scan was launched automatically from a schedule."},"status":{"type":"string","description":"The status of the historical data."},"type":{"type":"string","description":"The type of scan: local, remote, or agent."},"uuid":{"type":"string","description":"The UUID of the historical data."},"last_modification_date":{"type":"integer","description":"The last modification date for the historical data in Unix time."},"creation_date":{"type":"integer","description":"The creation date for the historical data in Unix time."},"owner_id":{"type":"integer","description":"The unique ID of the owner of the scan."},"history_id":{"type":"integer","description":"The unique ID of the historical data."}}}}}},"examples":{"response":{"value":{"info":{"owner":"admin@api.demo","name":"Office - Network Scan - Auth","no_target":false,"folder_id":9,"control":false,"user_permissions":128,"schedule_uuid":"428cba1c-8b40-5e3d-bdbb-e74472fade60e4282a12cd401b0b","edit_allowed":false,"scanner_name":null,"policy":null,"shared":true,"object_id":null,"acls":null,"hostcount":36,"uuid":"9968ccf5-dbbe-efe0-cc4c-a1b348e4eb841b20953abd11a344","status":"imported","scan_type":null,"targets":null,"alt_targets_used":null,"pci-can-upload":null,"scan_start":1543417257,"timestamp":1543417257,"scan_end":1543417257,"haskb":false,"hasaudittrail":false,"scanner_start":null,"scanner_end":null},"history":[{"history_id":10503372,"owner_id":2,"creation_date":1543417257,"last_modification_date":1543417257,"uuid":"9968ccf5-dbbe-efe0-cc4c-a1b348e4eb841b20953abd11a344","type":null,"status":"imported","scheduler":0,"alt_targets_used":false}],"hosts":[{"asset_id":19,"host_id":19,"hostname":"shane.ad.demo.io","progress":"100-100/200-200","scanprogresscurrent":100,"scanprogresstotal":100,"numchecksconsidered":100,"totalchecksconsidered":100,"severitycount":{"item":[{"count":183,"severitylevel":0},{"count":3,"severitylevel":1},{"count":16,"severitylevel":2},{"count":91,"severitylevel":3},{"count":7,"severitylevel":4}]},"severity":300,"score":162813,"info":183,"low":3,"medium":16,"high":91,"critical":7,"host_index":0},{"asset_id":32,"host_id":32,"hostname":"sam.ad.demo.io","progress":"100-100/200-200","scanprogresscurrent":100,"scanprogresstotal":100,"numchecksconsidered":100,"totalchecksconsidered":100,"severitycount":{"item":[{"count":151,"severitylevel":0},{"count":2,"severitylevel":1},{"count":11,"severitylevel":2},{"count":100,"severitylevel":3},{"count":8,"severitylevel":4}]},"severity":272,"score":181271,"info":151,"low":2,"medium":11,"high":100,"critical":8,"host_index":2},{"asset_id":33,"host_id":33,"hostname":"alice.ad.demo.io","progress":"100-100/200-200","scanprogresscurrent":100,"scanprogresstotal":100,"numchecksconsidered":100,"totalchecksconsidered":100,"severitycount":{"item":[{"count":158,"severitylevel":0},{"count":2,"severitylevel":1},{"count":11,"severitylevel":2},{"count":90,"severitylevel":3},{"count":7,"severitylevel":4}]},"severity":268,"score":161278,"info":158,"low":2,"medium":11,"high":90,"critical":7,"host_index":4},{"asset_id":15,"host_id":15,"hostname":"brian.ad.demo.io","progress":"100-100/200-200","scanprogresscurrent":100,"scanprogresstotal":100,"numchecksconsidered":100,"totalchecksconsidered":100,"severitycount":{"item":[{"count":154,"severitylevel":0},{"count":2,"severitylevel":1},{"count":11,"severitylevel":2},{"count":90,"severitylevel":3},{"count":7,"severitylevel":4}]},"severity":264,"score":161274,"info":154,"low":2,"medium":11,"high":90,"critical":7,"host_index":7},{"asset_id":8,"host_id":8,"hostname":"rita.ad.demo.io","progress":"100-100/200-200","scanprogresscurrent":100,"scanprogresstotal":100,"numchecksconsidered":100,"totalchecksconsidered":100,"severitycount":{"item":[{"count":153,"severitylevel":0},{"count":2,"severitylevel":1},{"count":11,"severitylevel":2},{"count":90,"severitylevel":3},{"count":7,"severitylevel":4}]},"severity":263,"score":161273,"info":153,"low":2,"medium":11,"high":90,"critical":7,"host_index":8}],"vulnerabilities":[{"count":355,"plugin_id":34220,"plugin_name":"Netstat Portscanner (WMI)","severity":0,"plugin_family":"Port scanners","vuln_index":1},{"count":339,"plugin_id":34252,"plugin_name":"Microsoft Windows Remote Listeners Enumeration (WMI)","severity":0,"plugin_family":"Windows","vuln_index":2},{"count":157,"plugin_id":10736,"plugin_name":"DCE Services Enumeration","severity":0,"plugin_family":"Windows","vuln_index":3},{"count":87,"plugin_id":14272,"plugin_name":"Netstat Portscanner (SSH)","severity":0,"plugin_family":"Port scanners","vuln_index":4},{"count":82,"plugin_id":25221,"plugin_name":"Remote listeners enumeration (Linux / AIX)","severity":0,"plugin_family":"Service detection","vuln_index":5}],"comphosts":[],"compliance":[],"filters":[{"name":"host.id","readable_name":"Asset ID","control":{"type":"entry","regex":"[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}(,[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12})*","readable_regex":"01234567-abcd-ef01-2345-6789abcdef01"},"operators":["eq","neq","match","nmatch"],"group_name":"vulnerability"},{"name":"plugin.attributes.bid","readable_name":"Bugtraq ID","control":{"type":"entry","regex":"^[0-9]+(,[0-9]+)*","readable_regex":"NUMBER","maxlength":18},"operators":["eq","neq","match","nmatch"],"group_name":"vulnerability"},{"name":"plugin.attributes.exploit_framework_canvas","readable_name":"CANVAS Exploit Framework","control":{"type":"dropdown","list":["true","false"]},"operators":["eq","neq"],"group_name":"vulnerability"},{"name":"plugin.attributes.canvas_package","readable_name":"CANVAS Package","control":{"type":"dropdown","list":["CANVAS","D2ExploitPack","White_Phosphorus"]},"operators":["eq","neq"],"group_name":"vulnerability"},{"name":"plugin.attributes.xref:CERT-CC","readable_name":"CERT Advisory ID","control":{"type":"entry","regex":"^CA-[0-9]+-[0-9]+(,CA-[0-9]+-[0-9]+)*$","readable_regex":"CA-YYYY-ID (ie: CA-2003-08)"},"operators":["eq","neq","match","nmatch"],"group_name":"vulnerability"}],"notes":[],"remediations":{"num_cves":0,"num_hosts":37,"num_remediated_cves":0,"num_impacted_hosts":0,"remediations":[]}}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN CONFIGURE [64] scan permissions. See Permissions.
","operationId":"was-scans-configure","tags":["Scans"],"parameters":[{"description":"The ID of the scan to change.","required":true,"name":"scan_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"type":"string","description":"The UUID for the editor template to use."},"settings":{"type":"object","properties":{"name":{"type":"string","description":"The name of the scan."},"description":{"type":"string","description":"The description of the scan."},"policy_id":{"type":"integer","description":"The unique ID of the policy to use.","format":"int32"},"folder_id":{"type":"integer","description":"The unique ID of the destination folder for the scan.","format":"int32"},"scanner_id":{"type":"integer","description":"The unique ID of the scanner to use.","example":"1","format":"int32"},"enabled":{"type":"boolean","description":"If `true`, the schedule for the scan is enabled."},"launch":{"type":"string","description":"When to launch the scan. (Valid values are DAILY, WEEKLY, MONTHLY, YEARLY.)","enum":["DAILY","WEEKLY","MONTHLY","YEARLY"]},"starttime":{"type":"string","description":"The starting time and date for the scan in the following format: YYYYMMDDTHHMMSS.","example":"20140826T133000"},"rrules":{"type":"string","description":"Expects a string of three values separated by semi-colons. The frequency (FREQ=ONETIME or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). To create a scan that runs every three weeks on Monday Wednesday and Friday the string would be `FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR`","example":"FREQ=DAILY;INTERVAL=1"},"timezone":{"type":"string","description":"The timezone for the scan schedule.","example":"America/New_York"},"text_targets":{"type":"string","description":"A single URL to scan. Required for non-agent scans if no target groups are provided.","example":"localhost"},"emails":{"type":"string","description":"A comma-separated list of accounts who will receive the email summary report.","example":"test1@test.com, test2@test.com"},"acls":{"items":{"type":"string"},"description":"An array containing permissions to apply to the scan.","type":"array","example":"[{\"type\": \"default\", \"permissions\": 16}, {\"type\": \"user\", \"permissions\": 64, \"name\": \"admin\", \"id\": 1, \"owner\": 1}]"}},"required":["enabled","text_targets"]}}}}}},"responses":{"200":{"description":"Returned if the configuration was changed.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the scan."},"uuid":{"type":"string","description":"The UUID for the scan."},"name":{"type":"string","description":"The name of the scan."},"type":{"type":"string","description":"The type of scan (local, remote, webapp, or agent). WAS scans will always have the type set to webapp."},"owner":{"type":"string","description":"The owner of the scan."},"enabled":{"type":"boolean","description":"If `true`, the schedule for the scan is enabled."},"read":{"type":"boolean","description":"If `true`, the scan has been read."},"status":{"type":"string","description":"The status of the scan (completed, aborted, imported, pending, running, resuming, canceling, canceled, pausing, paused, stopping, stopped)."},"shared":{"type":"boolean","description":"If `true`, the scan is shared."},"user_permissions":{"type":"integer","description":"The sharing permissions for the scan."},"creation_date":{"type":"integer","description":"The creation date for the scan in Unix time."},"last_modification_date":{"type":"integer","description":"The last modification date for the scan in Unix time."},"control":{"type":"boolean","description":"If `true`, the scan has a schedule and can be launched."},"starttime":{"type":"string","description":"The scheduled start time for the scan."},"timezone":{"type":"string","description":"The timezone for the scan."},"rrules":{"type":"string","description":"The rules for repeating the scan."},"schedule_uuid":{"type":"string","description":"The schedule_uuid of the scan that should be returned."}}},"examples":{"response":{"value":{"container_id":"36f234c4-4ae3-4353-9324-8ad3dcc7fcc5","owner_uuid":"394a4be9-782d-406a-9d0a-695188260f0b","uuid":"template-6950fa18-56c2-fe8b-5f3c-3a6d7b2c406485debdf5bb0ba8ef","name":"Basic WebApp Scan","description":null,"policy_id":37,"scanner_id":null,"scanner_uuid":"00000000-0000-0000-0000-00000000000000000000000000001","emails":null,"sms":"","enabled":false,"dashboard_file":null,"include_aggregate":true,"scan_time_window":null,"custom_targets":"172.204.81.57:3030","starttime":"20181228T000000","rrules":null,"timezone":null,"notification_filters":null,"shared":0,"user_permissions":128,"default_permissions":0,"owner":"api@api.demo","owner_id":3,"last_modification_date":1545870368,"creation_date":1545869117,"type":"public","id":38}}}}}},"404":{"description":"Returned if the scan does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN CONFIGURE [64] scan permissions. See Permissions.
","operationId":"was-scans-delete","tags":["Scans"],"parameters":[{"description":"The ID of the scan to delete.","required":true,"name":"scan_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully deleted the scan.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN CONTROL [32] scan permissions. See Permissions.
","operationId":"was-scans-launch","tags":["Scans"],"parameters":[{"description":"The ID of the scan to launch.","required":true,"name":"scan_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"alt_targets":{"items":{"type":"string"},"description":"If specified, the target will be scanned instead of the default. Value shall be an array with a single URL.","type":"array"}}}}}},"responses":{"200":{"description":"Returned if the scan was successfully launched.","content":{"application/json":{"schema":{"type":"object","properties":{"scan_uuid":{"type":"string","description":"The UUID of the scan."}}},"examples":{"response":{"value":{"scan_uuid":"36984557-946d-4858-8af7-ded422fee78c"}}}}}},"403":{"description":"Returned if the scan is disabled."},"404":{"description":"Returned if the scan does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN CONTROL [32] scan permissions. See Permissions.
","operationId":"was-scans-stop","tags":["Scans"],"parameters":[{"description":"The ID of the scan to stop.","required":true,"name":"scan_id","in":"path","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully queued the scan to stop.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if the scan does not exist."},"409":{"description":"Returned if the scan is not active."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN CONTROL [32] scan permissions. See Permissions.
","operationId":"was-scans-schedule","tags":["Scans"],"parameters":[{"description":"The ID of the scan.","required":true,"name":"scan_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Enables or disables the scan schedule."}},"required":["enabled"]}}}},"responses":{"200":{"description":"Returned if Tenable.io enabled or disabled the scan schedule.","content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"},"control":{"type":"boolean"},"rrules":{"type":"string"},"starttime":{"type":"string"},"timezone":{"type":"string"}}},"examples":{"response":{"value":{"control":true,"enabled":false,"rrules":"FREQ=DAILY;INTERVAL=1","timezone":"US/Central","starttime":"20181206T230000"}}}}}},"404":{"description":"Returned if the scan does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN VIEW [16] scan permissions. See Permissions.
","operationId":"was-scans-progress","tags":["Scans"],"parameters":[{"description":"The UUID of the scan for which you want to view the progress.","required":true,"name":"scan_uuid","in":"path","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Returns the progress of the scan.","content":{"application/json":{"schema":{"type":"object","properties":{"crawled_urls":{"type":"integer"},"queued_urls":{"type":"integer"},"audited_pages":{"type":"integer"},"queued_pages":{"type":"integer"},"request_count":{"type":"integer"},"response_time":{"type":"string"},"assets":{"type":"array","items":{"type":"object"}},"vulnerabilities":{"type":"array","items":{"type":"object"}}}},"examples":{"response":{"value":{"crawled_urls":"integer","queued_urls":"integer","audited_pages":"integer","queued_pages":"integer","request_count":"integer","response_time":"string","assets":[{"name":"string","severities":{"0":{"level":0,"name":"Info","count":"integer"},"1":{"level":1,"name":"Low","count":"integer"},"2":{"level":2,"name":"Medium","count":"integer"},"3":{"level":3,"name":"High","count":"integer"},"4":{"level":4,"name":"Critical","count":"integer"}}}],"vulnerabilities":[{"count":"integer","plugin_family":"string","plugin_id":"integer","plugin_name":"string","severity":"integer"},{"count":"integer","plugin_family":"string","plugin_id":"integer","plugin_name":"string","severity":"integer"},{"count":"integer","plugin_family":"string","plugin_id":"integer","plugin_name":"string","severity":"integer"}]}}}}}},"404":{"description":"Returned if the scan does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN VIEW [16] scan permissions. See Permissions.
","operationId":"was-scans-read-status","tags":["Scans"],"parameters":[{"description":"The ID of the scan to change.","required":true,"name":"scan_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"read":{"type":"boolean","description":"If `true`, the scan has been read."}},"required":["read"]}}}},"responses":{"200":{"description":"Returned if Tenable.io changed the status.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if the scan does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN CONFIGURE [64] scan permissions. See Permissions.
","operationId":"was-scans-copy","tags":["Scans"],"parameters":[{"description":"The ID of the scan to copy.","required":true,"name":"scan_id","in":"path","schema":{"type":"integer","format":"int32"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"folder_id":{"type":"integer","description":"The ID of the destination folder.","format":"int32"},"name":{"type":"string","description":"The name of the copied scan."}}}}}},"responses":{"200":{"description":"Returns the copied scan object.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the scan."},"uuid":{"type":"string","description":"The UUID for the scan."},"name":{"type":"string","description":"The name of the scan."},"type":{"type":"string","description":"The type of scan (local, remote, webapp, or agent). WAS scans will always have the type set to webapp."},"owner":{"type":"string","description":"The owner of the scan."},"enabled":{"type":"boolean","description":"If `true`, the schedule for the scan is enabled."},"read":{"type":"boolean","description":"If `true`, the scan has been read."},"status":{"type":"string","description":"The status of the scan (completed, aborted, imported, pending, running, resuming, canceling, canceled, pausing, paused, stopping, stopped)."},"shared":{"type":"boolean","description":"If `true`, the scan is shared."},"user_permissions":{"type":"integer","description":"The sharing permissions for the scan."},"creation_date":{"type":"integer","description":"The creation date for the scan in Unix time."},"last_modification_date":{"type":"integer","description":"The last modification date for the scan in Unix time."},"control":{"type":"boolean","description":"If `true`, the scan has a schedule and can be launched."},"starttime":{"type":"string","description":"The scheduled start time for the scan."},"timezone":{"type":"string","description":"The timezone for the scan."},"rrules":{"type":"string","description":"The rules for repeating the scan."},"schedule_uuid":{"type":"string","description":"The schedule_uuid of the scan that should be returned."}}},"examples":{"response":{"value":{"timezone":null,"enabled":true,"last_modification_date":1545877843,"id":42,"status":"empty","user_permissions":128,"owner":"api@api.demo","starttime":null,"control":true,"uuid":"f09066da-3817-6e3f-7244-8c10c3e0850e3c25cfc9e660ef09","rrules":null,"creation_date":1545868722,"read":false,"shared":false,"name":"Copy of Basic Scan"}}}}}},"404":{"description":"Returned if the scan does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"was-scans-import","tags":["Scans"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"file":{"type":"string","description":"The name of the file to import as provided by the response from [file: upload](/reference#file-upload)."},"folder_id":{"type":"integer","description":"The ID of the destination folder. If not specified, the default folder will be used.","format":"int32"},"password":{"type":"string","description":"The password for the file to import (required for nessus.db).","format":"password"}},"required":["file"]}}}},"responses":{"200":{"description":"Returns the scan object.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"The unique ID of the scan."},"uuid":{"type":"string","description":"The UUID for the scan."},"name":{"type":"string","description":"The name of the scan."},"type":{"type":"string","description":"The type of scan (local, remote, webapp, or agent). WAS scans will always have the type set to webapp."},"owner":{"type":"string","description":"The owner of the scan."},"enabled":{"type":"boolean","description":"If `true`, the schedule for the scan is enabled."},"read":{"type":"boolean","description":"If `true`, the scan has been read."},"status":{"type":"string","description":"The status of the scan (completed, aborted, imported, pending, running, resuming, canceling, canceled, pausing, paused, stopping, stopped)."},"shared":{"type":"boolean","description":"If `true`, the scan is shared."},"user_permissions":{"type":"integer","description":"The sharing permissions for the scan."},"creation_date":{"type":"integer","description":"The creation date for the scan in Unix time."},"last_modification_date":{"type":"integer","description":"The last modification date for the scan in Unix time."},"control":{"type":"boolean","description":"If `true`, the scan has a schedule and can be launched."},"starttime":{"type":"string","description":"The scheduled start time for the scan."},"timezone":{"type":"string","description":"The timezone for the scan."},"rrules":{"type":"string","description":"The rules for repeating the scan."},"schedule_uuid":{"type":"string","description":"The schedule_uuid of the scan that should be returned."}}},"examples":{"response":{"value":{"scan":{"timezone":null,"id":38,"last_modification_date":1544219402,"status":"imported","user_permissions":128,"folder_id":null,"owner":"user2@example.com","control":null,"starttime":null,"uuid":"25f3b839-3e4b-aa38-252f-f4614dbe5b170e3fa8eea4c7cb27","rrules":null,"creation_date":1544219402,"read":false,"name":"Basic Scan","shared":false}}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN VIEW [16] scan permissions. See Permissions.
","operationId":"was-scans-export-request","tags":["Scans"],"parameters":[{"description":"The ID of the scan to export.","required":true,"name":"scan_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the historical data that should be exported.","required":false,"name":"history_id","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The UUID of the historical data that should be returned.","required":false,"name":"history_uuid","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The value `web-app`. This parameter is required only when using the API with Web Application Scanning.","required":true,"name":"type","in":"query","schema":{"type":"string","enum":["web-app"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"format":{"type":"string","description":"The file format to use. For Web Application Scanning, supported export formats are Nessus, CSV, and DB.","enum":["nessus","csv","db"]},"password":{"type":"string","description":"The password used to encrypt database exports (\\*Required when exporting as DB).","format":"password"},"chapters":{"type":"string","description":"The chapters to include in the export (expecting a semi-colon delimited string comprised of some combination of the following options: vuln\\_hosts\\_summary, vuln\\_by\\_host, compliance\\_exec, remediations, vuln\\_by\\_plugin, compliance)"}},"required":["format"]}}}},"responses":{"200":{"description":"Returned if the export was queued successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"file":{"type":"string"},"temp_token":{"type":"string"}}},"examples":{"response":{"value":{"file":"a50d608e-8a05-4521-9896-3f99b2558d30"}}}}}},"400":{"description":"Returned if a required parameter is missing."},"404":{"description":"Returned if the scan does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN VIEW [16] scan permissions. See Permissions.
","operationId":"was-scans-export-status","tags":["Scans"],"parameters":[{"description":"The ID of the scan to export.","required":true,"name":"scan_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the file to poll (Included in response from /was-scans/{scan\\_id}/export).","required":true,"name":"file_uuid","in":"path","schema":{"type":"string"}},{"description":"The value `web-app`. This parameter is required only when using the API with Web Application Scanning.","required":true,"name":"type","in":"query","schema":{"type":"string","enum":["web-app"]}}],"responses":{"200":{"description":"Returns the status of the file. A status of `ready` indicates the file can be downloaded.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"The export status."}}},"examples":{"response":{"value":{"status":"ready"}}}}}},"404":{"description":"Returned if the file does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN VIEW [16] scan permissions. See Permissions.
","operationId":"was-scans-export-download","tags":["Scans"],"parameters":[{"description":"The ID of the scan to export.","required":true,"name":"scan_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the file to download (Included in response from /scans/{scan\\_id}/export).","required":true,"name":"file_uuid","in":"path","schema":{"type":"string"}},{"description":"The value `web-app`. This parameter is required only when using the API with Web Application Scanning.","required":false,"name":"type","in":"query","schema":{"type":"string","enum":["web-app"]}}],"responses":{"200":{"description":"Returns the content of the file as an attachment.","content":{"application/octet-stream":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if the file does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires SCAN OPERATOR [24] user permissions and CAN VIEW [16] scan permissions. See Permissions.
","operationId":"was-scans-history","tags":["Scans"],"parameters":[{"description":"The identifier for the scan. This identifier can be the either the `schedule_uuid` or the numeric `id` attribute for the scan. We recommend that you use `schedule_uuid`.","required":true,"name":"scan_id","in":"path","schema":{"type":"string"}},{"description":"Maximum number of objects requested (or service imposed limit if not in request). The max limit value allowed is 50. Must be in the int32 format.","required":false,"name":"limit","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"Offset from request (or zero). Must be in the int32 format.","required":false,"name":"offset","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns a scan's history records.","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"total":{"type":"integer","description":"The total number of objects matching your search criteria. Must be in the int32 format."},"limit":{"type":"integer","description":"Maximum number of objects requested (or service imposed limit if not in request). Must be in the int32 format."},"offset":{"type":"integer","description":"Offset from request (or zero). Must be in the int32 format."},"sort":{"description":"An array of objects representing the fields you specified as sort fields in the request message, which Tenable.io uses to sort the returned data.","type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The field on which Tenable.io sorts the results."},"order":{"type":"string","description":"The direction of the sort order. Supported values are `asc` (ascending) and `desc` (descending)."}}}}}},"history":{"type":"array","items":{"type":"object","properties":{"time_end":{"type":"integer","description":"The date the scan completed in Unix time."},"scan_uuid":{"type":"string","description":"The scan history's UUID."},"time_start":{"type":"integer","description":"The date the scan started in Unix time."},"visibility":{"type":"string","description":"The visibility of the scan in workbenches (public or private)."},"targets":{"type":"object","description":"The target parameters used to launch the scan.","properties":{"custom":{"type":"boolean","description":"If `true`, then custom parameters were used to launch the scan."},"default":{"type":"boolean","description":"If `true`, then default parameters were used to launch the scan.."}}},"status":{"type":"string","description":"The status of the scan (completed, aborted, imported, pending, running, resuming, canceling, canceled, pausing, paused, stopping, stopped)."}}}}}},"examples":{"response":{"value":{"pagination":{"offset":0,"total":8,"sort":[{"order":"DESC","name":"start_date"}],"limit":50},"history":[{"time_end":1545945607,"scan_uuid":"1732621d-a7c3-4295-bbc9-37035112ff0a","id":10535512,"time_start":1545945482,"visibility":"public","targets":{"custom":false,"default":null},"status":"canceled"},{"time_end":1545945457,"scan_uuid":"cd5c32e9-0b66-4c31-b61a-8d1bdd8a67ad","id":10535505,"time_start":1545945321,"visibility":"public","targets":{"custom":false,"default":null},"status":"completed"},{"time_end":1545944767,"scan_uuid":"34e04696-2abf-4767-86cb-c51eb26a3511","id":10535496,"time_start":1545944637,"visibility":"public","targets":{"custom":false,"default":null},"status":"completed"},{"time_end":1545877987,"scan_uuid":"47ee2c49-9422-4082-9b5b-48d0883bc76e","id":10534608,"time_start":1545877843,"visibility":"public","targets":{"custom":false,"default":null},"status":"aborted"},{"time_end":1545877717,"scan_uuid":"0a20f6f1-cb6e-4947-ab71-8121dddff8e9","id":10534601,"time_start":1545877590,"visibility":"public","targets":{"custom":false,"default":null},"status":"aborted"},{"time_end":1545877057,"scan_uuid":"2b346502-d769-452e-9c2e-0c50033852d2","id":10534598,"time_start":1545876907,"visibility":"public","targets":{"custom":false,"default":null},"status":"aborted"},{"time_end":1545871897,"scan_uuid":"e80fa271-8a6e-44e8-bdcf-dc75274d4b25","id":10534540,"time_start":1545871758,"visibility":"public","targets":{"custom":false,"default":null},"status":"aborted"},{"time_end":1545871177,"scan_uuid":"36984557-946d-4858-8af7-ded422fee78b","id":10534536,"time_start":1545871035,"visibility":"public","targets":{"custom":false,"default":null},"status":"aborted"}]}}}}}},"404":{"description":"Returned if Tenable.io cannot find the specified `scan_id`."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN VIEW [16] scan permissions. See Permissions.
","operationId":"was-scans-history-details","tags":["Scans"],"parameters":[{"description":"The ID of the scan to retrieve.","required":true,"name":"scan_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The UUID of the historical scan result to return details about.","required":true,"name":"history_uuid","in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns details of the historical scan result.","content":{"application/json":{"schema":{"type":"object","properties":{"owner_id":{"type":"integer"},"schedule_uuid":{"type":"string"},"scan_start":{"type":"integer"},"scan_end":{"type":"integer"},"owner_uuid":{"type":"string"},"owner":{"type":"string"},"targets":{"type":"string"},"object_id":{"type":"integer"},"uuid":{"type":"string"},"scan_type":{"type":"string"},"name":{"type":"string"}}},"examples":{"response":{"value":{"owner_id":2,"schedule_uuid":"e688787c-0fed-b31c-6152-70478d436ed41ea88435b632b080","status":"imported","scan_start":1543417268,"owner_uuid":"7a676323-47bb-4838-9cec-c9f01448bb2d","owner":"admin@api.demo","targets":null,"object_id":10503373,"uuid":"920bd8d4-0715-1786-e8d8-58e8073c7aa2d115de514e664c2f","scan_end":null,"scan_type":null,"name":"Cloud - PreAuth - Network Scan - Auth"}}}}}},"404":{"description":"Returned if scan_id or history_uuid are not found."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN CONFIGURE [64] scan permissions. See Permissions.
","operationId":"was-scans-delete-history","tags":["Scans"],"parameters":[{"description":"The ID of the scan.","required":true,"name":"scan_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the results to delete.","required":true,"name":"history_uuid","in":"path","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Returned if Tenable.io successfully deleted the results.","content":{"application/json":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if Tenable.io could not find the results."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN VIEW [16] scan permissions. See Permissions.
","operationId":"was-scans-host-details","tags":["Scans"],"parameters":[{"description":"The UUID of the scan to retrieve. While scan UUID is preferred, scan ID is supported.","required":true,"name":"scan_uuid","in":"path","schema":{"type":"string"}},{"description":"The ID of the host to retrieve.","required":true,"name":"host_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the historical data that should be returned.","name":"history_id","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The UUID of the historical data that should be returned.","name":"history_uuid","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the host details.","content":{"application/json":{"schema":{"type":"object","properties":{"info":{"type":"object"},"vulnerabilities":{"type":"array","items":{"type":"object","properties":{"host_id":{"type":"integer","description":"The unique ID of the host where the scan identified the vulnerability."},"hostname":{"type":"string","description":"The name of the host where the scan identified the vulnerability."},"plugin_id":{"type":"integer","description":"The unique ID of the vulnerability plugin."},"plugin_name":{"type":"string","description":"The name of the vulnerability plugin."},"plugin_family":{"type":"string","description":"The parent family of the vulnerability plugin."},"count":{"type":"integer","description":"The number of vulnerabilities found."},"vuln_index":{"type":"integer","description":"The index of the vulnerability plugin."},"severity_index":{"type":"integer","description":"The severity index order of the plugin."},"severity":{"type":"integer","description":"The severity of plugin."}}}}}},"examples":{"response":{"value":{"info":{"mac-address":null,"host-fqdn":"ip-10-10-2-49.ec2.internal","host-ip":"10.10.2.49","operating-system":["Linux Kernel 3.16.0-4-amd64 on Debian 8.7"],"host_end":"Wed Nov 28 15:01:08 2018","host_start":"Wed Nov 28 15:01:08 2018"},"vulnerabilities":[{"count":1,"host_id":8,"hostname":"ip-10-10-2-49.ec2.internal","plugin_family":"General","plugin_id":10114,"plugin_name":"ICMP Timestamp Request Remote Date Disclosure","severity":0,"severity_index":0,"vuln_index":0},{"count":1,"host_id":8,"hostname":"ip-10-10-2-49.ec2.internal","plugin_family":"Service detection","plugin_id":10267,"plugin_name":"SSH Server Type and Version Information","severity":0,"severity_index":0,"vuln_index":0},{"count":1,"host_id":8,"hostname":"ip-10-10-2-49.ec2.internal","plugin_family":"General","plugin_id":10287,"plugin_name":"Traceroute Information","severity":0,"severity_index":0,"vuln_index":0},{"count":1,"host_id":8,"hostname":"ip-10-10-2-49.ec2.internal","plugin_family":"General","plugin_id":10881,"plugin_name":"SSH Protocol Versions Supported","severity":0,"severity_index":0,"vuln_index":0}],"compliance":[]}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN VIEW [16] scan permissions. See Permissions.
","operationId":"was-scans-plugin-output","tags":["Scans"],"parameters":[{"description":"The UUID of the scan to retrieve. While scan UUID is preferred, scan ID is supported.","required":true,"name":"scan_uuid","in":"path","schema":{"type":"string"}},{"description":"The ID of the host to retrieve.","required":true,"name":"host_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the plugin to retrieve.","required":true,"name":"plugin_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the historical data that should be returned.","name":"history_id","in":"query","schema":{"type":"integer","format":"int32"}},{"description":"The UUID of the historical data that should be returned.","name":"history_uuid","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the plugin output.","content":{"application/json":{"schema":{"type":"object","properties":{"output":{"type":"array","items":{"type":"object","properties":{"ports":{"type":"object","properties":{}},"has_attachment":{"type":"integer","description":"If the value is `1`, the plugin output contains files that may be exported."},"custom_description":{"type":"string","description":"A custom description of the plugin."},"plugin_output":{"type":"string","description":"The text of the plugin output."},"hosts":{"type":"string","description":"Other hosts with the same output."},"severity":{"type":"integer","description":"The severity of the output."}}}},"info":{"type":"object"}}},"examples":{"response":{"value":{"outputs":[{"ports":{"0 / tcp":[{"hostname":"ip-10-10-2-49.ec2.internal"}]},"has_attachment":0,"severity":0,"plugin_output":"\nHere is the list of packages installed on the remote Debian Linux system : \n\n ii acl 2.2.52-2 amd64 Access control list utilities\n ii adduser 3.113+nmu3 all add and remove users and groups\n ii apt 1.0.9.8.4 amd64 commandline package manager\n ii apt-transport-https 1.0.9.8.4 amd64 https download transport for APT\n ii apt-utils 1.0.9.8.4 amd64 package management related utility programs\n ii awscli 1.4.2-1 all Universal Command Line Environment for AWS\n ii base-files 8+deb8u7 amd64 Debian base system miscellaneous files\n ii base-passwd 3.5.37 amd64 Debian base system master password and group files\n ii bash 4.3-11+deb8u1 amd64 GNU Bourne Again SHell\n ii binutils 2.25-5 amd64 GNU assembler, linker and binary utilities\n ii bsdmainutils 9.0.6 amd64 collection of more utilities from FreeBSD\n ii bsdutils 1:2.25.2-6 amd64 basic utilities from 4.4BSD-Lite\n ii ca-certificates 20141019+deb8u2 all Common CA certificates\n ii cloud-guest-utils 0.29-1~bpo8+1 all cloud guest utilities\n ii cloud-image-utils 0.29-1~bpo8+1 all cloud image management utilities\n ii cloud-init 0.7.7~bzr1156-1~bpo8+1 all initialization system for infrastructure cloud instances\n ii cloud-utils 0.29-1~bpo8+1 all metapackage for installation of upstream cloud-utils source\n ii coreutils 8.23-4 amd64 GNU core utilities\n ii cpio 2.11+dfsg-4.1+deb8u1 amd64 GNU cpio -- a program to manage archives of files\n ii cpp 4:4.9.2-2 amd64 GNU C preprocessor (cpp)\n ii cpp-4.8 4.8.4-1 amd64 GNU C preprocessor\n ii cpp-4.9 4.9.2-10 amd64 GNU C preprocessor\n ii cron 3.0pl1-127+deb8u1 amd64 process scheduling daemon\n ii dash 0.5.7-4+b1 amd64 POSIX-compliant shell\n ii debconf 1.5.56 all Debian configuration management system\n ii debconf-i18n 1.5.56 all full internationalization support for debconf\n ii debian-archive-keyring 2014.3 all GnuPG archive keys of the Debian archive\n ii debianutils 4.4+b1 amd64 Miscellaneous utilities specific to Debian\n ii dh-python 1.20141111-2 all Debian helper tools for packaging Python libraries and applications\n ii diffutils 1:3.3-1+b1 amd64 File comparison utilities\n ii dkms 2.2.0.3-2 all Dynamic Kernel Module Support Framework\n ii dmeventd 2:1.02.90-2.2+deb8u1 amd64 Linux Kernel Device Mapper event daemon\n ii dmidecode 2.12-3 amd64 SMBIOS/DMI table decoder\n ii dmsetup 2:1.02.90-2.2+deb8u1 amd64 Linux Kernel Device Mapper userspace library\n ii docutils-common 0.12+dfsg-1 all text processing system for reStructuredText - common data\n ii dpkg 1.17.27 amd64 Debian package management system\n ii e2fslibs 1.42.12-2+b1 amd64 ext2/ext3/ext4 file system libraries\n ii e2fsprogs 1.42.12-2+b1 amd64 ext2/ext3/ext4 file system utilities\n ii file 1:5.22+15-2+deb8u3 amd64 Determines file type using \"magic\" numbers\n ii findutils 4.4.2-9+b1 amd64 utilities for finding files--find, xargs\n ii gcc 4:4.9.2-2 amd64 GNU C compiler\n ii gcc-4.8 4.8.4-1 amd64 GNU C compiler\n ii gcc-4.8-base 4.8.4-1 amd64 GCC, the GNU Compiler Collection (base package)\n ii gcc-4.9 4.9.2-10 amd64 GNU C compiler\n ii gcc-4.9-base 4.9.2-10 amd64 GCC, the GNU Compiler Collection (base package)\n ii gdisk 0.8.10-2 amd64 GPT fdisk text-mode partitioning tool\n ii genisoimage 9:1.1.11-3 amd64 Creates ISO-9660 CD-ROM filesystem images\n ii gettext-base 0.19.3-2 amd64 GNU Internationalization utilities for the base system\n ii gnupg 1.4.18-7+deb8u3 amd64 GNU privacy guard - a free PGP replacement\n ii gpgv 1.4.18-7+deb8u3 amd64 GNU privacy guard - signature verification tool\n ii grep 2.20-4.1 amd64 GNU grep, egrep and fgrep\n ii groff-base 1.22.2-8 amd64 GNU troff text-formatting system (base system components)\n ii grub-common 2.02~beta2-22+deb8u1 amd64 GRand Unified Bootloader (common files)\n ii grub-pc 2.02~beta2-22+deb8u1 amd64 GRand Unified Bootloader, version 2 (PC/BIOS version)\n ii grub-pc-bin 2.02~beta2-22+deb8u1 amd64 GRand Unified Bootloader, version 2 (PC/BIOS binaries)\n ii grub2-common 2.02~beta2-22+deb8u1 amd64 GRand Unified Bootloader (common files for version 2)\n ii gzip 1.6-4 amd64 GNU compression utilities\n ii hostname 3.15 amd64 utility to set/show the host name or domain name\n ii ifupdown 0.7.53.1 amd64 high level tools to configure network interfaces\n ii init 1.22 amd64 System-V-like init utilities - metapackage\n ii init-system-helpers 1.22 all helper tools for all init systems\n ii initramfs-tools 0.120+deb8u2 all generic modular initramfs generator\n ii initscripts 2.88dsf-59 amd64 scripts for initializing and shutting down the system\n ii insserv 1.14.0-5 amd64 boot sequence organizer using LSB init.d script dependency information\n ii iproute2 3.16.0-2 amd64 networking and traffic control tools\n ii iptables 1.4.21-2+b1 amd64 administration tools for packet filtering and NAT\n ii iputils-ping 3:20121221-5+b2 amd64 Tools to test the reachability of network hosts\n ii isc-dhcp-client 4.3.1-6+deb8u2 amd64 DHCP client for automatically obtaining an IP address\n ii isc-dhcp-common 4.3.1-6+deb8u2 amd64 common files used by all of the isc-dhcp packages\n ii klibc-utils 2.0.4-2 amd64 small utilities built with klibc for early boot\n ii kmod 18-3 amd64 tools for managing Linux kernel modules\n ii less 458-3 amd64 pager program similar to more\n ii libacl1 2.2.52-2 amd64 Access control list shared library\n ii libaio1 0.3.110-1 amd64 Linux kernel AIO access library - shared library\n ii libapt-inst1.5 1.0.9.8.4 amd64 deb package format runtime library\n ii libapt-pkg4.12 1.0.9.8.4 amd64 package management runtime library\n ii libasan0 4.8.4-1 amd64 AddressSanitizer -- a fast memory error detector\n ii libasan1 4.9.2-10 amd64 AddressSanitizer -- a fast memory error detector\n ii libasprintf0c2 0.19.3-2 amd64 GNU library to use fprintf and friends in C++\n ii libatomic1 4.9.2-10 amd64 support library providing __atomic built-in functions\n ii libattr1 1:2.4.47-2 amd64 Extended attribute shared library\n ii libaudit-common 1:2.4-1 all Dynamic library for security auditing - common files\n ii libaudit1 1:2.4-1+b1 amd64 Dynamic library for security auditing\n ii libblkid1 2.25.2-6 amd64 block device id library\n ii libboost-iostreams1.55.0 1.55.0+dfsg-3 amd64 Boost.Iostreams Library\n ii libboost-system1.55.0 1.55.0+dfsg-3 amd64 Operating system (e.g. diagnostics support) library\n ii libboost-thread1.55.0 1.55.0+dfsg-3 amd64 portable C++ multi-threading\n ii libbsd0 0.7.0-2 amd64 utility functions from BSD systems - shared library\n ii libbz2-1.0 1.0.6-7+b3 amd64 high-quality block-sorting file compressor library - runtime\n ii libc-bin 2.19-18+deb8u7 amd64 GNU C Library: Binaries\n ii libc6 2.19-18+deb8u7 amd64 GNU C Library: Shared libraries\n ii libcap2 1:2.24-8 amd64 POSIX 1003.1e capabilities (library)\n ii libcap2-bin 1:2.24-8 amd64 POSIX 1003.1e capabilities (utilities)\n ii libcilkrts5 4.9.2-10 amd64 Intel Cilk Plus language extensions (runtime)\n ii libcloog-isl4 0.18.2-1+b2 amd64 Chunky Loop Generator (runtime library)\n ii libcomerr2 1.42.12-2+b1 amd64 common error description library\n ii libcryptsetup4 2:1.6.6-5 amd64 disk encryption support - shared library\n ii libcurl3-gnutls 7.38.0-4+deb8u5 amd64 easy-to-use client-side URL transfer library (GnuTLS flavour)\n ii libdb5.3 5.3.28-9 amd64 Berkeley v5.3 Database Libraries [runtime]\n ii libdebconfclient0 0.192 amd64 Debian Configuration Management System (C-implementation library)\n ii libdevmapper-event1.02.1 2:1.02.90-2.2+deb8u1 amd64 Linux Kernel Device Mapper event support library\n ii libdevmapper1.02.1 2:1.02.90-2.2+deb8u1 amd64 Linux Kernel Device Mapper userspace library\n ii libdns-export100 1:9.9.5.dfsg-9+deb8u9 amd64 Exported DNS Shared Library\n ii libedit2 3.1-20140620-2 amd64 BSD editline and history libraries\n ii libestr0 0.1.9-1.1 amd64 Helper functions for handling strings (lib)\n ii libexpat1 2.1.0-6+deb8u3 amd64 XML parsing C library - runtime library\n ii libffi6 3.1-2+b2 amd64 Foreign Function Interface library runtime\n ii libfreetype6 2.5.2-3+deb8u1 amd64 FreeType 2 font engine, shared library files\n ii libfuse2 2.9.3-15+deb8u2 amd64 Filesystem in Userspace (library)\n ii libgcc-4.8-dev 4.8.4-1 amd64 GCC support library (development files)\n ii libgcc-4.9-dev 4.9.2-10 amd64 GCC support library (development files)\n ii libgcc1 1:4.9.2-10 amd64 GCC support library\n ii libgcrypt20 1.6.3-2+deb8u2 amd64 LGPL Crypto library - runtime library\n ii libgdbm3 1.8.3-13.1 amd64 GNU dbm database routines (runtime version)\n ii libglib2.0-0 2.42.1-1+b1 amd64 GLib library of C routines\n ii libgmp10 2:6.0.0+dfsg-6 amd64 Multiprecision arithmetic library\n ii libgnutls-deb0-28 3.3.8-6+deb8u4 amd64 GNU TLS library - main runtime library\n ii libgnutls-openssl27 3.3.8-6+deb8u4 amd64 GNU TLS library - OpenSSL wrapper\n ii libgomp1 4.9.2-10 amd64 GCC OpenMP (GOMP) support library\n ii libgpg-error0 1.17-3 amd64 library for common error values and messages in GnuPG components\n ii libgssapi-krb5-2 1.12.1+dfsg-19+deb8u2 amd64 MIT Kerberos runtime libraries - krb5 GSS-API Mechanism\n ii libhogweed2 2.7.1-5+deb8u2 amd64 low level cryptographic library (public-key cryptos)\n ii libicu52 52.1-8+deb8u4 amd64 International Components for Unicode\n ii libidn11 1.29-1+deb8u2 amd64 GNU Libidn library, implementation of IETF IDN specifications\n ii libirs-export91 1:9.9.5.dfsg-9+deb8u9 amd64 Exported IRS Shared Library\n ii libisc-export95 1:9.9.5.dfsg-9+deb8u9 amd64 Exported ISC Shared Library\n ii libisccfg-export90 1:9.9.5.dfsg-9+deb8u9 amd64 Exported ISC CFG Shared Library\n ii libiscsi2 1.12.0-2 amd64 iSCSI client shared library\n ii libisl10 0.12.2-2 amd64 manipulating sets and relations of integer points bounded by linear constraints\n ii libitm1 4.9.2-10 amd64 GNU Transactional Memory Library\n ii libjson-c2 0.11-4 amd64 JSON manipulation library - shared library\n ii libk5crypto3 1.12.1+dfsg-19+deb8u2 amd64 MIT Kerberos runtime libraries - Crypto Library\n ii libkeyutils1 1.5.9-5+b1 amd64 Linux Key Management Utilities (library)\n ii libklibc 2.0.4-2 amd64 minimal libc subset for use with initramfs\n ii libkmod2 18-3 amd64 libkmod shared library\n ii libkrb5-3 1.12.1+dfsg-19+deb8u2 amd64 MIT Kerberos runtime libraries\n ii libkrb5support0 1.12.1+dfsg-19+deb8u2 amd64 MIT Kerberos runtime libraries - Support library\n ii libldap-2.4-2 2.4.40+dfsg-1+deb8u2 amd64 OpenLDAP libraries\n ii liblocale-gettext-perl 1.05-8+b1 amd64 module using libc functions for internationalization in Perl\n ii liblogging-stdlog0 1.0.4-1 amd64 easy to use and lightweight logging library\n ii liblognorm1 1.0.1-3 amd64 Log normalizing library\n ii liblsan0 4.9.2-10 amd64 LeakSanitizer -- a memory leak detector (runtime)\n ii liblvm2cmd2.02 2.02.111-2.2+deb8u1 amd64 LVM2 command library\n ii liblzma5 5.1.1alpha+20120614-2+b3 amd64 XZ-format compression library\n ii libmagic1 1:5.22+15-2+deb8u3 amd64 File type determination library using \"magic\" numbers\n ii libmnl0 1.0.3-5 amd64 minimalistic Netlink communication library\n ii libmount1 2.25.2-6 amd64 device mounting library\n ii libmpc3 1.0.2-1 amd64 multiple precision complex floating-point library\n ii libmpdec2 2.4.1-1 amd64 library for decimal floating point arithmetic (runtime library)\n ii libmpfr4 3.1.2-2 amd64 multiple precision floating-point computation\n ii libncurses5 5.9+20140913-1+b1 amd64 shared libraries for terminal handling\n ii libncursesw5 5.9+20140913-1+b1 amd64 shared libraries for terminal handling (wide character support)\n ii libnetfilter-acct1 1.0.2-1.1 amd64 Netfilter acct library\n ii libnettle4 2.7.1-5+deb8u2 amd64 low level cryptographic library (symmetric and one-way cryptos)\n ii libnewt0.52 0.52.17-1+b1 amd64 Not Erik's Windowing Toolkit - text mode windowing with slang\n ii libnfnetlink0 1.0.1-3 amd64 Netfilter netlink library\n ii libnspr4 2:4.12-1+debu8u1 amd64 NetScape Portable Runtime Library\n ii libnss3 2:3.26-1+debu8u1 amd64 Network Security Service libraries\n ii libp11-kit0 0.20.7-1 amd64 Library for loading and coordinating access to PKCS#11 modules - runtime\n ii libpam-modules 1.1.8-3.1+deb8u2 amd64 Pluggable Authentication Modules for PAM\n ii libpam-modules-bin 1.1.8-3.1+deb8u2 amd64 Pluggable Authentication Modules for PAM - helper binaries\n ii libpam-runtime 1.1.8-3.1+deb8u2 all Runtime support for the PAM library\n ii libpam0g 1.1.8-3.1+deb8u2 amd64 Pluggable Authentication Modules library\n ii libparted2 3.2-7 amd64 disk partition manipulator - shared library\n ii libpcre3 2:8.35-3.3+deb8u4 amd64 Perl 5 Compatible Regular Expression Library - runtime files\n ii libpipeline1 1.4.0-1 amd64 pipeline manipulation library\n ii libpng12-0 1.2.50-2+deb8u3 amd64 PNG library - runtime\n ii libpopt0 1.16-10 amd64 lib for parsing cmdline parameters\n ii libprocps3 2:3.3.9-9 amd64 library for accessing process information from /proc\n ii libpsl0 0.5.1-1 amd64 Library for Public Suffix List (shared libraries)\n ii libpython-stdlib 2.7.9-1 amd64 interactive high-level object-oriented language (default python version)\n ii libpython2.7-minimal 2.7.9-2+deb8u1 amd64 Minimal subset of the Python language (version 2.7)\n ii libpython2.7-stdlib 2.7.9-2+deb8u1 amd64 Interactive high-level object-oriented language (standard library, version 2.7)\n ii libpython3-stdlib 3.4.2-2 amd64 interactive high-level object-oriented language (default python3 version)\n ii libpython3.4-minimal 3.4.2-1 amd64 Minimal subset of the Python language (version 3.4)\n ii libpython3.4-stdlib 3.4.2-1 amd64 Interactive high-level object-oriented language (standard library, version 3.4)\n ii libquadmath0 4.9.2-10 amd64 GCC Quad-Precision Math Library\n ii librados2 0.80.7-2+deb8u2 amd64 RADOS distributed object store client library\n ii librbd1 0.80.7-2+deb8u2 amd64 RADOS block device client library\n ii libreadline5 5.2+dfsg-2 amd64 GNU readline and history libraries, run-time libraries\n ii libreadline6 6.3-8+b3 amd64 GNU readline and history libraries, run-time libraries\n ii librtmp1 2.4+20150115.gita107cef-1 amd64 toolkit for RTMP streams (shared library)\n ii libsasl2-2 2.1.26.dfsg1-13+deb8u1 amd64 Cyrus SASL - authentication abstraction library\n ii libsasl2-modules-db 2.1.26.dfsg1-13+deb8u1 amd64 Cyrus SASL - pluggable authentication modules (DB)\n ii libselinux1 2.3-2 amd64 SELinux runtime shared libraries\n ii libsemanage-common 2.3-1 all Common files for SELinux policy management libraries\n ii libsemanage1 2.3-1+b1 amd64 SELinux policy management library\n ii libsepol1 2.3-2 amd64 SELinux library for manipulating binary security policies\n ii libsigc++-2.0-0c2a 2.4.0-1 amd64 type-safe Signal Framework for C++ - runtime\n ii libslang2 2.3.0-2 amd64 S-Lang programming library - runtime version\n ii libsmartcols1 2.25.2-6 amd64 smart column output alignment library\n ii libsqlite3-0 3.8.7.1-1+deb8u2 amd64 SQLite 3 shared library\n ii libss2 1.42.12-2+b1 amd64 command-line interface parsing library\n ii libssh2-1 1.4.3-4.1+deb8u1 amd64 SSH2 client-side library\n ii libssl1.0.0 1.0.1t-1+deb8u5 amd64 Secure Sockets Layer toolkit - shared libraries\n ii libstdc++6 4.9.2-10 amd64 GNU Standard C++ Library v3\n ii libsystemd0 215-17+deb8u6 amd64 systemd utility library\n ii libtasn1-6 4.2-3+deb8u2 amd64 Manage ASN.1 structures (runtime)\n ii libtext-charwidth-perl 0.04-7+b3 amd64 get display widths of characters on the terminal\n ii libtext-iconv-perl 1.7-5+b2 amd64 converts between character sets in Perl\n ii libtext-wrapi18n-perl 0.06-7 all internationalized substitute of Text::Wrap\n ii libtinfo5 5.9+20140913-1+b1 amd64 shared low-level terminfo library for terminal handling\n ii libtsan0 4.9.2-10 amd64 ThreadSanitizer -- a Valgrind-based detector of data races (runtime)\n ii libubsan0 4.9.2-10 amd64 UBSan -- undefined behaviour sanitizer (runtime)\n ii libudev1 215-17+deb8u6 amd64 libudev shared library\n ii libusb-0.1-4 2:0.1.12-25 amd64 userspace USB programming library\n ii libustr-1.0-1 1.0.4-3+b2 amd64 Micro string library: shared library\n ii libuuid-perl 0.05-1+b1 amd64 Perl extension for using UUID interfaces as defined in e2fsprogs\n ii libuuid1 2.25.2-6 amd64 Universally Unique ID library\n ii libwrap0 7.6.q-25 amd64 Wietse Venema's TCP wrappers library\n ii libxtables10 1.4.21-2+b1 amd64 netfilter xtables library\n ii libyaml-0-2 0.1.6-3 amd64 Fast YAML 1.1 parser and emitter library\n ii linux-base 3.5 all Linux image base package\n ii linux-compiler-gcc-4.8-x86 3.16.39-1 amd64 Compiler for Linux on x86 (meta-package)\n ii linux-headers-3.16.0-4-amd64 3.16.39-1 amd64 Header files for Linux 3.16.0-4-amd64\n ii linux-headers-3.16.0-4-common 3.16.39-1 amd64 Common header files for Linux 3.16.0-4\n ii linux-headers-amd64 3.16+63 amd64 Header files for Linux amd64 configuration (meta-package)\n ii linux-image-3.16.0-4-amd64 3.16.39-1 amd64 Linux 3.16 for 64-bit PCs\n ii linux-image-amd64 3.16+63 amd64 Linux for 64-bit PCs (meta-package)\n ii linux-kbuild-3.16 3.16.7-ckt20-1 amd64 Kbuild infrastructure for Linux 3.16\n ii locales 2.19-18+deb8u7 all GNU C Library: National Language (locale) data [support]\n ii login 1:4.2-3+deb8u1 amd64 system login tools\n ii logrotate 3.8.7-1+b1 amd64 Log rotation utility\n ii lsb-base 4.1+Debian13+nmu1 all Linux Standard Base 4.1 init script functionality\n ii lsb-release 4.1+Debian13+nmu1 all Linux Standard Base version reporting utility\n ii lvm2 2.02.111-2.2+deb8u1 amd64 Linux Logical Volume Manager\n ii make 4.0-8.1 amd64 utility for directing compilation\n ii man-db 2.7.0.2-5 amd64 on-line manual pager\n ii manpages 3.74-1 all Manual pages about using a GNU/Linux system\n ii mawk 1.3.3-17 amd64 a pattern scanning and text processing language\n ii mime-support 3.58 all MIME files `mime.types` & `mailcap`, and support programs\n ii mount 2.25.2-6 amd64 Tools for mounting and manipulating filesystems\n ii multiarch-support 2.19-18+deb8u7 amd64 Transitional package to ensure multiarch compatibility\n ii nano 2.2.6-3 amd64 small, friendly text editor inspired by Pico\n ii ncurses-base 5.9+20140913-1 all basic terminal type definitions\n ii ncurses-bin 5.9+20140913-1+b1 amd64 terminal-related programs and man pages\n ii ncurses-term 5.9+20140913-1 all additional terminal type definitions\n ii net-tools 1.60-26+b1 amd64 NET-3 networking toolkit\n ii netbase 5.3 all Basic TCP/IP networking system\n ii netcat-traditional 1.10-41 amd64 TCP/IP swiss army knife\n ii nfacct 1.0.1-1.1 amd64 netfilter accounting object tool\n ii openssh-client 1:6.7p1-5+deb8u3 amd64 secure shell (SSH) client, for secure access to remote machines\n ii openssh-server 1:6.7p1-5+deb8u3 amd64 secure shell (SSH) server, for secure access from remote machines\n ii openssh-sftp-server 1:6.7p1-5+deb8u3 amd64 secure shell (SSH) sftp server module, for SFTP access from remote machines\n ii openssl 1.0.1t-1+deb8u5 amd64 Secure Sockets Layer toolkit - cryptographic utility\n ii parted 3.2-7 amd64 disk partition manipulator\n ii passwd 1:4.2-3+deb8u1 amd64 change and administer password and group data\n ii patch 2.7.5-1 amd64 Apply a diff file to an original\n ii perl 5.20.2-3+deb8u6 amd64 Larry Wall's Practical Extraction and Report Language\n ii perl-base 5.20.2-3+deb8u6 amd64 minimal Perl system\n ii perl-modules 5.20.2-3+deb8u6 all Core Perl modules\n ii procps 2:3.3.9-9 amd64 /proc file system utilities\n ii python 2.7.9-1 amd64 interactive high-level object-oriented language (default version)\n ii python-boto 2.34.0-2 all Python interface to Amazon's Web Services - Python 2.x\n ii python-chardet 2.3.0-1 all universal character encoding detector for Python2\n ii python-minimal 2.7.9-1 amd64 minimal subset of the Python language (default version)\n ii python-pkg-resources 5.5.1-1 all Package Discovery and Resource Access using pkg_resources\n ii python-requests 2.4.3-6 all elegant and simple HTTP library for Python2, built for human beings\n ii python-six 1.8.0-1 all Python 2 and 3 compatibility library (Python 2 interface)\n ii python-urllib3 1.9.1-3 all HTTP library with thread-safe connection pooling for Python\n ii python2.7 2.7.9-2+deb8u1 amd64 Interactive high-level object-oriented language (version 2.7)\n ii python2.7-minimal 2.7.9-2+deb8u1 amd64 Minimal subset of the Python language (version 2.7)\n ii python3 3.4.2-2 amd64 interactive high-level object-oriented language (default python3 version)\n ii python3-bcdoc 0.12.2-1 all ReST document generation tools for botocore (Python 3)\n ii python3-boto 2.34.0-2 all Python interface to Amazon's Web Services - Python 3.x\n ii python3-botocore 0.62.0-1 all Low-level, data-driven core of boto 3 (Python 3)\n ii python3-chardet 2.3.0-1 all universal character encoding detector for Python3\n ii python3-colorama 0.3.2-1 all Cross-platform colored terminal text in Python - Python 3.x\n ii python3-configobj 5.0.6-1 all simple but powerful config file reader and writer for Python 3\n ii python3-crypto 2.6.1-5+deb8u1 amd64 cryptographic algorithms and protocols for Python 3\n ii python3-dateutil 2.2-2 all powerful extensions to the standard datetime module\n ii python3-docutils 0.12+dfsg-1 all text processing system for reStructuredText (implemented in Python 3)\n ii python3-jinja2 2.7.3-1 all small but fast and easy to use stand-alone template engine\n ii python3-jmespath 0.4.1-1 all JSON Matching Expressions (Python 3)\n ii python3-json-pointer 1.0-2 all resolve JSON pointers - python 3.x\n ii python3-jsonpatch 1.3-5 all library to apply JSON patches - python 3.x\n ii python3-jwt 0.2.1-1+deb8u1 all Python 3 implementation of JSON Web Token\n ii python3-markupsafe 0.23-1+b1 amd64 HTML/XHTML/XML string library for Python 3\n ii python3-minimal 3.4.2-2 amd64 minimal subset of the Python language (default python3 version)\n ii python3-oauthlib 0.6.3-1 all generic, spec-compliant implementation of OAuth for Python3\n ii python3-pkg-resources 5.5.1-1 all Package Discovery and Resource Access using pkg_resources\n ii python3-prettytable 0.7.2-3 all library to represent tabular data in visually appealing ASCII tables (Python3)\n ii python3-requests 2.4.3-6 all elegant and simple HTTP library for Python3, built for human beings\n ii python3-roman 2.0.0-1 all module for generating/analyzing Roman numerals for Python 3\n ii python3-rsa 3.1.4-1+deb8u1 all Pure-Python RSA implementation (Python 3)\n ii python3-serial 2.6-1.1 all pyserial - module encapsulating access for the serial port\n ii python3-six 1.8.0-1 all Python 2 and 3 compatibility library (Python 3 interface)\n ii python3-urllib3 1.9.1-3 all HTTP library with thread-safe connection pooling for Python3\n ii python3-yaml 3.11-2 amd64 YAML parser and emitter for Python3\n ii python3.4 3.4.2-1 amd64 Interactive high-level object-oriented language (version 3.4)\n ii python3.4-minimal 3.4.2-1 amd64 Minimal subset of the Python language (version 3.4)\n ii qemu-utils 1:2.1+dfsg-12+deb8u6 amd64 QEMU utilities\n ii readline-common 6.3-8 all GNU readline and history libraries, common files\n ii rsyslog 8.4.2-1+deb8u2 amd64 reliable system and kernel logging daemon\n ii sed 4.2.2-4+deb8u1 amd64 The GNU sed stream editor\n ii sensible-utils 0.0.9 all Utilities for sensible alternative selection\n ii sgml-base 1.26+nmu4 all SGML infrastructure and SGML catalog file support\n ii startpar 0.59-3 amd64 run processes in parallel and multiplex their output\n ii sudo 1.8.10p3-1+deb8u3 amd64 Provide limited super user privileges to specific users\n ii systemd 215-17+deb8u6 amd64 system and service manager\n ii systemd-sysv 215-17+deb8u6 amd64 system and service manager - SysV links\n ii sysv-rc 2.88dsf-59 all System-V-like runlevel change mechanism\n ii sysvinit-utils 2.88dsf-59 amd64 System-V-like utilities\n ii tar 1.27.1-2+deb8u1 amd64 GNU version of the tar archiving utility\n ii tasksel 3.31+deb8u1 all tool for selecting tasks for installation on Debian systems\n ii tasksel-data 3.31+deb8u1 all official tasks used for installation of Debian systems\n ii traceroute 1:2.0.20-2+b1 amd64 Traces the route taken by packets over an IPv4/IPv6 network\n ii tzdata 2016j-0+deb8u1 all time zone and daylight-saving time data\n ii ucf 3.0030 all Update Configuration File(s): preserve user changes to config files\n ii udev 215-17+deb8u6 amd64 /dev/ and hotplug management daemon\n ii util-linux 2.25.2-6 amd64 Miscellaneous system utilities\n ii vim-common 2:7.4.488-7+deb8u1 amd64 Vi IMproved - Common files\n ii vim-tiny 2:7.4.488-7+deb8u1 amd64 Vi IMproved - enhanced vi editor - compact version\n ii wget 1.16-1+deb8u1 amd64 retrieves files from the web\n ii whiptail 0.52.17-1+b1 amd64 Displays user-friendly dialog boxes from shell scripts\n ii xml-core 0.13+nmu2 all XML infrastructure and XML catalog file support\n ii zlib1g 1:1.2.8.dfsg-2+b1 amd64 compression library - runtime\n","hosts":null,"custom_description":null}],"info":{"plugindescription":{"severity":0,"pluginname":"Software Enumeration (SSH)","pluginattributes":{"risk_information":{"risk_factor":"None"},"plugin_information":{"plugin_version":"$Revision: 1.24 $","plugin_id":22869,"plugin_type":"remote","plugin_publication_date":"2006-10-15T00:00:00Z","plugin_family":"General","plugin_modification_date":"2017-07-28T00:00:00Z"},"solution":"Remove any software that is not in compliance with your organization's acceptable use and security policies.","has_patch":false,"description":"Nessus was able to list the software installed on the remote host by calling the appropriate command (e.g., `rpm -qa` on RPM-based Linux distributions, qpkg, dpkg, etc.).","synopsis":"It was possible to enumerate installed software on the remote host via SSH."},"pluginfamily":"General","pluginid":"22869"}}}}}}}},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires CAN VIEW [16] scan permissions. See Permissions.
","operationId":"was-scans-attachments","tags":["Scans"],"parameters":[{"description":"The ID of the scan containing the attachment.","required":true,"name":"scan_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The ID of the scan attachment.","required":true,"name":"attachment_id","in":"path","schema":{"type":"integer","format":"int32"}},{"description":"The attachment access token.","required":true,"name":"key","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns the attachment file.","content":{"application/octet-stream":{"schema":{},"examples":{"response":{"value":{}}}}}},"404":{"description":"Returned if the attachment file does not exist."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\nRequires STANDARD [32] user permissions. See Permissions.
","operationId":"was-scans-timezones","tags":["Scans"],"responses":{"200":{"description":"Returns the timezone list.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The readable name of the timezone."},"value":{"type":"string","description":"The system value for the timezone."}}}},"examples":{"response":{"value":{"timezones":[{"name":"Africa/Abidjan","value":"Africa/Abidjan"},{"name":"Europe/Tiraspol","value":"Europe/Tiraspol"},{"name":"UCT","value":"UCT"},{"name":"US/Alaska","value":"US/Alaska"},{"name":"US/Aleutian","value":"US/Aleutian"},{"name":"US/Arizona","value":"US/Arizona"},{"name":"US/Central","value":"US/Central"},{"name":"US/East-Indiana","value":"US/East-Indiana"},{"name":"US/Eastern","value":"US/Eastern"},{"name":"US/Hawaii","value":"US/Hawaii"},{"name":"US/Indiana-Starke","value":"US/Indiana-Starke"},{"name":"US/Michigan","value":"US/Michigan"},{"name":"US/Mountain","value":"US/Mountain"},{"name":"US/Pacific","value":"US/Pacific"},{"name":"US/Pacific-New","value":"US/Pacific-New"},{"name":"US/Samoa","value":"US/Samoa"},{"name":"UTC","value":"UTC"},{"name":"Universal","value":"Universal"},{"name":"W-SU","value":"W-SU"},{"name":"WET","value":"WET"},{"current":true,"name":"Zulu","value":"Zulu"}]}}}}}},"403":{"description":"Returned if the user does not have permission to view timezones."},"429":{"description":"Returned if you attempt to send too many requests in a specific period of time. For more information, see [Rate Limiting](/docs/rate-limiting).","content":{"text/html":{"examples":{"response":{"value":"\n\n\n