openapi: 3.1.0 info: title: InsightAppSec Accounts Site API description: '
Welcome to the reference documentation for the public APIs available for InsightAppSec.
Here are a few resources to help you learn how to start using our APIs:
After you''ve got the basics down, you can use this API guide to find examples of requests and responses.
This API uses the platform role of a user''s API key to inherit a set of permissions.
Notes:
| Role | Permissions | |
|---|---|---|
| Product Admin | Manage AppsRead Attack TemplatesManage TargetsManage Scan ConfigsManage ScansManage VulnerabilitiesAdminister Vulnerability CommentsManage EnginesManage Engine GroupsManage SchedulesManage BlackoutsManage Global BlackoutsManage FilesManage TagsManage PDF Report | |
| Read Write | Manage AppsRead Attack TemplatesRead TargetsManage Scan ConfigsManage ScansManage VulnerabilitiesManage Vulnerability CommentsRead EnginesRead Engine GroupsManage SchedulesManage BlackoutsManage FilesManage TagsManage PDF Report | |
| Read Only | Read AppsRead Attack TemplatesRead TargetsRead Scan ConfigsRead ScansRead VulnerabilitiesRead Vulnerability CommentsRead EnginesRead Engine GroupsRead SchedulesRead BlackoutsRead FilesRead TagsRead PDF Report |
| Parameter | Description | Example |
|---|---|---|
index | The 0-based index of the page of data desired (default: 0) | ?index=2 |
size | The size of the page of data desired (min: 1, max: 1000, default: 50) | ?size=10 |
sort | The sort terms and (optional) directions for the desired ordering of data (default: specific to each resource) | ?sort=scan.submit_time,DESC,scan.status |
page-token | The page token, used as an alternative to | ?page-token=NDM0NTk0NTIyOjo6X1M6OjpiYW5hbmFz |
When intending to page beyond the 10,000th result, or as an alternative to using the index query parameter, the page-token option may be used instead. After retrieving the first page, the page_token will be present in the metadata section of the response.
For example, with size=99, index=0 to index=99 may be used. To load the next page, use the page_token value used in the response e.g. ?page-token=NDM0NTk0NTIyO
As is generally the accepted practice with REST-ful APIs, creating a resource can be performed by sending an appropriately formatted POST request. Any ID provided for a new resource in a POST request body will simply be ignored (and a new one generated internally and returned as part of the resource in subsequent GET requests), and POST requests to URLs following a format similar to .../resource/ are unsupported and should respond with 415 Method Not Allowed. All requests which successfully create a resource and respond with 201 Created will contain a Location header the value of which is an absolute URI for the resource (the ID of which can be determined as the last section of the path in the given URI). For example:Location: https://us.api.insight.rapid7.com/ias/v1/scans/12345678-1234-5678-90AB-1234567890AB
The value of date and date-time type properties are fixed to the common ISO-8601 format. Unless otherwise specified, all date or date-time data in response bodies are expressed in UTC, and it is also expected that data provided in request bodies are also expressed in UTC.
The first_start and first_end properties of both Blackouts and Schedules, and the last_start property of Blackouts may be specified with a timezone. If the timezone is not specified, it is assumed to be UTC. For example:2019-08-12T14:00:00.000000Z[Asia/Tokyo]
It is also possible to specify the timezone as an offset of either GMT or UTC. For example:2019-09-04T15:00:00.000000Z[GMT+03:00]
| Value | Format | Notes |
|---|---|---|
| Date | YYYY-MM-DD | Defaults to 12 am UTC (if used for a date & time) |
| Date & time only | YYYY-MM-DD''T''hh:mm:ss[.nnn] | Defaults to UTC |
| Date & time in UTC | YYYY-MM-DD''T''hh:mm:ss[.nnn]Z | |
| Date & time with specific timezone | YYYY-MM-DD''T''hh:mm:ss[.nnn]Z[TimeZoneId] |
One characteristic of a powerful API is support for complex search and filtering of resources using a flexible query language. It is entirely possible to provide basic search and filtering functionality on standard GET resource collection operations using HTTP query parameters, but this becomes restrictive when attempting to encode boolean logic. Other solutions are also possible but come with equally restrictive compromises. The most effective way to facilitate this complex search and filtering is to provide it as a top-level API with a robust Domain-Specific Language (DSL).
For simple data retrieval that supports paging and sorting functionality, use the traditional resource-specific GET collection operations; for more complex data retrieval that supports a user-crafted query DSL, use the global Search operation.
Any response from the API with an HTTP Status Code in the 4xx or 5xx range indicates an error. If in the 4xx range it indicates a client-side error, where in the 5xx range it indicates a server-side error. All responses indicating an error should be JSON formatted, and contain both a "status" and a "message" property indicating the cause of the error, a "r7-correlation-id" header should also always be returned in the format of a UUID, which uniquely identifies the HTTP exchange that took place and caused the error (this header is present on every request). On some occasions, an "error_code" property will be included in the response body, which can provide the support team further context into the cause of the error in cases where the message is not explicitly clear.
When contacting support about error responses received from the API, please attempt to include, at minimum:
Specifically, when a response with an HTTP Status Code of 422 is returned, this indicates a validation error, almost always received in a response from a non-idempotent request (normally PUT, POST or DELETE). In this case, there should be an additional "errors" property included in the JSON response body that should describe the cause of the validation exception; this will almost always require a modification to the request body to resolve.
' version: v1 servers: - url: https://[region].api.insight.rapid7.com/ias/v1 tags: - name: Site description: Resources and operations for managing sites. paths: /api/3/sites/{id}/assets: get: tags: - Site summary: Site Assets description: Retrieves a paged resource of assets linked with the specified site. operationId: getSiteAssets schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: page in: query description: The index of the page (zero-based) to retrieve. required: false type: integer default: 0 format: int32 - name: size in: query description: The number of records per page to retrieve. required: false type: integer default: 10 format: int32 - name: sort in: query description: 'The criteria to sort the records by, in the format: `property[,ASC|DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters.' required: false type: array items: type: string collectionFormat: multi responses: '200': description: OK schema: $ref: '#/definitions/PageOf«Asset»' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] delete: tags: - Site summary: Site Assets description: Removes all assets from the specified site. Assets will be deleted entirely from the Security Console if either Asset Linking is disabled or if Asset Linking is enabled and the asset only existed in this site. operationId: removeSiteAssets schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites: get: tags: - Site summary: Sites description: Retrieves a paged resource of accessible sites. operationId: getSites schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: page in: query description: The index of the page (zero-based) to retrieve. required: false type: integer default: 0 format: int32 - name: size in: query description: The number of records per page to retrieve. required: false type: integer default: 10 format: int32 - name: sort in: query description: 'The criteria to sort the records by, in the format: `property[,ASC|DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters.' required: false type: array items: type: string collectionFormat: multi responses: '200': description: OK schema: $ref: '#/definitions/PageOf«Site»' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] post: tags: - Site summary: Sites description: Creates a new site with the specified configuration. operationId: createSite schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: site description: Resource for creating a site configuration. required: false schema: $ref: '#/definitions/SiteCreateResource' responses: '201': description: Created schema: $ref: '#/definitions/ReferenceWith«SiteID,Link»' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}: get: tags: - Site summary: Site description: Retrieves the site with the specified identifier. operationId: getSite schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Site' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site description: Updates the configuration of the site with the specified identifier. operationId: updateSite schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: site description: Resource for updating a site configuration. required: false schema: $ref: '#/definitions/SiteUpdateResource' - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] delete: tags: - Site summary: Site description: Deletes the site with the specified identifier. operationId: deleteSite schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/alerts: get: tags: - Site summary: Site Alerts description: Retrieve all alerts defined in the site. operationId: getSiteAlerts schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Resources«Alert»' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] delete: tags: - Site summary: Site Alerts description: Deletes all alerts from the site. operationId: deleteAllSiteAlerts schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/alerts/smtp: get: tags: - Site summary: Site SMTP Alerts description: Retrieves all SMTP alerts defined in the site. operationId: getSiteSmtpAlerts schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Resources«SmtpAlert»' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] post: tags: - Site summary: Site SMTP Alerts description: Creates a new SMTP alert for the specified site. operationId: createSiteSmtpAlert schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: alert description: Resource for creating a new SMTP alert. required: false schema: $ref: '#/definitions/SmtpAlert' - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '201': description: Created schema: $ref: '#/definitions/ReferenceWith«AlertID,Link»' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site SMTP Alerts description: Updates all SMTP alerts for the specified site in a single request using the array of resources defined in the request body. operationId: setSiteSmtpAlerts schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: alert description: Array of resources for updating all SMTP alerts defined in the site. Alerts defined in the site that are omitted from this request will be deleted from the site. required: false schema: type: array items: $ref: '#/definitions/SmtpAlert' - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] delete: tags: - Site summary: Site SMTP Alerts description: Deletes all SMTP alerts from the site. operationId: deleteAllSiteSmtpAlerts schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/alerts/smtp/{alertId}: get: tags: - Site summary: Site SMTP Alert description: Retrieves the specified SMTP alert. operationId: getSiteSmtpAlert schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: alertId in: path description: The identifier of the alert. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/SmtpAlert' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site SMTP Alert description: Updates the specified SMTP alert. operationId: updateSiteSmtpAlert schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: alert description: Resource for updating the specified SMTP alert. required: false schema: $ref: '#/definitions/SmtpAlert' - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: alertId in: path description: The identifier of the alert. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] delete: tags: - Site summary: Site SMTP Alert description: Deletes the specified SMTP alert from the site. operationId: deleteSiteSmtpAlert schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: alertId in: path description: The identifier of the alert. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/alerts/snmp: get: tags: - Site summary: Site SNMP Alerts description: Retrieves all SNMP alerts defined in the site. operationId: getSiteSnmpAlerts schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Resources«SnmpAlert»' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] post: tags: - Site summary: Site SNMP Alerts description: Creates a new SNMP alert for the specified site. operationId: createSiteSnmpAlert schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: alert description: Resource for creating a new SNMP alert. required: false schema: $ref: '#/definitions/SnmpAlert' - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '201': description: Created schema: $ref: '#/definitions/ReferenceWith«AlertID,Link»' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site SNMP Alerts description: Updates all SNMP alerts for the specified site in a single request using the array of resources defined in the request body. operationId: setSiteSnmpAlerts schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: alert description: Array of resources for updating all SNMP alerts defined in the site. Alerts defined in the site that are omitted from this request will be deleted from the site. required: false schema: type: array items: $ref: '#/definitions/SnmpAlert' - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] delete: tags: - Site summary: Site SNMP Alerts description: Deletes all SNMP alerts from the site. operationId: deleteAllSiteSnmpAlerts schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/alerts/snmp/{alertId}: get: tags: - Site summary: Site SNMP Alert description: Retrieves the specified SNMP alert. operationId: getSiteSnmpAlert schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: alertId in: path description: The identifier of the alert. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/SnmpAlert' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site SNMP Alert description: Updates the specified SNMP alert. operationId: updateSiteSnmpAlert schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: alert description: Resource for updating the specified SNMP alert. required: false schema: $ref: '#/definitions/SnmpAlert' - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: alertId in: path description: The identifier of the alert. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] delete: tags: - Site summary: Site SNMP Alert description: Deletes the specified SNMP alert from the site. operationId: deleteSiteSnmpAlert schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: alertId in: path description: The identifier of the alert. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/alerts/syslog: get: tags: - Site summary: Site Syslog Alerts description: Retrieves all Syslog alerts defined in the site. operationId: getSiteSyslogAlerts schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Resources«SyslogAlert»' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] post: tags: - Site summary: Site Syslog Alerts description: Creates a new Syslog alert for the specified site. operationId: createSiteSyslogAlert schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: alert description: Resource for creating a new Syslog alert. required: false schema: $ref: '#/definitions/SyslogAlert' - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '201': description: Created schema: $ref: '#/definitions/ReferenceWith«AlertID,Link»' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site Syslog Alerts description: Updates all Syslog alerts for the specified site in a single request using the array of resources defined in the request body. operationId: setSiteSyslogAlerts schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: alert description: Array of resources for updating all Syslog alerts defined in the site. Alerts defined in the site that are omitted from this request will be deleted from the site. required: false schema: type: array items: $ref: '#/definitions/SyslogAlert' - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] delete: tags: - Site summary: Site Syslog Alerts description: Deletes all Syslog alerts from the site. operationId: deleteAllSiteSyslogAlerts schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/alerts/syslog/{alertId}: get: tags: - Site summary: Site Syslog Alert description: Retrieves the specified Syslog alert. operationId: getSiteSyslogAlert schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: alertId in: path description: The identifier of the alert. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/SyslogAlert' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site Syslog Alert description: Updates the specified Syslog alert. operationId: updateSiteSyslogAlert schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: alert description: Resource for updating the specified Syslog alert. required: false schema: $ref: '#/definitions/SyslogAlert' - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: alertId in: path description: The identifier of the alert. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] delete: tags: - Site summary: Site Syslog Alert description: Deletes the specified Syslog alert from the site. operationId: deleteSiteSyslogAlert schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: alertId in: path description: The identifier of the alert. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/assets/{assetId}: delete: tags: - Site summary: Site Asset description: Removes an asset from a site. The asset will only be deleted if it belongs to no other sites. operationId: removeAssetFromSite schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: assetId in: path description: The identifier of the asset. required: true type: integer format: int64 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/discovery_connection: get: tags: - Site summary: Site Discovery Connection description: Retrieves the discovery connection assigned to the site. operationId: getSiteDiscoveryConnection schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/SiteDiscoveryConnection' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site Discovery Connection description: Updates the discovery connection assigned to the site. operationId: setSiteDiscoveryConnection schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: connectionId description: The identifier of the discovery connection. required: false schema: type: integer format: int64 - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/discovery_search_criteria: get: tags: - Site summary: Site Discovery Search Criteria description: Retrieve the search criteria of the dynamic site. operationId: getSiteDiscoverySearchCriteria schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/DiscoverySearchCriteria' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site Discovery Search Criteria description: Update the search criteria of the dynamic site. operationId: setSiteDiscoverySearchCriteria schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - in: body name: param1 description: param1 required: true schema: $ref: '#/definitions/DiscoverySearchCriteria' responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/excluded_asset_groups: get: tags: - Site summary: Site Excluded Asset Groups description: Retrieves the excluded asset groups in a static site. operationId: getExcludedAssetGroups schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Resources«AssetGroup»' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site Excluded Asset Groups description: Updates the excluded asset groups in a static site. operationId: updateExcludedAssetGroups schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: assetGroupIds description: Array of asset group identifiers. required: false schema: type: array items: type: integer format: int32 - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] delete: tags: - Site summary: Site Excluded Asset Groups description: Removes all excluded asset groups from the specified static site. operationId: removeAllExcludedAssetGroups schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/excluded_asset_groups/{assetGroupId}: delete: tags: - Site summary: Site Excluded Asset Group description: Removes the specified asset group from the excluded asset groups configured in the static site. operationId: removeExcludedAssetGroup schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: assetGroupId in: path description: The identifier of the asset group. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/excluded_targets: get: tags: - Site summary: Site Excluded Targets description: Retrieves the excluded targets in a static site. operationId: getExcludedTargets schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/ScanTargetsResource' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] post: tags: - Site summary: Site Excluded Targets description: Adds one or more addresses to the site's list of excluded scan targets. operationId: addExcludedTargets schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - in: body name: scanTargetsToAdd description: List of addresses to add to the site's excluded scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. required: false schema: type: array items: type: string responses: '201': description: Created schema: $ref: '#/definitions/ReferenceWith«SiteID,Link»' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] x-code-samples: - lang: Add addresses to the site's excluded targets source: "[\n \"machine1\",\n \"machine2.acme.com\",\n \"10.0.0.100\",\n \"10.0.1.10-10.0.1.20\"\n]" put: tags: - Site summary: Site Excluded Targets description: Updates the excluded targets in a static site. operationId: updateExcludedTargets schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: scanTargets description: List of addresses to be the site's new excluded scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. required: false schema: type: array items: type: string - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] delete: tags: - Site summary: Site Excluded Targets description: Removes one or more addresses from the site's list of excluded scan targets. operationId: removeExcludedTargets schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - in: body name: scanTargetsToRemove description: List of address to remove from the sites excluded scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. required: false schema: type: array items: type: string responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] x-code-samples: - lang: Remove addresses from the site's excluded targets source: "[\n \"machine1\",\n \"machine2.acme.com\",\n \"10.0.0.100\",\n \"10.0.1.10-10.0.1.20\"\n]" /api/3/sites/{id}/included_asset_groups: get: tags: - Site summary: Site Included Asset Groups description: Retrieves the included asset groups in a static site. operationId: getIncludedAssetGroups schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Resources«AssetGroup»' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site Included Asset Groups description: Updates the included asset groups in a static site. operationId: updateIncludedAssetGroups schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: assetGroupIds description: Array of asset group identifiers. required: false schema: type: array items: type: integer format: int32 - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] delete: tags: - Site summary: Site Included Asset Groups description: Removes all included asset groups from the specified static site. operationId: removeAllIncludedAssetGroups schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/included_asset_groups/{assetGroupId}: delete: tags: - Site summary: Site Included Asset Group description: Removes the specified asset group from the included asset groups configured in the static site. operationId: removeIncludedAssetGroup schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: assetGroupId in: path description: The identifier of the asset group. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/included_targets: get: tags: - Site summary: Site Included Targets description: Retrieves the included targets in a static site. operationId: getIncludedTargets schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/ScanTargetsResource' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] post: tags: - Site summary: Site Included Targets description: Adds one or more addresses to the site's list of included scan targets. operationId: addIncludedTargets schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - in: body name: scanTargetsToAdd description: List of addresses to add to the site's included scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. required: false schema: type: array items: type: string responses: '201': description: Created schema: $ref: '#/definitions/ReferenceWith«SiteID,Link»' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] x-code-samples: - lang: Add addresses to the site's included targets source: "[\n \"machine1\",\n \"machine2.acme.com\",\n \"10.0.0.100\",\n \"10.0.1.10-10.0.1.20\"\n]" put: tags: - Site summary: Site Included Targets description: Updates the included targets in a static site. operationId: updateIncludedTargets schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: scanTargets description: List of addresses to be the site's new included scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. required: false schema: type: array items: type: string - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] delete: tags: - Site summary: Site Included Targets description: Removes one or more addresses from the site's list of included scan targets. operationId: removeIncludedTargets schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - in: body name: scanTargetsToRemove description: List of address to remove from the sites included scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. required: false schema: type: array items: type: string responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] x-code-samples: - lang: Remove addresses from the site's included targets source: "[\n \"machine1\",\n \"machine2.acme.com\",\n \"10.0.0.100\",\n \"10.0.1.10-10.0.1.20\"\n]" /api/3/sites/{id}/organization: get: tags: - Site summary: Site Organization Information description: Retrieves the site organization information. operationId: getSiteOrganization schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/SiteOrganization' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site Organization Information description: Updates the site organization information. operationId: updateSiteOrganization schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: siteOrganization description: Resource for updating the specified site's organization information. required: false schema: $ref: '#/definitions/SiteOrganization' - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/scan_engine: get: tags: - Site summary: Site Scan Engine description: Retrieves the resource of the scan engine assigned to the site. operationId: getSiteScanEngine schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/ScanEngine' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site Scan Engine description: Updates the assigned scan engine to the site. operationId: setSiteScanEngine schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: scanEngineId description: The identifier of the scan engine. required: false schema: type: integer format: int32 - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/scan_schedules: get: tags: - Site summary: Site Scan Schedules description: Returns all scan schedules for the site. operationId: getSiteScanSchedules schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Resources«ScanSchedule»' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] post: tags: - Site summary: Site Scan Schedules description: Creates a new scan schedule for the specified site. operationId: createSiteScanSchedule schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: scanSchedule description: Resource for a scan schedule. required: false schema: $ref: '#/definitions/ScanSchedule' - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '201': description: Created schema: $ref: '#/definitions/ReferenceWith«ScanScheduleID,Link»' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site Scan Schedules description: Updates all scan schedules for the specified site in a single request using the array of resources defined in the request body. operationId: setSiteScanSchedules schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: scanSchedules description: Array of resources for updating all scan schedules defined in the site. Scan schedules defined in the site that are omitted from this request will be deleted from the site. required: false schema: type: array items: $ref: '#/definitions/ScanSchedule' - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] delete: tags: - Site summary: Site Scan Schedules description: Deletes all scan schedules from the site. operationId: deleteAllSiteScanSchedules schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/scan_schedules/{scheduleId}: get: tags: - Site summary: Site Scan Schedule description: Retrieves the specified scan schedule. operationId: getSiteScanSchedule schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: scheduleId in: path description: The identifier of the scan schedule. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/ScanSchedule' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site Scan Schedule description: Updates the specified scan schedule. operationId: updateSiteScanSchedule schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: scanSchedule description: Resource for updating the specified scan schedule. required: false schema: $ref: '#/definitions/ScanSchedule' - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: scheduleId in: path description: The identifier of the scan schedule. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] delete: tags: - Site summary: Site Scan Schedule description: Deletes the specified scan schedule from the site. operationId: deleteSiteScanSchedule schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: scheduleId in: path description: The identifier of the scan schedule. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/scan_template: get: tags: - Site summary: Site Scan Template description: Retrieves the resource of the scan template assigned to the site. operationId: getSiteScanTemplate schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/ScanTemplate' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site Scan Template description: Updates the assigned scan template to the site. operationId: setSiteScanTemplate schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: scanTemplateId description: The identifier of the scan template. required: false schema: type: string - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/shared_credentials: get: tags: - Site summary: Assigned Shared Credentials description: Retrieve all of the shared credentials assigned to the site. These shared credentials can be enabled/disabled for the site's scan. operationId: getSiteSharedCredentials schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Resources«SiteSharedCredential»' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/shared_credentials/{credentialId}/enabled: put: tags: - Site summary: Assigned Shared Credential Enablement description: Enable or disable the shared credential for the site's scans. operationId: enableSharedCredentialOnSite schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: status description: Flag indicating whether the shared credential is enabled for the site's scans. required: false schema: type: boolean - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: credentialId in: path description: The identifier of the shared credential. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/site_credentials: get: tags: - Site summary: Site Scan Credentials description: Retrieves all defined site credential resources. operationId: getSiteCredentials schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Resources«SiteCredential»' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] post: tags: - Site summary: Site Scan Credentials description: Creates a new site credential. operationId: createSiteCredential schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - in: body name: siteCredential description: The specification of a site credential. required: false schema: $ref: '#/definitions/SiteCredential' responses: '201': description: Created schema: $ref: '#/definitions/CreatedReference«CredentialID,Link»' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] x-code-samples: - lang: A CIFS credential source: "{\n \"name\": \"CIFS Administrator\",\n \"description\": \"This is a cifs credential for an administrator. Credential is disabled for use in site scans and restricted to a single host for authentication.\",\n \"enabled\": false,\n \"account\": {\n \"service\": \"cifs\",\n \"username\": \"joe_smith@acme.com\",\n \"password\": \"******\",\n \"domain\": \"acme\"\n },\n \"hostRestriction\": \"machine1.acme.com\"\n}" - lang: A Microsoft SQL Server credential source: "{\n \"name\": \"MS SQL Administrator\",\n \"description\": \"This is an administrator credential for a Microsoft SQL Server database. Configured to use windows authentication. Credential is disabled for use in site scans.\",\n \"enabled\": false,\n \"account\": {\n \"service\": \"ms-sql\",\n \"database\": \"usersdb\",\n \"useWindowsAuthentication\": true,\n \"domain\": \"acme\",\n \"username\": \"admin\",\n \"password\": \"******\"\n },\n \"hostRestriction\": \"machine1.acme.com\"\n}\n" - lang: An Oracle database credential source: "{\n \"name\": \"Oracle DB Administrator\",\n \"description\": \"This is an administrator credential for an Oracle database. Credential is restricted to a single host and port for authentication.\",\n \"enabled\": true,\n \"account\": {\n \"service\": \"oracle\",\n \"sid\": \"usersdb\",\n \"username\": \"admin\",\n \"password\": \"******\",\n \"enumerateSids\": true,\n \"oracleListenerPassword\": \"******\"\n },\n \"hostRestriction\": \"192.168.1.1\",\n \"portRestriction\": 1521\n}\n" - lang: An SNMPv3 credential source: "{\n \"name\": \"SNMP v3 Administator\",\n \"enabled\": true,\n \"account\": {\n \"service\": \"snmpv3\",\n \"authenticationType\": \"md5\",\n \"username\": \"admin\",\n \"password\": \"******\",\n \"privacyType\": \"aes-256\",\n \"privacyPassword\": \"******\"\n }\n}\n" - lang: An SSH credential source: "{\n \"name\": \"SSH Administrator\",\n \"description\": \"This is an SSH credential for an administrator. Credential is enabled for use in site scans.\",\n \"enabled\": true,\n \"account\": {\n \"service\": \"ssh\",\n \"username\": \"admin\",\n \"password\": \"******\"\n }\n}\n" - lang: An SSH credential using sudo+su permission elevation source: "{\n \"name\": \"SSH User (permission elevation with sudo+su)\",\n \"description\": \"This is an SSH credential for an non-administrative user. Credential is configured to perform permission elevation using sudo+su for additional access.\",\n \"enabled\": true,\n \"account\": {\n \"service\": \"ssh\",\n \"username\": \"jsmith\",\n \"password\": \"******\",\n \"permissionElevation\": \"sudosu\",\n \"permissionElevationUsername\": \"root\",\n \"permissionElevationPassword\": \"******\"\n }\n}\n" - lang: An SSH public key credential source: "{\n \"name\": \"SSH Public Key credential (permission elevation with sudo)\",\n \"description\": \"This is an SSH credential for a non-administrative user using a PEM-format private key. Credential is also configured to elevate permissions using sudo.\",\n \"enabled\": true,\n \"account\": {\n \"service\": \"ssh-key\",\n \"username\": \"admin\",\n \"privateKeyPassword\": \"*******\",\n \"pemKey\": \"-----BEGIN RSA PRIVATE KEY-----\\nProc-Type: 4,ENCRYPTED\\nDEK-Info: AES-128-CBC,0D364155CB54D4B485BDB3B11B76BF59\\n\\nGLH7n9qeWzZ43g8d5ZNo9BcSWGXo7i8yd3ig9SLKXJd9GoxOrI4OepxZbhOJFDC9\\nXer799R8M4+ZGUwIC14R4lfzgKjcqEBCzya/c99MxK9Haz8pt5BjTMtUQRWO5y+/\\nyySosHRVebB05TuMhmLnJkNnDfTYwT+Hnvdhu/2ArEm2FN9Rr+guumwhQeGxUha5\\n7zjjSimLYjuU2uayjgFLfnh9g/Fe24qmHCw80z+nuHsm9WMWeoeOdmMrMmxhLxUb\\nb+zYZs/xRYjKgBMTRiXNSK9UIy21t2+7TUzeyDwfvHq0f5KpinhD1vzYSL+N0k/H\\ndg6vqM1gD/DLb+eKoAGpXTE0gpHWcXLg526ivlyZEpAxbuyGPVQ+7IIGytjxN7lG\\nJyvbk3fpKDwIJLDOFN4eb9DUaUoqyarqVl44BZhcs7mM0Cvn49IA7PfhcznLv4rJ\\netAoZ2Tjt0AiM774+4X29EaYBGXKGC3SYKfiznoEEy1Jpi6Akwxz4FKCEazH1wce\\nUaUS/N8VbquMPTqcLjCfoztdOgk65j4FczGt22CtGz4Ns8XB0KRM9fcVQFD4ZmRQ\\ni9Sr2onZUAMuvg3R6ZNdpm7FtQhNEpqV432TJdNZEMbXlDmG61P2vgILugKmu56r\\ngZfgI1QMUSUzZrnH+DXn0GY9KycRKTpY6L8PSUeTVyhDUFlTrTchvbnFf7LpVRRj\\n0+99EUxQFIogXt2rNuj6qioEpabh6rGtIPjICEkue75n2Y4Eu+pdPpSFAPNXLuMB\\nCcvoydmxWkBcq/wrCWcTKdKbGKXEj1xvHXAdUwcmlhXpn1igxcwRtcpwrN8cyRRB\\nddc1dDX6X/6iEnnWdDDWHZYjaMLUWVO0pPXzSEsZMFhS3wPvY1lg1Ertiag6DD0Q\\nwnJq19fJ5M8ehu9qMBdHgPIWdcZBMXSvaQqZ8gBtMO5UyuLA5BTP0yb6Jh3foXCq\\nCPihqYSCGUtXzupJCr/oE+jOaYNWjL5icEU0llA6lr71WWdj3b1OwrUTlrmgA0nK\\nxZu6LrqRT+nxbd4phYbkqmhXccq9H/d8pcZwKwPtF+z8HoZXSddaACYFAqY4eaxa\\nNRk2Zt1JJ+tUsNT9LLV1tUrQ+q1JsKlJp7LW60loljiex8uadsvzwnKIdoom8q0I\\nroXHdrwwqyubf4yYApRckbgzW9gLPbclKSqsVFGsDB+KysDYmg3QlTpkrgGl2555\\naQ7Z2TWWvcVL3y7z1l1F238m11LxKUY8Uvu7enpQ/gTrqQ1qqIi2/yv+LvZmAXWV\\nCFO2lMafpmmHjHEAI5ifXYzZlHCXYBHGHYJdGALFuhODiQqF4pOJI8CX/00msnlJ\\nbMH0+dGnk2AviiaLXb7eCZ7mELCX+Ah+00UU75Vdv7O3vhGHpjuMULvbLW2uo+cw\\n6rogJ4SfUBb0t+yS970Xty650DgpHYxCzDwZZzrQqPuX6SeOD8AnXuJL3cl3B5YU\\n60IPVJPsONIwvJlvZuiij4V8L95usGtvDVsexBKQlj3sSVZ5egICMBjkduEyDl3O\\nxOZtdnqktsWNF5XYUfa/8/HUYnN35g0UktpmKlg0yxhAxUAn4lENAY8xvhMGsSCO\\n-----END RSA PRIVATE KEY-----\",\n \"permissionElevation\": \"sudo\",\n \"permissionElevationUsername\": \"root\",\n \"permissionElevationPassword\": \"*******\"\n }\n}\n" put: tags: - Site summary: Site Scan Credentials description: Updates multiple site credentials. operationId: setSiteCredentials schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - in: body name: siteCredentials description: A list of site credentials resources. required: false schema: type: array items: $ref: '#/definitions/SiteCredential' responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] delete: tags: - Site summary: Site Scan Credentials description: Deletes all site credentials from the site. operationId: deleteAllSiteCredentials schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/site_credentials/{credentialId}: get: tags: - Site summary: Site Scan Credential description: Retrieves the specified site credential. operationId: getSiteCredential schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: credentialId in: path description: The identifier of the site credential. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/SiteCredential' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site Scan Credential description: Updates the specified site credential. operationId: updateSiteCredential schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: credentialId in: path description: The identifier of the site credential. required: true type: integer format: int32 - in: body name: siteCredential description: The specification of the site credential to update. required: false schema: $ref: '#/definitions/SiteCredential' responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] delete: tags: - Site summary: Site Scan Credential description: Deletes the specified site credential. operationId: deleteSiteCredential schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: credentialId in: path description: The identifier of the site credential. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/site_credentials/{credentialId}/enabled: put: tags: - Site summary: Site Credential Enablement description: Enable or disable the site credential for scans. operationId: enableSiteCredential schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: status description: Flag indicating whether the credential is enabled for use during the scan. required: false schema: type: boolean - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: credentialId in: path description: The identifier of the site credential. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/tags: get: tags: - Site summary: Site Tags description: Retrieves the list of tags added to the sites. operationId: getSiteTags schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Resources«Tag»' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site Tags description: Updates the site's list of tags. operationId: setSiteTags schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - in: body name: tags description: A list of tag identifiers to replace the site's tags. required: false schema: type: array items: type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/tags/{tagId}: put: tags: - Site summary: Site Tag description: Adds a tag to the site. operationId: addSiteTag schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: tagId in: path description: The identifier of the tag. required: true type: integer format: int32 responses: '201': description: Created schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] delete: tags: - Site summary: Site Tag description: Removes the specified tag from the site's tags. operationId: removeSiteTag schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: tagId in: path description: The identifier of the tag. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/users: get: tags: - Site summary: Site Users Access description: Retrieve the list of non-administrator users that have access to the site. operationId: getSiteUsers schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Resources«User»' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] post: tags: - Site summary: Site Users Access description: Grants a non-administrator user access to the specified site. operationId: addSiteUser schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: param0 description: The identifier of the user. required: false schema: type: integer format: int32 - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '201': description: Created schema: $ref: '#/definitions/ReferenceWith«UserID,Link»' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] put: tags: - Site summary: Site Users Access description: Updates the site's access list. operationId: setSiteUsers schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - in: body name: users description: A list of user identifiers to replace the site's access list. required: false schema: type: array items: type: integer format: int32 - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '400': description: Bad Request schema: $ref: '#/definitions/BadRequestError' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/users/{userId}: delete: tags: - Site summary: Site User Access description: Removes the specified user from the site's access list. operationId: removeSiteUser schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 - name: userId in: path description: The identifier of the user. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Links' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/web_authentication/html_forms: get: tags: - Site summary: Web Authentication HTML Forms description: Retrieves all HTML form authentications configured in the site. operationId: getWebAuthHtmlForms schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Resources«WebFormAuthentication»' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] /api/3/sites/{id}/web_authentication/http_headers: get: tags: - Site summary: Web Authentication HTTP Headers description: Retrieves all HTTP header authentications configured in the site. operationId: getWebAuthHTTPHeaders schemes: [] consumes: - application/json produces: - application/json;charset=UTF-8 parameters: - name: id in: path description: The identifier of the site. required: true type: integer format: int32 responses: '200': description: OK schema: $ref: '#/definitions/Resources«WebHeaderAuthentication»' examples: {} headers: {} '401': description: Unauthorized schema: $ref: '#/definitions/UnauthorizedError' examples: {} headers: {} '404': description: Not Found schema: $ref: '#/definitions/NotFoundError' examples: {} headers: {} '500': description: Internal Server Error schema: $ref: '#/definitions/InternalServerError' examples: {} headers: {} '503': description: Service Unavailable schema: $ref: '#/definitions/ServiceUnavailableError' examples: {} headers: {} security: [] definitions: File: type: object required: - name - type properties: attributes: type: array description: Attributes detected on the file. items: $ref: '#/definitions/Configuration' name: type: string example: ADMIN$ description: The name of the file. size: type: integer format: int64 example: -1 description: The size of the regular file (in bytes). If the file is a directory, no value is returned. type: type: string example: directory description: The type of the file. enum: - file - directory description: '' ScanEngine: type: object required: - address - id - name - port properties: address: type: string example: corporate-scan-engine-001.acme.com description: The address the scan engine is hosted. contentVersion: type: string example: '' description: The content version of the scan engine. readOnly: true enginePools: type: array description: A list of identifiers of engine pools this engine is included in. readOnly: true items: type: integer format: int32 id: type: integer format: int32 example: 6 description: The identifier of the scan engine. lastRefreshedDate: type: string example: '' description: The date the engine was last refreshed. Date format is in ISO 8601. readOnly: true lastUpdatedDate: type: string example: '' description: The date the engine was last updated. Date format is in ISO 8601. readOnly: true links: type: array description: Hypermedia links to corresponding or related resources. readOnly: true items: $ref: '#/definitions/Link' name: type: string example: Corporate Scan Engine 001 description: The name of the scan engine. port: type: integer format: int32 example: 40894 description: The port used by the scan engine to communicate with the Security Console. productVersion: type: string example: '' description: The product version of the scan engine. readOnly: true sites: type: array description: A list of identifiers of each site the scan engine is assigned to. items: type: integer format: int32 status: type: string example: '' description: "The scan engine status. Can be one of the following values: \n| Value | Description | \n| ------------------------- | ------------------------------------------------------------------------------------------ | \n| `\"active\"` | The scan engine is active. | \n| `\"incompatible-version\"` | The product version of the remote scan engine is not compatible with the Security Console. | \n| `\"not-responding\"` | The scan engine is not responding to the Security Console. | \n| `\"pending-authorization\"` | The Security Console is not yet authorized to connect to the scan engine. | \n| `\"unknown\"` | The status of the scan engine is unknown. | \n" readOnly: true enum: - active - incompatible-version - not-responding - pending-authorization - unknown description: '' Resources«SiteCredential»: type: object properties: links: type: array description: Hypermedia links to corresponding or related resources. items: $ref: '#/definitions/Link' resources: type: array description: The resources returned. items: $ref: '#/definitions/SiteCredential' description: '' AssetHistory: type: object properties: date: type: string example: '2018-04-09T06:23:49Z' description: The date the asset information was collected or changed. description: type: string example: '' description: Additional information describing the change. scanId: type: integer format: int64 example: 12 description: If a scan-oriented change, the identifier of the corresponding scan the asset was scanned in. type: type: string example: SCAN description: "The type of change. May be one of: \n| Type | Source of Data | \n| ----------------------------------- | ----------------------------------------------------------- | \n| `ASSET-IMPORT`, `EXTERNAL-IMPORT` | External source such as the API | \n| `EXTERNAL-IMPORT-APPSPIDER` | Rapid7 InsightAppSec (previously known as AppSpider) | \n| `SCAN` | Scan engine scan | \n| `AGENT-IMPORT` | Rapid7 Insight Agent | \n| `ACTIVE-SYNC` | ActiveSync | \n| `SCAN-LOG-IMPORT` | Manual import of a scan log | \n| `VULNERABILITY_EXCEPTION_APPLIED` | Vulnerability exception applied | \n| `VULNERABILITY_EXCEPTION_UNAPPLIED` | Vulnerability exception unapplied |" user: type: string example: '' description: If a vulnerability exception change, the login name of the user that performed the operation. version: type: integer format: int32 example: 8 description: 'The version number of the change (a chronological incrementing number starting from 1). ' vulnerabilityExceptionId: type: integer format: int32 example: '' description: If a vulnerability exception change, the identifier of the vulnerability exception that caused the change. description: '' NotFoundError: type: object required: - status properties: links: type: array description: Hypermedia links to corresponding or related resources. items: $ref: '#/definitions/Link' message: type: string example: An error has occurred. description: The messages indicating the cause or reason for failure. status: type: string example: '404' description: The HTTP status code for the error (same as in the HTTP response). enum: - '404' description: '' ReferenceWith«ScanScheduleID,Link»: type: object properties: id: type: integer format: int32 example:The following is a specification of supported credential properties for each type of service. These properties are to be specified within the account object.
The address of the domain.
The user name for the account that will be used for authenticating.
The password for the account that will be used for authenticating. Note: This property is not returned in responses for security.
The address of the domain.
The user name for the account that will be used for authenticating.
The password for the account that will be used for authenticating. Note: This property is not returned in responses for security.
The address of the domain.
The user name for the account that will be used for authenticating.
The NTLM password hash. Note: This property is not returned in responses for security.
The address of the domain.
The user name for the account that will be used for authenticating.
The password for the account that will be used for authenticating. Note: This property is not returned in responses for security.
The name of the database.
The user name for the account that will be used for authenticating.
The password for the account that will be used for authenticating. Note: This property is not returned in responses for security.
The user name for the account that will be used for authenticating.
The password for the account that will be used for authenticating. Note: This property is not returned in responses for security.
The realm.
The user name for the account that will be used for authenticating.
The password for the account that will be used for authenticating. Note: This property is not returned in responses for security.
The name of the database. If not specified, a default database name will be used during authentication.
\nBoolean flag signaling whether to connect to the database using Windows authentication. When set to true, Windows authentication is attempted; when set to false, SQL authentication is attempted.
The address of the domain. This property cannot be specified unless property useWindowsAuthentication is set to true.
The user name for the account that will be used for authenticating.
The password for the account that will be used for authenticating. Note: This property is not returned in responses for security.
The name of the database. If not specified, a default database name will be used during authentication.
The user name for the account that will be used for authenticating.
The Notes ID password. Note: This property is not returned in responses for security.
The password for the account that will be used for authenticating. Note: This property is not returned in responses for security.
The name of the database. If not specified, a default database name will be used during authentication.
The user name for the account that will be used for authenticating.
The password for the account that will be used for authenticating. Note: This property is not returned in responses for security.
\nBoolean flag instructing the scan engine to attempt to enumerate SIDs from your environment. If set to true, set the Oracle Net Listener password in property oracleListenerPassword.
The Oracle Net Listener password. Used to enumerate SIDs from your environment.
The user name for the account that will be used for authenticating.
The password for the account that will be used for authenticating. Note: This property is not returned in responses for security.
The name of the database.
The user name for the account that will be used for authenticating.
The password for the account that will be used for authenticating. Note: This property is not returned in responses for security.
The user name for the account that will be used for authenticating.
The password for the account that will be used for authenticating. Note: This property is not returned in responses for security.
The community name that will be used for authenticating. Note: This property is not returned in responses for security.
The authentication protocols available to use in SNMP v3.
The user name for the account that will be used for authenticating.
\nThe password for the account that will be used for authenticating. Is required when the property authenticationType is set to valid value other than \"no-authentication\". Note: This property is not returned in responses for security.
The privacy protocols available to use in SNMP v3.
\nThe privacy password for the account that will be used for authenticating. Is required when the property authenticationType is set to valid value other than \"no-authentication\" and when the privacyType is set to a valid value other than code>\"no-privacy\". Note: This property is not returned in responses for security.
The user name for the account that will be used for authenticating.
The password for the account that will be used for authenticating. Note: This property is not returned in responses for security.
\nElevate scan engine permissions to administrative or root access, which is necessary to obtain certain data during the scan. Defaults to \"none\" if not specified.
\nThe user name for the account with elevated permissions. This property must not be specified when the property permissionElevation is set to either \"none\" or \"pbrun\"; otherwise the property is required.
\nThe password for the account with elevated permissions. This property must not be specified when the property permissionElevation is set to either \"none\" or \"pbrun\"; otherwise the property is required.Note: This property is not returned in responses for security.
The user name for the account that will be used for authenticating.
The password for private key. Note: This property is not returned in responses for security.
The PEM-format private key. Note: This property is not returned in responses for security.
\nElevate scan engine permissions to administrative or root access, which is necessary to obtain certain data during the scan. Defaults to \"none\" if not specified.
\nThe user name for the account with elevated permissions. This property must not be specified when the property permissionElevation is set to either \"none\" or \"pbrun\"; otherwise the property is required.
\nThe password for the account with elevated permissions. This property must not be specified when the property permissionElevation is set to either \"none\" or \"pbrun\"; otherwise the property is required.Note: This property is not returned in responses for security.
The name of the database. If not specified, a default database name will be used during authentication.
\nBoolean flag signaling whether to connect to the database using Windows authentication. When set to true, Windows authentication is attempted; when set to false, SQL authentication is attempted.
The address of the domain. This property cannot be specified unless property useWindowsAuthentication is set to true.
The user name for the account that will be used for authenticating.
The password for the account that will be used for authenticating. Note: This property is not returned in responses for security.
The user name for the account that will be used for authenticating.
The password for the account that will be used for authenticating. Note: This property is not returned in responses for security.