Skip to content

docs(ai-guardrails): document AI Guardrails for Claude Code - #16419

Open
devGregA wants to merge 2 commits into
DefectDojo:devfrom
devGregA:docs/ai-guardrails-claude-code
Open

devGregA wants to merge 2 commits into
DefectDojo:devfrom
devGregA:docs/ai-guardrails-claude-code

Conversation

@devGregA

Copy link
Copy Markdown
Contributor

Description

Adds a docs page for AI Guardrails, a DefectDojo Pro feature that checks Claude Code prompts and tool calls against a central policy through Claude Code's HTTP hooks: docs/content/triage_findings/findings_workflows/PRO__ai_guardrails.md, next to AI Governance Policies.

The page covers:

  • what a policy, rule, collector and Prompt Activity are;
  • the starter policy (Claude Code Baseline) and monitor mode;
  • the built-in detectors, the four places a rule can look, and which actions each allows;
  • deploying a collector through managed-settings.json, with the per-OS paths and the fail-closed and managed-hooks-only options;
  • what Prompt Activity stores and what it never stores;
  • the /api/v2/ai_guardrails/ endpoints.

The slug is the one the in-app walkthrough's "Learn more" link points at: /triage_findings/findings_workflows/pro__ai_guardrails/.

Test results

Docs only. The page uses only /api/v2/ paths, as docs/README.md ("Documenting API access") requires. Its internal link (/admin/feature_flags/pro__feature_flags/) is the same one the AI Governance Policies page uses.

Documentation

This PR is the documentation. It should merge together with the Pro change it describes.

Policies, rules, collectors and the managed settings file, Prompt Activity,
what is stored, and the /api/v2/ai_guardrails/ endpoints.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@devGregA devGregA added this to the 3.4.300 milestone Oct 19, 2026
@devGregA devGregA added the docs label Oct 19, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant