Skip to content
Snippets Groups Projects
  1. Oct 23, 2019
  2. Oct 16, 2019
  3. Oct 15, 2019
  4. Oct 14, 2019
  5. Oct 11, 2019
  6. Sep 21, 2019
  7. Aug 30, 2019
  8. 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
  9. 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
  10. 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
  11. 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
  12. Jul 03, 2019
  13. 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
  14. Jun 24, 2019
  15. Jun 11, 2019
  16. Jun 05, 2019
  17. Jun 01, 2019
  18. May 30, 2019
  19. Apr 23, 2019
  20. Apr 11, 2019
  21. Mar 27, 2019
  22. Mar 26, 2019
  23. 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
  24. Mar 12, 2019
  25. Jan 15, 2019
  26. Jan 14, 2019
  27. Jan 11, 2019
  28. Dec 31, 2018
  29. Dec 27, 2018
  30. Dec 20, 2018
  31. Nov 20, 2018
    • Liz Rice's avatar
      Also /var · bdbbe41b
      Liz Rice authored
      bdbbe41b
    • Liz Rice's avatar
      read config files from host /etc · ba998504
      Liz Rice authored
      I don't see how kube-bench can check the permissions on files unless it has access to them on the host, so I think we need to be mounting the /etc directory from the host
      ba998504
  32. Nov 07, 2018
  33. Oct 09, 2018
  34. Sep 03, 2018
    • Luke Bond's avatar
      Update README.md · 8894b1dc
      Luke Bond authored
      Specify `-t` to get colour in the Docker output.
      Added a note about mounting kubectl or kubelet to get the version.
      8894b1dc
Loading