Burp Suite User Forum

Create new post

Filter results based on site name from Sitetree in GraphQL API

asdf | Last updated: Jun 24, 2020 03:25PM UTC

I'm using GraphQL API (below syntax) to retrieve all site IDs, names, and scopes. How can I filter the result based on site name (for eg. name = "abc") to get site ID and in-scope URLs for that specific site. query Sites { site_tree { sites { id name scope { included_urls } } } }

Hannah, PortSwigger Agent | Last updated: Jun 25, 2020 02:38PM UTC

There is no built-in search, unfortunately. You could download all the site names and ids and search through them in code?

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.