Configure Environment Variables
To add new environment variables:
-
Navigate to Global Configuration.
-
Go to Jenkins Dashboard, click Manage Jenkins, and select Configure System.

-
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.
-
From the Authentication Type dropdown, select one of the following options:
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.
-
To configure multiple IaC credentials, click Add again and repeat the previous steps. Each configuration can have a different platform URL and authentication method.
- 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