mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 14:03:24 +00:00
Data quality issues. #18
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @WmJHarrison on GitHub.
os_information_validation.yaml:
mobileconfig value is “false” which is not consistent with a null value for all others.
icloud_calendar_disable.yaml:
check contains escape character for new line in the heredoc which is causing conversion to json to fail.
Consider changing osascript from using heredoc to -e statements.
@brodjieski commented on GitHub:
Good afternoon!
for the
mobileconfig:key in the rule files, allowed values are either "true" or "false". This indicates if the rule has any settings that can be applied with a configuration profile. Looking through the rule files, there are no rules that have a null value for this key.The escape character is used in the check: field for all of the rules we have that evaluate managed preferences. This is supported in shell to facilitate multi line commands. We decided to use this syntax for better readability in the generated PDF, as well as to support more complex checks that involve additional logic to evaluate. While the majority of the commands could be shifted away from heredoc, some would remain. There are no immediate plans to move every check away from using heredoc syntax.