2020-11-13 21:46:24 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "starboard-octant-plugin";
|
2021-02-15 10:15:39 +00:00
|
|
|
version = "0.9.2";
|
2020-11-13 21:46:24 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aquasecurity";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-15 10:15:39 +00:00
|
|
|
sha256 = "sha256-wis2ECCVXQeD7GiCMJQai+wDM8QJ1j5dPnE5O/I3wpM=";
|
2020-11-13 21:46:24 +00:00
|
|
|
};
|
|
|
|
|
2021-02-15 10:15:39 +00:00
|
|
|
vendorSha256 = "sha256-T0wDbAl5GXphZIBrM36OwRCojnJ/cbXNqsjtCzUDZ6s=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|