Site

Retrieves the site with the specified identifier.

get/api/3/sites/{id}

Request

Path parameters

idinteger required

The identifier of the site.

Response

OK

assetsinteger

The number of assets that belong to the site.

connectionType'activesync-ldap' | 'activesync-office365' | 'activesync-powershell' | 'aws' | 'dhcp' | 'sonar' | 'vsphere'

The type of discovery connection configured for the site. This property only applies to dynamic sites.

descriptionstring

The site description.

idobject

The identifier of the site.

importancestring

The site importance.

lastScanTimestring date-time

The date and time of the site's last scan.

namestring

The site name.

riskScorenumber double

The risk score (with criticality adjustments) of the site.

scanEngineinteger

The identifier of the scan engine configured in the site.

scanTemplatestring

The identifier of the scan template configured in the site.

type'agent' | 'dynamic' | 'static'

The type of the site.

Example response

{
  "assets": 768,
  "links": [
    {
      "href": "https://hostname:3780/api/3/...",
      "rel": "self"
    }
  ],
  "riskScore": 4457823.78,
  "vulnerabilities": {
    "critical": 16,
    "moderate": 3,
    "severe": 76,
    "total": 95
  }
}

Changes

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status

    • info

      added the media type application/json;charset=UTF-8 for the response with the status