Mutation
create_site_login_credential
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: CreateSiteLoginCredentialInput!
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.
login_credential():
LoginCredentialInput!
The fields used to add a new set of login credentials for a given site.
Return Fields
login_credential():
LoginCredential
The new set of login credentials that were added to the site.
Example
Query
mutation CreateSiteLoginCredential($input: CreateSiteLoginCredentialInput!) {
create_site_login_credential(input: $input) {
login_credential {
id
label
username
}
}
}
Variables
{
"input": {
"site_id": "1",
"login_credential": {
"label": "peter weiner",
"username": "p.weiner",
"password": "password123"
}
}
}