当前位置:网站首页>CIS基准测试工具kube-bench使用
CIS基准测试工具kube-bench使用
2022-07-05 23:06:00 【识途老码】
CIS基准测试工具kube-bench使用
CIS安全基准
CIS官网: https://www.cisecurity.org/
K8S CIS基准: https://www.cisecurity.org/benchmark/kubernetes
CIS基准测试工具kube-bench
项目地址: https://github.com/aquasecurity/kube-bench
kube-bench基本使用
# 查看kube-bech的使用参数
kube-bench --help
测试项目配置文件
/etc/kube-bench/cfg/
是kube-bench的项目测试配置文件的目录.
测试master
kube-apiserver配置
参考地址: https://kubernetes.io/zh-cn/docs/reference/command-line-tools-reference/kube-apiserver/kube-apiserver
配置文件:/etc/kubernetes/manifests/kube-apiserver.yaml
# 对master进行测试
kube-bench run -s master
# 对master进行测试并只显示FAIL
kube-bench master|grep FAIL
测试node
Kubelet配置
参考地址: https://kubernetes.io/zh-cn/docs/reference/command-line-tools-reference/kubelet/
Kubelet
配置文件:/etc/kubernetes/kubelet.conf
# 对node进行测试
kube-bench run -s node
测试ETCD
# 对etcd进行测试
kube-bench run -s etcd
边栏推荐
- How to design API return code (error code)?
- PLC编程基础之数据类型、变量声明、全局变量和I/O映射(CODESYS篇 )
- 二叉树递归套路总结
- asp. Net pop-up layer instance
- Detailed explanation of pointer and array written test of C language
- npm ELECTRON_ Mirror is set as domestic source (npmmirror China mirror)
- Hj16 shopping list
- Element operation and element waiting in Web Automation
- YML configuration, binding and injection, verification, unit of bean
- Initial experience | purchase and activate typora software
猜你喜欢
Expectation, variance and covariance
Realize reverse proxy client IP transparent transmission
openresty ngx_lua请求响应
[original] what is the core of programmer team management?
Data type, variable declaration, global variable and i/o mapping of PLC programming basis (CoDeSys)
【Note17】PECI(Platform Environment Control Interface)
Common JVM tools and optimization strategies
Sum of two numbers, sum of three numbers (sort + double pointer)
TypeError: this. getOptions is not a function
Hainan Nuanshen tea recruits warmhearted people: recruitment of the product experience recommender of Nuanshen multi bubble honey orchid single cluster
随机推荐
UART Application Design and Simulation Verification 2 - TX Module Design (Stateless machine)
Idea rundashboard window configuration
Three. Js-01 getting started
6-axis and 9-axis IMU attitude estimation
判斷二叉樹是否為完全二叉樹
From the perspective of quantitative genetics, why do you get the bride price when you get married
Comparison between webgl and webgpu [3] - vertex buffer
How to design API return code (error code)?
Use of shell:for loop
Judge whether the binary tree is a complete binary tree
grafana工具界面显示报错influxDB Error
进击的技术er——自动化
Calculating the number of daffodils in C language
openresty ngx_ Lua request response
openresty ngx_ Lua regular expression
数据库基础知识(面试)
代码农民提高生产力
2.13 summary
(4)UART应用设计及仿真验证2 —— TX模块设计(无状态机)
Use of metadata in golang grpc