当前位置:网站首页>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 12 (BGP black hole, anti ring, configuration)
- 无刷驱动设计——浅谈MOS驱动电路
- poj 2762 Going from u to v or from v to u? (infer whether it is a weak link diagram)
- Media query: importing resources
- 如何快速理解复杂业务,系统思考问题?
- 芯源&立创EDA训练营——无刷电机驱动
- TypeError: this. getOptions is not a function
- Alibaba Tianchi SQL training camp task4 learning notes
- How to quickly understand complex businesses and systematically think about problems?
- Week 17 homework
猜你喜欢
Neural structured learning - Part 3: training with synthesized graphs
【Note17】PECI(Platform Environment Control Interface)
并查集实践
[screen recording] how to record in the OBS area
How to quickly understand complex businesses and systematically think about problems?
两数之和、三数之和(排序+双指针)
2: Chapter 1: understanding JVM specification 1: introduction to JVM;
Debian 10 installation configuration
LabVIEW打开PNG 图像正常而 Photoshop打开得到全黑的图像
Object detection based on impulse neural network
随机推荐
Go语言实现原理——Map实现原理
C# Linq Demo
Use the rewrite rule to rewrite all accesses to the a domain name to the B domain name
UVA11294-Wedding(2-SAT)
Hainan Nuanshen tea recruits warmhearted people: recruitment of the product experience recommender of Nuanshen multi bubble honey orchid single cluster
Déterminer si un arbre binaire est un arbre binaire complet
Basic knowledge of database (interview)
ORB_ SLAM2/3
使用rewrite规则实现将所有到a域名的访问rewrite到b域名
424. 替换后的最长重复字符 ●●
Registration of Electrical Engineering (elementary) examination in 2022 and the latest analysis of Electrical Engineering (elementary)
(4) UART application design and simulation verification 2 - TX module design (stateless machine)
Scala concurrent programming (II) akka
98. 验证二叉搜索树 ●●
asp.net弹出层实例
TVS管和ESD管的技术指标和选型指南-嘉立创推荐
Douban scoring applet Part-2
February 13, 2022-4-symmetric binary tree
Use of metadata in golang grpc
Composition of interface