mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 05:53:24 +00:00
Wiki Compliance Script typo #156
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 @alisabryant on GitHub.
Originally assigned to: @brodjieski on GitHub.
Summary
The Compliance Script entry for the Wiki has a bug on the last step
Steps to reproduce
Follow the instructions:
Profile YAML: baselines/800-53r5_moderate.yaml
Operating System version
Not applicable
Intel or Apple Silicon
Not applicable
What is the current bug behavior?
If you follow all the steps and then try to run
sudo ./build/800-53_moderate/800-53r5_moderate_compliance.shyou get a result ofsudo: ./build/800-53_moderate/800-53r5_moderate_compliance.sh: command not foundWhat is the expected correct behavior?
Relevant logs and/or screenshots
Not applicable
Output of checks
Not applicable
Possible fixes
TL;DR - The directory is wrong and missing "r5" so it should really be /build/800-53r5_moderate/
To achieve this you need to update the command to
sudo ./build/800-53r5_moderate/800-53r5_moderate_compliance.sh@brodjieski commented on GitHub:
Ahh! Thanks for finding the typo! I've updated the wiki to reflect the correct syntax.