unable to generate tailored baseline based off of stif
Steps to reproduce
try to tailor a baseline
Operating System version
Sonoma 14.3.1. (yes i am working out of the right branch)...
Intel or Apple Silicon
Apple Silicon Mac
What is the current bug behavior?
asks normal questions until os_install_log_retention_configure" in your benchmark? [Y/n/all/?]: y
then stops and outputs the following:
ODV value: Number of days.
Traceback (most recent call last):
File "/Users/mediaadmin/macos_security/./scripts/generate_baseline.py", line 562, in
main()
File "/Users/mediaadmin/macos_security/./scripts/generate_baseline.py", line 551, in main
odv_baseline_rules = odv_query(found_rules, benchmark)
File "/Users/mediaadmin/macos_security/./scripts/generate_baseline.py", line 442, in odv_query
if isinstance(rule.rule_odv[benchmark], int):
KeyError: 'stig'
Summary
unable to generate tailored baseline based off of stif
Steps to reproduce
try to tailor a baseline
Operating System version
Sonoma 14.3.1. (yes i am working out of the right branch)...
Intel or Apple Silicon
Apple Silicon Mac
What is the current bug behavior?
asks normal questions until os_install_log_retention_configure" in your benchmark? [Y/n/all/?]: y
then stops and outputs the following:
ODV value: Number of days. Traceback (most recent call last): File "/Users/mediaadmin/macos_security/./scripts/generate_baseline.py", line 562, in
main()
File "/Users/mediaadmin/macos_security/./scripts/generate_baseline.py", line 551, in main
odv_baseline_rules = odv_query(found_rules, benchmark)
File "/Users/mediaadmin/macos_security/./scripts/generate_baseline.py", line 442, in odv_query
if isinstance(rule.rule_odv[benchmark], int):
KeyError: 'stig'
What is the expected correct behavior?
continue to ask ?'s to tailor baseline
Relevant logs and/or screenshots