- Sep 09, 2020
-
-
Huang Huang authored
-
- Aug 30, 2020
-
-
Liz Rice authored
* move target mapping to config.yaml * Update config.yaml * Update common.go * Add support for eks-1.0 Add also eks-1.0 to map * chore: merge correction * Move file only used for testing * Tidier logs * Add target mapping for GKE and EKS * fingers cross this finishes target mapping Co-authored-by:
Murali Paluru <leodotcloud@gmail.com> Co-authored-by:
Roberto Rojas <robertojrojas@gmail.com> Co-authored-by:
yoavrotems <yoavrotems97@gmail.com>
-
- Aug 04, 2020
- Jun 24, 2020
-
-
Huang Huang authored
* Fix invalid JSON output Fixes #622 * Apply suggestions from code review Co-authored-by:
Liz Rice <liz@lizrice.com> * Add tests Co-authored-by:
Liz Rice <liz@lizrice.com>
-
- Mar 03, 2020
-
-
Abubakr-Sadik Nii Nai Davis authored
* Add initial commit for CIS GKE 1.0 benchmark * Update README with GKE instructions * Fix YAML linter issues * Set GKE benchmark k8s version to gke-1.0 * Add tests for gke-1.0 Co-authored-by:
Roberto Rojas <robertojrojas@gmail.com>
-
- Jan 07, 2020
-
-
Murali Paluru authored
* remove always true for logtostderr * update README for log collection instructions Co-authored-by:
Liz Rice <liz@lizrice.com>
-
- Dec 13, 2019
-
-
Roberto Rojas authored
* isEtcd should not run on openshift 3.10/3.11 * adds openssl * fixed tests * fixes bugs * adds isEtcd tests
-
- Dec 12, 2019
-
-
Roberto Rojas authored
-
- Dec 05, 2019
-
-
Roberto Rojas authored
* Initial commit. * Add master and node config. * Add section 5 of CIS 1.5.1. * Split sections into section files * Fix YAML issues. * adds target translation * adds target translation * adds cis-1.5 mapping * fixed tests * fixes are per PR * fixed intergration test * integration kind test file to appropriate ks8 version * fixed etcd text * fixed README * fixed text * etcd: fixed grep path * etcd: fixes * fixed error message bug * Update README.md Co-Authored-By:
Liz Rice <liz@lizrice.com> * Update README.md Co-Authored-By:
Liz Rice <liz@lizrice.com> * fixes as per PR review
-
- Dec 02, 2019
-
-
Liz Rice authored
* test: fix TestGetConfigFilePath This test wasn't correctly creating the test file due to the wrong directory permissions on the temp file. This wasn't detected due to a lack of error checking. Also, the code was only checking for file not exist rather than lack of permission to read file (or any other error). The combination of these two things means the test wasn't checking what it thought it was checking, and passed more by luck than judgment. * add getYamlFilesFromDir * add getTestYamlFiles and test * docs: Update master / node help text * return path + filename from getYamlFilesFromDir * subcommand run to run specific section files
-
- Nov 13, 2019
-
-
John Schnake authored
If running these checks in a CI system it may be beneficial to output in a more standardized format such as JUnit for parsing by other tools in a consistent manner. Fixes #460 Signed-off-by:
John Schnake <jschnake@vmware.com>
-
- Nov 05, 2019
-
-
Roberto Rojas authored
* starting benchmark flag * Revert "starting benchmark flag" This reverts commit 58fc948626cb2f99a4f26e9cef3675b4d0938176. * fixes issue #269 * add more unit tests * fix bug * Update cmd/common.go Co-Authored-By:
Liz Rice <liz@lizrice.com> * fixes as per PR review * fixes as per PR review * adds more tests * fixed tests * changes as per PR Review * changes as per PR Review * updated README * Update README.md Co-Authored-By:
Liz Rice <liz@lizrice.com> * Update README.md Co-Authored-By:
Liz Rice <liz@lizrice.com> * Update README.md Co-Authored-By:
Liz Rice <liz@lizrice.com> * Update README.md Co-Authored-By:
Liz Rice <liz@lizrice.com> * changes are per PR review
-
- Oct 14, 2019
-
-
Roberto Rojas authored
* removed version prior to 1.11 * removed references to kubernetes versions prior to 1.11
-
- Oct 12, 2019
-
-
Roberto Rojas authored
-
- Aug 27, 2019
-
-
Abubakr-Sadik Nii Nai Davis authored
* Read kubernetes version from environment Set kubernetes version to the value of the environment variable `KUBE_BENCH_VERSION` if it is defined and the flag `--version` is not specified on the kube-bench command line. The command line flag `--version` takes precedence of the environment variable `KUBE_BENCH_VERSION` if both are defined. * Add info about KUBE_BENCH_VERSION to README
-
- Aug 22, 2019
-
-
Abubakr-Sadik Nii Nai Davis authored
* Fix version command failing because of missing config file it does not need. * Fix typo * Remove reference to github issue in comment
-
- Jul 01, 2019
-
-
patelpayal authored
* add glog flush to write the output to a file * add glog flush before exit on error and fix code comment
-
- May 29, 2019
-
-
nshauli authored
-
- May 15, 2019
-
-
Yoav Hizkiahou authored
fix #110
-
- May 01, 2019
-
-
Daniel Pacak authored
-
Daniel Pacak authored
-
- Mar 12, 2019
-
-
Cyril Tovena authored
The root command will run node checks and if possible master checks. I've also added some Makefile targets to improve local testing and improve the documentation.
-
- Aug 10, 2018
-
-
bvwells authored
-
- May 15, 2018
-
-
Abubakr-Sadik Nii Nai Davis authored
-
Abubakr-Sadik Nii Nai Davis authored
it has grown stale and is dependent on k8s version we are checking.
-
- Apr 12, 2018
-
-
Will Medlar authored
-
- Apr 10, 2018
-
-
Abubakr-Sadik Nii Nai Davis authored
--noresults. These flags disable printing sections of the final output of kube-bench.
-
- Jan 11, 2018
-
-
Lee Briggs authored
-
- Nov 13, 2017
-
-
Abubakr-Sadik Nii Nai Davis authored
-
- Oct 31, 2017
-
-
Steven Logue authored
-
- Aug 31, 2017
-
-
Liz Rice authored
-
- Jul 25, 2017
-
-
Abubakr-Sadik Nii Nai Davis authored
-
- Jul 13, 2017
-
-
Abubakr-Sadik Nii Nai Davis authored
-
Abubakr-Sadik Nii Nai Davis authored
-
- Jul 10, 2017
-
-
Abubakr-Sadik Nii Nai Davis authored
Issue #17.
-
- Jul 07, 2017
-
-
Abubakr-Sadik Nii Nai Davis authored
-
- Jun 30, 2017
-
-
Abubakr-Sadik Nii Nai Davis authored
This is caused by a command in the audit pipeline (for example ps -ef | grep kube-apiserver) failing. The causes of this failure in my testing is usually a missing config file. Extensive refactor and correction in verification code to check for config files and binaries. Replace joncalhoun/pipes with implementation using exec.Cmds so errors are visible and can be handled when audit pipeline commands fail. Change some audit commands from: ps -ef | grep <cmd> | grep -v to: ps -C <something> -o comm,args --no-headers which is simpler to work with.
-
- Jun 23, 2017