ASE system level configuration entails modifying parameters in the ase.conf file located in the config directory. Some values have default settings which can be modified to support application requirements. The parameter values and descriptions are included in the following table:

Parameter Description
ASE mode
mode Change the mode to sideband for ASE to work in a sideband mode. The default value is inline.
ASE timezone
timezone Sets ASE's timezone. The values can be local or UTC. Default value is UTC. If ASE is deployed in a cluster, configure the same timezone on each cluster node manually.
enable_sideband_keepalive When set to true, ASE sends a keep-alive in response header for the TCP connection between API gateway and ASE. With the default falsevalue, ASE sends a connection close in response header for connection between API gateway and ASE.
Note: This parameter is applicable only when mode is set to sideband.
enable_sideband_authentication This parameter only applies in the ASE sideband mode. Set it to true to enable authentication between in client, for example, an API gateway and ASE. After setting it to true, generate a sideband authentication token using ASE create_sideband_token command.
ASE ports

Data port used for http or WebSocket protocol.

The default value is 80.


Data port used for https or Secure WebSocket (wss).

The default value is 443.


Management port used for CLI and REST API management.

The default value is 8010.

ASE administration and audit

The level of log detail captured. Options include:

Fatal – 1, Error – 2, Warning – 3, Info – 4, Debug – 5


When set to true, ASE logs all actions performed in ASE in the audit log files.

The default value is true.


Syslog server hostname or IPv4 address:port number.

Leave this parameter blank for no syslog generation.

hostname_refresh N/A

Authentication method used for administrator access. See Configuring Native and PAM Authentication for more information on the two options:

  • ase::db (Default - Native authentication)
  • pam::ldap (Linux-PAM authentication with script)

When true, enables load balancers to perform a health check using the following URL:”http(s)://<ASE Name>/ase” where <ASE Name> is the ASE domain name

The default value is false.

Note: Do not configure the /ase URL in an API JSON file.
enable_1G N/A

The number of HTTP processes. It is set to 1. Do not change this value.


The number of HTTPS or processes. It is set to 1. Do not change this value.

enable_access_log When true, log client traffic request and response information. Default value is true.
flush_log_immediate When true, log files are immediately written to the file system. When false, log files are written after a time interval. The default value is true.
attack_list_memory The amount of memory used for maintaining black and whitelists. The default value is 128 MB.
keystore_password Password for the keystore. For more information on updating the keystore password, see Updating Keystore Password.
enable_hostname_rewrite NA
ASE cluster

When true, run setup in cluster mode.

The default value is false, run in standalone mode.

enable_sslv3 When true, enable SSLv3. Default value is false.
server_ca_cert_path N/A



When true,activates the ASE firewall.

The default value is true.

Real-time API security

When true, activates the real-time security in ASE.

The default value is false.

API deception

The time interval between decoy API email alerts.

The default value is 180 minutes.

Maximum value is 1440 minutes (i.e. 24 hours).

AI-based API security (ABS)
enable_abs When true, send access log files to ABS AI Engine for generating API metrics and detecting attacks using machine learning algorithms. Make sure it is set to true when ASE is connected to PingOne.

When true, ASE fetches attack list from ABS AI Engine and blocks access by clients in the attack list.

When false, attack list is not downloaded.

abs_attack_request_minute Time interval in minutes at which ASE fetches ABS attack list. The default value is 10 minutes.
Google Pub/Sub configuration
enable_google_pubsub Set it to true if you want ASE to push metrics data to Google cloud. The default value is false.
Note: ASE must be in the sideband mode for Google Pub/Sub configuration to take effect.
google_pubsub_topic The path to your topic for publishing and subscribing the messages. For example,/pingidentity/topic/your_topic, for example, /viatests/topics/ping_incoming.
google_pubsub_concurrency The number of concurrent connection between ASE and Google Pub/Sub. The maximum value is 1024 connections. Default value is 1000 connections.
google_pubsub_qps The number of messages per second that ASE can publish to the topic. Maximum value is 10,000. The default value is 1000.
google_pubsub_apikey The API Key to establish connection between ASE and Google Pub/Sub. Configuring API Key for Google Pub/Sub is optional.
cache_queue_size The number of messages that are buffered in cache when ASE is not able to publish to Google Pub/Sub. Maximum size of the queue is 10,000 messages. The default value is 300 messages.
google_pubsub_timeout The time in seconds for which ASE tries to publish messages to Google Pub/Sub. In case of failure to publish, ASE makes three attempts to publish the message, after which it writes the message to the google_pubsub_failed.log file.
Alerts and reports
enable_email When true, send email notifications. See Email alerts and reports for more information. The default value is false.

Time interval in days at which ASE sends reports. Minimum value is one day and the maximum is seven days.

The default value is 1.

smtp_host Hostname of SMTP server.
smtp_port Port number of SMTP server.

Set to true if you want email communication to be over SSL. Make sure that the SMTP server supports SSL. If you set smtp_ssl to true and the SMTP server does not support SSL, email communication falls back to the non-SSL channel. The default value is true.

Set it to false if email communication is over a non-SSL channel. The email communication will fail if you set the parameter to false, but the SMTP server only supports SSL communication.


Set to true if you want ASE to verify the SMTP server's SSL certificate. The default value is true.

If you set it to false, ASE does not verify SMTP server's SSL certificate; however, the communication is still over SSL.

