Skip to content

Commit

Permalink
update kubescape version to 135
Browse files Browse the repository at this point in the history
  • Loading branch information
dwertent committed Dec 21, 2021
1 parent 892f707 commit 5cef4fb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
# homebrew-kubescape
Homebrew for Kubescape

## Update homebrew-kubescape release

1. Set URL with the latest version (you must provide a fixed version and not latest)
```
url "https://github.com/armosec/kubescape/releases/download/<version>/kubescape-macos-latest"
```
2. Set the executable hash
```
sha256 "<sha256>"
```

Find the sha256 ->
* Download latest release
Make sure you have the right location of the latest release (run `whereis kubescape` and then make sure the version is the latest)
* Get the sha256 -> `sha256sum /home/david/.local/bin/kubescape`
4 changes: 2 additions & 2 deletions kubescape.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Kubescape < Formula
desc "Kubernetes testing according to Hardening Guidance by NSA and CISA"
homepage "https://github.com/armosec/kubescape"
url "https://github.com/armosec/kubescape/releases/download/v1.0.132/kubescape-macos-latest"
sha256 "7c55d8e140d511b3f9a22b2a81179f89899e928d16219bb7833d5f0ee8f5c4df"
url "https://github.com/armosec/kubescape/releases/download/v1.0.135/kubescape-macos-latest"
sha256 "641027f494fe8ece6f6927f9bf93e0067fdc299aa0b682ee2822058787998f50"
license "Apache-2.0"

def install
Expand Down

0 comments on commit 5cef4fb

Please sign in to comment.