From e27ac4c9f33c86bead99c265a49ed9bb65ffc3c1 Mon Sep 17 00:00:00 2001 From: Josh Date: Mon, 19 Feb 2024 08:09:58 -0500 Subject: [PATCH] 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 Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> --- core/Command/Security/BruteforceAttempts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/Command/Security/BruteforceAttempts.php b/core/Command/Security/BruteforceAttempts.php index 9237078339d71..16cd97128648c 100644 --- a/core/Command/Security/BruteforceAttempts.php +++ b/core/Command/Security/BruteforceAttempts.php @@ -41,11 +41,11 @@ protected function configure(): void { 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',