Note: If you have configured an IP address as smtp_host and set smtp_cert_verification to true, then make sure that the certificate configured on the SMTP server has the following:
X509v3 extensions:
           X509v3 Key Usage:
              Key Encipherment, Data Encipherment
           X509v3 Extended Key Usage:
              TLS Web Server Authentication
           X509v3 Subject Alternative Name:
               IP Address: X.X.X.X
sender_email Email address for sending email alerts and reports.
sender_password Password of sender’s email account.
Note: You can leave this field blank if your SMTP server does not require authentication.

Email address to notify about alerts and reports

See email alerts for more information.

ASE server resource utilization

Percentage threshold value of CPU utilization.

See email alerts for more information.


Percentage threshold value of memory usage.

email alerts alerts for more information.


Percentage threshold value of filesystem capacity.

See email alerts for more information.


Customizable payload buffer size to reduce the number of iterations required for reading and writing payloads.

Default value is 16KB. Minimum is 1KB and maximum is 32KB.

A sample ase.conf file is displayed below:

; This is API Security Enforcer's main configuration file. This file is in the standard .ini format.
; It contains ports, firewall, log, ABS flags. The comments start with a semicolon (;).

; Defines running mode for API Security Enforcer (Allowed values are inline or sideband).

; Defines http(s)/websocket(s) ports for API Security Enforcer. Linux user should have the privilege to bind to these ports.
; If you comment out a port, then that protocol is disabled.


; For controller.log and balancer.log only

; Defines the number of processes for a protocol.
; The maximum number of allowed process for each protocol is 6 (1 master + 5 child). The
; following defines 1 process for both http/ws and https/wss protocol.

; Enable or disable access logs to the filesystem (request/response).
; WARNING! It must be set to true for sending logs to ABS for analytics.
; To write access log immediately to the filesystem, set to true.

; Setting this value to true will enable this node to participate in an API Security Enforcer
; cluster. Define cluster configurations in the cluster.conf

; Current API Security Enforcer version has 3 firewall features: API Mapping, API Pattern
; Enforcement, and Attack Types.

; X-Forwarded For

; SSLv3

; enable Nagle's algorithm (if NIC card is 1G).

; tcp send buffer size in bytes(kernel)
; tcp receive buffer size in bytes(kernel)

; buffer size for send and receive in KBs (user)

; Set this value to true, to allow API Security Enforcer to send logs to ABS. This
; configuration depends on the value of the enable_access_log parameter.

; Set this value to true, to allow API Security Enforcer to fetch attack list from ABS.

; This value determines how often API Security Enforcer will get attack list from ABS.

; Set this value to true, to allow API Security Enforcer to fetch published API list from ABS.

; This value determines how often API Security Enforcer will get published API list from ABS.

; Set this value to true, to allow API Security Enforcer to block auto detected attacks.

; Set this value to true to enable email for both alerts and daily reports.

; Defines report frequency in days [0=no reports, 1=every day, 2=once in two days and max is 7 ; days]
; Specify your email settings
; Set this value to true if smtp host support SSL
; Set this value to true if SSL certificate verification is required

; Defines threshold for an email alert. For example, if CPU usage is 70%, you will get an
; alert.

; Authentication method. Format is <auth_agent>::<auth_service>
; Valid values for auth_agent are ase and pam
; ase agent only supports db auth_service
; pam agent can support user configured pam services
; For example ase::db, pam::passwd, pam::ldap etc

; Enable auditing. Valid values are true or false.

; Decoy alert interval in minutes. [min=15, default=3*60, max=24*60]

; Interval for a hostname lookup (in seconds). [min=10, default=60, max=86400]

; Syslog server settings. The valid format is host:port. Host can be an FQDN or an IPv4
; address.

; Attack List size in MB or GB. [min=64MB, max=1024GB]
; ASE will take 3*(configured memory) internally. Make sure that the system has at least
; 3*(configured memory) available
; If you are running ASE inside a container, configure the container to use 3*(configured
; memory) shared memory.

; Enable or Disable health check module. ASE uses '/ase' url for both http and https. This is
; useful if ASE is deployed behind a load balancer.

; Location for server's trusted CA certificates. If empty, Server's certificate will not be
; verified.

; enable client side authentication. This setting is applicable only in sideband mode. Once enabled
; request will be authenticated using authentication tokens.

; enable connection keepalive for requests from gateway to ase.
; This setting is applicable only in sideband mode.
; Once enabled ase will add 'Connection: keep-alive' header in response
; Once disabled ase will add 'Connection: close' header in response

; keystore password

; enable hostname rewrite for inline mode. ASE will rewrite the host header in request
; to the server's hostname

; enable strict parsing checks for client requests
; If enabled, ASE will block request with invalid header start
; If disabled, it will allow requests
; default value = true

; Set the timezone to utc or local. The default timezone is utc.

; Google Pub Sub Configuation


; Number of concurrent connections to Google Pub/Sub
; Minimum: 1, Default: 1000, Maximum: 1024

; Number of messages published per second.
; Minimum: 1, Default: 1000, Maximum: 10000

; Google service account API key (Optional)

; Maximum number of messages buffered in memory
; If queue is full, messages are written to logs/google_pubsub_failed.log
; Minimum: 1, Default: 300, Maximum: 10000

; Timeout in seconds to publish a message to Google Pub/Sub.
; Minimum: 10, Default: 30, Maximum: 300