patch reporting / autopkgr

bdelamarche
New Contributor III
New Contributor III

Hello everyone,

Is it possible to create a grouptemplate.xml which acts on the jamf criterion patch reporting to create smart group based on this criteria ?

5aa8cb11158a435abc94a7750816dba3

Many thanks in advance
Ben

1 ACCEPTED SOLUTION

bdelamarche
New Contributor III
New Contributor III

Hi all,

Thanks for your help.
I just success it with the API ;)

Please find the code below for Acrobat reader for example :

<computer_group> <name>%group_name%</name> <is_smart>true</is_smart> <criteria>
     <criterion>
       <name>Patch Reporting: Adobe Acrobat Reader DC</name>
       <priority>0</priority>
       <and_or>and</and_or>
       <search_type>less than</search_type>
       <value>15.020.20039</value>
    </criterion> <criterion> <name>Computer Group</name> <priority>1</priority> <and_or>and</and_or> <search_type>member of</search_type> <value>>/= 10.9</value> </criterion> </criteria>
</computer_group>

have a good day

View solution in original post

3 REPLIES 3

bentoms
Esteemed Contributor
Esteemed Contributor

@bdelamarche I'm sure it would be, but kindof not the idea.

AutoPKGr should change it's group to the latest version it has PKG'd & uploaded to the JSS.

Then you can use Patch, as it is atm, for reporting on them.

donmontalvo
Esteemed Contributor II

>/=10.9 <=== #cringing

--
https://donmontalvo.com

bdelamarche
New Contributor III
New Contributor III

Hi all,

Thanks for your help.
I just success it with the API ;)

Please find the code below for Acrobat reader for example :

<computer_group> <name>%group_name%</name> <is_smart>true</is_smart> <criteria>
     <criterion>
       <name>Patch Reporting: Adobe Acrobat Reader DC</name>
       <priority>0</priority>
       <and_or>and</and_or>
       <search_type>less than</search_type>
       <value>15.020.20039</value>
    </criterion> <criterion> <name>Computer Group</name> <priority>1</priority> <and_or>and</and_or> <search_type>member of</search_type> <value>>/= 10.9</value> </criterion> </criteria>
</computer_group>

have a good day