results-reference changedmanage-claude/compliance-security-posture/results-reference
Nearest release: v2.1.323, published 4 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+15added
Lines−15removed
From line
8
where the diff opens
First seen
10 Nov 2026
this site's first read of the page
Recorded edits4to this page, all time
The whole hunk
from line 8, old and new numbered
/
from line 8
88 To enable the Compliance API, see [Set up the Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api-access).
99</Note>
1010
11This endpoint returns an entry for most of an organization’s security controls, evaluated at the time of the request, with the [Security posture attestation](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/overview#attestations) that the response shows for each control. You need a Compliance Access Key that covers the organization, with the `read:compliance_org_data` or `read:org_audit` scope; [Security posture availability](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/overview#availability) says which organizations can be read.
11This endpoint returns an entry for most of an organization’s security controls, evaluated at the time of the request. Each entry’s `attestation` field holds the control’s [Security posture attestation](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/overview#attestations) or `null`. A `null` does not prove that nobody attested: [How an attestation shows in the response](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference#how-an-attestation-shows-in-the-response) lists which attestations the response shows. You need a Compliance Access Key that covers the organization, with the `read:compliance_org_data` or `read:org_audit` scope. [Security posture availability](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/overview#availability) says which organizations can be read.
1212
1313## Request
1414
from line 117
117117
118118### `controls[]` fields
119119
120| Field | Type | Description |
121| --------------- | -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
122| `id` | string | The control’s identifier, which is the same for every organization and never changes. |
123| `display_name` | string | The control’s display name, as English display text whose wording can change. |
124| `section` | string | The section that the control belongs to, one of the ten listed after this table; more values can be added, so treat an unknown one as a section of its own. |
125| `setting_name` | string or null | The `name` of the entry in the organization’s effective settings that this control reads; `null` when it reads no such entry. |
126| `status` | string | The reason for the control’s result; see [Status values](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference#status-values). |
127| `rating` | string | The control’s result, which follows from `status`; see [Status values](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference#status-values). |
128| `current_value` | string or null | The current value, as English display text whose wording can change; `null` on a manual control or when no value was read. |
129| `desired_state` | string or null | The recommended value, as English display text whose wording can change; `null` when there is none for this organization. |
130| `attestation` | object or null | The attestation that the response shows, also while it is not in effect; `null` while `status` is `descriptive`, `not_applicable`, or `not_evaluated`, and in [these cases](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference#how-an-attestation-shows-in-the-response). |
120| Field | Type | Description |
121| --------------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
122| `id` | string | The control’s identifier, which is the same for every organization and never changes. |
123| `display_name` | string | The control’s display name, as English display text whose wording can change. |
124| `section` | string | The section that the control belongs to, one of the 10 listed after this table; more values can be added, so treat an unknown one as a section of its own. |
125| `setting_name` | string or null | The `name` of the entry in the organization’s effective settings that this control reads; `null` when it reads no such entry. |
126| `status` | string | The reason for the control’s result; see [Status values](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference#status-values). |
127| `rating` | string | The control’s result, which follows from `status`; see [Status values](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference#status-values). |
128| `current_value` | string or null | The current value, as English display text whose wording can change; `null` on a manual control or when no value was read. |
129| `desired_state` | string or null | The recommended value, as English display text whose wording can change; `null` when there is none for this organization. |
130| `attestation` | object or null | The attestation that the response shows, also while it is not in effect; `null` while `status` is `descriptive`, `not_applicable`, or `not_evaluated`, and in the cases under [How an attestation shows in the response](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference#how-an-attestation-shows-in-the-response). |
131131
132132`section` is one of `identity_access`, `data_privacy`, `capabilities`, `connectors_integrations`, `chats_desktop_mdm`, `cowork_admin_console`, `cowork_desktop_mdm`, `claude_code_admin_console`, `claude_code_managed_settings`, and `healthy_adoption`.
133133
from line 237
237237
238238## Errors
239239
240Errors use the same body as the rest of the [Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-errors); this table lists the ones that this endpoint returns in its own way.
240Errors use the same body as the rest of the Compliance API. [Handle Compliance API errors](https://platform.claude.com/docs/en/manage-claude/compliance-errors) describes that body. This table lists the errors that this endpoint returns in its own way.
241241
242242| Status and `error.type` | When | What to do |
243243| -------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
from line 244
244244| 400 `invalid_request_error` | `anthropic-version` is missing or invalid, the Compliance API is not enabled for the parent organization, or there is a query parameter. | Fix what `error.message` names. |
245245| 401 `authentication_error` | The key is missing, not recognized, or not a Compliance Access Key or Admin API key. | Send a valid Compliance Access Key in `x-api-key`. |
246246| 403 `permission_error` | The key may not call this endpoint, usually because it lacks both `read:compliance_org_data` and `read:org_audit`. | Use a key with either scope. |
247| 404 `not_found_error` | See the causes listed after this table. | Do not retry at once and never read it as no failed controls. |
247| 404 `not_found_error` | See the causes listed after this table. | Do not retry at once. A 404 does not mean that the organization has no failed controls. |
248248| 429 `rate_limit_error` | The shared Compliance API rate limit, or this endpoint’s lower limit, is used up; `error.message` says which. | Wait for `retry-after`; see [429 Too Many Requests](https://platform.claude.com/docs/en/manage-claude/compliance-errors#429-too-many-requests). |
249249| 503 `overloaded_error`, with `error.details.error_code` of `posture_evaluation_failed` | The result could not be produced. | Wait for `retry-after`, then retry; if it recurs for one organization on later runs, contact Anthropic support once. |
250250| 503 with no `error_code`, or 504 `timeout_error` | A temporary failure. | Retry with exponential backoff. |
from line 268
268268* A result can change with no setting changed, for example when an end date comes or Anthropic changes a recommended value.
269269* If Anthropic rewords a current value, an accepted risk on it is not in effect.
270270* A call stores no result and ends no attestation.
271* Each request that passes the key, scope, and version checks without a query parameter records one `compliance_api_accessed` activity, whether it succeeds or fails; its `url` names the organization read, and `organization_uuid` is `null` for a key for the parent organization.
271* A request with either a key for the parent organization or a key for a single organization on Claude Enterprise records one `compliance_api_accessed` activity. It does so when the request passes the key, scope, and version checks without a query parameter, whether it succeeds or fails. The activity’s `url` names the organization read, and `organization_uuid` is `null` for a key for the parent organization.
272272
No line in this hunk matches that.