diff options
Diffstat (limited to 'pkgs/applications/networking/cluster/starboard/default.nix')
-rw-r--r-- | pkgs/applications/networking/cluster/starboard/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/starboard/default.nix b/pkgs/applications/networking/cluster/starboard/default.nix new file mode 100644 index 000000000000..bc42bf13666a --- /dev/null +++ b/pkgs/applications/networking/cluster/starboard/default.nix @@ -0,0 +1,42 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "starboard"; + version = "0.6.0"; + + src = fetchFromGitHub { + owner = "aquasecurity"; + repo = pname; + rev = "v${version}"; + sha256 = "00d3cnd3n6laa6rphw5w9xk8slpp4a603vzhixzg01sghq26gy22"; + }; + + vendorSha256 = "0y816r75rp1a4rp7j0a8wzrfi2mdf4ji1vz2vaj5s7x9ik6rc13r"; + + subPackages = [ "cmd/starboard" ]; + + doCheck = false; + + buildFlagsArray = [ + "-ldflags=" + "-s" + "-w" + "-X main.version=v${version}" + ]; + + meta = with lib; { + description = "Kubernetes-native security tool kit"; + longDescription = '' + Starboard integrates security tools into the Kubernetes environment, so + that users can find and view the risks that relate to different resources + in a Kubernetes-native way. Starboard provides custom security resources + definitions and a Go module to work with a range of existing security + tools, as well as a kubectl-compatible command-line tool and an Octant + plug-in that make security reports available through familiar Kubernetes + tools. + ''; + homepage = src.meta.homepage; + license = licenses.asl20; + maintainers = with maintainers; [ jk ]; + }; +} |