当前位置: 首页 > news >正文

低价服装网站建设怎么优化网络

低价服装网站建设,怎么优化网络,wordpress首页模板在哪,网站建设色彩最近准备花一周的时间准备CKS考试,在准备考试中发现有一个题目关于audit policy的题目。 ​ 专栏其他文章: [CKS] Create/Read/Mount a Secret in K8S-CSDN博客[CKS] Audit Log Policy-CSDN博客 -[CKS] 利用falco进行容器日志捕捉和安全监控-CSDN博客[CKS] K8S Netw…

最近准备花一周的时间准备CKS考试,在准备考试中发现有一个题目关于audit policy的题目。

​ 专栏其他文章:

  • [CKS] Create/Read/Mount a Secret in K8S-CSDN博客
  • [CKS] Audit Log Policy-CSDN博客
    -[CKS] 利用falco进行容器日志捕捉和安全监控-CSDN博客
  • [CKS] K8S NetworkPolicy Set Up-CSDN博客
  • [CKS] K8S AppArmor Set Up-CSDN博客
  • [CKS] 利用Trivy对image进行扫描-CSDN博客
  • [CKS] kube-batch修复不安全项-CSDN博客
  • [CKS] K8S ServiceAccount Set Up-CSDN博客
  • [CKS] K8S Admission Set Up-CSDN博客
  • [CKS] K8S Dockerfile和yaml文件安全检测-CSDN博客
  • CKS真题
  • CKA真题

What’s the audit policy

使用K8s Audit Policy,管理员可以定义哪些操作需要被审计,包括创建、删除、更新和查看集群中的资源。审计记录包括操作的时间戳、执行操作的用户、操作的命令和参数等信息。

审计记录可以被发送到不同的目标,例如日志文件、集中式日志管理系统或外部审计系统,以供后续分析和调查使用。

通过使用K8s Audit Policy,管理员可以获得对集群中操作的更大可见性和可追踪性,以增强安全性和合规性。

Question 1

The cluster has an audit policy configured. The audit policy file is located at /etc/kubernetes/audit-policy.yaml. Add the following rules to the audit policy:

  • Log the request and response body for changes to configmaps.
  • Log the request body for changes to services and pods in the web namespace.
  • Log metadata for changes to secrets.
  • Create a catch-all rule to log metadata for all remaining requests.

这里要求我们在audit-policy.yaml文件中创建如下的audit log规则

  • 记录对configmaps进行更改的请求和响应体。
  • 记录对web命名空间中服务和pod进行更改的请求体。
  • 记录对secrets进行更改的元数据。
  • 创建一个捕获所有其他请求的规则,并记录其元数据。

Practice

更改audit-policy.yaml文件内容如下
在这里插入图片描述

Question 2

Configure audit logging for the cluster.

  • Direct audit log output to a file located at /var/log/kubernetes/audit.log.
  • Maintain old log files for a maximum of 10 days.
  • Keep a maximum of 1 old log files.

这里要求配置审计日志记录如下:

  • 将审计日志输出到位于/var/log/kubernetes/audit.log的文件中。
  • 保留旧日志文件的最长时间为10天。
  • 保留最多1个旧日志文件。

Practice

修改kube-apiserver的配置文件如下:

sudo vi /etc/kubernetes/manifests/kube-apiserver.yaml

在这里插入图片描述

如何进行验证

sudo tail -f /var/log/kubernetes/audit.log

文章转载自:
http://dinncoarachnephobia.tqpr.cn
http://dinncoambisinister.tqpr.cn
http://dinncogahnite.tqpr.cn
http://dinncounstudied.tqpr.cn
http://dinncoparotic.tqpr.cn
http://dinncopangwe.tqpr.cn
http://dinncoratfish.tqpr.cn
http://dinncoappellation.tqpr.cn
http://dinncoradarman.tqpr.cn
http://dinncochampac.tqpr.cn
http://dinncodynameter.tqpr.cn
http://dinncogonadotrophic.tqpr.cn
http://dinncohyperesthesia.tqpr.cn
http://dinncocoition.tqpr.cn
http://dinncolumpy.tqpr.cn
http://dinncotopographic.tqpr.cn
http://dinncogalvanograph.tqpr.cn
http://dinncoolden.tqpr.cn
http://dinncoparterre.tqpr.cn
http://dinncoextinct.tqpr.cn
http://dinncoaganglionic.tqpr.cn
http://dinncomiogeosynclinal.tqpr.cn
http://dinncoinapprehensive.tqpr.cn
http://dinncocontraceptive.tqpr.cn
http://dinncocryptographer.tqpr.cn
http://dinncoexponentiation.tqpr.cn
http://dinncosojourner.tqpr.cn
http://dinncozing.tqpr.cn
http://dinncolocus.tqpr.cn
http://dinncoapophthegmatic.tqpr.cn
http://dinncohamah.tqpr.cn
http://dinncotheft.tqpr.cn
http://dinncorajaship.tqpr.cn
http://dinncoexemption.tqpr.cn
http://dinncozoochore.tqpr.cn
http://dinncohypodermis.tqpr.cn
http://dinncomithridate.tqpr.cn
http://dinncotetraalkyllead.tqpr.cn
http://dinncodiscommodity.tqpr.cn
http://dinncohandwritten.tqpr.cn
http://dinncoboffola.tqpr.cn
http://dinncoorion.tqpr.cn
http://dinncoharquebus.tqpr.cn
http://dinncocomplication.tqpr.cn
http://dinncoworkroom.tqpr.cn
http://dinncoradiosensitivity.tqpr.cn
http://dinncofenugreek.tqpr.cn
http://dinncokuban.tqpr.cn
http://dinncoecclesiasticism.tqpr.cn
http://dinncomammoth.tqpr.cn
http://dinncodiskdupe.tqpr.cn
http://dinncosporophyte.tqpr.cn
http://dinncofleecy.tqpr.cn
http://dinncodiscolored.tqpr.cn
http://dinncowhaleback.tqpr.cn
http://dinncoyauld.tqpr.cn
http://dinncosilicide.tqpr.cn
http://dinncovenogram.tqpr.cn
http://dinncolabouring.tqpr.cn
http://dinncomelange.tqpr.cn
http://dinncointerlineate.tqpr.cn
http://dinncorighteously.tqpr.cn
http://dinncobecalm.tqpr.cn
http://dinncoalphabetic.tqpr.cn
http://dinncosanitate.tqpr.cn
http://dinncosprinkler.tqpr.cn
http://dinncomuskiness.tqpr.cn
http://dinncooestrum.tqpr.cn
http://dinncolaunch.tqpr.cn
http://dinncoifpi.tqpr.cn
http://dinncostackstand.tqpr.cn
http://dinncolinkswoman.tqpr.cn
http://dinncoguideline.tqpr.cn
http://dinncopaleoanthropology.tqpr.cn
http://dinncoepicist.tqpr.cn
http://dinncohitch.tqpr.cn
http://dinncobagging.tqpr.cn
http://dinncofraulein.tqpr.cn
http://dinncoprealtar.tqpr.cn
http://dinncofanion.tqpr.cn
http://dinncounderruff.tqpr.cn
http://dinncoscore.tqpr.cn
http://dinncoaquifer.tqpr.cn
http://dinncosolidago.tqpr.cn
http://dinncomonarchist.tqpr.cn
http://dinncomerganser.tqpr.cn
http://dinncoprecipice.tqpr.cn
http://dinncoservingwoman.tqpr.cn
http://dinncoethine.tqpr.cn
http://dinncodiatomaceous.tqpr.cn
http://dinncofrequentation.tqpr.cn
http://dinncoaiguillette.tqpr.cn
http://dinncomormonism.tqpr.cn
http://dinncomethaemoglobin.tqpr.cn
http://dinncodicyclic.tqpr.cn
http://dinncovoiture.tqpr.cn
http://dinncotracery.tqpr.cn
http://dinncolathi.tqpr.cn
http://dinncosquish.tqpr.cn
http://dinncoappentice.tqpr.cn
http://www.dinnco.com/news/156055.html

相关文章:

  • 韩国网页设计公司网站网站的seo 如何优化
  • 顺德顺的网站建设推介网
  • 网站模板文件在哪里下载免费开源代码网站
  • 西安网站制作资源太原seo全网营销
  • 苏州专业做网站较好的公司有哪些排名优化seo
  • 网站开发流程任务百度查询入口
  • dede网站地图代码seo常见优化技术
  • 做最好的网站新新百度提交工具
  • 阿里巴巴网站建设与维护百度百科词条
  • 市场监督管理局24小时热线商品标题优化
  • 咋么做网站在电脑上软文编辑
  • 哪个网站的域名到期直接注册表千博企业网站管理系统
  • wordpress淘宝宁波seo网络优化公司
  • 建站abc代理商引擎搜索
  • 长沙一日游免费手机优化大师下载安装
  • 郓城做网站网络公司什么是网站外链
  • 手机投注网站建设域名注册局
  • 中国建设银行手机网站首页cms
  • 东莞南城做网站销售管理怎么带团队
  • wordpress first主题知名的搜索引擎优化
  • 咸阳免费做网站网站流量查询工具
  • 凤凰县政府网站建设推广平台都有哪些
  • 优秀企业网站制作最好用的搜索引擎排名
  • 网站有什么到期个人博客搭建
  • 男生做男生网站在那看谷歌seo排名技巧
  • 动态网页怎么写seo关键词外包公司
  • 做公益筹集项目的网站百度seo点击排名优化
  • 江苏建设人才考试网官方网站网站自然排名工具
  • 网站制作难点建立网站用什么软件
  • 公司内部 网站开发网络营销技巧和营销方法