Configuration Parameters for Protector

Update the mandatory and optional parameters to configure the protectors.

The protectors can be configured by specifying the parameters in a configuration file or by specifying the parameters as environment variables. The parameters specified as environment variables have a higher priority than the parameters specified in the configuration file. The value specified in the environment varibles overrides the value specified in the configuration file for the same parameter.

The configuration parameters can be categorized as follows:

  • Core - Responsible for performing URP operations and generating the logs.
  • Resilient Package Sync - Responsible for retrieving the package from the ESA, RPP, or the shared memory at regular intervals.
  • Resilient Package Status - Responsible for sending the status of the resilient package to Insight at regular intervals.
  • Forwarding Audits and Logs - Responsible for forwarding the audits and logs to the Log Forwarder or other outputs.

The configuration parameters can be mandatory and optional. Mandatory parameters are the ones where users are expected to modify the values as per their requirement. Optional parameters are the ones where users are recommended to retain the default values. Users should exercise extreme caution while updating the values for any optional parameter.

Core Configuration Parameter

The following is the Core configuration parameter.

Parameter in Configuration FileEnvironment VariableDescriptionMandatory or Optional
flushintervalPTY_CORE_FLUSHINTERVALSpecify the time interval in seconds after which the audits are flushed from the cache.
The default value is 1.
The maximum value is 86400. 0 is an invalid value.

Caution: If you change the default value, then the timestamp on the protection audits will not be accurate.
For example, if you set this value to 60, then the flush audits will happen once a minute. Every audit that is flushed will have the timestamp of when the flushing occurred, even if the protection happened 59 seconds ago.
This caution is not applicable to short-lived nodes and short-lived protectors. In these instances, the flushing always happens when the process is shut down correctly.
Optional

In the configuration file, specify this parameter under the section [core].
For example:

[core]
flushinterval = <value>

Resilient Package Sync Configuration Parameters

The following are the configuration parameters for Resilient Package Sync.

Parameter in Configuration FileEnvironment VariableDescriptionMandatory or Optional
intervalPTY_SYNC_INTERVALSpecifies the time interval in seconds after which the protector retrieves a new package from the ESA, RPP, or shared memory.
The default value is 60.
The maximum value is 86400. 0 is an invalid value.
Optional
protocolPTY_SYNC_PROTOCOLSpecify the protocol used by the protector to retrieve the resilient packages.
Specify one of the following options:
  • https - Retrieve the package from the ESA or the Resilient Protector Proxy (RPP).
  • shmem - Retrieve the package from shared memory.
    The default value is https.
  • Optional
    hostPTY_SYNC_HOSTSpecify the host name or IP address of the upstream server that is providing the resilient packages.Mandatory if protocol is set to https.
    portPTY_SYNC_PORTSpecify the port number of the upstream server that is providing the resilient packages.
    The default value is 25400.
    Mandatory if protocol is set to https.
    caPTY_SYNC_CASpecify the path of the CA certificate that is used to authenticate the ESA.
    For more information about certificates, refer to Certificate Management in ESA
    Mandatory if protocol is set to https.
    certPTY_SYNC_CERTSpecify the path of the client certificate for the protector. It is used for mutual TLS communication between the upstream server and the protector.Mandatory if protocol is set to https.
    keyPTY_SYNC_KEYSpecify the path to the client certificate key. This parameter is required if you are using a client certificate.Mandatory if protocol is set to https.
    secretfilePTY_SYNC_SECRET_FILESpecify the path to the file that contains the secret. This secret is used to decrypt the client certificate key.Mandatory if protocol is set to https.
    requesttimeoutPTY_SYNC_REQUESTTIMEOUTTimeout of the RP sync request in seconds.
    The default value is 0, which means that the timeout is never triggered.
    The maximum value is 86400.
    Caution: If you specify a timeout value and the network is slow, then it is possible that the request continuously times out before retrieving any package.
    Optional
    verifyPTY_SYNC_VERIFYVerify whether the common name mentioned on the server certificate is the same one as specified in the company DNS.
    The default value is false.
    This parameter is not applicable if you are using self-signed certificates.
    Optional
    setlocalipPTY_SYNC_SET_LOCAL_IPAutomatically add the local IP address of the protector, from where the sync request has originated, to the X-Forwarded-For header.
    The default value is true.
    Optional
    channelPTY_SYNC_CHANNELSpecify a communication channel to the shared memory. This parameter is required if you want to run multiple RPAs with different package versions on the same node.
    The default value is 0.
    The range of the value is from 0 to 255.
    Optional

    In the configuration file, specify this parameter under the section [sync].
    For example:

    [sync]
    interval = <value>
    protocol = <value>
    host = <value>
    port = <value>
    ca = <value>
    cert = <value>
    key = <value>
    secretfile = <value>
    requesttimeout = <value>
    verify = <value>
    setlocalip = <value>
    channel = <value>
    

    Resilient Package Status Configuration Parameter

    The following is the configuration parameter for Resilient Package Status.

    Parameter in Configuration FileEnvironment VariableDescriptionMandatory or Optional
    intervalPTY_STATUS_INTERVALSpecifies the time interval in seconds after which the protectors send the status of the resilient package to Insight.
    The default value is 60.
    The maximum value is 86400. 0 is an invalid value.

    Caution: If you change the default value, then it might result in a mismatch in the status appearing on the Protector Status Dashboard. For example, if you change the interval to 3800, that is more than one hour, then the Connectivity status will show the status as error.
    This caution is not applicable to short-lived nodes and short-lived protectors.
    Optional

    In the configuration file, specify this parameter under the section [status].
    For example:

    [status]
    interval = <value>
    

    Configuration Parameters for Forwarding Audits and Logs

    The following are the configuration parameters for forwarding the audits and logs.

    Parameter in Configuration FileEnvironment VariableDescriptionMandatory or Optional
    outputPTY_LOG_OUTPUTSpecify the output type for protection logs. Specify one of the following values:
    • tcp - Logs are sent to the Log Forwarder using TCP.
    • stdout - Logs are sent to stdout.
    The default value is tcp.
    Optional
    modePTY_LOG_MODESpecify how the logs are handled in case the connection to the Log Forwarder is lost.
    Specify one of the following options:
    • drop - The protector throws away the logs if the connection to the Log Forwarder is lost.
    • error - The protector returns an error without protecting or unprotecting the data, if the connection to the Log Forwarder is lost.
    The default value is drop.
    This setting is only applicable for the protector logs sent from the protector, and not for the application logs available in the ESA.
    Optional
    hostPTY_LOG_HOSTSpecify the host name or IP address of the machine where the Log Forwarder is installed. The logs will be forwarded from the protector to this host name or IP address.
    The default value is set to localhost.
    Optional
    portPTY_LOG_PORTSpecify the port number of the machine where the Log Forwarder is installed. The logs will be forwarded from the protector to this port.
    The default value is 15780.
    Optional

    In the configuration file, specify this parameter under the section [log].
    For example:

    [log]
    output = <value>
    mode = <value>
    host = <value>
    port = <value>
    


    Last modified : January 19, 2026