Asset Discovery
Sonar Query Search
Changed onExecutes a Sonar query to discover assets with the given search criteria.
post/api/3/sonar_queries/search
Request
- Base URLhttps://<host>:<port>
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"filters": [
{
"domain": "acme.com",
"type": "domain-contains"
}
]
}Response
OK
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-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status
- breaking