Commit Graph

74 Commits

Author SHA1 Message Date
Andre @ ARK-ICT 740baf29af postgresDB fixes for almalinux, rockylinux and freebsd. Tested on almalinux8/9, rockylinux9 and freebsd13 2024-05-09 20:45:45 +02:00
Michael Boelen 264012a4ff
Merge pull request #1328 from konstruktoid/issue1327
find redis.conf if /snap directory exists
2024-03-12 13:38:40 +01:00
Michael Boelen 1d3de50579
Update tests_databases 2024-03-12 13:38:04 +01:00
Michael Boelen c869eb92bc
Merge pull request #1337 from Ximalas/redis-configuration-file-FreeBSD
Update tests_database: Redis configuration file
2024-03-12 08:38:09 +01:00
Michael Boelen 74fa9ab164
Merge branch 'master' into issue-1397 2023-09-13 16:15:05 +02:00
Michael Boelen 23bed418e5
Merge pull request #1396 from xnoguer/issue-1300
Replacing deprecated option -i. Issue 1300
2023-09-13 16:10:04 +02:00
Xavier Noguer dbf263dbbd Looking for configuration files in all /usr/local/pgsql/data* directories 2023-05-20 15:58:12 +00:00
Xavier Noguer 6fdfa0a012 Replacing deprecated option -i 2023-05-19 23:12:39 +00:00
xnoguer 6f1797fb59 Using grep -E 2023-04-23 17:38:21 -04:00
Ximalas 49bbf25abe
Update tests_database: Redis configuration file
On FreeBSD the Redis configuration file is typically stored as /usr/local/etc/redis.conf.
2022-09-26 10:05:39 +02:00
Michael Boelen 622f53247d
[DBS-1820] added newer style format for Mongo authorization setting 2022-08-24 11:42:22 +00:00
Thomas Sjögren 4f6eeb7537 remove file from path
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
2022-08-24 10:17:54 +02:00
Thomas Sjögren fc62b39f34 find redis.conf if /snap directory exists
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
2022-08-23 11:57:05 +02:00
Thomas Sjögren fe5990f208 remove whitespaces
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
2022-08-23 11:56:25 +02:00
Wojciech Banaś 4098236412 #1270 added finding configuration files in the "etc" directory, even if they are symlinks 2022-02-14 13:23:20 +01:00
Glowsome d59970ef16 Update tests_databases
Add mariadb as binary to check
2021-07-28 17:25:04 +02:00
Michael Boelen 755abdc556
Merge pull request #1137 from teoberi/Lynis-with-PostgreSQL-13.1---test-ID-DBS-1826/DBS-1828
Lynis with PostgreSQL 13.1 test ID DBS-1826/DBS-1828
2021-07-21 17:22:17 +02:00
teoberi 82db002025
Update tests_databases
Change pattern to detect all configuration files
2021-01-07 21:16:19 +02:00
Michael Boelen da1c1eca10
Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
teoberi 49b5398266
Update tests_databases
Fix the process name for PostgreSQL
Add new path to variable FIND_PATHS
Fix variable CONFIG_FILES
Check permissions for configuration files
2021-01-03 12:02:38 +02:00
teoberi 82e5a8beed
Update tests_databases
Fix for Test: DBS-1816 - Check empty MySQL root password
2021-01-03 11:48:34 +02:00
Michael Boelen 8fb98cb25c
Only retrieve exit code
Redirect output of the count and every error to /dev/null, so we only get the exit code
2020-12-17 14:51:52 +01:00
Stéphane 67d04f2536
Add translate function for all sections
+ add EN and FR up to date languages files
2020-10-22 00:13:42 +02:00
Michael Boelen 38310223a6
Updated date/year 2020-03-20 14:50:25 +01:00
Michael Boelen 09f29a5e64
Code style improvement: quote argument 2019-12-18 12:17:46 +01:00
Katarina Durechova 4bb78d721e Databases - variables initialization 2019-10-14 21:50:22 +02:00
Michael Boelen 87f5596952
Added new test DBS-1828 2019-10-08 15:15:18 +02:00
Michael Boelen a1b6d463b2
Fixed a typo 2019-09-21 16:31:06 +02:00
Michael Boelen 9605f0fa80
Combined sort and uniq to sort -u 2019-07-26 15:34:02 +02:00
Michael Boelen fa8bad20db
Use -n instead of ! -z 2019-07-16 13:20:30 +02:00
Michael Boelen 66066ae226
Changed year and preparing for new release 2019-01-31 14:47:35 +01:00
Michael Boelen c50db85aaa
[DBS-1882] added support for QNAP path 2018-09-19 13:29:03 +02:00
Michael Boelen bf1e99f3cd
[DBS-1882] added /usr/local/redis/etc path 2018-09-19 13:23:27 +02:00
Michael Boelen 40d6a853d5
Changed file permissions 2018-04-23 10:56:26 +02:00
Oliver Mueller 7e0b300e27 Issue/288 (#530)
* enhanced check "DBS-1816: mysql root user with empty password" to avoid false positived when authentication plugins are used

* fixed indent to spaces
2018-03-22 09:07:48 +01:00
Michael Boelen 66f8cb2441
Changed year 2018-01-11 09:50:26 +01:00
Michael Boelen 4ecb9d4d05
[bulk change] cleaning up, code enhancements, initialization of variables, and new tests 2017-04-30 17:59:35 +02:00
Michael Boelen 70ea29483a
Code enhancements 2017-04-23 20:06:54 +02:00
Michael Boelen bb83598ff1 [DBS-1882] include redis.conf 2017-03-09 12:28:05 +01:00
hlein b595cc0fb5 Various cleanups (#363)
* Typo fix.

* Style change: always use $(), never ``.

The Lynis code already mostly used $(), but backticks were sprinkled
around.  Converted all of them.

* Lots of minor spelling/typo fixes.

FWIW these were found with:

  find . -type f -print0 | xargs -0 cat | aspell list | sort -u | egrep '^[a-z]+$' | less

And then reviewing the list to pick out things that looked like
misspelled words as opposed to variables, etc., and then manual
inspection of context to determine the intention.
2017-03-06 07:41:21 +00:00
Michael Boelen 36f7bcbf1c Rename authentication to authorization 2017-02-10 17:18:23 +01:00
Michael Boelen 2cc3f889c8 [DBS-1818] MongoDB status 2017-02-10 13:07:30 +01:00
Michael Boelen d27c1eda84 [DBS-1820] Test for MongoDB authentication 2017-02-10 12:58:47 +01:00
Michael Boelen 34ba1ba184 Changed date and preparing for release 2017-02-09 13:35:40 +01:00
Michael Boelen 903016df36 Code cleanups and generic enhancements 2016-09-10 16:12:44 +02:00
Michael Boelen 82ededed31 Style improvements and command replacements 2016-09-08 21:04:17 +02:00
Michael Boelen 679e8c628e Use detected binaries 2016-08-25 15:31:33 +02:00
Michael Boelen e3af7c3727 [DBS-1816] Set skip reason variable 2016-08-24 11:36:51 +02:00
Michael Boelen bf7b8ab44e Changed text for Redis test 2016-08-14 20:43:05 +02:00
Michael Boelen db88216326 Define Redis (server) running status in report 2016-08-13 17:05:38 +02:00