Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look to add exclusions to controls 1.2.2 and 1.2.3 #431

Open
uk-bolly opened this issue Nov 20, 2024 · 0 comments
Open

Look to add exclusions to controls 1.2.2 and 1.2.3 #431

uk-bolly opened this issue Nov 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@uk-bolly
Copy link
Member

Feature Request or Enhancement

  • Feature Add Repo exclusions for those who don't support gpg the find could allow exception list

Suggested Code

- name: "1.2.2 | AUDIT | Ensure gpgcheck is globally activated | Find repos"
        ansible.builtin.find:
            paths: /etc/yum.repos.d
            patterns: "*.repo"
            excludes: "{{ rhel8cis_repo_gpgcheck_exclude }}"
        register: discovered_yum_repos
        changed_when: false

similar for the 1.2.3 repo_gpgcheck

@uk-bolly uk-bolly added the enhancement New feature or request label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant