Configure Environment Variables

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

  1. Go to your organization > Setting > Secrets > Actions on the GitHub console.

    Provide the required details for action secrets.

    Configure the AUTHTYPE variable under Variables, and configure the credentials under Secrets.

    actions_secret.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

    URL

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

    AUTHTYPE

    Use this variable to specify the authentication method. basicauth, OIDC, or IDP are supported. If this variable is not set, basic authentication is used.

    UNAME

    Qualys username

    PASS

    Qualys password

    CLIENTID

    OAuth or IDP client ID

    CLIENTSECRET

    OAuth or IDP client secret

    TOKEN_URL

    Required for IDP authentication. Specify the URL of your Identity Provider (IDP) token endpoint. The pipeline sends an authentication request to this endpoint to obtain an access token.

    SCOPE

    Optional for IDP authentication. Specify the scope to request from your Identity Provider. This field is optional unless your IDP configuration requires it (for example, Okta requires this field). If a required scope is missing or invalid, authentication fails.

    AUDIENCE

    Optional for IDP authentication. Specify the audience value configured for your Identity Provider. This value must match the audience configured in QAS. If the values do not match, authentication fails.

Next Step

Configure GitHub Actions