results-reference changedmanage-claude/compliance-security-posture/results-reference
Nearest release: v2.1.330, published under an hour before 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+96added
Lines−96removed
From line
21
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 21, old and new numbered
/
from line 21
2121 -H "anthropic-version: 2026-10-21"
2222```
2323
24| Item | Rule |
25| ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
26| `organization_id` | The `uuid` of a [linked organization](https://platform.claude.com/docs/en/manage-claude/compliance-api#how-the-compliance-api-works) from [List organizations](https://platform.claude.com/docs/en/manage-claude/compliance-org-data#list-organizations); any other value returns 404. |
27| Key | A [key for the parent organization](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#set-up-the-compliance-api) can name any linked organization, and a key for a single organization can name only that organization. |
28| `anthropic-version` | Required; a request without it returns 400. |
29| Query parameters | None; a request with any query parameter returns 400. |
24| Item | Rule |
25| ----- | ----- |
26| `organization_id` | The `uuid` of a [linked organization](https://platform.claude.com/docs/en/manage-claude/compliance-api#how-the-compliance-api-works) from [List organizations](https://platform.claude.com/docs/en/manage-claude/compliance-org-data#list-organizations); any other value returns 404. |
27| Key | A [key for the parent organization](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#set-up-the-compliance-api) can name any linked organization, and a key for a single organization can name only that organization. |
28| `anthropic-version` | Required; a request without it returns 400. |
29| Query parameters | None; a request with any query parameter returns 400. |
3030
3131## Response
3232
from line 107
107107
108108### Top-level fields
109109
110| Field | Type | Description |
111| ----------------- | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
112| `type` | string | Always `security_posture`. |
113| `organization_id` | string | The organization’s UUID. |
114| `evaluated_at` | string (RFC 3339, UTC) | The time at which every control was evaluated. |
115| `comments_status` | string | Whether attestation comments were read; see [Who attested, and comments](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference#who-attested-and-comments). |
116| `controls` | array of objects | The organization’s controls, never empty. |
110| Field | Type | Description |
111| ----- | ----- | ----- |
112| `type` | string | Always `security_posture`. |
113| `organization_id` | string | The organization’s UUID. |
114| `evaluated_at` | string (RFC 3339, UTC) | The time at which every control was evaluated. |
115| `comments_status` | string | Whether attestation comments were read; see [Who attested, and comments](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference#who-attested-and-comments). |
116| `controls` | array of objects | The organization’s controls, never empty. |
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 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). |
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 135
135135
136136### `attestation` fields
137137
138| Field | Type | Description |
139| ------------- | ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
140| `state` | string or null | Whether the attestation is in effect (`null` means it is); see [Attestation states](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference#attestation-states). |
141| `attested_at` | string (RFC 3339, UTC) | When the attestation was made. |
142| `comment` | string or null | The comment saved with the attestation, of at most 2,000 characters; `null` if there is none or if `comments_status` is not `available`. |
143| `attested_by` | object or null | The person who attested; `null` when the key holds neither `read:compliance_user_data` nor `read:org_audit`, when that person’s account has been deleted or is being deleted, or when the endpoint does not return who attested for the organization. |
138| Field | Type | Description |
139| ----- | ----- | ----- |
140| `state` | string or null | Whether the attestation is in effect (`null` means it is); see [Attestation states](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference#attestation-states). |
141| `attested_at` | string (RFC 3339, UTC) | When the attestation was made. |
142| `comment` | string or null | The comment saved with the attestation, of at most 2,000 characters; `null` if there is none or if `comments_status` is not `available`. |
143| `attested_by` | object or null | The person who attested; `null` when the key holds neither `read:compliance_user_data` nor `read:org_audit`, when that person’s account has been deleted or is being deleted, or when the endpoint does not return who attested for the organization. |
144144
145145### `attested_by` fields
146146
147| Field | Type | Description |
148| --------- | ------ | ----------------------------------------- |
149| `type` | string | Always `user_actor`. |
147| Field | Type | Description |
148| ----- | ----- | ----- |
149| `type` | string | Always `user_actor`. |
150150| `user_id` | string | The user’s ID, which starts with `user_`. |
151151
152152## Status values
from line 153
153153
154154`status` gives the reason for a control’s result, and each status has one `rating`.
155155
156| `status` | Kind of control | Meaning | `rating` | On the page |
157| ---------------------------- | ------------------- | ------------------------------------------------------------------------------------------------------------------------ | -------------- | -------------------------------------------------------- |
158| `passed` | automatic | The current value meets the recommended value. | `passed` | Passed |
159| `matches_profile` | automatic | The current value equals the recommended value. | `passed` | Passed |
160| `exceeds_baseline` | automatic | The current value is stricter than the recommended value. | `passed` | Passed |
161| `failed_check_accepted_risk` | automatic | The automatic check fails, and an accepted risk is in effect. | `passed` | Passed |
162| `failed` | automatic or manual | The current value does not meet the recommended value, or an attestation that the response leaves out gives this result. | `failed` | Failed, or Passed with a Completed attestation in effect |
163| `review` | automatic | The current value is looser than the recommended value. | `failed` | Failed |
164| `attested_completed` | manual | An attestation with the value Completed (`completed`) is in effect. | `passed` | Passed |
165| `attested_accepted_risk` | manual | An attestation with the value Accepted risk (`accepted_risk`) is in effect. | `passed` | Passed |
166| `not_attested` | manual | No attestation is in effect. | `not_attested` | Not attested |
167| `attestation_not_enabled` | manual | Nobody can attest to the control. | `not_attested` | Descriptive |
168| `descriptive` | information-only | The control is reported, not rated. | `descriptive` | Descriptive |
169| `not_applicable` | any | The control does not apply to the organization. | `descriptive` | Descriptive |
170| `not_evaluated` | any | The setting, or another setting that decides whether the control applies, could not be read. | `descriptive` | Descriptive |
156| `status` | Kind of control | Meaning | `rating` | On the page |
157| ----- | ----- | ----- | ----- | ----- |
158| `passed` | automatic | The current value meets the recommended value. | `passed` | Passed |
159| `matches_profile` | automatic | The current value equals the recommended value. | `passed` | Passed |
160| `exceeds_baseline` | automatic | The current value is stricter than the recommended value. | `passed` | Passed |
161| `failed_check_accepted_risk` | automatic | The automatic check fails, and an accepted risk is in effect. | `passed` | Passed |
162| `failed` | automatic or manual | The current value does not meet the recommended value, or an attestation that the response leaves out gives this result. | `failed` | Failed, or Passed with a Completed attestation in effect |
163| `review` | automatic | The current value is looser than the recommended value. | `failed` | Failed |
164| `attested_completed` | manual | An attestation with the value Completed (`completed`) is in effect. | `passed` | Passed |
165| `attested_accepted_risk` | manual | An attestation with the value Accepted risk (`accepted_risk`) is in effect. | `passed` | Passed |
166| `not_attested` | manual | No attestation is in effect. | `not_attested` | Not attested |
167| `attestation_not_enabled` | manual | Nobody can attest to the control. | `not_attested` | Descriptive |
168| `descriptive` | information-only | The control is reported, not rated. | `descriptive` | Descriptive |
169| `not_applicable` | any | The control does not apply to the organization. | `descriptive` | Descriptive |
170| `not_evaluated` | any | The setting, or another setting that decides whether the control applies, could not be read. | `descriptive` | Descriptive |
171171
172172No field names the kind of control; for `failed`, a `null` `current_value` marks a manual control. More values can be added, so count a control with an unknown `status` by its `rating` and read an unknown `rating` as not Passed. The status `review` and the attestation state `review_due` are not related.
173173
from line 175
175175
176176`state` says whether the attestation that the response shows is in effect.
177177
178| `state` | Meaning |
179| ----------------- | -------------------------------------------------------------------------------------------------------------------------- |
180| `in_force` | The attestation is in effect. |
181| `null` | The attestation is in effect, the same as `in_force`. This state appears only on a manual control. |
182| `review_due` | The end date has come. |
178| `state` | Meaning |
179| ----- | ----- |
180| `in_force` | The attestation is in effect. |
181| `null` | The attestation is in effect, the same as `in_force`. This state appears only on a manual control. |
182| `review_due` | The end date has come. |
183183| `setting_changed` | The check fails on a value other than the one whose risk was accepted, or the accepted risk was already recorded as ended. |
184| `check_passing` | The check passes, so there is no risk to accept. |
184| `check_passing` | The check passes, so there is no risk to accept. |
185185
186186When more than one reason applies, the response gives the first of `check_passing`, `setting_changed`, and `review_due`. From 00:00 UTC on its end date, an attestation is not in effect. The response has no end date, so `state` decides; an end date that was saved is the attestation activity’s [`review_date`](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/events-reference#attestation-activity). Read an unknown `state` as not in effect.
187187
from line 189
189189
190190The response shows some attestations and leaves others out, so a `null` `attestation` does not prove that nobody attested.
191191
192| Kind of control | Attested as | `status` | `rating` | `attestation` |
193| ------------------------------------------- | -------------------------------------- | -------------------------------------------------------------------- | ---------------------- | ----------------------------------------------------- |
194| Manual | No attestation | `not_attested`, or `attestation_not_enabled` where nobody can attest | `not_attested` | `null` |
195| Manual | Completed | `attested_completed` | `passed` | Shown |
196| Manual | Accepted risk | `attested_accepted_risk` | `passed` | Shown |
197| Manual | Failed (`control_failed`) | `failed` | `failed` | `null`: never shown |
198| Automatic, check failed | No attestation | `failed` or `review` | `failed` | `null` |
199| Automatic, check failed | Accepted risk | `failed_check_accepted_risk` | `passed` | Shown |
200| Automatic, check failed | Completed | `failed`, even where the automatic check gives `review` | `failed` | `null`: never shown |
201| Automatic, check failed | Failed | The `status` the automatic check gives | `failed` | `null`: never shown |
202| Automatic, check passed | No attestation | `passed`, `matches_profile`, or `exceeds_baseline` | `passed` | `null` |
203| Automatic, check passed | Completed | The `status` the automatic check gives | `passed` | `null`: never shown |
204| Automatic, check passed | Accepted risk | The `status` the automatic check gives | `passed` | `null` while the check passes on the accepted value |
205| Automatic, check passed | Failed | `failed` | `failed` | `null`: never shown |
206| Information-only | Any value | `descriptive` | `descriptive` | `null`: never shown |
207| Any, while the attestation is not in effect | A value that an earlier row shows | As with no attestation | As with no attestation | Shown, with a `state` other than `in_force` or `null` |
208| Any, while the attestation is not in effect | A value that an earlier row leaves out | As with no attestation | As with no attestation | `null` |
192| Kind of control | Attested as | `status` | `rating` | `attestation` |
193| ----- | ----- | ----- | ----- | ----- |
194| Manual | No attestation | `not_attested`, or `attestation_not_enabled` where nobody can attest | `not_attested` | `null` |
195| Manual | Completed | `attested_completed` | `passed` | Shown |
196| Manual | Accepted risk | `attested_accepted_risk` | `passed` | Shown |
197| Manual | Failed (`control_failed`) | `failed` | `failed` | `null`: never shown |
198| Automatic, check failed | No attestation | `failed` or `review` | `failed` | `null` |
199| Automatic, check failed | Accepted risk | `failed_check_accepted_risk` | `passed` | Shown |
200| Automatic, check failed | Completed | `failed`, even where the automatic check gives `review` | `failed` | `null`: never shown |
201| Automatic, check failed | Failed | The `status` the automatic check gives | `failed` | `null`: never shown |
202| Automatic, check passed | No attestation | `passed`, `matches_profile`, or `exceeds_baseline` | `passed` | `null` |
203| Automatic, check passed | Completed | The `status` the automatic check gives | `passed` | `null`: never shown |
204| Automatic, check passed | Accepted risk | The `status` the automatic check gives | `passed` | `null` while the check passes on the accepted value |
205| Automatic, check passed | Failed | `failed` | `failed` | `null`: never shown |
206| Information-only | Any value | `descriptive` | `descriptive` | `null`: never shown |
207| Any, while the attestation is not in effect | A value that an earlier row shows | As with no attestation | As with no attestation | Shown, with a `state` other than `in_force` or `null` |
208| Any, while the attestation is not in effect | A value that an earlier row leaves out | As with no attestation | As with no attestation | `null` |
209209
210210Each row but the last two holds while the attestation is in effect. On an automatic control, an attestation is not in effect while the value that the check reads differs from the one that it was saved on. Every attestation that the response shows on an automatic control is an accepted risk. The [Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed) also records attestations of the kinds that the response leaves out.
211211
from line 213
213213
214214The response holds no score and no counts, overall or by group. On the Security posture page, the summary line says how many controls passed and how many controls the page counts. To count as the summary line does, count these entries:
215215
216| Number | Entries that it counts |
217| -------------------- | ------------------------------------------------------------------------------------------------------------- |
218| Controls that passed | Entries rated `passed` |
219| Total | Entries rated `passed`, `failed`, or `not_attested`, except those whose `status` is `attestation_not_enabled` |
216| Number | Entries that it counts |
217| ----- | ----- |
218| Controls that passed | Entries rated `passed` |
219| Total | Entries rated `passed`, `failed`, or `not_attested`, except those whose `status` is `attestation_not_enabled` |
220220
221221The page shows the `attestation_not_enabled` entries as Descriptive and does not count them. Entries rated `descriptive` are in neither number.
222222
from line 230
230230
231231Check four things when you count controls by `rating`.
232232
233| If you count | Also check |
234| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
235| Passed (`passed`) | It includes every control with an accepted risk in effect, so look for `failed_check_accepted_risk` and `attested_accepted_risk`. |
236| Failed (`failed`) | It includes a control attested as Failed (`control_failed`) and a failing automatic check with a Completed attestation in effect, which the Security posture page shows as Passed. |
237| Not attested (`not_attested`) | It includes the entries whose `status` is `attestation_not_enabled`, which the Security posture page shows as Descriptive. |
238| Descriptive (`descriptive`) | It can hide a control that could not be read, so look for `not_evaluated`. |
233| If you count | Also check |
234| ----- | ----- |
235| Passed (`passed`) | It includes every control with an accepted risk in effect, so look for `failed_check_accepted_risk` and `attested_accepted_risk`. |
236| Failed (`failed`) | It includes a control attested as Failed (`control_failed`) and a failing automatic check with a Completed attestation in effect, which the Security posture page shows as Passed. |
237| Not attested (`not_attested`) | It includes the entries whose `status` is `attestation_not_enabled`, which the Security posture page shows as Descriptive. |
238| Descriptive (`descriptive`) | It can hide a control that could not be read, so look for `not_evaluated`. |
239239
240240The Security posture page groups controls by product. You cannot rebuild those groups from the response. The only grouping field is `section`, and the page does not make its groups from sections alone. Counting by `section` works, but it gives different rows from the page’s.
241241
from line 245
245245
246246The endpoint returns no comments, even when the Security posture page shows one: every `comment` is `null`, and `comments_status` is `not_enabled` or `not_permitted`. So `not_enabled` and a `null` comment do not mean the attestation has no comment. `comments_status` says how to read a `null` comment, and the schema defines these values.
247247
248| `comments_status` | Meaning |
249| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
250| `not_permitted` | The API key holds neither `read:compliance_user_data` nor `read:org_audit`, so every `comment` and every `attested_by` is `null`. |
248| `comments_status` | Meaning |
249| ----- | ----- |
250| `not_permitted` | The API key holds neither `read:compliance_user_data` nor `read:org_audit`, so every `comment` and every `attested_by` is `null`. |
251251| `requires_organization_key` | The API key was not created in the organization, as with a key for the parent organization, so every `comment` is `null`. Retrying does not help. |
252| `available` | Comments were read, so a `null` comment means that there is none or that it was saved moments ago. |
253| `not_enabled` | This endpoint does not return comments for the organization, so every `comment` is `null`. |
254| `unavailable` | Comments could not be read for this response; a later request might succeed, but some causes last until the customer acts. |
252| `available` | Comments were read, so a `null` comment means that there is none or that it was saved moments ago. |
253| `not_enabled` | This endpoint does not return comments for the organization, so every `comment` is `null`. |
254| `unavailable` | Comments could not be read for this response; a later request might succeed, but some causes last until the customer acts. |
255255
256256More values can be added; read an unknown one as `unavailable`.
257257
from line 259
259259
260260Errors 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.
261261
262| Status and `error.type` | When | What to do |
263| -------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
264| 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. |
265| 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`. |
266| 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. |
267| 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. |
268| 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). |
269| 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. |
270| 503 with no `error_code`, or 504 `timeout_error` | A temporary failure. | Retry with exponential backoff. |
262| Status and `error.type` | When | What to do |
263| ----- | ----- | ----- |
264| 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. |
265| 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`. |
266| 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. |
267| 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. |
268| 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). |
269| 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. |
270| 503 with no `error_code`, or 504 `timeout_error` | A temporary failure. | Retry with exponential backoff. |
271271
272272Causes of a 404:
273273
No line in this hunk matches that.