Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Deprecated tests #114

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Deprecated tests #114

wants to merge 16 commits into from

Conversation

cpoma
Copy link

@cpoma cpoma commented Oct 12, 2019

Added skip_deprecated_test attribute to allow for skipping of tests removed from the STIG over time.
Currently the following have been removed from the Latest STIG RHEL7 V2R4

  • V-71895 - The operating system must set the idle delay setting for all connection types.
  • V-71981 - The operating system must prevent the installation of software, patches, service packs, device drivers, or operating system components of packages without verification of the repository metadata.
  • V-72143 - The operating system must generate audit records for all successful/unsuccessful account access count events.
  • V-72169 - All uses of the sudoedit command must be audited.
  • V-72181 - All uses of the pt_chown command must be audited.
  • V-72193 - All uses of the rmmod command must be audited
  • V-72195 - All uses of the modprobe command must be audited.
  • V-72215 - The system must update the virus scan program every seven days or more frequently
  • V-72435 - The operating system must implement smart card logons for multifactor authentication for access to privileged accounts.
  • V-78995 - The operating system must prevent a user from overriding the screensaver lock-enabled setting for the graphical user interface.

cpoma and others added 6 commits September 5, 2019 10:30
Merge from simp/inspec-profile-disa_stig-el7
…m the STIG. Currently the following have been removed from the Latest STIG RHEL7 V2R4

    V-71895 - The operating system must set the idle delay setting for all connection types.
    V-71981 - The operating system must prevent the installation of software, patches, service packs, device drivers, or operating system components of packages without verification of the repository metadata.
    V-72143 - The operating system must generate audit records for all successful/unsuccessful account access count events.
    V-72169 - All uses of the sudoedit command must be audited.
    V-72181 - All uses of the pt_chown command must be audited.
    V-72193 - All uses of the rmmod command must be audited
    V-72195 - All uses of the modprobe command must be audited.
    V-72215 - The system must update the virus scan program every seven days or more frequently
    V-72435 - The operating system must implement smart card logons for multifactor authentication for access to privileged accounts.
    V-78995 - The operating system must prevent a user from overriding the screensaver lock-enabled setting for the graphical user interface.
@aaronlippold
Copy link
Member

I think we would like to handle this via the right tags. I would like to tag the repo with the correct STIG release versions and have the right controls for each release number.

So, v1r4 with the older controls and v2r2 etc with this PR.

We should try to have 'master' at the latest STIG release and if for some reason someone needs the older release we can just checkout that tag.

@trevor-vaughan
Copy link
Member

@aaronlippold I agree with this, but I also think that the deprecation notices are good so that we can easily jump between versions. You should have the ability to add the appropriate tag if you wish.

@aaronlippold
Copy link
Member

aaronlippold commented Oct 14, 2019 via email

Fixed some typos.
Fixed some typos.
Fixed some typos.
Fixed some typos.
Fixed some typos.
Fixed some typos.
Fixed some typos.
Fixed some typos.
Fixed some typos.
@djhaynes
Copy link
Contributor

This PR looks good to merge in, but, we will hold off until we create the v1r2 tag #119.

Copy link
Contributor

@djhaynes djhaynes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these changes are good to go once we tag the release.

@aaronlippold
Copy link
Member

It looks like this has some conflicts now.

Also, we are pulling all the 'skip_deperacated_tests' logic in favor of the two tagged codebases correct?

@ljkimmel
Copy link
Contributor

I think we would like to handle this via the right tags. I would like to tag the repo with the correct STIG release versions and have the right controls for each release number.

So, v1r4 with the older controls and v2r2 etc with this PR.

We should try to have 'master' at the latest STIG release and if for some reason someone needs the older release we can just checkout that tag.

Unless I misunderstand tags they only relate to a specific commit. A specific STIG version will likely encompass a number of commits from the first commit that makes this project compatible with that version to the commit prior to making changes to become compatible with the next version of the STIG. It might make sense to tag twice: once when we initially support that STIG version (e.g. 'v2r2 initial') and then tag the last commit before moving to a new version (e.g. 'v2r2 final'). That way if someone wants the 'best' code to support v2r2, for example, they would actually grab 'v2r2 final' instead of just 'v2r2' which wouldn't have benefited from possible bug fixes etc.

In any case I don't think we should keep deprecated tests around and just add a switch to turn them off. This just adds bloat for something that people aren't likely to want (no one wants to run any controls that aren't necessary) and it gives them another configuration point that they may or may not be aware of.

@aaronlippold
Copy link
Member

aaronlippold commented Mar 26, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants