dev-master
9999999-dev
MIT
The Requires
by floriansemm
v0.1.1
0.1.1.0
MIT
The Requires
by floriansemm
v0.1
0.1.0.0
MIT
The Requires
by floriansemm
Integrates the expose project into symfony. It allows you to register handlers to respond to reports for the current request. (to block users/ips, send notifications, etc.), (*1)
The bundle add a "suspend request" feature. If is the impact for the current request greater than the configured threshold (default is 7), then an IntrusionException
will be thrown. All registered handlers will be executed before this check throws the exception., (*2)
composer require floriansemm/expose-bundle
, (*3)
Register the bundle:, (*4)
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new FS\ExposeBundle\FSExposeBundle(), ); }
Add the configuration to your config.yml
, (*5)
fs_expose: ~
If you want to allow all requests no matter what impact occurs, set the impact
option to 0:, (*6)
fs_expose: request_suspension: impact: 0
IntrusionHandlerInterface
expose.intrusion_handler
MIT
MIT
MIT