Skip to content
Snippets Groups Projects
  1. Sep 03, 2019
  2. Sep 02, 2019
  3. Aug 30, 2019
  4. Aug 29, 2019
  5. Aug 28, 2019
  6. 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
  7. Aug 23, 2019
  8. Aug 22, 2019
  9. Aug 09, 2019
  10. Aug 07, 2019
  11. Aug 06, 2019
  12. Jul 30, 2019
  13. Jul 26, 2019
  14. Jul 17, 2019
    • Roberto Rojas's avatar
      Issue #363: Adds Unit Tests for Test Comparisons (#366) · dab5e92b
      Roberto Rojas authored
      * issue #363: starts unit tests for Test Comparison.
      
      * issue #363: Adds tests for "eq" operation
      
      * changes test result message
      
      * issue #363: Adds tests for "noteq" operation
      
      * issue #363: Adds tests for "gt" operation
      
      * issue #363: Adds tests for "lt" operation
      
      * issue #363: Adds tests for "gte" operation
      
      * issue #363: Adds tests for "lte" operation
      
      * issue #363: Adds tests for "has" operation
      
      * issue #363: Adds tests for "nothave" operation
      
      * issue #363: Adds tests for "regex" operation
      dab5e92b
  15. 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
  16. Jul 13, 2019
  17. Jul 12, 2019
  18. Jul 11, 2019
  19. Jul 10, 2019
  20. Jul 08, 2019
    • Liz Rice's avatar
      Add comment about procps limitation (#333) · 25b2c5da
      Liz Rice authored
      25b2c5da
    • 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
  21. Jul 03, 2019
Loading