summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJosh <josh.t.richards@gmail.com>2024-02-19 08:09:58 -0500
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-02-21 14:32:41 +0000
commit4a008e22cd6ea7534bf8a5be62d27c3c45d22297 (patch)
tree422dbc8fdc30ae3ca9c888422b5137582152512a /core
parent21bc3a3de70f6aa0ca44e0344327d2f2ce8390dc (diff)
downloadnextcloud-server-4a008e22cd6ea7534bf8a5be62d27c3c45d22297.tar.gz
nextcloud-server-4a008e22cd6ea7534bf8a5be62d27c3c45d22297.zip
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>
Diffstat (limited to 'core')
-rw-r--r--core/Command/Security/BruteforceAttempts.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/Security/BruteforceAttempts.php b/core/Command/Security/BruteforceAttempts.php
index 9237078339d..16cd9712864 100644
--- a/core/Command/Security/BruteforceAttempts.php
+++ b/core/Command/Security/BruteforceAttempts.php
@@ -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',