Skip to content

add anthropic compliance logs#23664

Merged
apiazza-dd merged 21 commits into
masterfrom
thor.kell/add-anthropic-compliance-logs
May 18, 2026
Merged

add anthropic compliance logs#23664
apiazza-dd merged 21 commits into
masterfrom
thor.kell/add-anthropic-compliance-logs

Conversation

@tkell

@tkell tkell commented May 11, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Assets for anthropic-compliance-logs, with a new source_type_id and schema!

Motivation

Let's ship Anthropic Compliance!

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
  • If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

Adds a new sibling tile to anthropic_usage_and_costs for collecting
audit activity events from the Anthropic Compliance API
(GET /v1/compliance/activities). Crawler implementation lives in
DataDog/crawler-sdk under clients/anthropic_compliance_logs.

Assets:
- Log pipeline + tests for source:anthropic service:anthropic.compliance
  (flattens actor, GeoIP + UA enrichment, remaps type to evt.name)
- Overview dashboard with auth/admin/API-key lifecycle widgets
- Ingestion-stopped log alert monitor
- Five Log Explorer saved views (all, auth, API key, admin, org membership)
- CODEOWNERS entry under SaaS Integrations

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dd-octo-sts

dd-octo-sts Bot commented May 11, 2026

Copy link
Copy Markdown
Contributor

⚠️ Recommendation: Add qa/skip-qa label

This PR does not modify any files shipped with the agent.

To help streamline the release process, please consider adding the qa/skip-qa label if these changes do not require QA testing.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 32c48f2fba

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread anthropic_compliance_logs/assets/monitors/anthropic_compliance_logs_no_data.json Outdated
Comment thread anthropic_compliance_logs/assets/logs/anthropic-compliance-logs_tests.yaml Outdated
@hestonhoffman hestonhoffman added the editorial review Waiting on a more in-depth review from a docs team editor label May 11, 2026
@tkell tkell force-pushed the thor.kell/add-anthropic-compliance-logs branch from 32c48f2 to e13f009 Compare May 13, 2026 09:51
@tkell tkell changed the title Thor.kell/add anthropic compliance logs add anthropic compliance logs May 13, 2026
reicruz
reicruz previously approved these changes May 14, 2026
apiazza-dd
apiazza-dd previously approved these changes May 18, 2026
@temporal-github-worker-1 temporal-github-worker-1 Bot dismissed apiazza-dd’s stale review May 18, 2026 20:19

Review from apiazza-dd is dismissed. Related teams and files:

  • saas-integrations
    • .github/workflows/config/labeler.yml
@apiazza-dd apiazza-dd force-pushed the thor.kell/add-anthropic-compliance-logs branch from 69ec83b to b1927cf Compare May 18, 2026 20:35
@dd-octo-sts

dd-octo-sts Bot commented May 18, 2026

Copy link
Copy Markdown
Contributor

Validation Report

All 20 validations passed.

Show details
Validation Description Status
agent-reqs Verify check versions match the Agent requirements file
ci Validate CI configuration and Codecov settings
codeowners Validate every integration has a CODEOWNERS entry
config Validate default configuration files against spec.yaml
dep Verify dependency pins are consistent and Agent-compatible
http Validate integrations use the HTTP wrapper correctly
imports Validate check imports do not use deprecated modules
integration-style Validate check code style conventions
jmx-metrics Validate JMX metrics definition files and config
labeler Validate PR labeler config matches integration directories
legacy-signature Validate no integration uses the legacy Agent check signature
license-headers Validate Python files have proper license headers
licenses Validate third-party license attribution list
metadata Validate metadata.csv metric definitions
models Validate configuration data models match spec.yaml
openmetrics Validate OpenMetrics integrations disable the metric limit
package Validate Python package metadata and naming
readmes Validate README files have required sections
saved-views Validate saved view JSON file structure and fields
version Validate version consistency between package and changelog

View full run

@apiazza-dd apiazza-dd enabled auto-merge May 18, 2026 20:49
@apiazza-dd

