mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 05:53:24 +00:00
generate_baseline.py invalid escape sequence #118
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 @nstrauss on GitHub.
Summary
When running
./scripts/generate_baseline.py -lerror output contains...Afterward the expected list of tags shows.
Steps to reproduce
Stated above. Most likely due to an issue in the
collect_rulesfunction.Operating System version
Sonoma 14.3 (23D56)
Intel or Apple Silicon
Apple silicon
What is the expected correct behavior?
No associated syntax errors are included in output. Rules are read correctly.
Possible fixes
Output indicates the problem is around here with how text is being parsed.
b1a5d8956e/scripts/generate_baseline.py (L135-L151)@nstrauss commented on GitHub:
Related to Python 3.12.x incompatibility. Closing for now.