Configure Environment Variables

To add new environment variables:

  1. Navigate to Global Configuration.

  2. Go to Jenkins Dashboard, click Manage Jenkins, and select Configure System.

    Manage Jenkins

  3. Scroll to the IaC Scan Configuration section and click Add to create a new IaC scan configuration block.

    • Configuration Name – Enter a user-defined name to identify this credential configuration.
    • Platform URL – Enter the Qualys platform URL where IaC scans will be triggered.
  4. From the Authentication Type dropdown, select one of the following options:

    Basic

    OAuth

    The fields displayed below depend on the selected authentication type.

    Basic Authentication 

    Enter Basic Authentication Details (If Selected)

    Provide the following details:
    • Username – Enter the Qualys username.
    • Password – Enter the corresponding password.

    OAuth Authentication 

    Provide the following details:

    • Client ID – Enter the OAuth client ID.
    • Client Secret – Enter the OAuth client secret.
  5. To configure multiple IaC credentials, click Add again and repeat the previous steps. Each configuration can have a different platform URL and authentication method.

  6. The newly added credentials appear in the Dashboard > Credentials list.
Variable Description
QUALYS_URLQualys platform URL. To know about your Qualys platform URL, click here.
QUALYS_USERNAME Qualys username
QUALYS_PASSWORD Qualys password
Client ID OAuth client ID
Client Secret OAuth client secret

Next step

Configure Git Repositories