Commit Graph

70 Commits

Author SHA1 Message Date
Samson-W 10fb74a744 Fix bug of 2.1 2019-09-05 18:07:19 +08:00
Samson-W f5de9a24f9 Fix some bugs and add apply method for CentOS. 2019-08-26 18:03:29 +08:00
Samson-W 783d6e4455 Add check_param_pair_by_value method and Modify 9.2.2 to be compatible with CentOS. 2019-08-26 04:16:00 +08:00
aboohner f7bf33fc4e Bugfix in nested ifs 2019-08-21 12:42:34 +02:00
Samson-W 4cb0418af7 Fix a bug for check_param_pair_by_pam method. 2019-08-19 20:28:04 +08:00
Samson-W 23b28bafc4 Fix some bug for utils. 2019-08-17 23:32:25 +08:00
Samson-W d3cbebb7e6 modify 8.1.17~8.1.22 to be compatible with CentOS 2019-08-13 17:55:55 +08:00
Samson-W 99cab257b2 Add new method for check audit path is exist, and update 8.1.19 2019-08-13 17:44:31 +08:00
Samson-W 0be34f1b41 Remove some obsolete check items.
Add is_service_active method to utils.sh
Modified 5.2 5.3 to be compatible with CentOS.
2019-08-06 19:43:57 +08:00
Samson-W db2f6a5f34 Modified utils.sh and 8.7 to be compatible with CentOS. 2019-08-02 15:44:39 +08:00
Samson-W 359a7c3c5e Modified utils.sh and 2.25 to be compatible with CentOS. 2019-08-02 04:16:53 +08:00
Samson-W 5ea65ad6de Add audit and apply methods for redhat/CentOS to 1.1. 2019-07-31 16:27:45 +08:00
Samson-W 08e2cf2867 Modify is_debian_10 function. 2019-07-07 17:16:27 +08:00
Samson-W e3a7b267d5 Apply check_audit_is_immutable_mode method for auditd rules check item. 2019-05-18 04:53:05 +08:00
Samson-W 8856f64d16 Add check_audit_is_immutable_mode method in lib/utils.sh and apply the method for 8.1.4 2019-05-18 04:36:55 +08:00
Samson-W 9d886d7bf9 1, Add check rounds of pam_unix for 9.2.13 base stig-Ubuntu_16-04_LTS.
2,Fix a bug: when the configured values have different lengths, the reassignment is incorrect.
2019-05-16 17:40:40 +08:00
Samson-W c4b9847694 Fix a bug for 9.2.15 and delete the debug method in lib/utils.sh 2019-05-16 14:45:12 +08:00
Samson-W 97d921c2c6 1. Add method for if ipv6 is disabled.
2. Modify ipv6 iptables rules check with check_ipv6_is_enable.
2019-04-17 03:48:49 +08:00
Samson-W 5867efd5d6 Add audit and apply methods for ipv6 firewall rules. 2019-04-16 18:09:05 +08:00
Samson-W f23c662b7c Fix bug for 8.2.4: when create file if dir is not, create file is fail. 2019-04-16 03:57:53 +08:00
Samson-W 568d82253b Add method for check machine architecture and modify 8.1.4 2019-04-14 08:09:04 -04:00
Samson-W 822159dce1 Modify for lib and 8.1.2 2019-04-14 05:56:05 -04:00
Samson-W b2fd0dd674 1.Add audit and apply methods for 7.7.7: Ensure outbound and established connections are configured.
2.Fix some bug for lib and 7.7.6
2019-04-12 00:27:50 -04:00
Samson-W 7d0de8fdfe Add a method for check debian version is buster/10. 2019-04-11 14:57:14 -04:00
Samson-W d31530f2a6 Add methods for check outbound and input is set to accept. 2019-04-11 14:50:30 -04:00
Samson-W 86ca90d417 Fix some bugs for 7.7.5 2019-04-09 16:31:57 +08:00
samson 5caa36d5af Modify is_service_enabled method for debian 9, and apply to 2.25. 2019-04-01 04:15:09 +08:00
samson a4e0754891 Modify command use method: apt-get update 2019-03-30 18:49:19 +08:00
samson 6b14bed3c9 Delete debug line of check_param_pair_by_pam function 2018-12-30 03:09:26 +08:00
samson 2a881a5fbe Modify audit and apply methods for 2.1 2018-12-06 04:30:55 +08:00
samson 2772e8a55f Fix some bugs for mount options check of removable device 2018-12-06 02:41:44 +08:00
samson 64ab792e6c Fix bug for 10.1.9 and modify apt_update_if_needed function. 2018-12-05 15:10:06 +08:00
samson ff5447d2fb Modify for sysctl config persistent. 2018-12-03 02:43:43 +08:00
samson e6f204b7f0 Modify function for dpkg verity 2018-12-03 00:47:10 +08:00
samson 5f9346486d Fix some bugs. 2018-12-02 21:11:10 +08:00
samson 9c7ae21bee Fix some bug and add CIS_Debian_Linux_8_Benchmark to docs dir. 2018-12-01 04:36:21 +08:00
Samson-W 217c3cd020 Modify functions for firewall 2018-11-27 02:05:23 +08:00
Samson-W 0aa16f3e6d Modify for firewall 2018-11-26 12:45:43 -05:00
Samson-W 60be85163b Add audit and apply firewall(iptables) rules for 7.7.1 7.7.2 2018-11-26 09:52:46 -05:00
Samson-W 45a1d8ab0b Fix bug for 5.9 2018-11-21 16:22:29 -05:00
Samson-W 068e40b68a Fix bug for 4.5 2018-11-21 15:07:57 -05:00
Samson-W f5f0aab2b1 Fix bug of add_option_to_fstab function. 2018-11-21 04:32:59 -05:00
samson 62ceb5f36d Modify basic function add_option_to_fstab 2018-11-21 16:23:04 +08:00
Samson-W b5cff8047a Fix some bug 2018-11-21 02:45:33 -05:00
Samson-W 444f32cc04 Remove add_option_to_fstab_by_type method 2018-11-15 03:40:10 +08:00
Samson-W f44528cddb Add Notice and example description for add_option_to_fstab method. 2018-11-15 02:47:55 +08:00
Samson-W fcdf429202 Fix BUG:sed's back-references method may appear differently every time. 2018-11-15 02:38:29 +08:00
Samson-W 7bfbc817ed Add audit and apply methods for 2.27 2018-11-11 23:53:47 +08:00
Samson-W e0265d7517 Rename function name for human and modify associated file. 2018-11-06 04:31:36 +08:00
Samson-W 82b51590fc Fix bug: the problem of errors that occur when there is a substring and a parent string containing it. 2018-11-07 16:02:44 +08:00