|
| 1 | +<?php |
| 2 | +defined('BASEPATH') OR exit('No direct script access allowed'); |
| 3 | + |
| 4 | +return [ |
| 5 | + |
| 6 | + /* |
| 7 | + |-------------------------------------------------------------------------- |
| 8 | + | Shieldfy Configurations |
| 9 | + |-------------------------------------------------------------------------- |
| 10 | + | |
| 11 | + | This file is for storing the credentials and configurations for Shieldfy. |
| 12 | + | You can get your credentials from https://shieldfy.io. |
| 13 | + | Please refere to the documentations on https://shieldfy.io for further info. |
| 14 | + | |
| 15 | + */ |
| 16 | + |
| 17 | + /* |
| 18 | + |-------------------------------------------------------------------------- |
| 19 | + | Main App Credentials |
| 20 | + |-------------------------------------------------------------------------- |
| 21 | + */ |
| 22 | + 'app_key' => '', |
| 23 | + 'app_secret' => '', |
| 24 | + /* |
| 25 | + |-------------------------------------------------------------------------- |
| 26 | + | Shieldfy debug whether or not expose debug and errors ( True , False ) |
| 27 | + |-------------------------------------------------------------------------- |
| 28 | + */ |
| 29 | + 'debug' => false, |
| 30 | + |
| 31 | + /* |
| 32 | + |-------------------------------------------------------------------------- |
| 33 | + | Shieldfy default action for detecting threat ( block , listen ) |
| 34 | + |-------------------------------------------------------------------------- |
| 35 | + */ |
| 36 | + 'action' => 'block', |
| 37 | + |
| 38 | + /* |
| 39 | + |-------------------------------------------------------------------------- |
| 40 | + | List of headers exposed to shieldfy to overwrite |
| 41 | + | format |
| 42 | + | key => value |
| 43 | + | example |
| 44 | + | ['X-Frame-Options'=>'DENY'] |
| 45 | + | you can specify false to disable the header |
| 46 | + | example |
| 47 | + | ['X-Frame-Options'=>false] |
| 48 | + |-------------------------------------------------------------------------- |
| 49 | + */ |
| 50 | + 'headers' => [], |
| 51 | + |
| 52 | + /* |
| 53 | + |-------------------------------------------------------------------------- |
| 54 | + | list of monitors you want to disable |
| 55 | + |-------------------------------------------------------------------------- |
| 56 | + */ |
| 57 | + 'disable' => [] |
| 58 | + |
| 59 | +]; |
0 commit comments