mirror of
https://abf.rosa.ru/djam/kubescape.git
synced 2025-02-23 14:52:51 +00:00
Imported from SRPM
This commit is contained in:
commit
079a535446
2 changed files with 39 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
sources:
|
||||||
|
kubescape-0.0.38.tar.gz: 145357623952f50e4ebc2efcf0c7bd397e198da6
|
37
kubescape.spec
Normal file
37
kubescape.spec
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
%define debug %nil
|
||||||
|
%define debug_package %nil
|
||||||
|
|
||||||
|
Name: kubescape
|
||||||
|
Version: 0.0.38
|
||||||
|
Release: 1
|
||||||
|
Summary: NSA and CISA kubernetes securely tests
|
||||||
|
URL: https://github.com/armosec/kubescape
|
||||||
|
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}
|
Loading…
Add table
Reference in a new issue