cPFence Yes, I know, but that's not really a substitute. All the information is packed into a string and can't really be evaluated individually, right? So I basically receive the email text as a Slack message, correct? (Correct me if I'm wrong, I haven't tested the Slack webhook yet.)
Let's use the 'Root Login(s)' notification as an example. Rather than the email text, I need the attachment as JSON, something like this:
```json
{
"event": "root_login",
"data": [
{
"timestamp": 1763112708,
"pid": 3993023,
"user": "root",
"ip": "127.0.0.1"
},
{
"timestamp": 1763112708,
"pid": 3993023,
"user": "root",
"ip": "127.0.0.1"
},
{
"timestamp": 1763112708,
"pid": 3993023,
"user": "root",
"ip": "127.0.0.1"
}
]
}
```
This would be even more useful for other notifications such as "Malware Detected," "High Resource Usage Alert," etc.
Sending such information by email (as an attachment, if necessary) only makes it more difficult to respond automatically to certain events.
In addition, I believe you would also be doing yourselves a favor, because then everyone could build their own individual connection to cPfence, such as a connection to Slack and other tools. You would no longer have to worry about such connections yourself, and your users would have more options.