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

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

`GET /projects/{id}/compose-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}/compose-security`
- Auth: none declared

## Path parameters

- `id` integer, required

## Response `200`

- ComposeSecurityResponse
  - `can_edit` boolean, required
  - `checks` ComposeSecurityCheckDefinition[], required
    - `consequence` string, required
    - `group` string, required
    - `id` 'extends' | 'include' | 'interpolation' | 'inline_services' | 'inline_sections' | 'inline_fields' | 'privileged' | 'docker_socket' | 'capabilities' | 'drop_capabilities' | 'security_options' | 'no_new_privileges' | 'devices' | 'device_rules' | 'gpu' | 'sysctls' | 'groups' | 'cgroup_parent' | 'runtime' | 'lifecycle_hooks' | 'provider' | 'container_name' | 'init' | 'host_network' | 'host_pid' | 'host_ipc' | 'host_uts' | 'host_cgroup' | 'host_user' | 'container_namespace' | 'network_mode' | 'external_networks' | 'network_names' | 'network_drivers' | 'network_options' | 'network_ipam' | 'external_links' | 'published_ports' | 'bind_mounts' | 'volume_drivers' | 'volume_network_filesystems' | 'volume_host_paths' | 'volume_options' | 'external_volumes' | 'volume_names' | 'volumes_from' | 'config_paths' | 'secret_paths' | 'external_configs' | 'external_secrets' | 'env_files' | 'label_files' | 'storage_options' | 'oom_killer' | 'service_shm' | 'aggregate_shm' | 'tmpfs' | 'ulimits' | 'pids' | 'memory' | 'logging' | 'blkio' | 'swap' | 'replicas' | 'remote_build' | 'build_context' | 'dockerfile' | 'build_privileged' | 'build_entitlements' | 'build_network' | 'build_ssh' | 'build_shm' | 'build_ulimits' | 'build_additional_contexts' | 'build_cache_from' | 'build_cache_to' | 'build_tags' | 'image_references' | 'build_image' | 'pull_policy', required
    - `label` string, required
  - `legacy_migration_pending` boolean, required
  - `policy` ComposeSecurityPolicy, required
    - `disabled_checks` ComposeSecurityCheck[]

## Other responses

- `403`: Forbidden
- `404`: Project not found

## Changes

- **2026-10-05** `4b228ebed583`: 1 info
  - endpoint added
- **2026-10-05** `63a80791dc58`: 1 breaking
  - api path removed without deprecation
- **2026-09-20** `ba7353162ea9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:id/compose-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)
