Configure Environment Variables

Perform the following steps to configure environment variables on the GitLab Console:

  1. Go to Settings> CI/CD > Variables on the GitLab console.

    repository_variables.png

  2. Provide the required details for environment variables.

    To create a user-level client, see Set up Token-based Authentication from UI.

    Variable

    Description

    QUALYS_URL

    Qualys platform URL. To learn about your Qualys platform URL, click here.

    AUTH_TYPE Authentication method 

    QUALYS_USERNAME

    Qualys username

    QUALYS_PASSWORD

    Qualys password

    QULAYS_CLIENTID

    OAuth client ID

    QULAYS_CLIENTSECRET

    OAuth client secret

    BREAK_ON_ERROR

    Set this variable as false if you do not want the pipeline to fail on an error. Else, set this as true or do not add this variable.

Next step

Configure Pipeline Script