Query
agents
Returns a list of virtual or physical machines that you have configured for use as agent machines in Burp Suite DAST. Agent machines are the machines on which your scans run.
Returns
Example
Query
query GetAgents {
agents {
id
name
ip
state
enabled
current_scan_count
max_concurrent_scans
agent_pool {
id
name
}
}
}
Variables
{}
Result
{
"data": {
"agents": [
{
"id": "1",
"name": "Example agent",
"ip": "10.0.1.21",
"state": "AuthorizedState",
"enabled": true,
"current_scan_count": 0,
"max_concurrent_scans": 2,
"agent_pool": {
"id": "1",
"name": "Production pool"
}
},
{
"id": "2",
"name": "Second example agent",
"ip": "10.0.1.22",
"state": "AuthorizedState",
"enabled": true,
"current_scan_count": 0,
"max_concurrent_scans": 2,
"agent_pool": {
"id": "-1",
"name": "Default pool"
}
}
]
}
}