Copy link
Copy Markdown
Contributor

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented May 18, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-05-18 20:55:22 UTC ℹ️ Start processing command /merge


2026-05-18 20:55:28 UTC ℹ️ MergeQueue: waiting for PR to be ready

This pull request is not mergeable according to GitHub. Common reasons include pending required checks, missing approvals, or merge conflicts — but it could also be blocked by other repository rules or settings.
It will be added to the queue as soon as checks pass and/or get approvals. View in MergeQueue UI.
Note: if you pushed new commits since the last approval, you may need additional approval.
You can remove it from the waiting list with /remove command.


2026-05-18 21:52:46 UTC ℹ️ MergeQueue: This merge request was already merged

This pull request was merged directly.

@apiazza-dd

Copy link
Copy Markdown
Contributor

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented May 18, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-05-18 20:58:09 UTC ℹ️ Start processing command /merge


2026-05-18 20:58:12 UTC ❌ MergeQueue

PR already in the queue with status waiting

@apiazza-dd apiazza-dd added this pull request to the merge queue May 18, 2026
Merged via the queue into master with commit 505fbd1 May 18, 2026
66 of 68 checks passed
@apiazza-dd apiazza-dd deleted the thor.kell/add-anthropic-compliance-logs branch May 18, 2026 21:52
@dd-octo-sts dd-octo-sts Bot added this to the 7.81.0 milestone May 18, 2026
github-actions Bot pushed a commit that referenced this pull request May 18, 2026
* [anthropic_compliance_logs] Add new integration tile

Adds a new sibling tile to anthropic_usage_and_costs for collecting
audit activity events from the Anthropic Compliance API
(GET /v1/compliance/activities). Crawler implementation lives in
DataDog/crawler-sdk under clients/anthropic_compliance_logs.

Assets:
- Log pipeline + tests for source:anthropic service:anthropic.compliance
  (flattens actor, GeoIP + UA enrichment, remaps type to evt.name)
- Overview dashboard with auth/admin/API-key lifecycle widgets
- Ingestion-stopped log alert monitor
- Five Log Explorer saved views (all, auth, API key, admin, org membership)
- CODEOWNERS entry under SaaS Integrations

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* no public docs yet

* Update names and text

* add schema update dataflows

* codex feedback

* fix dataflow id

* update logs tests

* update manifest

* logs correctnes

* fix monitor json

* try changing json key order

* fix monitors

* update logs

* fix service names

* correct service names in monitor

* rm tags from monitors

* fix CI as per LLM

* rm service tag

* fix json

* fix dataflow id

* fix doc links, queries, pipelines

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Andrea Piazza <andrea.piazza@datadoghq.com> 505fbd1
github-actions Bot pushed a commit to ConnectionMaster/integrations-core that referenced this pull request May 19, 2026
* [anthropic_compliance_logs] Add new integration tile

Adds a new sibling tile to anthropic_usage_and_costs for collecting
audit activity events from the Anthropic Compliance API
(GET /v1/compliance/activities). Crawler implementation lives in
DataDog/crawler-sdk under clients/anthropic_compliance_logs.

Assets:
- Log pipeline + tests for source:anthropic service:anthropic.compliance
  (flattens actor, GeoIP + UA enrichment, remaps type to evt.name)
- Overview dashboard with auth/admin/API-key lifecycle widgets
- Ingestion-stopped log alert monitor
- Five Log Explorer saved views (all, auth, API key, admin, org membership)
- CODEOWNERS entry under SaaS Integrations

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* no public docs yet

* Update names and text

* add schema update dataflows

* codex feedback

* fix dataflow id

* update logs tests

* update manifest

* logs correctnes

* fix monitor json

* try changing json key order

* fix monitors

* update logs

* fix service names

* correct service names in monitor

* rm tags from monitors

* fix CI as per LLM

* rm service tag

* fix json

* fix dataflow id

* fix doc links, queries, pipelines

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Andrea Piazza <andrea.piazza@datadoghq.com> 505fbd1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants