Skip to content

Configurations

Aaron Lewis edited this page May 8, 2018 · 13 revisions

Java servers

Item Description Default
plugin.timeout.millis Javascript plugin timeout in ms 100
body.maxbytes Read at most these bytes 4 x 1024 (4KB)
hooks.ignore Comma separated list of disabled hook points (Empty)
block.url Redirect to this page when an attack is blocked https://rasp.baidu.com/blocked
block.status_code HTTP response code for blocked requests 302
log.maxstack Maximum size of application stack in alarm logs 10
security.enforce_policy Whether to block server from starting when a security baseline is violated false
ognl.expression.minlength Minimum length of OGNL expression required for plugin to process it 30
sql.slowquery.min_rows SQL slow query threashold 500
debug.level Debug output level 0

PHP servers

Item Description Default
openrasp.block_url Redirect to this page when an attack is blocked https://rasp.baidu.com/blocked/
openrasp.block_status_code HTTP response code for blocked requests 302
openrasp.hooks_ignore Comma separated list of disabled hook points (Empty)
openrasp.log_maxburst Maximum logs per second 1000
openrasp.root_dir OpenRASP installation path (空)
openrasp.enforce_policy Whether to block server from starting when a security baseline is violated Off
openrasp.slowquery_min_rows SQL slow query threashold 500
openrasp.syslog_facility Set syslog facility 16
openrasp.syslog_server_address Set syslog server address (Empty)
openrasp.syslog_alarm_enable Whether to enable syslog alarming Off
openrasp.syslog_connection_timeout Syslog server connection timeout (ms) 50
openrasp.syslog_read_timeout Syslog server read timeout (ms) 10
openrasp.syslog_connection_retry_interval Syslog connection retry interval on failure 300
openrasp.timeout_ms Javascript plugin timeout in ms 100
openrasp.locale i18n support (Empty)
openrasp.log_maxstack Maximum size of application stack in alarm logs 10
Clone this wiki locally