Mutation

create_folder

Creates a new folder in the site tree of Burp Suite DAST.

Arguments

input: CreateFolderInput!

The fields used to create a new folder in the site tree.


Input Fields

parent_id(): ID!
The unique identifier of the folder to which you want to add the new folder as a child. To add the folder to the root level, enter 0.
name(): String!
The name for the new folder. This is the name that is displayed on the Burp Suite DAST web UI.
description(): String
The description for the new folder.
scan_configuration_ids(): [ID!]
A list of IDs for scan configurations that you want to use for scans of the sites in this folder or its subfolders.
extension_ids(): [ID!]
A list of extension IDs for extensions that you want to use for scans of sites in this folder or its subfolders.
bcheck_ids(): [ID!]
A list of BCheck IDs for BChecks that you want to use for scans of sites in this folder or its subfolders.
email_recipients(): [EmailRecipientInput!]
A list of all the email addresses that receive scan reports whenever scans of sites in this folder finish.
Various settings that will influence settings on this site

Return Fields

folder(): Folder!
The newly created folder.

Example

Query
mutation CreateFolder($input: CreateFolderInput!) {
  create_folder(input: $input) {
    folder {
      id
      name
      parent_id
      description
      scan_configurations {
        id
      }
      email_recipients {
        id
        email
      }
    }
  }
}
Variables
{
  "input": {
    "description": "Sites that are live for customers",
    "email_recipients": [
      {
        "email": "security-team@example.com"
      }
    ],
    "name": "Production",
    "parent_id": "0",
    "scan_configuration_ids": [
      "f2fca796-7747-3646-8dbf-e8495676a739"
    ]
  }
}
Result
{
  "data": {
    "create_folder": {
      "folder": {
        "id": "1",
        "name": "Production",
        "parent_id": "0",
        "description": "Sites that are live for customers",
        "scan_configurations": [
          {
            "id": "f2fca796-7747-3646-8dbf-e8495676a739"
          }
        ],
        "email_recipients": [
          {
            "id": "1",
            "email": "security-team@example.com"
          }
        ]
      }
    }
  }
}