2020-11-13 21:46:24 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "starboard-octant-plugin";
|
2021-04-15 11:36:18 +01:00
|
|
|
version = "0.10.0";
|
2020-11-13 21:46:24 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aquasecurity";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-04-15 11:36:18 +01:00
|
|
|
sha256 = "sha256-3BifigdAFuOCrhJRv/w4k7pT4BTHfINuEkeG6zaI0v8=";
|
2020-11-13 21:46:24 +00:00
|
|
|
};
|
|
|
|
|
2021-04-15 11:36:18 +01:00
|
|
|
vendorSha256 = "sha256-1NTneOGU4R1xzR9hAI9MJWYuYTPgYtLa5vH1H5wyHcM=";
|
2020-11-13 21:46:24 +00:00
|
|
|
|
2021-01-27 15:50:54 +00:00
|
|
|
buildFlagsArray = [ "-ldflags=" "-s" "-w" ];
|
|
|
|
|
2020-11-13 21:46:24 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Octant plugin for viewing Starboard security information";
|
|
|
|
longDescription = ''
|
|
|
|
This is an Octant plugin for Starboard which provides visibility into vulnerability assessment reports for
|
|
|
|
Kubernetes workloads stored as custom security resources.
|
|
|
|
'';
|
|
|
|
homepage = src.meta.homepage;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ jk ];
|
|
|
|
};
|
|
|
|
}
|