Skip to content
Snippets Groups Projects
  1. Sep 09, 2020
  2. Aug 30, 2020
  3. Aug 04, 2020
  4. Jun 24, 2020
  5. Mar 03, 2020
  6. Jan 07, 2020
  7. Dec 13, 2019
    • Roberto Rojas's avatar
      Fixes Issue #535 (#537) · 13193d75
      Roberto Rojas authored
      * isEtcd should not run on openshift 3.10/3.11
      
      * adds openssl
      
      * fixed tests
      
      * fixes bugs
      
      * adds isEtcd tests
      13193d75
  8. Dec 12, 2019
  9. Dec 05, 2019
    • Roberto Rojas's avatar
      Fixes Issue #494 - add tests for CIS 1.5 (#530) · af976e6f
      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: default avatarLiz Rice <liz@lizrice.com>
      
      * Update README.md
      
      Co-Authored-By: default avatarLiz Rice <liz@lizrice.com>
      
      * fixes as per PR review
  10. Dec 02, 2019
    • Liz Rice's avatar
      Add run subcommand (#529) · f2caa1f0
      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
      f2caa1f0
  11. Nov 13, 2019
  12. Nov 05, 2019
  13. Oct 14, 2019
  14. Oct 12, 2019
  15. Aug 27, 2019
    • Abubakr-Sadik Nii Nai Davis's avatar
      Read kubernetes version from environment (#390) · 92df9cb3
      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
      92df9cb3
  16. Aug 22, 2019
  17. Jul 01, 2019
  18. May 29, 2019
  19. May 15, 2019
  20. May 01, 2019
  21. Mar 12, 2019
  22. Aug 10, 2018
  23. May 15, 2018
  24. Apr 12, 2018
  25. Apr 10, 2018
  26. Jan 11, 2018
  27. Nov 13, 2017
  28. Oct 31, 2017
  29. Aug 31, 2017
  30. Jul 25, 2017
  31. Jul 13, 2017
  32. Jul 10, 2017
  33. Jul 07, 2017
  34. Jun 30, 2017
    • Abubakr-Sadik Nii Nai Davis's avatar
      Resolve issue #7 wait: error running audit command exit status 1. · d0d9900b
      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.
      d0d9900b
  35. Jun 23, 2017
Loading