Wiki Compliance Script typo #156

Closed
opened 2026-01-19 18:29:26 +00:00 by michael · 1 comment
Owner

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:

  1. ./scripts/generate_guidance.py -s baselines/800-53r5_moderate.yaml
    Profile YAML: baselines/800-53r5_moderate.yaml
  2. ls -dn build/800-53r5_moderate/*
  3. sudo ./build/800-53_moderate/800-53r5_moderate_compliance.sh

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.sh you get a result of sudo: ./build/800-53_moderate/800-53r5_moderate_compliance.sh: command not found

What is the expected correct behavior?

  • You should be prompted to enter in your password and then be presented with the Main-Menu screen

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

Originally created by @alisabryant on GitHub. Originally assigned to: @brodjieski on GitHub. <!--- Please read this! Before opening a new issue, make sure to search for keywords in the issues filtered by the "regression" or "bug" label and verify the issue you're about to submit isn't a duplicate. ---> ### Summary The [Compliance Script](https://github.com/usnistgov/macos_security/wiki/Compliance-Script ) entry for the Wiki has a bug on the last step ### Steps to reproduce Follow the instructions: 1. ./scripts/generate_guidance.py -s baselines/800-53r5_moderate.yaml Profile YAML: baselines/800-53r5_moderate.yaml 2. ls -dn build/800-53r5_moderate/* 3. sudo ./build/800-53_moderate/800-53r5_moderate_compliance.sh ### 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.sh` you get a result of `sudo: ./build/800-53_moderate/800-53r5_moderate_compliance.sh: command not found` ### What is the expected *correct* behavior? - You should be prompted to enter in your password and then be presented with the Main-Menu screen ### 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-53**r5**_moderate/ To achieve this you need to update the command to `sudo ./build/800-53r5_moderate/800-53r5_moderate_compliance.sh`
Author
Owner

@brodjieski commented on GitHub:

Ahh! Thanks for finding the typo! I've updated the wiki to reflect the correct syntax.

@brodjieski commented on GitHub: Ahh! Thanks for finding the typo! I've updated the wiki to reflect the correct syntax.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: usnistgov/macos_security#156