Environment variables exposed in Docker images
Environment variables are exposed in the Docker images.
If you do not set the environment variable, the default values are used. The following tables list the environment variables for API Security Enforcer (ASE), API Behavioral Security (ABS), Dashboard, and MongoDB.
ASE Environment Variables
The following table lists the ASE environment variables and the values.
Environment | Value | Usage | ||
---|---|---|---|---|
|
|
ASE can be deployed either in inline mode or sideband mode. For more information, see the ASE admin guide. |
||
|
|
Set the timezone of ASE to either
|
||
|
|
Set the value to |
||
|
|
Set the value to |
||
|
|
ASE cluster peer node’s IP address and port number. |
||
|
|
Set the value of the ASE secret key.
|
||
|
|
IP address or host name of the ABS endpoint. |
||
|
|
Access key to connect to ABS. |
||
|
|
Secret key to connect to ABS. |
||
|
|
1-5 (FATAL, ERROR, WARNING, INFO, DEBUG) |
||
|
|
Enable client side authentication. This setting is applicable only in sideband mode. When enabled, ASE authenticates requests using ASE authentication tokens. |
||
|
|
Set the value to |
||
|
|
Set the value to |
||
|
|
Google Pub/Sub configuration. |
||
|
|
Google Pub/Sub topic. |
||
|
|
The number of concurrent connections to Google Pub/Sub. Minimum: 1, Default: 1000, Maximum: 1024 |
||
|
|
The number of messages published per second. Minimum: 1, Default: 1000, Maximum: 10000 |
||
|
|
Google service account API key (Optional) |
||
|
|
The maximum number of messages buffered in memory. If the queue is full, messages are written to Minimum: 1, Default: 300, Maximum: 10000 |
||
|
|
Timeout in seconds to publish a message to Google Pub/Sub. Minimum: 10, Default: 30, Maximum: 300 |
||
|
|
Indicates ABS deployment type to ASE. Supported values are |
||
|
|
The obfuscated gateway credentials that are generated at cloud portal. ASE parses these gateway credentials to get OAuth Uniform Resource Locator (URL) and URL for ABS API calls. Populate this value when |
||
|
|
Set this value to |
||
|
This value determines how often ASE will get the published API list from ABS. |
|||
|
|
Enable strict parsing checks for client requests.
|
ABS Environment Variables
The following table lists the ABS environment variables and the values.
Environment | Value | Usage | ||
---|---|---|---|---|
|
|
MongoDB replica set IP addresses or host names and port numbers. |
||
|
|
MongoDB username. |
||
|
|
MongoDB password. |
||
|
|
Log levels ( The default is |
||
|
|
Set to By default, ABS will try to connect to MongoDB using non-SSL connection. The default is |
||
|
|
Setting as true makes an ABS node for dashboard engine query only and does not participate in ABS cluster for log processing. |
||
|
|
Enable ( |
||
|
|
The email address used for sending email alerts and reports. |
||
|
|
The password of the sender’s email account.
|
||
|
|
The email address notified about alerts and reports. If you want more than one person to be notified, use an email alias. |
||
|
|
Set the ABS command-line interface (CLI) admin password. |
||
|
|
Set the ABS Java keystore password. |
||
|
|
Set to true if you want to enable verification of MongoDB SSL server certificate. By default, ABS will try to connect to MongoDB without verifying SSL connection. The default is |
||
|
|
Set the timezone of ABS to either
|
||
|
|
The access key for the ABS admin user. For more information, see ABS users. |
||
|
|
The secret key for the ABS admin user. For more information, see ABS users. |
||
|
|
The access key for the restricted user. For more information on restricted users, see ABS users. |
||
|
|
The secret key for the restricted user. For more information on restricted users, see ABS users. |
||
|
|
The attack training period. |
||
|
|
The attack threshold uphold interval. |
||
|
|
Set the value to For more information, see API discovery and configuration. |
||
|
|
The initial period set in hours in which ABS has to be discover APIs. It is good practice to keep the API discovery interval period less than the initial attack training interval. |
||
|
|
The time period in hours in which ABS reports the newly discovered APIs. |
||
|
|
The number of subpaths that are discovered in an API. The maximum value is 3. |
||
|
|
Sets the mode in which ABS trains its API models. Set it to For more information, see Configuring and verifying ABS POC mode. |
||
|
|
The Kafka |
||
|
|
ABS consumer user in Kafka. |
||
|
|
ABS producer user in Kafka. |
||
|
|
ABS group in Kafka. |
||
|
|
ABS consumer user password. |
||
|
|
ABS producer user password. |
||
|
|
The number of minimum in-sync replicas for data in Kafka. |
||
|
|
ABS transaction topic in Kafka. |
||
|
|
ABS attack topic in Kafka. |
||
|
|
ABS anomalies topic in Kafka. |
MongoDB Environment Variables
The following table lists the MongoDB environment variables and the values.
Environment | Value | Usage |
---|---|---|
|
|
MongoDB username. |
|
|
MongoDB password. |
|
|
Set it to Run |
|
|
Memory in GB to be used by MongoDB cache. |
|
|
Configures whether MongoDB uses SSL. The default value is |
|
|
Custom port for Mongo. |
Dashboard Environment Variables
The following table lists the Dashboard environment variables and the values.
Environment | Value | Usage | ||
---|---|---|---|---|
|
|
Source of API discovery. Values can be |
||
|
|
The URL of PingAccess if you set the discovery source as |
||
|
|
The PingAccess username for API discovery. |
||
|
|
The PingAccess password for API discovery. |
||
|
|
The URL of Axway if you set the discovery source as |
||
|
|
The Axway username for API discovery. |
||
|
|
The Axway username for API discovery. |
||
|
|
The mode in which the Dashboard publishes APIs to ASE. Values can be For more information, see Discovered APIs. |
||
|
|
If the |
||
|
|
If the |
||
|
|
Sets the mode in which ASE is deployed. Values can be either |
||
|
|
The access key for the ABS admin user. For more information, see ABS users. |
||
|
|
The secret key for the ABS admin user. For more information, see ABS users. |
||
|
|
The Internet Protocol (IP) address of ABS host. |
||
|
|
Configures whether X-Pack is installed. Default value is |
||
|
|
Configures whether the Dashboard sends Syslog messages to the Syslog server. The default value is
When |
||
|
|
Set to For more information on restricted users, see ABS users. |
||
|
|
The URL should be in the form of https://<IP>:<port>. The URL is used by WebGUI to connect to ABS. |
||
|
|
The URL should be in the form of https://<IP>:<port>. The URL is used by WebGUI to connect to ASE. |
||
|
|
The access key of the ASE admin user. |
||
|
|
The secret key of the ASE admin user. |
||
|
|
The URL should be in the form of https://<IP>:<port>. The URL is used by WebGUI to connect to the Dashboard. IP and port number are for Kibana. |
||
|
|
The password for the H2 database. |
||
|
|
The password to change the encryption method of the H2 database. |
||
|
|
The password for the admin user of WebGUI. |
||
|
|
The password for |
||
|
|
Defines the maximum time for a session. The configured values should be in the form of <number><duration_suffix>. The duration should be > 0. Allowed |
||
|
|
Defines the maximum number of active UI sessions at any given time. The value should be greater than 1. |
||
|
|
Set the value to |
||
|
|
Client ID value configured in the identity provider. |
||
|
|
Client secret configured for the corresponding Client ID. |
||
|
|
OpenID Connect (OIDC) Client authentication mode. The valid values are |
||
|
|
The PingFederate URI that is required by WebGUI to establish single sign-on (SSO). The default value is
|
||
|
|
Claim name for the unique ID of the user in the UserInfo response. A new user is provisioned using this unique ID value. |
||
|
|
Claim name for the first name of the user in the UserInfo response. Either first name or last name can be empty, but both should not be empty. |
||
|
|
Claim name for the last name of the user in the UserInfo response. Either first name or last name can be empty, but both should not be empty. |
||
|
|
Claim name for the role of the user in the UserInfo response. Valid values for roles are |
||
|
|
Additional scopes in the authorization request. Multiple scopes should be values separated with a comma (,). OpenID profile scopes are always requested. |
||
|
|
Set the timezone of the Dashboard to either
|
||
|
|
Kafka |
||
|
|
The data engine consumer user in Kafka. |
||
|
|
Consumer user password. |
||
|
|
The group in Kafka for the data engine consumer. |
||
|
|
ABS transaction topic in Kafka. |
||
|
|
ABS attack topic in Kafka. |
||
|
|
External Elasticsearch URL. |
||
|
|
External Elasticsearch password. |
||
|
|
External Elasticsearch username. |
API Publish Environment Variables
The following table lists the API Publish environment variables and the values.
Environment | Value | Usage |
---|---|---|
|
|
MongoDB username. |
|
|
MongoDB password. |
|
|
Set to |
|
|
MongoDB authentication:
|
|
|
Port for the API Publish service |
|
|
The API Publish password for the JKS file. You can change the password, and it will be generated during installation. |
|
|
Indicates whether SSL is used for Mongo. The default value is |
|
|
Database name. |
|
|
Meta database name. |
|
|
API Publish command-line interface (CLI) password. |
Kafka Environment Variables
The following table lists the Kafka environment variables and the values.
Environment | Value | Usage |
---|---|---|
|
|
Zookeeper URL. |
|
|
SSL port for Kafka. |
|
|
SASL port for Kafka. |
|
|
The minimum number of in-sync replicas for data in Kafka. |
|
|
ABS consumer user in Kafka. |
|
|
ABS producer user in Kafka. |
|
|
ABS consumer user password. |
|
|
ABS producer user password. |
|
|
ABS group in Kafka. |
|
|
Data engine consumer user in Kafka. |
|
|
Consumer user password. |
|
|
Group in Kafka for the data engine consumer. |
|
|
Retention period of data in topics. |
|
|
Kafka broker ID. |