summaryrefslogtreecommitdiffstats
path: root/core/Command/Security
Commit message (Collapse)AuthorAgeFilesLines
* feat: add command to export certificate bundleRobin Appelman2024-08-011-0/+35
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* chore: Add SPDX headerAndy Scherzinger2024-05-265-98/+16
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(security): Describe `occ security:bruteforce:attempts` accuratelyJosh2024-02-211-2/+2
| | | | | | | 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>
* chore: use DI for Command\Security\ListCertificatesCôme Chilliet2024-01-301-1/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Make bypass function public APIJoas Schilling2023-08-211-7/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(OCC): Add a command to get the bruteforce state of an IPJoas Schilling2023-08-212-5/+94
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Moves single constructor parameters to new lines.Faraz Samapoor2023-06-193-3/+9
| | | | | | | Based on: https://github.com/nextcloud/server/pull/38764#discussion_r1227630895 Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* Uses PHP8's constructor property promotion.Faraz Samapoor2023-06-194-18/+7
| | | | | | in core/Command/Log, /Security, and /SystemTag classes. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* Update core to PHP 7.4 standardCarl Schwan2022-05-204-14/+5
| | | | | | | - Typed properties - Port to LoggerInterface Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Move DateTime::ATOM to DateTimeInterface::ATOMChristoph Wurst2021-06-231-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-044-6/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Clarify import cert commandVincent Petry2020-10-261-3/+3
| | | | | | | | | | Add hint that the certificate to be imported must be in PEM format (CRT does not parse). Improved error message to mention that the given path must be accessible by the web server user. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-244-1/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add return value to all commandsJoas Schilling2020-06-264-5/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Implement occ command security:bruteforceattemps:reset-for-ipJohannes Riedel2020-03-191-0/+62
| | | | Signed-off-by: Johannes Riedel <joeried@users.noreply.github.com>
* Update license headersChristoph Wurst2019-12-053-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused import statementsMorris Jobke2018-02-143-8/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update with robinJoas Schilling2016-07-213-3/+3
|
* Fix othersJoas Schilling2016-07-213-3/+6
|
* Update license headersLukas Reschke2016-05-261-0/+1
|
* Rename files to be PSR-4 compliantLukas Reschke2016-04-063-0/+222