Burp Suite User Forum

Create new post

Initiating on demand scan using GraphQL

Abbas | Last updated: Apr 30, 2021 03:54PM UTC

Been trying to initiate an on demand scan using GraphQL API, but can only seem to schedule them. Is this possible? If someone could point me in the right direction i'd appreciate it, i've checked out the documentation but couldn't find what i was looking for.

Hannah, PortSwigger Agent | Last updated: May 03, 2021 10:27AM UTC

The following GraphQL query will immediately trigger a scan for the given site ID:
mutation CreateScheduleItem {
  create_schedule_item(input: {site_id: "2"}) {
    schedule_item {
      id
    }
  }
}

Please let us know if you need any further assistance.

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