This repository has been archived by the owner on Sep 17, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
59 lines (52 loc) · 1.96 KB
/
config.php
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
return [
/*
|--------------------------------------------------------------------------
| Shieldfy Configurations
|--------------------------------------------------------------------------
|
| This file is for storing the credentials and configurations for Shieldfy.
| You can get your credentials from https://shieldfy.io.
| Please refere to the documentations on https://shieldfy.io for further info.
|
*/
/*
|--------------------------------------------------------------------------
| Main App Credentials
|--------------------------------------------------------------------------
*/
'app_key' => '',
'app_secret' => '',
/*
|--------------------------------------------------------------------------
| Shieldfy debug whether or not expose debug and errors ( True , False )
|--------------------------------------------------------------------------
*/
'debug' => false,
/*
|--------------------------------------------------------------------------
| Shieldfy default action for detecting threat ( block , listen )
|--------------------------------------------------------------------------
*/
'action' => 'block',
/*
|--------------------------------------------------------------------------
| List of headers exposed to shieldfy to overwrite
| format
| key => value
| example
| ['X-Frame-Options'=>'DENY']
| you can specify false to disable the header
| example
| ['X-Frame-Options'=>false]
|--------------------------------------------------------------------------
*/
'headers' => [],
/*
|--------------------------------------------------------------------------
| list of monitors you want to disable
|--------------------------------------------------------------------------
*/
'disable' => []
];