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

Allow partial override of the ubtu22cis_sshd struct #175

Closed
wants to merge 10 commits into from

Commits on Nov 16, 2023

  1. Rule 5.2.5 Allow default value for sshd log_level

    When the user define only one default value for `ubtu22cis_sshd` such as:
    
    ```yaml
    ubtu22cis_sshd:
          allow_users: "{{ansible_user}}"
    ```
    rule `5.2.5 | PATCH | Ensure SSH LogLevel is appropriate` fails if `log_level` is not also set, instead of using the default value "INFO".
    
    Signed-off-by: JULIEN MASNADA <rostskadat@users.noreply.github.com>
    Signed-off-by: Julien Masnada <rostskadat@gmail.com>
    rostskadat committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    09add5c View commit details
    Browse the repository at this point in the history
  2. Allow default values for cipher, macs and kex_algorithms

    In case the user only want to override part of `ubtu22cis_sshd` we still a need a mechanism to not have to redefine the whole structure.
    
    Signed-off-by: JULIEN MASNADA <rostskadat@users.noreply.github.com>
    Signed-off-by: Julien Masnada <rostskadat@gmail.com>
    rostskadat committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    7b038da View commit details
    Browse the repository at this point in the history
  3. Allow user to redefine just one part of the ubtu22cis_sshd structure

    Signed-off-by: JULIEN MASNADA <rostskadat@users.noreply.github.com>
    Signed-off-by: Julien Masnada <rostskadat@gmail.com>
    rostskadat committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    40537d1 View commit details
    Browse the repository at this point in the history
  4. Allow user to override some more settings from ubtu22cis_sshd

    Signed-off-by: JULIEN MASNADA <rostskadat@users.noreply.github.com>
    Signed-off-by: Julien Masnada <rostskadat@gmail.com>
    rostskadat committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    e488cc3 View commit details
    Browse the repository at this point in the history
  5. Allow user to override some settings of ubtu22cis_sshd

    Signed-off-by: JULIEN MASNADA <rostskadat@users.noreply.github.com>
    Signed-off-by: Julien Masnada <rostskadat@gmail.com>
    rostskadat committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    3a0b272 View commit details
    Browse the repository at this point in the history
  6. Use ubtu22cis_sshd_default_log_level instead of hardcoded value

    Signed-off-by: JULIEN MASNADA <rostskadat@users.noreply.github.com>
    Signed-off-by: Julien Masnada <rostskadat@gmail.com>
    rostskadat committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    5c1c011 View commit details
    Browse the repository at this point in the history
  7. [pre-commit.ci] auto fixes from pre-commit.com hooks

    for more information, see https://pre-commit.ci
    
    Signed-off-by: Julien Masnada <rostskadat@gmail.com>
    pre-commit-ci[bot] authored and rostskadat committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    6e0eb07 View commit details
    Browse the repository at this point in the history
  8. Fixed yamllint

    Added EditorConfig to avoid problem in the future
    
    Signed-off-by: Julien Masnada <rostskadat@gmail.com>
    rostskadat committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    b38fb35 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. removed .editorconfig as requested

    Signed-off-by: Julien Masnada <rostskadat@gmail.com>
    rostskadat committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    a29bbbd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa21b5b View commit details
    Browse the repository at this point in the history