List Report Templates

GET /pcrs/1.0/report/template/list

Lists all compliance report templates visible to the subscription.

Input ParametersInput Parameters

Parameter Name

Required / Optional

Data Type

Description

type Optional String Filter by template types - policy, mandate, stig, and cm_score.

Sample - Filter by report typeSample - Filter by report type

API Request

curl -X GET "<gateway_base_url>/pcrs/1.0/report/template/list?type=mandate&type=policy" \
  -H "Authorization: Bearer <JWT Token>" \
  -H "Accept: application/json"

JSON Output

{
  "templates": [
    {
      "templateId": 1001,
      "title": "My Mandate Template",
      "type": "mandate",
      "isGlobal": false,
      "owner": "jsmith",
      "createdAt": "2025-03-15T10:30:00"
    },
    {
      "templateId": 1002,
      "title": "Global Policy Template",
      "type": "policy",
      "isGlobal": true,
      "owner": "admin",
      "createdAt": "2025-01-10T08:00:00"
    }
  ],
  "count": 2
}

 

 

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.