Patch Management Group

Expand all | Collapse all

Patch Management API

  • 1.  Patch Management API

    Posted 08-07-2019 04:57 AM

    Patch Management Workflow Web Service Application Programming Interface (API)

    DOC11543

    https://support.symantec.com/us/en/article.doc11543.html

     

     



  • 2.  RE: Patch Management API

    Posted 08-10-2019 05:27 AM

    Hi,

    I am automating the creation of policy for CentOS and RHEL using the method https://support.symantec.com/us/en/article.doc11543.html#CreateUpdatePolicy . I am able to create the policy and also see it in the Altiris console.However, the policy doesn't reflect on the endpoint machines. If I disabled the policy and  then enable it, the policy shows  up on the endpoint.

    Any ideas on  whats going on, and how to fix it.

     



  • 3.  RE: Patch Management API

    Posted 08-10-2019 09:29 AM

    Normally you need to wait for a Delta update, what frequency is that on?

    If you do an “update config” on the endpoint does it show up?

    When you check the policy does the target show the machine in it?

    —-

    SMP - ASDK - Web Service - Update Resource Target

    https://www.symantec.com/connect/articles/smp-asdk-web-service-update-resource-target



  • 4.  RE: Patch Management API

    Posted 08-10-2019 10:02 AM
    Hi Alex, Thanks for the help. Can you please help me with steps to check the Delta update frequency. Also how do I update config on the endpoint.


  • 5.  RE: Patch Management API

    Posted 08-10-2019 01:44 PM

    See this previous forum post with useful pictures

    https://www.symantec.com/connect/forums/giving-desktop-support-team-access-run-delta-update-schedule

    —-

    Update Config

    open the agent and click the button

    or you can send a task

    you can also script using the ASDK

    https://www.symantec.com/connect/forums/update-configuration-server



  • 6.  RE: Patch Management API

    Posted 08-11-2019 12:26 AM

    Hi Alex,

    As per  the config on my server the delta update is set to 5 min frequency ( see attached).  Since my endpoints are linux, there is no UI on the SMA. I have tried refresh policies from the bash prompt to refresh the policies, but still the policy is not getting listed.

    Since just disabling and enabling the policy makes it available, I believe the  target is not a problem.

    I saw there is a  way to diable a policy using the API, is there a way to enable it  too ?

    Thanks in advance..



  • 7.  RE: Patch Management API

    Posted 08-12-2019 02:49 PM

    Hi Sandeep, you may try the following workaround - use SetProperty method with GUID of policy you need to enable in guidItem and Enabled=true in nameValueList.



  • 8.  RE: Patch Management API

    Posted 08-13-2019 02:03 AM

    Hi Dmitri_Gornev,

    I tried to enable  the policy using the SetProperty. The policy does get enabled, but it doesn't help in distributing the policy. The policy distrtibution is completely random and any guidance on how to debug the situation will be of great help.

     

    Do we  need to wait  for some period  for the distrtibution  to work ?