Open kristovatlas opened 7 years ago
There are two profiles included:
Level 1 (~73 items) Items in this profile intend to:
Level 2 (~38 items) This profile extends the "Level 1" profile. Items in this profile exhibit one or more of the following characteristics:
Maybe "level 1" items would be required and "level 2" items would be recommended/experimental.
(list WIP only about 22.5% done, still need to add through 8.2)
CIS has checks dating back to previous versions of OS X, but we may want some checks to be OSX version-specific to avoid false positives. This might be mostly cleanly achieved by adding a function to api that gets the osx version (sw_vers -productVersion
) and early-exits from the bash line with a return value. If there are other checks we can do for other versions, the early-exit value can be a value that neither constitutes an explicit pass nor fail; otherwise it should constitute an explicit pass as we don't want to deduct points when we have no known config check for the user's OSX version.
Alternatively to that last point, we could also add a new time of test result e.g. "inconclusive" or count that check as "skipped." This could be achieved by adding a new optional field to the fix section of the Hjson syntax called "explicit_skip" or "explicit_inconclusive".
https://benchmarks.cisecurity.org/tools2/osx/CIS_Apple_OSX_10.12_Benchmark_v1.0.0.pdf