Configure Environment Variables
To add new environment variables:
-
Navigate to Manage Jenkins > Credentials.
-
Click Add Credentials.
-
Add the credentials as Secret Text.
Ensure to record the generated Credential ID, as this ID will be referenced in the pipeline script.
Environment Variables
The following table lists the required configuration variables along with their descriptions for setting up Qualys platform authentication.
To create a user-level client, see Set up Token-based Authentication from UI.
|
Variable Name |
Description |
|---|---|
|
QUALYS_URL |
Use this variable to specify the Qualys platform URL. |
|
AUTH_TYPE |
Use this variable to specify the authentication type (BASIC or OIDC). |
|
QUALYS_USERNAME |
Use this variable to specify the username for BASIC authentication. |
|
QUALYS_PASSWORD |
Use this variable to specify the password for BASIC authentication. |
|
QUALYS_CLIENTID |
Use this variable to specify the client ID for OIDC authentication. |
|
QUALYS_CLIENTSECRET |
Use this variable to specify the client secret for OIDC authentication. |
Next step