Burp Suite User Forum

Login to post

Burp-Enterprise REST-API: Creating a Folder,Sub-folders and Site through REST-API endpoints.

alok | Last updated: Apr 15, 2020 05:42AM UTC

Hi, I was looking for REST-API endpoints to create a Folder, Sub-folders and new site. Please let me know if any.

Uthman, PortSwigger Agent | Last updated: Apr 15, 2020 08:34AM UTC

Hi Alok, These are not available as specific endpoints. However, when you specify the 'name' when triggering a scan via the API, it will create a site under that name. For example, for a site that you want to name "Test": curl -vgw "\n" -X POST 'http://localhost:8081/api/<API-KEY>/v0.1/scan' -d '{"name":"Test","urls":["example.com"]}'. There are no standalone endpoints to only create folders, sub-folders, or new sites.

Meulman, | Last updated: Apr 23, 2020 07:10AM UTC

Hi, Is this een upcoming feature or is this on the backlog? There are no standalone endpoints to only create folders, sub-folders, or new sites. It is really nice to configure this by the REST API. Kind regards, n.meulman

Uthman, PortSwigger Agent | Last updated: Apr 23, 2020 08:13AM UTC

We will be replacing the REST API soon. You will have the ability to manage sites and folders using the new API.

Uthman, PortSwigger Agent | Last updated: Nov 20, 2020 08:37AM UTC

Since the release of the GraphQL API in v2020.4, these tasks can now be achieved using the new API: Creating a folder/sub-folder: https://portswigger.net/burp/extensibility/enterprise/graphql-api/create_folder.html Creating a site: https://portswigger.net/burp/extensibility/enterprise/graphql-api/create_site.html

You need to Log in to post a reply. Or register here, for free.