Skip to content
Snippets Groups Projects
  1. Feb 12, 2020
  2. Jan 07, 2020
  3. Dec 20, 2019
  4. 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
  5. Nov 06, 2019
  6. Nov 05, 2019
  7. Oct 24, 2019
  8. Oct 23, 2019
  9. Oct 16, 2019
  10. Oct 15, 2019
  11. Oct 14, 2019
  12. Oct 11, 2019
  13. Sep 21, 2019
  14. Aug 30, 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 07, 2019
    • Abubakr-Sadik Nii Nai Davis's avatar
      Remove duplicate documentation. (#373) · 2e27d681
      Abubakr-Sadik Nii Nai Davis authored
      * Remove duplicate documentation.
      
      * Add test configuration header back in main README.
      
      * Add missing regex operator in docs/README.
      
      * Fix incorrect description of configuration options bins, confs etc.
      
      * Move description of version auto-detection to main README.
      
      * Use 1.13 in examples since cfg/1.12 doesn't exist
      
      * Remove duplicate sentence about regex
      
      This sentence is now in the docs/README
      
      * Add link to the docs for test YAML definitions
      2e27d681
  17. Jul 16, 2019
    • yoavrotems's avatar
      Add codecov (#336) · 7c97f6a4
      yoavrotems authored
      * Update .gitignore
      
      * Update .travis.yml
      
      * Update makefile
      
      * Update .travis.yml
      
      * Update .travis.yml
      
      * Update .travis.yml
      
      * Update README.md
      
      * Update README.md
      
      * Update README.md
      
      * Update makefile
      
      * Update .travis.yml
      7c97f6a4
  18. Jul 08, 2019
    • Liz Rice's avatar
      Need credentials in order to run kubectl version (#332) · 08097d22
      Liz Rice authored
      Without passing in kubeconfig credentials:
      
      ```bash
      $ docker run --pid=host -v /etc:/etc:ro -v /var:/var:ro -v $(which kubectl):/usr/bin/kubectl -t lizrice/kube-bench:5e6cdfdb master -v 1
      I0628 16:52:06.591683    6099 util.go:367] Unable to get Kubernetes version from kubectl, using default version: 1.6
      I0628 16:52:06.591822    6099 common.go:74] Using benchmark file: cfg/1.6/master.yaml
      ...
      ```
      As updated in the README with this fix:
      
      ```bash
      docker run --pid=host -v /etc:/etc:ro -v /var:/var:ro -v $(which kubectl):/usr/bin/kubectl -v ~/.kube:/.kube -e KUBECONFIG=/.kube/config -t lizrice/kube-bench:5e6cdfdb master -v 1
      I0628 16:53:26.784122    7224 util.go:131] No test file found for 1.14 - using tests for Kubernetes 1.13
      I0628 16:53:26.784961    7224 common.go:228] Using config file: cfg/1.13/config.yaml
      ...
      ```
      08097d22
  19. Jul 03, 2019
  20. Jun 25, 2019
    • Liz Rice's avatar
      Add pull requests section · 0ab09a85
      Liz Rice authored
      Add pull requests section
      Include instructions for kube-bench version
      Other small wording changes
      0ab09a85
  21. Jun 24, 2019
  22. Jun 11, 2019
  23. Jun 05, 2019
  24. Jun 01, 2019
  25. May 30, 2019
  26. Apr 23, 2019
  27. Apr 11, 2019
  28. Mar 27, 2019
  29. Mar 26, 2019
  30. Mar 21, 2019
    • Florent Delannoy's avatar
      Update documentation after review · abfc38d6
      Florent Delannoy authored
      abfc38d6
    • Florent Delannoy's avatar
      Support JSON and YAML configuration · 4d3144ca
      Florent Delannoy authored
      Support new configuration options besides --flags:
      - JSON file through `jsonpath`
      - YAML file through `yamlpath`
      
      These new options are fully backwards-compatible with the existing
      tests.
      
      Added a new profile, 1.11-json, that expects a JSON kubelet
      configuration file and scores accordingly. This profile is compatible
      with EKS.
      4d3144ca
  31. Mar 12, 2019
  32. Jan 15, 2019
  33. Jan 14, 2019
  34. Jan 11, 2019
Loading