Skip to content
Snippets Groups Projects
  1. Aug 28, 2019
  2. 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
  3. Aug 23, 2019
  4. Aug 22, 2019
  5. Aug 09, 2019
  6. Aug 07, 2019
  7. Aug 06, 2019
  8. Jul 30, 2019
  9. Jul 26, 2019
  10. 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
  11. 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
  12. Jul 13, 2019
  13. Jul 12, 2019
  14. Jul 11, 2019
  15. Jul 10, 2019
  16. 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
  17. Jul 03, 2019
  18. Jul 01, 2019
  19. Jun 28, 2019
    • Manuel Rüger's avatar
      Detect kube-controller in CMD (#326) · 5e6cdfdb
      Manuel Rüger authored
      If kube-controller-manager is getting detected by older versions of
      procps, it will only be detected if we're looking for kube-controller
      (15 chars)
      
      NOTE: "The command name is not the same as the command line. Previous versions of
             procps and the kernel truncated this command name to 15
             characters. This limitation is no longer present in both. If
             you depended on matching only 15 characters, you may no longer
             get a match."
      5e6cdfdb
    • patelpayal's avatar
      fix go.mod dependency (#330) · e066ec69
      patelpayal authored
      e066ec69
  20. Jun 26, 2019
  21. Jun 25, 2019
  22. Jun 24, 2019
Loading