Endpoint Protection

 View Only
  • 1.  SEPM 14 REST API "policy_type" argument?

    Posted Jul 21, 2017 02:19 PM

    Hello,

    I'm not sure if it the right forum, if not please direct me to the right one.

    Anyways, i'm trying to figure out what the "policy_type" argument value is in SEPM 14 Rest API as seen below:

     

     

     

     

     

     

     

     

     

    Would really appreciate some help with this topic since I can't find anything related in the documentation.

    Thanks.



  • 2.  RE: SEPM 14 REST API "policy_type" argument?

    Posted Jul 21, 2017 08:10 PM

    Did you run the query to see what is returned? Looks like it returns information on the various policies used/configured in SEPM.



  • 3.  RE: SEPM 14 REST API "policy_type" argument?

    Posted Jul 22, 2017 09:29 AM

    Hey Brian, thanks for the reply. Here is the request/response:

    GET https://172.16.0.1:8446/sepm/api/v1/policies/summary ---> 404

    GET https://172.16.0.1:8446/sepm/api/v1/policies/summary/x ---> 400 with the following json:

    {
        "errorCode": "400",
        "errorMessage": "error.policy.invalidPolicyType"
    }

    I've tried looking for "policy type" variables inside the database but they didn't work either. (eg: OpAppProtectionPolicy)

    From what it looks like they forgot to put a documentation for this variable.

    If you have any clue on what the value might be I would really appreciate it.

    Thanks.