mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-11 04:48:25 -07:00
crowdsec
This commit is contained in:
parent
6aa8354811
commit
4eb7bbe67c
1 changed files with 16 additions and 10 deletions
|
|
@ -4,13 +4,6 @@
|
|||
services.crowdsec = {
|
||||
enable = true;
|
||||
|
||||
hub.collections = [
|
||||
"crowdsecurity/linux"
|
||||
"crowdsecurity/sshd"
|
||||
"crowdsecurity/traefik"
|
||||
"crowdsecurity/http-cve"
|
||||
];
|
||||
|
||||
localConfig = {
|
||||
acquisitions = [
|
||||
{
|
||||
|
|
@ -34,15 +27,28 @@
|
|||
];
|
||||
};
|
||||
|
||||
settings.general = {
|
||||
api.server.enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
api.server.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
hub = {
|
||||
collections = [
|
||||
"crowdsecurity/linux"
|
||||
"crowdsecurity/sshd"
|
||||
"crowdsecurity/traefik"
|
||||
"crowdsecurity/http-cve"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
services.crowdsec-firewall-bouncer = {
|
||||
enable = true;
|
||||
|
||||
registerBouncer.enable = true;
|
||||
registerBouncer = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
settings = {
|
||||
mode = "nftables";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue