OpenAPI 3.1.02026-08-226994571.1 MB
1e929292ddd5
Policies
List Policy Attachments
List all policy attachments from the database.
Example Request:
curl -X GET "http://localhost:4000/policies/attachments/list" \
-H "Authorization: Bearer <your_api_key>"
Example Response:
{
"attachments": [
{
"attachment_id": "123e4567-e89b-12d3-a456-426614174000",
"policy_name": "global-baseline",
"scope": "*",
"teams": [],
"keys": [],
"models": [],
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
}
],
"total_count": 1
}
get/policies/attachments/list
Response
Successful Response