GET Policies List API

GET/pcrs/1.0/policy/list

With this API, you can get a list of all active policies associated for a subscription.

Sample -  List all active policies associated for a subscriptionSample -  List all active policies associated for a subscription

API Request

curl -X GET "<gateway_base_url>/pcrs/1.0/policy/list" \
  -H "Authorization: <bearer_token>" \
  -H "Accept: application/json"

JSON Response

[
  {
    "id": 101,
    "title": "CIS Microsoft Windows Server 2019 Benchmark v1.2.1"
  },
  {
    "id": 102,
    "title": "CIS Red Hat Enterprise Linux 8 Benchmark v2.0.0"
  }
]


 

 

 

success Thank you! We're glad to hear that this topic was useful.
success We appreciate your feedback. We'll work to make this topic better for you in the future.