fix(security): Describe `occ security:bruteforce:attempts` accurately

This command is used to list a summary of brute force protection attempts associated with a given IP address and, optionally, a specific action. It does not reset attempts (there's already another command for that).

Signed-off-by: Josh <josh.t.richards@gmail.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
pull/43726/head
Josh 2024-02-19 08:09:58 +07:00 committed by backportbot[bot]
parent 21bc3a3de7
commit 4a008e22cd
1 changed files with 2 additions and 2 deletions

@ -41,11 +41,11 @@ class BruteforceAttempts extends Base {
parent::configure();
$this
->setName('security:bruteforce:attempts')
->setDescription('resets bruteforce attempts for given IP address')
->setDescription('Show bruteforce attempts status for a given IP address')
->addArgument(
'ipaddress',
InputArgument::REQUIRED,
'IP address for which the attempts are to be reset',
'IP address for which the attempts status is to be shown',
)
->addArgument(
'action',