当前位置:网站首页>检查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
边栏推荐
- How to test the performance of container platform, including stability, expansion efficiency and component performance
- Go 单元测试入门实践
- Rebuild confidence in China's scientific research - the latest nature index 2022 released that China's research output increased the most
- Micro blog comment architecture design
- 安全 创新 实践|海泰方圆受邀参加“数字时代的网信创新与价值共创”技术交流研讨会
- Exclusive interview with CTO: the company has deepened the product layout and accelerated the technological innovation of domestic EDA
- MMdet中的Resnet源码解读+Ghost模块
- ES6 数组方法
- Nature | 全球海洋微生物组的生物合成潜力
- 【HBZ分享】AQS + CAS +LockSupport 实现ReentrantLock的原理
猜你喜欢

中科方德技术专家直播:如何基于 OpenStack、Ceph 构建私有云平台? | 第 27 期

Live broadcast by technical experts from China Kuwait Fangde: how to build a private cloud platform based on openstack and CEPH| Issue 27

Qt学习01 GUI程序原理分析

Qt学习16 Qt 对象间的父子关系

软件工程导论——第五章——总体设计

【VTK】MFC基于VTK8.2的网格编辑器

Design and implementation of IDS

申请uniapp离线打包时的AppKey

Qt学习09 计算器界面代码重构

Qt学习08 启航!第一个应用实例
随机推荐
XML external entity injection vulnerability (I)
(JS) imitate the indexof method to find the position of a character in the string
(JS) array flat
【高并发】缓存思路
Oracle扩充分布式云端服务 为更多客户带来全面公有云服务
Qt学习15 用户界面与业务逻辑的分离
Qt学习08 启航!第一个应用实例
(JS) catch errors (exceptions)
如何通过WinDbg获取方法参数值
STM32看门狗研究
Live broadcast by technical experts from China Kuwait Fangde: how to build a private cloud platform based on openstack and CEPH| Issue 27
How to identify the exact length and width of the contour
Xuetong denies that the theft of QQ number is related to it: it has been reported; IPhone 14 is ready for mass production: four models are launched simultaneously; Simple and elegant software has long
ESP8266简介:三种编程方式「建议收藏」
2.8万字的Callable和Future面试知识点总结,看完我直接面进了字节跳动,原谅我有点飘了(下)
seekg ()[通俗易懂]
Qt学习03 Qt的诞生和本质
c# 键盘钩子
稳定币风险状况:USDT 和 USDC 安全吗?
重建中国科研自信——2022最新自然指数排行榜(Nature Index 2022 )公布,中国的研究产出增幅最大...