Skip to main content
Solved

patch reporting / autopkgr

  • December 21, 2016
  • 3 replies
  • 21 views

Forum|alt.badge.img+9

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 ?

Many thanks in advance
Ben

Best answer by bdelamarche

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

3 replies

bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • December 24, 2016

@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
Forum|alt.badge.img+36
  • Hall of Fame
  • December 24, 2016

>/=10.9 <=== #cringing


Forum|alt.badge.img+9
  • Author
  • Contributor
  • Answer
  • December 28, 2016

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