Sfoglia il codice sorgente

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>
tags/v29.0.0beta1
Josh 3 mesi fa
parent
commit
82f0adb91a
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      core/Command/Security/BruteforceAttempts.php

+ 2
- 2
core/Command/Security/BruteforceAttempts.php Vedi File

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

Loading…
Annulla
Salva