system_settings_siri_listen_disable result check incorrect
Summary
The control system_settings_siri_listen_disable is looking for the result of 0 when it should be expecting false.
Steps to reproduce
- Create a profile with the
system_settings_siri_listen_disablesettings and deploy. - Run the check command manually
- Observe output
Operating System version
14.6.1
Intel or Apple Silicon
N/A
What is the current bug behavior?
The check will result in a finding as the check is expecting a "1"
What is the expected correct behavior?
No finding, check for "false"
Relevant logs and/or screenshots
Included.
Output of checks
Possible fixes
Change:
#remove:
result:
integer: 1
#replace:
result:
string: 'false'
There may be an additional issue going on here. When running generate_guidance, these pop up when building profiles...
There are errors in the following files, please correct the .yaml file(s)!
../rules/system_settings/system_settings_siri_listen_disable.yaml
../rules/system_settings/system_settings_siri_listen_disable.yaml
This is because the rule yaml file has com.apple.siri as the payload, but we have com.apple.Siri as a supported payload. Need to verify the correct syntax.
There may be an additional issue going on here. When running generate_guidance, these pop up when building profiles...
There are errors in the following files, please correct the .yaml file(s)! ../rules/system_settings/system_settings_siri_listen_disable.yaml ../rules/system_settings/system_settings_siri_listen_disable.yamlThis is because the rule yaml file has
com.apple.sirias the payload, but we havecom.apple.Sirias a supported payload. Need to verify the correct syntax.
Ah yeah, I see in the rule it's using com.apple.siri. I'm almost 100% certain it should be capital S.