Skip to content

Instantly share code, notes, and snippets.

@mjhuber
Last active January 15, 2019 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mjhuber/ba564f21806d104c693d437a21e9d15e to your computer and use it in GitHub Desktop.
Save mjhuber/ba564f21806d104c693d437a21e9d15e to your computer and use it in GitHub Desktop.
kubehunter

Running kubehunter

  1. Go to https://kube-hunter.aquasec.com/ and generate a token.
  2. Install the chart with reckoner.
namespace: infra
repository: stable
minimum_versions:
  helm: 2.10.0
  autohelm: 0.6.5
repositories:
  stable:
    url: https://kubernetes-charts.storage.googleapis.com
charts:
  kube-hunter:
    version: "1.0.1"
    values:
      cronjob.schedule: "30 9 * * 1"
      cronjob.failedJobsHistoryLimit: 3
      cronjob.successfulJobsHistoryLimit: 3
      image.tag: 195
      customArguments:
        - --token
        - "<kubehunter-token>"
  1. Once the job runs you can view a report at https://kube-hunter.aquasec.com/report.html?token=<kubehunter-token>. Here's an example report
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment