-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.dist.php
More file actions
43 lines (38 loc) · 899 Bytes
/
Copy pathconfig.dist.php
File metadata and controls
43 lines (38 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/**
* Debugging flag
*/
$debugging = false;
/**
* Hosts permitted to make API calls
*
* Direct hosts
*/
$permitted_direct_hosts = [
"localhost" => "127.0.0.1"
];
/**
* Hosts permitted to make API calls
*
* Proxied hosts / XFF
*/
$permitted_proxied_hosts = [
];
/**
* Trusted reverse proxy IPs
*
* If REMOTE_ADDR matches one of these IPs the agent will additionally
* validate the X-Forwarded-For header against $permitted_proxied_hosts.
* List only IPs of known reverse proxies here.
*/
$permitted_trusted_proxies = [
// "172.16.20.10"
];
/**
* Allow scanning of private and reserved IP ranges
*
* Set to true only when the agent is deployed on a trusted internal network
* and needs to scan internal hosts (RFC 1918, loopback, link-local, etc.).
* Leave false (the default) to block SSRF attacks.
*/
$scan_private_ips = false;