docs: document threat and billing metadata - #855
Conversation
Amp-Thread-ID: https://ampcode.com/threads/T-019fcfc1-a9d6-716b-8c5b-763a55ccae56 Co-authored-by: David Mytton <david@arcjet.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Arcjet Review — 🟢 Low Risk
Decision: Approved
Rationale: Documentation-only change adding two new sections: usage billing metadata for guard rules and IP threat intelligence fields for IPAnalysis. No code, config, or infrastructure changes. No escalation triggers fire. No security implications from prose additions.
Summary of Changes
Adds documentation for (1) optional billing metadata on prompt-injection and content-moderation rule results across JS/TS, Python, and Go, and (2) the decision.ip.threat IP threat intelligence fields (riskLevel, confidence, reputation, isSafe, networkTypes, activities, entities, entityName, service, backgroundNoise).
Notes
Docs-only PR, ~137 lines added, well under size threshold. Security-review skill not loaded because there is no executable code being introduced; the additions are prose and illustrative snippets that reference existing SDK APIs.
Review: cf46d5d2 | Model: anthropic/claude-opus-4-7 | Powered by Arcjet Review
Amp-Thread-ID: https://ampcode.com/threads/T-019fcfc1-a9d6-716b-8c5b-763a55ccae56 Co-authored-by: David Mytton <david@arcjet.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019fcfc1-a9d6-716b-8c5b-763a55ccae56 Co-authored-by: David Mytton <david@arcjet.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019fd32d-eaa8-769c-a24b-0aa684a2b7a1 Co-authored-by: David Mytton <david@arcjet.com>
Document the IP threat intelligence and Guard billing metadata introduced by arcjet/arcjet#8653.
The Guard examples cover JavaScript, Python, and Go, including language-specific field names, billing units, and optional-presence semantics.