当前位置:网站首页>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
边栏推荐
- Hcip day 11 (BGP agreement)
- PLC编程基础之数据类型、变量声明、全局变量和I/O映射(CODESYS篇 )
- Yiwen gets rid of the garbage collector
- Leecode learning notes
- CorelDRAW plug-in -- GMS plug-in development -- new project -- macro recording -- VBA editing -- debugging skills -- CDR plug-in (2)
- 2022 registration examination for safety management personnel of hazardous chemical business units and simulated reexamination examination for safety management personnel of hazardous chemical busines
- 两数之和、三数之和(排序+双指针)
- Shell: operator
- YML configuration, binding and injection, verification, unit of bean
- 使用rewrite规则实现将所有到a域名的访问rewrite到b域名
猜你喜欢

并查集实践

Matlab smooth curve connection scatter diagram

【原创】程序员团队管理的核心是什么?

视频标准二三事

Neural structured learning - Part 2: training with natural graphs

Element positioning of Web Automation

芯源&立创EDA训练营——无刷电机驱动

【Note17】PECI(Platform Environment Control Interface)
![[screen recording] how to record in the OBS area](/img/34/bd06bd74edcdabaf678c8d7385cae9.jpg)
[screen recording] how to record in the OBS area

TypeError: this. getOptions is not a function
随机推荐
UART Application Design and Simulation Verification 2 - TX Module Design (Stateless machine)
CJ mccullem autograph: to dear Portland
asp. Net pop-up layer instance
Multi camera stereo calibration
Non rigid / flexible point cloud ICP registration
PLC编程基础之数据类型、变量声明、全局变量和I/O映射(CODESYS篇 )
Negative sampling
The method and principle of viewing the last modification time of the web page
视频标准二三事
Three.js-01 入门
How to quickly understand complex businesses and systematically think about problems?
3D reconstruction of point cloud
Judge whether the binary tree is a complete binary tree
The maximum happiness of the party
Douban scoring applet Part-2
Media query: importing resources
Development specification: interface unified return value format [resend]
C Primer Plus Chapter 9 question 10 binary conversion
Composition of interface
(4)UART應用設計及仿真驗證2 —— TX模塊設計(無狀態機)