Templates

Get a template

Retrieve a single policy template by ID

get/api/v1/templates/{id}

Request

Response

Template details

Example response

{
  "template": {
    "id": "hipaa_phi_protection",
    "name": "hipaa_phi_protection",
    "display_name": "HIPAA PHI Protection",
    "description": "Protects PHI data in accordance with HIPAA requirements",
    "category": "compliance",
    "subcategory": "healthcare",
    "template": {
      "actions": [
        {
          "config": {
            "message": "Request blocked by policy",
            "channel": "security-alerts"
          }
        }
      ]
    },
    "variables": [
      {
        "name": "threshold",
        "description": "Maximum requests allowed per window"
      }
    ],
    "version": "1.0",
    "tags": [
      "hipaa",
      "healthcare",
      "phi"
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.