Asset Discovery

Sonar Query Search

Changed on

Executes a Sonar query to discover assets with the given search criteria.

post/api/3/sonar_queries/search

Request

Request body

Example request

{
  "filters": [
    {
      "domain": "acme.com",
      "type": "domain-contains"
    }
  ]
}

Response

OK

addressstring

The IP address of a discovered asset.

namestring

The host name of a discovered asset.

Example response

[
  {
    "address": "12.83.99.203",
    "links": [
      {
        "href": "https://hostname:3780/api/3/...",
        "rel": "self"
      }
    ],
    "name": "desktop-27.acme.com"
  }
]

Changes

    • breaking

      added required request body

    • 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