Set Request ID

Configure the request ID for audit logging.

    Set Request ID

    The request_id is an optional field for storing metadata in protector audit records. It can be used to correlate application activity with the protector audit records. The request_id can be set for each connection by setting the REQUEST_ID variable. The value is empty until set by the application. This is only supported when using a security policy from a Cloud Protect Agent.

    connection.createStatement()
            .execute("SET REQUEST_ID = '01978dbc-0582-d7e4-0000-002a3603a20d' ");
    

    Last modified : September 11, 2026