RedHatOfficial.rhel8_cis
CIS Red Hat Enterprise Linux 8 基准评估 - Level 2 - 服务器
CIS Red Hat Enterprise Linux 8 Level 2 - 服务器 的 Ansible 角色
配置描述:
该配置定义了与互联网安全中心® Red Hat Enterprise Linux 8 基准评估™ v3.0.0(于2023年10月30日发布)中的“Level 2 - 服务器”配置相一致的基线。
此配置包括互联网安全中心® Red Hat Enterprise Linux 8 CIS 基准评估™ 内容。
此角色中使用的任务是通过 OpenSCAP 生成的。
有关 Ansible 剧本生成的更多详细信息,请参见 OpenSCAP 项目 https://github.com/OpenSCAP/openscap。
如果您希望提交修复或增强针对此角色中失败或缺失的 Ansible 任务,请参阅 ComplianceAsCode 项目 https://github.com/ComplianceAsCode/content。
要求
- Ansible 版本 2.9 或更高
角色变量
要根据您的喜好自定义该角色,请查看 变量列表。
依赖关系
无
示例角色用法
运行 ansible-galaxy install RedHatOfficial.rhel8_cis 下载并安装该角色。然后,您可以使用以下剧本片段来运行 Ansible 角色:
- hosts: all
roles:
- { role: RedHatOfficial.rhel8_cis }
接下来,可以在本地使用以下示例检查该剧本:
ansible-playbook -i "localhost," -c local --check playbook.yml
要部署它,请使用(这可能会更改您本地机器的配置!):
ansible-playbook -i "localhost," -c local playbook.yml
许可证
BSD-3-Clause
作者信息
该 Ansible 修复角色是根据 ComplianceAsCode 项目制定的安全政策生成的。请查看
https://github.com/complianceascode/content/blob/master/Contributors.md 获取更新的作者和贡献者列表。
关于项目
CIS Red Hat Enterprise Linux 8 Benchmark for Level 2 - Server
安装
ansible-galaxy install RedHatOfficial.rhel8_cis许可证
other
下载
27k
拥有者
The GitHub organization for Red Hat. This organization contains unsupported open source projects and code that have been started by Red Hat associates.
