Mutation

upload_custom_extension

Uploads a new custom extension from a .jar file as a base64-encoded string.

Arguments

input: UploadCustomExtensionInput!

The file from which the new burp extension is created.


Input Fields

extension_filename(): String!
The name of the extension file.
extension_jar_as_base_64(): String!
The contents of the extension as base64-encoded, expected to be a .jar file.
name(): String!
The name of the custom extension.
description(): String!
The description of the custom extension.

Return Fields

extension(): Extension!
The uploaded extension.

Example

Query
mutation UploadCustomExtension($input: UploadCustomExtensionInput!) {
  upload_custom_extension(input: $input) {
    extension {
      name
      description
      uploaded_filename
      uploaded_by
    }
  }
}
Variables
{
  "input": {
    "description": "Adds a tracking header to every request the scanner sends",
    "extension_filename": "example-extension.jar",
    "extension_jar_as_base_64": "UEsDBAoAAAgAAABIIVyyfwLuGQAAABkAAAAUAAAATUVUQS1JTkYvTUFOSUZFU1QuTUZNYW5pZmVzdC1WZXJzaW9uOiAxLjANCg0KUEsBAgoACgAACAAAAEghXLJ/Au4ZAAAAGQAAABQAAAAAAAAAAAAAAAAAAAAAAE1FVEEtSU5GL01BTklGRVNULk1GUEsFBgAAAAABAAEAQgAAAEsAAAAAAA==",
    "name": "Example extension"
  }
}
Result
{
  "data": {
    "upload_custom_extension": {
      "extension": {
        "name": "Example extension",
        "description": "Adds a tracking header to every request the scanner sends",
        "uploaded_filename": "example-extension.jar",
        "uploaded_by": "user1230"
      }
    }
  }
}