Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

ocsf-mapping changedmanage-claude/compliance-security-posture/ocsf-mapping

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+43added
Lines−43removed
From line 18 where the diff opens
First seen 10 Nov 2026 this site's first read of the page
Recorded edits3to this page, all time

The whole hunk

from line 18, old and new numbered
/
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 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. |
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 
3838Map the `actor` object:
3939 
40| Activity field | OCSF attribute | Note |
41| --------------------- | ------------------------- | ------------------------------------------------------------------------------ |
42| None | `metadata.profiles` | Add `host`, the OCSF profile (an optional attribute set) that carries `actor`. |
43| `actor.type` | `unmapped.actor.type` | Copy unchanged. |
44| `actor.user_id` | `actor.user.uid` | `user_actor` only. |
45| `actor.email_address` | `actor.user.email_addr` | `user_actor` only. |
46| `actor.ip_address` | `src_endpoint.ip` | `user_actor` only. |
47| `actor.user_agent` | `http_request.user_agent` | `user_actor` only. |
48| `actor.service` | `actor.app_name` | `system_actor` only. |
40| Activity field | OCSF attribute | Note |
41| ----- | ----- | ----- |
42| None | `metadata.profiles` | Add `host`, the OCSF profile (an optional attribute set) that carries `actor`. |
43| `actor.type` | `unmapped.actor.type` | Copy unchanged. |
44| `actor.user_id` | `actor.user.uid` | `user_actor` only. |
45| `actor.email_address` | `actor.user.email_addr` | `user_actor` only. |
46| `actor.ip_address` | `src_endpoint.ip` | `user_actor` only. |
47| `actor.user_agent` | `http_request.user_agent` | `user_actor` only. |
48| `actor.service` | `actor.app_name` | `system_actor` only. |
4949 
5050## Attestation activities: Entity Management
5151 
5252Map an [`org_security_control_attestation_updated`](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/events-reference#attestation-activity) activity to the OCSF Entity Management class (3004). Entity Management events report an operation on a managed entity, here the organization’s attestation for a security control.
5353 
54| Activity field | OCSF attribute | Note |
55| ----------------- | -------------------------- | -------------------------------------------------------------------- |
56| None | `class_uid` | Constant: `3004` (Entity Management). |
57| None | `category_uid` | Constant: `3` (Identity & Access Management). |
58| `action` | `activity_id` | From the table of `action` values that follows. |
59| `action` | `unmapped.action` | Copy unchanged, because two `action` values share one `activity_id`. |
60| None | `entity.type_id` | Constant: `99` (Other). |
61| None | `entity.type` | Constant: `Security control attestation`. |
62| `control` | `entity.uid` | Copy unchanged. |
63| `status` | `entity.data.status` | Copy unchanged: the attestation’s value. |
64| `review_date` | `entity.data.review_date` | Copy unchanged: the attestation’s end date. |
65| `previous_status` | `unmapped.previous_status` | Copy unchanged: the attestation’s value before the change. |
54| Activity field | OCSF attribute | Note |
55| ----- | ----- | ----- |
56| None | `class_uid` | Constant: `3004` (Entity Management). |
57| None | `category_uid` | Constant: `3` (Identity & Access Management). |
58| `action` | `activity_id` | From the table of `action` values that follows. |
59| `action` | `unmapped.action` | Copy unchanged, because two `action` values share one `activity_id`. |
60| None | `entity.type_id` | Constant: `99` (Other). |
61| None | `entity.type` | Constant: `Security control attestation`. |
62| `control` | `entity.uid` | Copy unchanged. |
63| `status` | `entity.data.status` | Copy unchanged: the attestation’s value. |
64| `review_date` | `entity.data.review_date` | Copy unchanged: the attestation’s end date. |
65| `previous_status` | `unmapped.previous_status` | Copy unchanged: the attestation’s value before the change. |
6666 
6767Do not map `status` to `status_id` or to any pass or fail value: an attestation is a person’s statement about a control, not the result of a check.
6868 
69| `action` | `activity_id` | `type_uid` |
70| --------------- | ----------------- | ---------- |
71| `attested` | `1` (Create) | `300401` |
72| `changed` | `3` (Update) | `300403` |
73| `renewed` | `3` (Update) | `300403` |
74| `cleared` | `4` (Delete) | `300404` |
75| `lapsed` | `11` (Deactivate) | `300411` |
76| Any other value | `99` (Other) | `300499` |
69| `action` | `activity_id` | `type_uid` |
70| ----- | ----- | ----- |
71| `attested` | `1` (Create) | `300401` |
72| `changed` | `3` (Update) | `300403` |
73| `renewed` | `3` (Update) | `300403` |
74| `cleared` | `4` (Delete) | `300404` |
75| `lapsed` | `11` (Deactivate) | `300411` |
76| Any other value | `99` (Other) | `300499` |
7777 
7878For `99` (Other), set `activity_name` to the `action` value.
7979 
Feedback