mrc2c / cis-benchmark-centos-8 Goto Github PK
View Code? Open in Web Editor NEWAuditing Script based on CIS-BENCHMARK CENTOS 8
License: Apache License 2.0
Auditing Script based on CIS-BENCHMARK CENTOS 8
License: Apache License 2.0
Hello and thanks for this project,
five functions invocation throw a "too many arguments" error. See the log below:
2020-11-19T13:29:36,279675747+00:00 [DEBUG] Level 1, function nftrul_perm running with id 3.3.14
2020-11-19T13:29:36,304571502+00:00 [DEBUG] Level 1, function fwll_op running with id 3.3.15
2020-11-19T13:29:36,335996451+00:00 [DEBUG] Level 1, function chk_ip6tables running with id 3.3.16
./centOS8.sh: line 1100: [: -eq: unary operator expected
2020-11-19T13:29:36,365033358+00:00 [DEBUG] Level 1, function chk_ip6tables running with id 3.3.17
2020-11-19T13:29:36,378849037+00:00 [DEBUG] Level 1, function not_scored running with id 3.3.18
2020-11-19T13:29:36,392579089+00:00 [DEBUG] Level 1, function not_scored running with id 3.3.19
2020-11-19T13:29:36,427035316+00:00 [DEBUG] Level 1, function wifi_config running with id 3.4.0
2020-11-19T13:29:37,085027987+00:00 [DEBUG] Level 1, function chkpkg_installed running with id 4.1.0
2020-11-19T13:29:37,108231625+00:00 [DEBUG] Level 1, function is_enabled running with id 4.1.1
2020-11-19T13:29:37,126254982+00:00 [DEBUG] Level 1, function rsyslog_perm running with id 4.1.2
2020-11-19T13:29:37,140512650+00:00 [DEBUG] Level 1, function not_scored running with id 4.1.3
2020-11-19T13:29:37,156722092+00:00 [DEBUG] Level 1, function send_log running with id 4.1.4
2020-11-19T13:29:37,170571978+00:00 [DEBUG] Level 1, function not_scored running with id 4.1.5
2020-11-19T13:29:37,186600046+00:00 [DEBUG] Level 1, function journald_cfg running with id 4.1.6
2020-11-19T13:29:37,202700549+00:00 [DEBUG] Level 1, function journald_cfg running with id 4.1.7
2020-11-19T13:29:37,219133896+00:00 [DEBUG] Level 1, function journald_cfg running with id 4.1.8
2020-11-19T13:29:37,233249645+00:00 [DEBUG] Level 1, function not_scored running with id 4.2.0
2020-11-19T13:29:37,256830541+00:00 [DEBUG] Level 1, function is_enabled running with id 5.1.0
2020-11-19T13:29:37,280587342+00:00 [DEBUG] Level 1, function cron_perm1 running with id 5.1.1
2020-11-19T13:29:37,303976420+00:00 [DEBUG] Level 1, function cron_perm1 running with id 5.1.2
2020-11-19T13:29:37,327334914+00:00 [DEBUG] Level 1, function cron_perm1 running with id 5.1.3
2020-11-19T13:29:37,351130309+00:00 [DEBUG] Level 1, function cron_perm1 running with id 5.1.4
2020-11-19T13:29:37,374349004+00:00 [DEBUG] Level 1, function cron_perm1 running with id 5.1.5
2020-11-19T13:29:37,397506543+00:00 [DEBUG] Level 1, function cron_perm1 running with id 5.1.6
2020-11-19T13:29:37,423615808+00:00 [DEBUG] Level 1, function cron_perm2 running with id 5.1.7
2020-11-19T13:29:37,447498418+00:00 [DEBUG] Level 1, function ssh_perm running with id 5.2.0
2020-11-19T13:29:37,472945111+00:00 [DEBUG] Level 1, function ssh_cfg_3 running with id 5.2.1
2020-11-19T13:29:37,512613659+00:00 [DEBUG] Level 1, function ssh_key_config running with id 5.2.2
2020-11-19T13:29:37,554016377+00:00 [DEBUG] Level 1, function ssh_key_config running with id 5.2.3
2020-11-19T13:29:37,580454611+00:00 [DEBUG] Level 1, function ssh_cfg_1 running with id 5.2.4
2020-11-19T13:29:37,606794972+00:00 [DEBUG] Level 1, function ssh_cfg_1 running with id 5.2.5
2020-11-19T13:29:37,633117158+00:00 [DEBUG] Level 1, function ssh_cfg_1 running with id 5.2.6
2020-11-19T13:29:37,658848226+00:00 [DEBUG] Level 1, function ssh_cfg_1 running with id 5.2.7
2020-11-19T13:29:37,685466484+00:00 [DEBUG] Level 1, function ssh_cfg_1 running with id 5.2.8
2020-11-19T13:29:37,711471476+00:00 [DEBUG] Level 1, function ssh_cfg_1 running with id 5.2.9
2020-11-19T13:29:37,737997337+00:00 [DEBUG] Level 1, function ssh_cfg_1 running with id 5.2.10
2020-11-19T13:29:37,764301951+00:00 [DEBUG] Level 1, function ssh_cfg_1 running with id 5.2.11
2020-11-19T13:29:37,803988780+00:00 [DEBUG] Level 1, function ssh_cfg_2 running with id 5.2.12
2020-11-19T13:29:37,830289666+00:00 [DEBUG] Level 1, function ssh_cfg_1 running with id 5.2.13
2020-11-19T13:29:37,856605952+00:00 [DEBUG] Level 1, function ssh_cfg_1 running with id 5.2.14
2020-11-19T13:29:37,883479007+00:00 [DEBUG] Level 1, function ssh_cfg_1 running with id 5.2.15
2020-11-19T13:29:37,909498378+00:00 [DEBUG] Level 1, function ssh_cfg_1 running with id 5.2.16
2020-11-19T13:29:37,936421055+00:00 [DEBUG] Level 1, function ssh_cfg_1 running with id 5.2.17
2020-11-19T13:29:37,952734835+00:00 [DEBUG] Level 1, function ssh_crypto running with id 5.2.18
2020-11-19T13:29:37,969884240+00:00 [DEBUG] Level 1, function auth_custom running with id 5.3.0
2020-11-19T13:29:37,988021490+00:00 [DEBUG] Level 1, function auth_profile running with id 5.3.1
2020-11-19T13:29:38,008057904+00:00 [DEBUG] Level 1, function auth_flck running with id 5.3.2
./centOS8.sh: line 1435: [: too many arguments
2020-11-19T13:29:38,029306954+00:00 [DEBUG] Level 1, function pam_config running with id 5.4.0
2020-11-19T13:29:38,052536365+00:00 [DEBUG] Level 1, function pam_config running with id 5.4.1
2020-11-19T13:29:38,069857657+00:00 [DEBUG] Level 1, function pam_config running with id 5.4.2
2020-11-19T13:29:38,091969904+00:00 [DEBUG] Level 1, function pam_config running with id 5.4.3
./centOS8.sh: line 1496: [: too many arguments
2020-11-19T13:29:38,114824121+00:00 [DEBUG] Level 1, function uae_cfg running with id 5.5.0
./centOS8.sh: line 1496: [: too many arguments
2020-11-19T13:29:38,135239962+00:00 [DEBUG] Level 1, function uae_cfg running with id 5.5.1
./centOS8.sh: line 1496: [: too many arguments
2020-11-19T13:29:38,155699394+00:00 [DEBUG] Level 1, function uae_cfg running with id 5.5.2
2020-11-19T13:29:38,178262731+00:00 [DEBUG] Level 1, function uae_cfg running with id 5.5.3
2020-11-19T13:29:38,367177008+00:00 [DEBUG] Level 1, function pwd_cfg running with id 5.5.4
I wish you guys will develop the feature to display the JSON output aa a Table on the terminal
Hello and thank you for this cool project.
I had to manually install "jq" (sudo yum install jq), then the script worked.
However, running the script does not create a "json_file/centOS8.json" file. If I run the script with an already existing "json_file/centOS8.json" file, the file gets deleted.
How can I get a result file?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.