profile_generator.py doesn't work unless you change directory to the "scripts" directory first #319

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

Originally created by @pudquick on GitHub.

Summary

If you attempt to run profile_generator.py from any directory other than scripts, it doesn't work.

Steps to reproduce

  • Check out project
  • Install requirements
  • From the base of the project run: ./scripts/profile_generator.py baselines/800-53_low.yaml

What is the current bug behavior?

Script looks like it's running (warning prints), but no mobileconfigs are generated.

What is the expected correct behavior?

mobileconfigs are generated in build folder.

Originally created by @pudquick on GitHub. ### Summary If you attempt to run profile_generator.py from any directory other than scripts, it doesn't work. ### Steps to reproduce - Check out project - Install requirements - From the base of the project run: `./scripts/profile_generator.py baselines/800-53_low.yaml` ### What is the current *bug* behavior? Script looks like it's running (warning prints), but no mobileconfigs are generated. ### What is the expected *correct* behavior? mobileconfigs are generated in build folder.
Author
Owner

@robertgendler commented on GitHub:

Resolved. You can now run the generate_guidance script from any directory.

@robertgendler commented on GitHub: Resolved. You can now run the generate_guidance script from any directory.
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#319