results-reference changedmanage-claude/compliance-security-posture/results-reference
Nearest release: v2.1.328, 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+45added
Lines−25removed
From line
12
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 12, old and new numbered
/
from line 12
1212
1313## Request
1414
15Send a `GET` request to `/v1/compliance/organizations/{organization_id}/security_posture`. Each call reads one organization, and the response is not paginated.
15Send a `GET` request to `/v1/compliance/organizations/{organization_id}/security_posture`. Each call reads one organization, and the response is not paginated. The endpoint has no subresources, such as one for a single control or for a summary.
1616
1717```bash cURL
1818curl --fail-with-body -sS \
from line 137
137137
138138| Field | Type | Description |
139139| ------------- | ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
140| `state` | string | Whether the attestation is in effect; see [Attestation states](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference#attestation-states). |
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). |
141141| `attested_at` | string (RFC 3339, UTC) | When the attestation was made. |
142142| `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`. |
143143| `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. |
from line 178
178178| `state` | Meaning |
179179| ----------------- | -------------------------------------------------------------------------------------------------------------------------- |
180180| `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. |
181182| `review_due` | The end date has come. |
182183| `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. |
183184| `check_passing` | The check passes, so there is no risk to accept. |
from line 189
188189
189190The response shows some attestations and leaves others out, so a `null` `attestation` does not prove that nobody attested.
190191
191| Kind of control | Attested as | `status` | `rating` | `attestation` |
192| ------------------------------------------- | -------------------------------------- | -------------------------------------------------------------------- | ---------------------- | --------------------------------------------------- |
193| Manual | No attestation | `not_attested`, or `attestation_not_enabled` where nobody can attest | `not_attested` | `null` |
194| Manual | Completed | `attested_completed` | `passed` | Shown |
195| Manual | Accepted risk | `attested_accepted_risk` | `passed` | Shown |
196| Manual | Failed (`control_failed`) | `failed` | `failed` | `null`: never shown |
197| Automatic, check failed | No attestation | `failed` or `review` | `failed` | `null` |
198| Automatic, check failed | Accepted risk | `failed_check_accepted_risk` | `passed` | Shown |
199| Automatic, check failed | Completed | `failed`, even where the automatic check gives `review` | `failed` | `null`: never shown |
200| Automatic, check failed | Failed | The `status` the automatic check gives | `failed` | `null`: never shown |
201| Automatic, check passed | No attestation | `passed`, `matches_profile`, or `exceeds_baseline` | `passed` | `null` |
202| Automatic, check passed | Completed | The `status` the automatic check gives | `passed` | `null`: never shown |
203| Automatic, check passed | Accepted risk | The `status` the automatic check gives | `passed` | `null` while the check passes on the accepted value |
204| Automatic, check passed | Failed | `failed` | `failed` | `null`: never shown |
205| Information-only | Any value | `descriptive` | `descriptive` | `null`: never shown |
206| 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` |
207| 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` |
208209
209210Each 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.
210211
211212## Count results
212213
214The 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:
215
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` |
220
221The page shows the `attestation_not_enabled` entries as Descriptive and does not count them. Entries rated `descriptive` are in neither number.
222
223Your result can differ from the page’s figure for reasons such as these:
224
225* The response leaves out some controls that the page counts. So, both of your numbers can be lower than the page’s.
226* An automatic control can have a failing check and a Completed attestation in effect. The page shows it as Passed, but the response rates it `failed`. So, your `failed` count can be higher than the page’s, and your `passed` count lower.
227* Each request evaluates every control again, and so does each load of the page. A setting can change between your request and the page load. Or a setting can fail to be read for one and not the other.
228
229Controls that the response leaves out are not named in it. Do not count such a control as Passed. Comparing `id` values with the organization’s earlier responses finds a control that an earlier response listed and this response omits. It cannot find a control that no response has listed.
230
213231Check four things when you count controls by `rating`.
214232
215| If you count | Also check |
216| --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
217| Passed (`passed`) | It includes every control with an accepted risk in effect, so look for `failed_check_accepted_risk` and `attested_accepted_risk`. |
218| 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. |
219| Descriptive (`descriptive`) | It can hide a control that could not be read, so look for `not_evaluated`. |
220| Every control | A control missing from the response is not Passed and is not named, so compare `id` values with those that you have seen for the organization. |
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`. |
239
240The 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.
221241
222242## Who attested, and comments
223243
No line in this hunk matches that.