Lists all compliance report templates visible to the subscription.
|
Parameter Name |
Required / Optional |
Data Type |
Description |
|---|---|---|---|
| type | Optional | String | Filter by template types - policy, mandate, stig, and cm_score. |
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
}