当前位置:网站首页>检查YAML文件安全配置:kubesec
检查YAML文件安全配置:kubesec
2022-06-29 10:57:00 【识途老码】
kubesec简介
kubesec : 是一个针对K8syaml资源清单文件进行安全配置评估的工具,根据安全配置最佳实践来验证并给出建议。
官网 : https://kubesec.io
项目地址 : https://github.com/controlplaneio/kubesec
基本使用
# 检查yaml资源清单文件的安全配置
kubesec scan deployment.yaml
# 使用容器环境执行检查
docker run -i kubesec/kubesec scan /dev/stdin < deployment.yaml
使用http服务
# kubesec内置一个HTTP服务器,可以直接启用,远程调用。
kubesec http 8080 &
# Docker容器
docker run -d -p 8080:8080 kubesec/kubesec http 8080
# 示例:将yaml文件提交道web服务上检查
## 可以不带-sS参数
curl -sSX POST --data-binary @deployment.yaml http://192.168.31.71:8080/scan
边栏推荐
- (JS) catch errors (exceptions)
- Haitai Advanced Technology | application of privacy computing technology in medical data protection
- 小白学习MySQL - 增量统计SQL的需求 - 开窗函数的方案
- QT learning 15 separation of user interface and business logic
- [daily 3 questions (3)] reformat the phone number
- 开源机器学习平台
- Oracle NetSuite 助力 TCM Bio,洞悉数据变化,让业务发展更灵活
- (JS) imitate an instanceof method
- Qt学习02 GUI程序实例分析
- 信息技术应用创新专业人员(数据库)中级培训火热招生中(7月6-10日)
猜你喜欢

win11网页版
![[graduation season] summarize the past and look forward to the future](/img/9e/e0028e8328a8103793066e1eb1f99a.png)
[graduation season] summarize the past and look forward to the future

Take another picture of cloud redis' improvement path

美创入选信通院“业务安全推进计划”首批成员单位

启泰观察:职业精英创业必踩巨坑之 --- 学习效果坑

又拍雲 Redis 的改進之路
![[daily 3 questions (3)] reformat the phone number](/img/ba/0cfe8c084e626615934065b4dee453.png)
[daily 3 questions (3)] reformat the phone number

Discussion on QT learning 10 message processing in QT

Cornerstone of efficient remote office: effective communication | community essay solicitation

Qt学习16 Qt 对象间的父子关系
随机推荐
Design and implementation of IDS
Adding sharding sphere5.0.0 sub tables to the ruoyi framework (adding custom sub table policies through SPI)
Micro blog comment architecture design
Nature | biosynthetic potential of global marine microbiome
Go 单元测试入门实践
Oracle expands distributed cloud services to bring comprehensive public cloud services to more customers
Pipeline aggregations pipeline aggregations - parent-2
力扣(LeetCode)179. 最大数(2022.06.28)
美创入选信通院“业务安全推进计划”首批成员单位
二叉树递归与迭代
又拍雲 Redis 的改進之路
[HBZ sharing] principle of semaphore and countdownlatch
软件工程导论——第五章——总体设计
The former security director of Uber faced fraud allegations and concealed the data leakage event
(JS) isnan() method determines the reason why undefined is true
面试高并发,凉了!!(全程高能,建议收藏)
[daily 3 questions (1)] judge the color of a grid on the chess board
(JS) filter out keys with value greater than 2 in the object
(JS) array de duplication
信息技术应用创新专业人员(数据库)中级培训火热招生中(7月6-10日)