One read of Claude Developer Platformapi-20261119T000710Z
259 pages moved out of 923 read.
Pages moved
259
significant first
Pages read
923
in this capture
Captured
00:07 UTC
Corpus hash
74cf54600c83
corpus-hash
What this read moved
251-259 of 259, page 11 of 11This capture is too large to show at once. Changes 251-259 of 259 are below, significant first; the rest are on the following screens.
api/user_profiles Changed · +101 / -89 lines
## Errors ### user_profile_not_found
from line 2420
24202420
24212421- `UserProfileNotFoundErrorDetails object`
24222422
2423 The request depends on a user profile that does not exist in the organization or is no longer active. The request either names this user profile by ID, or names a resource, such as an External Key, that is bound to it.
2424
24252423 - `error_code: "user_profile_not_found"`
24262424
24272425### User Profile Program Status
from line 2509
25112509 - `status: UserProfileProgramStatus`
25122510
25132511 Anthropic's decision on the entity the profile represents: `pending` while it is awaited, `active` once Anthropic has approved the entity for the program, or `rejected` once Anthropic has declined or has removed the entity from the program. `active` does not mean that any one feature is approved: read the feature you need in `features`.
2512
2513## Errors
2514
2515### user_profile_not_found
2516
2517HTTP status 400
2518
2519- `"user_profile_not_found"`
2520
2521 The request depends on a user profile that does not exist in the organization or is no longer active. The request either names this user profile by ID, or names a resource, such as an External Key, that is bound to it.
2522
2523 - `details: UserProfileNotFoundErrorDetails`
2524
2525 - `error_code: "user_profile_not_found"`
25142526
25152527## User Profiles › Action URLs
25162528
manage-claude/compliance-integration-patterns Changed · +4 / -2 lines
from line 105
105105
106106`actor.user_id` and `actor.email_address` are present when `actor.type` is `user_actor`. `actor.ip_address` and `actor.user_agent` are absent on some actor types, such as `anthropic_actor` and `scim_directory_sync_actor`. Check the discriminator before reading any of these fields. `user_id` is a stable, opaque identifier for the user account: it is consistent across every Compliance API endpoint and activity payload, and it does not change when the user’s email or display name changes. Use `user_id`, not `email_address`, as the primary join key.
107107
108Calls to the Compliance API itself emit `compliance_api_accessed` activities. Ingest these alongside other activity types so your SIEM records who queried compliance data, and when. Pass `activity_types[]=compliance_api_accessed` to scope the query, then in your client, read `actor.api_key_id` from each activity whose `actor.type` is `api_actor` to attribute the access to a specific Compliance Access Key or Admin API key.
108Most calls to the Compliance API itself emit `compliance_api_accessed` activities. Ingest these alongside other activity types so your SIEM records who queried compliance data, and when. Pass `activity_types[]=compliance_api_accessed` to scope the query. Then, in your client, read `actor.api_key_id` from each activity whose `actor.type` is `api_actor`. That value attributes the access to a specific Compliance Access Key or Admin API key.
109109
110Some calls to the Compliance API leave no activity in the Activity Feed, including calls that succeed. So, a gap in these activities does not show that nobody queried compliance data.
111
110112## Plan content retention
111113
112114Six retention horizons govern what you can retrieve later:
from line 150
148150
149151* Prompt text or model responses from Claude Console, or from Claude API workloads authenticated with an API key.
150152* On-device activity in local sessions that is never sent to Anthropic, such as local files that Claude did not read.
151* Claude Code usage authenticated with a Claude Console API key, run through a third-party cloud platform (Amazon Bedrock, Google Cloud, or Microsoft Foundry), or run in a [Claude Code cloud session](https://code.claude.com/docs/en/claude-code-on-the-web), which runs on cloud infrastructure instead of the user’s machine.
153* Claude Code usage authenticated with a Claude Console API key, run through any [cloud platform](https://platform.claude.com/docs/en/api/overview#claude-api-vs-cloud-platforms), or run in a [Claude Code cloud session](https://code.claude.com/docs/en/claude-code-on-the-web). A Claude Code cloud session runs on cloud infrastructure instead of the user’s machine.
152154* Local sessions from products other than Cowork and Claude Code in organizations with [HIPAA readiness](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#hipaa-readiness) enabled, and local sessions for which [zero data retention](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#zero-data-retention-zdr-scope) is in effect.
153155* Thinking blocks, and images or other binary content, inside session transcripts (transcripts carry user prompts, assistant responses, and tool activity only; local session transcripts show a placeholder `text` block where binary content was omitted).
154156* The original file for a chat attachment that claude.ai stored as extracted text, such as some Word, PowerPoint, and PDF uploads (the file content endpoint returns the extracted text; see [Retrieve files and artifacts](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#retrieve-files-and-artifacts)).
manage-claude/compliance-security-posture/detect-changes Changed · +3 / -3 lines
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
11These sample rules alert on changes in your organization’s [Security posture](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/overview), using the activities that the Compliance API Activity Feed records. They assume that your security information and event management (SIEM) system stores these activities, as [Send events to your SIEM](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/send-events) describes.
11These sample rules alert on changes in your organization’s [Security posture](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/overview), using the activities that the Compliance API Activity Feed records. They assume that your security information and event management (SIEM) system stores these activities, as [Send Security posture events to your SIEM](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/send-events) describes.
1212
1313## Before you write a rule
1414
from line 17
1717* Queries use the Activity Feed’s field names, plus `stored_at`, this page’s name for when you stored an activity. Any other name is your own list or alias.
1818* Before a rule counts activities, deduplicate them by `id`.
1919* Unless a rule says otherwise, run it over the time since its last completed run, by `stored_at`, not `created_at`, because an activity can arrive late; queries leave that range out.
20* Write rules that fire on an activity you stored, never on one you have not: it may be late or a change [the feed does not record](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/events-reference#what-the-feed-does-not-record). To compare stored activities with current results, see [Check events against results](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/check-events-against-results).
20* Write rules that fire on an activity you stored, never on the absence of one. An activity you have not stored may be late, or may be a change [the feed does not record](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/events-reference#what-the-feed-does-not-record). To compare stored activities with current results, see [Check stored Security posture events against current results](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/check-events-against-results).
2121
2222## Attestation rules
2323
from line 90
9090New values can appear in any of these fields.
9191
9292* Identify automatic changes by `actor.type`, not by the value of `actor.service`.
93* Do not drop activities whose `control`, `action`, or `status` value a rule does not list; a new `action` value can record an acceptance. See the [events reference](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/events-reference).
93* Do not drop activities whose `control`, `action`, or `status` value a rule does not list; a new `action` value can record an acceptance. See [Security posture events reference](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/events-reference).
9494
9595## Test a rule
9696
manage-claude/compliance-security-posture/events-reference Changed · +9 / -7 lines
from line 32
3232
3333### `action` values
3434
35| `action` | Meaning |
36| ---------- | -------------------------------------------------------------------------------------------------------------------------------------- |
37| `attested` | An attestation was recorded for a control that had none. |
38| `changed` | An attestation was saved again with another value or, where `status` equals `previous_status`, with the same value, as with `renewed`. |
39| `renewed` | An attestation was saved again with the same value. |
40| `cleared` | A person cleared an attestation. |
41| `lapsed` | An attestation ended automatically, not by a person. |
35| `action` | Meaning |
36| ---------- | -------------------------------------------------------- |
37| `attested` | An attestation was recorded for a control that had none. |
38| `changed` | An attestation was saved again with another value. |
39| `renewed` | An attestation was saved again with the same value. |
40| `cleared` | A person cleared an attestation. |
41| `lapsed` | An attestation ended automatically, not by a person. |
42
43On or before October 23, 2026 (UTC), a `changed` activity can also record a save with the same value. Such an activity has a `created_at` on or before that day and a `status` that equals `previous_status`.
4244
4345On `renewed` and `lapsed` activities, `status` equals `previous_status`. A save with the same value after a `lapsed` activity is recorded as `renewed`, not `attested`.
4446
manage-claude/compliance-security-posture/ocsf-mapping Changed · +14 / -14 lines
from line 18
1818
1919Map these fields on every event.
2020
21| Activity field | OCSF attribute | Note |
22| ------------------- | ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
23| `id` | `metadata.uid` | Copy unchanged. |
24| `type` | `metadata.event_code` | Copy unchanged. |
25| `created_at` | `time` | Convert the RFC 3339 string to milliseconds since the Unix epoch and truncate to a whole number. |
26| `created_at` | `metadata.original_time` | Copy the string unchanged. |
27| None | `metadata.logged_time` | The time at which you stored the activity (`stored_at` on [Detect changes](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/detect-changes#before-you-write-a-rule)), in milliseconds since the Unix epoch. |
28| `organization_uuid` | `metadata.tenant_uid` | Copy unchanged. |
29| `organization_id` | `unmapped.organization_id` | Copy unchanged. |
30| None | `metadata.version` | Constant: `1.6.0`. |
31| None | `metadata.product.vendor_name` | Constant: `Anthropic`. |
32| None | `metadata.product.name` | Constant: `Compliance API`. |
33| None | `type_uid` | `class_uid * 100 + activity_id`. |
34| None | `severity_id` | Set to `1` (Informational) on every event and set an alert’s priority in the [detection rule](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/detect-changes) that raises it. |
21| Activity field | OCSF attribute | Note |
22| ------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
23| `id` | `metadata.uid` | Copy unchanged. |
24| `type` | `metadata.event_code` | Copy unchanged. |
25| `created_at` | `time` | Convert the RFC 3339 string to milliseconds since the Unix epoch and truncate to a whole number. |
26| `created_at` | `metadata.original_time` | Copy the string unchanged. |
27| None | `metadata.logged_time` | The time at which you stored the activity (`stored_at` on [Detect changes in Security posture](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/detect-changes#before-you-write-a-rule)), in milliseconds since the Unix epoch. |
28| `organization_uuid` | `metadata.tenant_uid` | Copy unchanged. |
29| `organization_id` | `unmapped.organization_id` | Copy unchanged. |
30| None | `metadata.version` | Constant: `1.6.0`. |
31| None | `metadata.product.vendor_name` | Constant: `Anthropic`. |
32| None | `metadata.product.name` | Constant: `Compliance API`. |
33| None | `type_uid` | `class_uid * 100 + activity_id`. |
34| None | `severity_id` | Set to `1` (Informational) on every event and set an alert’s priority in the [detection rule](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/detect-changes) that raises it. |
3535
3636Put every field that has no OCSF attribute in the `unmapped` object under its Activity Feed name, including fields that your handler does not recognize. Where a field is absent or `null`, leave out the OCSF attribute.
3737
manage-claude/compliance-security-posture/overview Changed · +10 / -3 lines
from line 48
4848* Accepted risk (`accepted_risk`): the control is not in place, and the organization accepts the risk.
4949* Failed (`control_failed`): the control is not in place.
5050
51Someone who can attest does so on the page. The API reads attestations and cannot make them. The page can ask a question when someone attests, sometimes requiring an answer, and stores the answer with the attestation as its [comment](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/overview#what-anthropic-stores-when-someone-attests), up to 2,000 characters. An Activity Feed activity never includes the comment or shows that one exists. The endpoint returns no comments either.
51Someone who can attest does so on the page. The API reads attestations and cannot make them. The page can ask a question when someone attests and sometimes requires an answer. It stores the answer with the attestation as its comment, up to 2,000 characters (see [What Anthropic stores when someone attests](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/overview#what-anthropic-stores-when-someone-attests)). An Activity Feed activity never includes the comment or shows that one exists. The endpoint returns no comments either.
5252
53When someone saves an attestation, Security posture gives the attestation an end date that falls 90 days after the save. If that person chooses to save the attestation without an end date, the attestation gets none.
54
5355### Results
5456
5557Each control has one of four results.
from line 70
6870An attestation stays in effect until one of three things happens:
6971
7072* Someone clears or changes it.
71* Its end date (`review_date`) arrives. The person who attests picks 90 days or none.
73* Its end date (`review_date`) arrives.
7274* On an automatic or information-only control, the current value changes, or, for an accepted risk on some automatic controls, the check passes.
7375
7476Without an attestation in effect, an automatic control’s result follows its check, and a manual control is Not attested.
from line 121
119121
120122An attestation’s comment is the answer to the question that the Security posture page can ask when someone attests. Anthropic stores an attestation’s comment until someone clears the attestation or Anthropic deletes the comment with the organization. Attesting again can replace or remove the comment. A custom conversation retention period does not shorten how long Anthropic stores the attestation or the comment. Activity Feed activities never include the comment (see [What the feed does not record](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/events-reference#what-the-feed-does-not-record)).
121123
122Some organizations cannot save a comment with an attestation because of their data-handling settings, such as CMEK or ZDR. For those organizations, the Security posture page shows no comment box and asks for no answer when someone attests. If an organization saved a comment before those settings applied to it, the comment stays stored with its attestation. The Security posture page does not show that comment. Clearing the attestation deletes that comment.
124Some organizations cannot save a comment with an attestation because of their data-handling settings, such as CMEK or ZDR. For those organizations, the Security posture page shows no comment box and asks for no answer when someone attests.
125
126If an organization saved a comment before those settings applied to it, the comment stays stored with its attestation. The Security posture page does not show that comment, and two actions can delete it:
127
128* Clearing the attestation deletes the comment.
129* Attesting again can delete the comment without showing it first.
123130
124131While Security posture is not available to an organization, Anthropic keeps storing its attestations and comments. In that time, nobody can see or clear them on the Security posture page.
125132
manage-claude/compliance-security-posture/results-reference Changed · +45 / -25 lines
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
manage-claude/compliance-api-access Changed · +3 / -1 lines
from line 78
7878 | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
7979 | `read:compliance_activities` | Read the Activity Feed. A key covering the parent organization reads events for the parent organization and all linked organizations. |
8080 | `read:compliance_user_data` | Read user chats, messages, files, projects, session metadata and transcripts, organization users, user preferences, and group members. Together with `read:compliance_org_data`, also read who made a [Security posture attestation](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference#who-attested-and-comments), where the endpoint returns it: a user ID. |
81 | `delete:compliance_user_data` | Delete user chats, files, and projects |
81 | `delete:compliance_user_data` | Delete user chats, files, and projects. |
8282 | `read:compliance_org_data` | Read organization metadata (names, types, roles, and groups) and the effective settings in force for organizations under the parent organization. Also read an organization’s [Security posture](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference): the current results of most of its security controls, with the attestations that the response shows. User listings and group membership require `read:compliance_user_data`. |
8383
8484 With the Plugins API, `read:compliance_org_data` also reads your organization’s plugin and plugin marketplace inventory through the Admin API, including members’ personal plugins and their files. That inventory identifies members: it carries the user ID of each member who owns or created a plugin, or with whom a plugin has been shared individually, and the email address of a plugin’s creator while they are still a member; see [Read plugins and plugin marketplaces](https://platform.claude.com/docs/en/manage-claude/compliance-org-data#read-plugins-and-plugin-marketplaces).
from line 156
156156Pagination cursors stored before a rotation remain valid: cursors are scoped to the organization, not the key.
157157
158158If a Compliance Access Key leaks, delete it immediately, audit the [Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed) for `compliance_api_accessed` activities by the compromised key, and rotate any downstream credentials that the leaked key could reach. Pass `activity_types[]=compliance_api_accessed` to scope the query, then in your client, keep the activities whose `actor.type` is `api_actor` and whose `actor.api_key_id` matches the compromised key; see [Understand the Activity object](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed#understand-the-activity-object) for the actor schema.
159
160Some calls to the Compliance API leave no activity in the Activity Feed, including calls that succeed. So finding no `compliance_api_accessed` activity for the key does not show that the key was unused.
159161
160162## Next steps
161163
manage-claude/compliance-security-posture/check-events-against-results Changed · +2 / -2 lines
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
11The Activity Feed can deliver an activity late, and the endpoint keeps no history, so each source can show a change that the other does not. A daily comparison finds what your security information and event management (SIEM) store lacks. The feed does not record [every change](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/events-reference#what-the-feed-does-not-record), so an attestation can be older than the feed’s first activity for its security control, and in rare cases a change has no activity at all. If you only report current results, you do not need the check.
11The Activity Feed can deliver an activity late, and the endpoint keeps no history. So each source can show a change that the other does not. A daily comparison finds what your security information and event management (SIEM) store lacks. The feed does not record every change (see [What the feed does not record](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/events-reference#what-the-feed-does-not-record)). So an attestation can be older than the feed’s first activity for its security control. In rare cases, a change has no activity at all. If you only report current results, you do not need the check.
1212
1313You need a Compliance Access Key that covers the organization, with `read:compliance_org_data` for the endpoint and `read:compliance_activities` for the Activity Feed, or `read:org_audit` for both.
1414
from line 49
4949
5050## Decide what each mismatch means
5151
52Each control that is left fits exactly one row.
52Each control that is left fits exactly one row. In this table, treat a `null` `state` as `in_force`.
5353
5454| # | Newest stored activity | Entry in the response | Verdict | What to do |
5555| -- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |