在CERN的CMSWEB Kubernetes集群中实现新的安全特性
Implementation of New Security Features in CMSWEB Kubernetes Cluster at CERN
AI总结:
本文介绍了在CERN的CMSWEB Kubernetes集群中实现网络策略、OPA策略和Vault集成三项新安全特性,以增强服务安全性、可靠性和可管理性。
摘要:
CMSWEB集群对于紧凑缪子螺线管(CMS)实验的活动至关重要,因为它承载了CMS实验运行所需的关键服务。这些服务及相应数据的安全性对CMS至关重要。任何恶意攻击都可能危及我们服务的可用性。因此,构建一个健壮的安全基础设施非常重要。在这项工作中,我们讨论了引入到CMSWEB Kubernetes(“k8s”)集群中的新安全特性。新特性包括网络策略的实施、开放策略代理(OPA)的部署、OPA策略的强制执行以及Vault的集成。网络策略充当集群内部防火墙,将pod之间的网络通信限制到最低必要程度,其动态特性使我们能够与微服务协同工作。OPA在创建、更新和删除操作期间根据一些自定义定义的策略验证对象,以进一步增强安全性。无需重新编译或更改Kubernetes API服务器的配置,它即可对Kubernetes对象应用自定义策略,并利用其审计功能使我们能够检测预先存在的冲突和问题。尽管Kubernetes包含了秘密(secrets)的概念,但它们仅经过base64编码,且不是动态配置的。这正是Vault发挥作用的地方:Vault动态地保护、存储并严格控制对敏感数据的访问。这样,秘密信息被加密、安全化并集中管理,使其更具可扩展性且更易于管理。因此,这三个安全特性的实施证实了CMSWEB Kubernetes基础设施的安全性和可靠性得到了增强。
英文摘要:
The CMSWEB cluster is pivotal to the activities of the Compact Muon Solenoid (CMS) experiment, as it hosts critical services required for the operational needs of the CMS experiment. The security of these services and the corresponding data is crucial to CMS. Any malicious attack can compromise the availability of our services. Therefore, it is important to construct a robust security infrastructure. In this work, we discuss new security features introduced to the CMSWEB Kubernetes ("k8s") cluster. The new features include the implementation of network policies, deployment of Open Policy Agent (OPA), enforcement of OPA policies, and the integration of Vault. The network policies act as an inside-the-cluster firewall to limit the network communication between the pods to the minimum necessary, and its dynamic nature allows us to work with microservices. The OPA validates the objects against some custom-defined policies during create, update, and delete operations to further enhance security. Without recompiling or changing the configuration of the Kubernetes API server, it can apply customized policies on Kubernetes objects and their audit functionality enabling us to detect pre-existing conflicts and issues. Although Kubernetes incorporates the concepts of secrets, they are only base64 encoded and are not dynamically configured. This is where Vault comes into play: Vault dynamically secures, stores, and tightly controls access to sensitive data. This way, the secret information is encrypted, secured, and centralized, making it more scalable and easier to manage. Thus, the implementation of these three security features corroborate the enhanced security and reliability of the CMSWEB Kubernetes infrastructure.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。