RedHatOfficial.rhel9-stig

DISA STIG for Red Hat Enterprise Linux 9

Red Hat Enterprise Linux 9 的 DISA STIG Ansible 角色

档案描述:
此档案包含符合 DISA STIG for Red Hat Enterprise Linux 9 V1R2 的配置检查。
除了适用于 Red Hat Enterprise Linux 9,DISA 还承认此配置基线适用于基于 Red Hat Enterprise Linux 9 的 Red Hat 技术的操作系统层,例如:

  • Red Hat Enterprise Linux Server
  • Red Hat Enterprise Linux Workstation 和 Desktop
  • Red Hat Enterprise Linux for HPC
  • Red Hat Storage
  • 具有 Red Hat Enterprise Linux 9 镜像的 Red Hat 容器

此角色中使用的任务是通过 OpenSCAP 生成的。
有关 Ansible 剧本生成的更多详细信息,请参阅 OpenSCAP 项目 https://github.com/OpenSCAP/openscap

如需提交修复或增强现有角色中的某个 Ansible 任务(如果任务失败或缺失),请参见 ComplianceAsCode 项目 https://github.com/ComplianceAsCode/content

要求

  • Ansible 版本 2.9 或更高

角色变量

要根据您的喜好自定义角色,请查看 变量列表

依赖

示例角色用法

运行 ansible-galaxy install RedHatOfficial.rhel9_stig
下载并安装该角色。然后,您可以使用以下剧本片段运行 Ansible 角色:

- hosts: all
  roles:
     - { role: RedHatOfficial.rhel9_stig }

接下来,在本地主机上使用以下示例检查剧本:

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

安装
ansible-galaxy install RedHatOfficial.rhel9-stig
许可证
other
下载
103.4k
拥有者
The GitHub organization for Red Hat. This organization contains unsupported open source projects and code that have been started by Red Hat associates.