kubescape/kubescape.spec

38 lines
797 B
RPMSpec
Raw Normal View History

2021-08-23 10:10:39 +03:00
%define debug %nil
%define debug_package %nil
Name: kubescape
2023-04-05 01:20:44 +00:00
Version: 2.2.6
2021-08-23 10:10:39 +03:00
Release: 1
Summary: NSA and CISA kubernetes securely tests
2023-04-05 01:20:44 +00:00
URL: https://github.com/armosec/kubescape
2021-08-23 10:10:39 +03:00
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
License: ASL 2.0
Group: Development/Other
BuildRequires: go >= 1.11
BuildRequires: git-core
BuildRequires: upx
%description
Kubescape is the first tool for testing if Kubernetes
is deployed securely as defined in Kubernetes Hardening
Guidance by to NSA and CISA Tests are configured with
YAML files, making this tool easy to update as test
specifications evolve.
%prep
%setup -q
%build
go mod tidy
go build -o %{name} .
upx %{name}
%install
install -Dm0755 %{name} %{buildroot}%{_bindir}/%{name}
%files
%doc README.md LICENSE
%{_bindir}/%{name}