Sudo JAMF policy command on Ventura not supported

Klinken
New Contributor

hi,

the command: Sudo JAMF policy seems not to be supported on Ventura.

Terminal says..This script support MacOS Catalina, Big Sur and Monterey only.
Script exit code: 1

Anybody else getting this issue? and if anything was changed...

 

1 ACCEPTED SOLUTION

DBrowning
Valued Contributor II

@Klinken The script that is failing is the CISBenchmarkScript.  So the jamf command is working fine, its just one of the scripts you have running is exiting out.

View solution in original post

4 REPLIES 4

DBrowning
Valued Contributor II

I would guess you have some script running in a policy thats doing that because if you run `sudo jamf policy` it runs without issue in Ventura.  Maybe if you post a screenshot of what you are seeing it will become clear whats happening.  

sdagley
Esteemed Contributor II

@Klinken Look at the source for that script and see if it's checking what version of macOS it's running on as that error implies it is and will exit with a failure if it's not one of the 3 versions listed when it exits

Klinken
New Contributor

Thank you. @sdagley and @DBrowning 
This is what I see. When I run the command.
Jamf_ventura2.JPG

 

DBrowning
Valued Contributor II

@Klinken The script that is failing is the CISBenchmarkScript.  So the jamf command is working fine, its just one of the scripts you have running is exiting out.