Query
agent
Returns a virtual or physical machine that you have configured for use as an agent machine in Burp Suite DAST. Agent machines are the machines on which your scans run.
Returns
Example
Query
query GetAgent($id: ID!) {
agent(id: $id) {
id
name
ip
state
error {
code
error
}
enabled
current_scan_count
max_concurrent_scans
agent_pool {
id
name
}
}
}
Variables
{
"id": "1"
}
Result
{
"data": {
"agent": {
"id": "1",
"name": "Example agent",
"ip": "10.0.1.21",
"state": "AuthorizedState",
"error": null,
"enabled": true,
"current_scan_count": 0,
"max_concurrent_scans": 2,
"agent_pool": {
"id": "-1",
"name": "Default pool"
}
}
}
}