Move CrowdSec plugin to Security menu (#2451)

This commit is contained in:
Christophe Maudoux 2021-02-20 19:18:25 +01:00
parent 861463f987
commit f7caff32c7
16 changed files with 25 additions and 29 deletions

View File

@ -332,12 +332,8 @@ Go in Manager, ``General parameters`` » ``Advanced parameters`` »
- **Form timeout**: Form token timeout (default to 120 seconds)
- **Use global storage**: Local cache is used by default for one time
tokens. To use global storage, set it to 'On'
- **Brute-Force Attack protection**: set to 'On' to enable it. The aim
of a brute force attack is to gain access to user accounts by
repeatedly trying to guess the password of a user. If it is disabled,
automated tools may submit thousands of password attempts in a matter
of seconds, making it easy for an attacker to beat a password-based
authentication system.
- **CrowdSec Bouncer**: set to 'On' to enable :doc:`CrowdSec Bouncer plugin<crowdsec>`
- **Brute-Force Attack protection**: set to 'On' to enable :doc:`Brute-force protection plugin<bruteforceprotection>`
- **LWP::UserAgent and SSL options**: insert here options to pass to
LWP::UserAgent object (used by SAML or OpenID-Connect to query
partners and AuthSSL or AuthBasic handler to request Portal URL).

View File

@ -1124,11 +1124,11 @@ sub attributes {
},
lwpOpts => {
type => 'keyTextContainer',
documentation => 'Options given to LWP::UserAgent',
documentation => 'Options passed to LWP::UserAgent',
},
lwpSslOpts => {
type => 'keyTextContainer',
documentation => 'SSL options given to LWP::UserAgent',
documentation => 'SSL options passed to LWP::UserAgent',
},
# CrowdSec plugin

View File

@ -775,13 +775,6 @@ sub tree {
form => 'simpleInputContainer',
nodes => [ 'checkState', 'checkStateSecret', ],
},
{
title => 'CrowdSecPlugin',
nodes => [
'crowdsec', 'crowdsecAction',
'crowdsecUrl', 'crowdsecKey',
],
},
{
title => 'checkUsers',
help => 'checkuser.html',
@ -1035,6 +1028,14 @@ sub tree {
'requireToken',
'formTimeout',
'tokenUseGlobalStorage',
{
title => 'CrowdSecPlugin',
help => 'crowdsec.html',
nodes => [
'crowdsec', 'crowdsecAction',
'crowdsecUrl', 'crowdsecKey',
],
},
{
title => 'bruteForceAttackProtection',
help => 'bruteforceprotection.html',
@ -1049,7 +1050,6 @@ sub tree {
},
'lwpOpts',
'lwpSslOpts',
{
title => 'contentSecurityPolicy',
help => 'security.html#portal',

View File

@ -240,7 +240,7 @@
"crowdsec":"Activation",
"crowdsecAction":"Action",
"crowdsecKey":"API key",
"CrowdSecPlugin":"CrowdSec",
"CrowdSecPlugin":"CrowdSec Bouncer",
"crowdsecUrl":"Base URL of local API",
"currentConfiguration":"الإعدادات الحالية",
"customAddParams":"معايير إضافية",

View File

@ -240,7 +240,7 @@
"crowdsec":"Activation",
"crowdsecAction":"Action",
"crowdsecKey":"API key",
"CrowdSecPlugin":"CrowdSec",
"CrowdSecPlugin":"CrowdSec Bouncer",
"crowdsecUrl":"Base URL of local API",
"currentConfiguration":"Current configuration",
"customAddParams":"Additional parameters",

View File

@ -240,7 +240,7 @@
"crowdsec":"Activation",
"crowdsecAction":"Action",
"crowdsecKey":"API key",
"CrowdSecPlugin":"CrowdSec",
"CrowdSecPlugin":"CrowdSec Bouncer",
"crowdsecUrl":"Base URL of local API",
"currentConfiguration":"Current configuration",
"customAddParams":"Additional parameters",

View File

@ -240,7 +240,7 @@
"crowdsec":"Activation",
"crowdsecAction":"Action",
"crowdsecKey":"API key",
"CrowdSecPlugin":"CrowdSec",
"CrowdSecPlugin":"CrowdSec Bouncer",
"crowdsecUrl":"Base URL of local API",
"currentConfiguration":"Configuración actual",
"customAddParams":"Parámetros adicionales",

View File

@ -240,7 +240,7 @@
"crowdsec":"Activation",
"crowdsecAction":"Action",
"crowdsecKey":"Clef de l'API",
"CrowdSecPlugin":"CrowdSec",
"CrowdSecPlugin":"CrowdSec Bouncer",
"crowdsecUrl":"URL de base de l'API locale",
"currentConfiguration":"Configuration actuelle",
"customAddParams":"Paramètres additionnels",

View File

@ -240,7 +240,7 @@
"crowdsec":"Activation",
"crowdsecAction":"Action",
"crowdsecKey":"API key",
"CrowdSecPlugin":"CrowdSec",
"CrowdSecPlugin":"CrowdSec Bouncer",
"crowdsecUrl":"Base URL of local API",
"currentConfiguration":"Configurazione attuale",
"customAddParams":"Parametri aggiuntivi",

View File

@ -240,7 +240,7 @@
"crowdsec":"Activation",
"crowdsecAction":"Action",
"crowdsecKey":"API key",
"CrowdSecPlugin":"CrowdSec",
"CrowdSecPlugin":"CrowdSec Bouncer",
"crowdsecUrl":"Base URL of local API",
"currentConfiguration":"Aktualna konfiguracja",
"customAddParams":"Dodatkowe parametry",

View File

@ -240,7 +240,7 @@
"crowdsec":"Activation",
"crowdsecAction":"Action",
"crowdsecKey":"API key",
"CrowdSecPlugin":"CrowdSec",
"CrowdSecPlugin":"CrowdSec Bouncer",
"crowdsecUrl":"Base URL of local API",
"currentConfiguration":"Mevcut yapılandırma",
"customAddParams":"Ek parametreler",

View File

@ -240,7 +240,7 @@
"crowdsec":"Activation",
"crowdsecAction":"Action",
"crowdsecKey":"API key",
"CrowdSecPlugin":"CrowdSec",
"CrowdSecPlugin":"CrowdSec Bouncer",
"crowdsecUrl":"Base URL of local API",
"currentConfiguration":"Cấu hình hiện tại",
"customAddParams":"Tham số bổ sung",

View File

@ -240,7 +240,7 @@
"crowdsec":"Activation",
"crowdsecAction":"Action",
"crowdsecKey":"API key",
"CrowdSecPlugin":"CrowdSec",
"CrowdSecPlugin":"CrowdSec Bouncer",
"crowdsecUrl":"Base URL of local API",
"currentConfiguration":"Current configuration",
"customAddParams":"Additional parameters",

View File

@ -240,7 +240,7 @@
"crowdsec":"Activation",
"crowdsecAction":"Action",
"crowdsecKey":"API key",
"CrowdSecPlugin":"CrowdSec",
"CrowdSecPlugin":"CrowdSec Bouncer",
"crowdsecUrl":"Base URL of local API",
"currentConfiguration":"目前的設定",
"customAddParams":"額外參數",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long