The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Address Agent Machine Pools in Graphql

YOUNG, | Last updated: Dec 09, 2021 09:28AM UTC

Hi, Able to run scans with GraphQL no issues, but how to send a scan to a specific Agent Machine Pool in GraphQL? thanks

Alex, PortSwigger Agent | Last updated: Dec 10, 2021 10:33AM UTC

Hi Philip, Thanks for your post. In order to scan with a specific Agent Machine Pool, you would first need to add the site in question to the required pool. I’ve provided an example below of assigning a site to an Agent Machine Pool and initiating a scan as a single query: mutation UpdateAgentPoolandTestScan { UpdateAgentPool: assign_sites_to_agent_pool(input: {site_ids: ["2"], agent_pool_id: "1"}) { sites { id name agent_pool { id name } } } TestScan: create_schedule_item(input: {site_id: "2"}) { schedule_item { id site { id name agent_pool { id name } } } } } I hope that helps. Thanks

YOUNG, | Last updated: Jan 17, 2022 06:30PM UTC