authorize_docker_session
Authorize a bounded performance session for an existing container by matching the allowed modes to the session summary. Grants process-local consent without executing or profiling the target.
Instructions
Authorize one project-bound existing-container performance session. This stores only process-local authorization and does not execute or profile the target. A fresh user reply to the exact session summary is required; MCP tool permission is not workload consent. allowed_modes is required and must exactly equal the non-empty mode set shown in that summary; expanding it requires a new summary and fresh authorization.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host_pid | No | ||
| allowed_modes | Yes | ||
| authorization | Yes | ||
| container_pid | No | ||
| authorization_mode | No | ||
| container_reference | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| created_at | Yes | ||
| expires_at | Yes | ||
| session_id | Yes | ||
| target_kind | Yes | ||
| allowed_modes | Yes | ||
| content_sha256 | Yes | ||
| instance_count | Yes | ||
| schema_version | No | 1.0 | |
| perflens_version | Yes | ||
| max_workload_runs | Yes | ||
| authorization_mode | Yes | ||
| max_active_seconds | Yes | ||
| max_evidence_bytes | Yes | ||
| workload_runs_used | Yes | ||
| active_seconds_used | Yes | ||
| evidence_bytes_used | Yes | ||
| invalidation_reason | No | ||
| workload_spec_sha256 | No | ||
| project_identity_sha256 | Yes | ||
| authorization_receipt_sha256 | Yes | ||
| existing_target_identity_sha256 | No | ||
| client_connection_identity_sha256 | Yes |