···11+{ lib
22+, btrfs-progs
33+, buildGoModule
44+, fetchFromGitHub
55+, lvm2
66+, pkg-config
77+}:
88+99+buildGoModule rec {
1010+ pname = "kubeclarity";
1111+ version = "2.18.0";
1212+1313+ src = fetchFromGitHub {
1414+ owner = "openclarity";
1515+ repo = pname;
1616+ rev = "refs/tags/v${version}";
1717+ hash = "sha256-qXBD3JurBU7RBemj+gr/tBGpfqKhwk5VPBKaTuM4URg=";
1818+ };
1919+2020+ vendorHash = "sha256-L7g48EH3cuhgSZ87JoMVvv5nGDzjUpOufsikINCdhao=";
2121+2222+ nativeBuildInputs = [
2323+ pkg-config
2424+ ];
2525+2626+ buildInputs = [
2727+ btrfs-progs
2828+ lvm2
2929+ ];
3030+3131+ sourceRoot = "${src.name}/cli";
3232+3333+ ldflags = [
3434+ "-s"
3535+ "-w"
3636+ ];
3737+3838+ postInstall = ''
3939+ mv $out/bin/cli $out/bin/kubeclarity
4040+ '';
4141+4242+ meta = with lib; {
4343+ description = "Kubernetes runtime scanner";
4444+ longDescription = ''
4545+ KubeClarity is a vulnerabilities scanning and CIS Docker benchmark tool that
4646+ allows users to get an accurate and immediate risk assessment of their
4747+ kubernetes clusters. Kubei scans all images that are being used in a
4848+ Kubernetes cluster, including images of application pods and system pods.
4949+ '';
5050+ homepage = "https://github.com/openclarity/kubeclarity";
5151+ changelog = "https://github.com/openclarity/kubeclarity/releases/tag/v${version}";
5252+ license = with licenses; [ asl20 ];
5353+ maintainers = with maintainers; [ fab ];
5454+ };
5555+}
-31
pkgs/tools/security/kubei/default.nix
···11-{ lib
22-, buildGoModule
33-, fetchFromGitHub
44-}:
55-66-buildGoModule rec {
77- pname = "kubei";
88- version = "1.0.12";
99-1010- src = fetchFromGitHub {
1111- owner = "Portshift";
1212- repo = pname;
1313- rev = version;
1414- sha256 = "sha256-QUPRw8fQ6ahBLZox6m4+feYIrcgDnCTe72nMF8iAV+Y=";
1515- };
1616-1717- vendorSha256 = "sha256-uWDQf0zcTTPBthK60bmGJBP/m+yUu5PvYAbwyd0dcWE=";
1818-1919- meta = with lib; {
2020- description = "Kubernetes runtime scanner";
2121- longDescription = ''
2222- Kubei is a vulnerabilities scanning and CIS Docker benchmark tool that
2323- allows users to get an accurate and immediate risk assessment of their
2424- kubernetes clusters. Kubei scans all images that are being used in a
2525- Kubernetes cluster, including images of application pods and system pods.
2626- '';
2727- homepage = "https://github.com/Portshift/kubei";
2828- license = with licenses; [ asl20 ];
2929- maintainers = with maintainers; [ fab ];
3030- };
3131-}
+3-3
pkgs/tools/security/nmap-formatter/default.nix
···5566buildGoModule rec {
77 pname = "nmap-formatter";
88- version = "2.0.4";
88+ version = "2.1.0";
991010 src = fetchFromGitHub {
1111 owner = "vdjagilev";
1212 repo = pname;
1313 rev = "v${version}";
1414- hash = "sha256-UIGXstgQMBMept9W+HhyE30WYWleaU9bUTX5frctrS8=";
1414+ hash = "sha256-9DbX1pHI/G6aejVN6AgULOxnpawnJHTiYMiTq+crMJI=";
1515 };
16161717- vendorSha256 = "sha256-VX/JVqCKhjBq67D7juHdgpzBgSjOHn0Pbmx9s04tinw=";
1717+ vendorHash = "sha256-OwyLY8y+HGxCteRqGEYvnVa6r27TwT9s9HyWKtvIxxI=";
18181919 meta = with lib; {
2020 description = "Tool that allows you to convert nmap output";
···812812 krename-qt5 = throw "'krename-qt5' has been renamed to/replaced by 'krename'"; # Converted to throw 2022-02-22
813813 krita-beta = krita; # moved from top-level 2021-12-23
814814 kube-aws = throw "kube-aws is deprecated and archived by upstream"; # Added 2022-04-05
815815+ kubei = kubeclarity; # Added 2023-05-20
815816 kubeless = throw "kubeless is deprecated and archived by upstream"; # Added 2022-04-05
816817 kubicorn = throw "kubicorn has been dropped due to the lack of maintenance from upstream since 2019"; # Added 2022-05-30
817818 kvm = throw "'kvm' has been renamed to/replaced by 'qemu_kvm'"; # Converted to throw 2022-02-22