Mutation

create_site_application_login

Adds a new set of login credentials for a given site. This set of credentials is used by scans to crawl areas of the site that are only accessible to registered users. Note that this does not create a new user account on the actual website. The credentials that you specify here must already be valid for the website that you want to scan.

Arguments

input: CreateSiteApplicationLoginInput!

The fields used to add a new set of login credentials for a given site.


Input Fields

site_id(ID!)
The unique identifier of the site for which you want to add a new set of login credentials.
application_login(ApplicationLoginInput!)
The fields used to add a new set of login credentials for a given site.

Return Fields

application_login(ApplicationLogin)
The new set of login credentials that were added to the site.

Example

Query
mutation CreateSiteApplicationLogin($input: CreateSiteApplicationLoginInput!) {
  create_site_application_login(input: $input) {
    application_login {
      id
      label
      username
    }
  }
}
Variables
{
  "input": {
    "site_id": "42",
    "application_login": {
      "label": "admin",
      "username": "administrator",
      "password": "changeme"
    }
  }
}