---
title: "GET /projects/{id}/container-security"
method: GET
path: "/projects/{id}/container-security"
tags: ["Projects"]
---

# GET /projects/{id}/container-security

`GET /projects/{id}/container-security`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{id}/container-security`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Response `200`

- ContainerSecurityResponse
  - `allowed_capabilities` ContainerCapability[], required: Capabilities this project's containers get back after `cap_drop: ALL`. Empty: fully hardened (the default). Applies from the next deployment.
  - `always_enforced` string[], required: Hardening every project container keeps whatever is allowed.
  - `can_edit` boolean, required: Whether the caller may change the setting.
  - `edit_requirement` string, required: Who may change it, for a caller who cannot.
  - `options` ContainerCapabilityOption[], required: Every capability a project may allow. Nothing outside this list can be granted.
    - `description` string, required: What allowing it does, in plain words.
    - `id` 'NET_BIND_SERVICE', required: A Linux capability a project may add back to its containers. Wire and Docker name are the same: `NET_BIND_SERVICE`, without the `CAP_` prefix, the form Docker's `cap_add` takes.
    - `label` string, required: Short label, e.g. "Bind ports below 1024".
    - `trade_off` string, required: What it costs in isolation.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Project not found
- `500`: Internal server error

## Changes

- **2026-11-22** `2940c998fac2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:id/container-security/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
