当前位置:网站首页>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
边栏推荐
- LeetCode145. Post order traversal of binary tree (three methods of recursion and iteration)
- AsyncSocket长连接棒包装问题解决
- Leetcode sword finger offer brush questions - day 21
- Mathematical formula screenshot recognition artifact mathpix unlimited use tutorial
- Selenium+pytest automated test framework practice
- Krypton Factor-紫书第七章暴力求解
- 派对的最大快乐值
- 基于脉冲神经网络的物体检测
- 3D reconstruction of point cloud
- 利用LNMP实现wordpress站点搭建
猜你喜欢

Fix the memory structure of JVM in one article

Element positioning of Web Automation

开关电源Buck电路CCM及DCM工作模式

Using LNMP to build WordPress sites

利用LNMP实现wordpress站点搭建

Neural structured learning 4 antagonistic learning for image classification

Go language implementation principle -- map implementation principle

How to quickly understand complex businesses and systematically think about problems?

How to design API return code (error code)?

Data analysis - Thinking foreshadowing
随机推荐
判斷二叉樹是否為完全二叉樹
golang代码检查工具
UVA11294-Wedding(2-SAT)
poj 2762 Going from u to v or from v to u? (infer whether it is a weak link diagram)
Three. JS VR house viewing
2: Chapter 1: understanding JVM specification 1: introduction to JVM;
Alibaba Tianchi SQL training camp task4 learning notes
Déterminer si un arbre binaire est un arbre binaire complet
White hat talks about web security after reading 2
UART Application Design and Simulation Verification 2 - TX Module Design (Stateless machine)
Neural structured learning 4 antagonistic learning for image classification
Registration of Electrical Engineering (elementary) examination in 2022 and the latest analysis of Electrical Engineering (elementary)
C Primer Plus Chapter 9 question 10 binary conversion
ORB_ SLAM2/3
Three.JS VR看房
【Note17】PECI(Platform Environment Control Interface)
Realize reverse proxy client IP transparent transmission
[screen recording] how to record in the OBS area
2:第一章:认识JVM规范1:JVM简介;
查看网页最后修改时间方法以及原理简介