lynis/include
silentcreek d5bc20f6e1
[PKGS-7388] Fix security repository test for new apt sources format
In addition to the traditional one-line-per-source style, apt supports a newer sources list style with multi-line-stanzas (DEB822 style). This new style is e.g. used in Debian's latest docker images and expected to be the default in Ubuntu 23.10. The current test fails to recognize those sources.

An example of the new style would be: 
Types: deb
URIs: https://deb.debian.org/debian-security
Suites: bookworm-security
Components: main non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Change the regular expression to match the newer style as well.
2023-08-27 23:49:35 +02:00
..
binaries Merge branch 'master' into issue-1338 2023-08-07 10:06:12 +02:00
consts Added two tests using apk (Alpine Package Keeper) to check for 2021-09-01 16:00:01 -04:00
data_upload Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
functions Removing changes from another branch 2023-04-23 17:44:44 -04:00
helper_audit_dockerfile Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
helper_configure Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
helper_generate Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
helper_show Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
helper_system_remote_scan Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
helper_update Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
osdetection Moved section to discover current timestamp related to issue #1329 2022-09-17 14:49:26 +00:00
parameters Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
profiles Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
report Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
tests_accounting Merge pull request #1135 from pyllyukko/typo-fix 2021-05-11 19:54:15 +02:00
tests_authentication Using grep -E 2023-04-23 17:38:21 -04:00
tests_banners Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
tests_boot_services Using grep -E 2023-04-23 17:38:21 -04:00
tests_containers Using grep -E 2023-04-23 17:38:21 -04:00
tests_crypto Using grep -E 2023-04-23 17:38:21 -04:00
tests_custom.template Code style improvement: quote argument 2019-12-18 12:17:46 +01:00
tests_databases Using grep -E 2023-04-23 17:38:21 -04:00
tests_dns Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
tests_file_integrity Using grep -E 2023-04-23 17:38:21 -04:00
tests_file_permissions Using grep -E 2023-04-23 17:38:21 -04:00
tests_filesystems Using grep -E 2023-04-23 17:38:21 -04:00
tests_firewalls Using grep -E 2023-04-23 17:38:21 -04:00
tests_hardening [HRDN-7231] When calling wc, use the short -l flag instead of --lines to make it work with busybox's wc implementation also 2021-05-21 19:51:53 +02:00
tests_homedirs Using grep -E 2023-04-23 17:38:21 -04:00
tests_insecure_services Using grep -E 2023-04-23 17:38:21 -04:00
tests_kernel Using grep -E 2023-04-23 17:38:21 -04:00
tests_kernel_hardening Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
tests_ldap Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
tests_logging Using grep -E 2023-04-23 17:38:21 -04:00
tests_mac_frameworks Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
tests_mail_messaging Using grep -E 2023-04-23 17:38:21 -04:00
tests_malware [MALW-3280] Correction to detect com.avast.daemon 2023-08-08 11:15:34 +00:00
tests_memory_processes Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
tests_nameservices Using grep -E 2023-04-23 17:38:21 -04:00
tests_networking Using grep -E 2023-04-23 17:38:21 -04:00
tests_php Fixing test 2023-04-23 19:00:16 -04:00
tests_ports_packages [PKGS-7388] Fix security repository test for new apt sources format 2023-08-27 23:49:35 +02:00
tests_printers_spoolers Using grep -E 2023-04-23 17:38:21 -04:00
tests_scheduling Using grep -E 2023-04-23 17:38:21 -04:00
tests_shells Using grep -E 2023-04-23 17:38:21 -04:00
tests_snmp Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
tests_squid Using grep -E 2023-04-23 17:38:21 -04:00
tests_ssh Using grep -E 2023-04-23 17:38:21 -04:00
tests_storage Using grep -E 2023-04-23 17:38:21 -04:00
tests_storage_nfs Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
tests_system_integrity Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
tests_time Only quote binary, not the option -E 2023-08-08 09:11:02 +00:00
tests_tooling Using grep -E 2023-04-23 17:38:21 -04:00
tests_usb Using grep -E 2023-04-23 17:38:21 -04:00
tests_virtualization Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
tests_webservers Using grep -E 2023-04-23 17:38:21 -04:00
tool_tips Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00