Skip to content

How to send an email attack is detected by ModSec. #2165

@MyAlien

Description

@MyAlien

Hello,
I am a beginner on ModSec.
How to send an email as soon as an attack is detected by ModSec.

For all ModSec rules.

I tried to add exec: /local/script.sh
Then restart Nginx but error every time.

Thank you .

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions