Skip to content

817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0

1.6 KB
Raw Blame

API Reference: Implementing API Threat Protection with Apigee

JSONThreatProtection Policy

<JSONThreatProtection name="JSON-Threat">
    <ObjectEntryCount>25</ObjectEntryCount>
    <ArrayElementCount>100</ArrayElementCount>
    <ContainerDepth>5</ContainerDepth>
    <StringValueLength>500</StringValueLength>
    <Source>request</Source>
</JSONThreatProtection>

SpikeArrest Policy

<SpikeArrest name="Spike-Arrest">
    <Rate>30ps</Rate>
    <Identifier ref="request.header.x-api-key"/>
</SpikeArrest>

RegularExpressionProtection

<RegularExpressionProtection name="Regex-Protect">
    <Source>request</Source>
    <QueryParam name="*">
        <Pattern>[\s]*((delete)|(exec)|(drop\s*table))</Pattern>
    </QueryParam>
</RegularExpressionProtection>

Apigee Management API

# Deploy proxy revision
curl -X POST "https://apigee.googleapis.com/v1/organizations/{org}/environments/{env}/apis/{api}/revisions/{rev}/deployments" \
  -H "Authorization: Bearer $(gcloud auth print-access-token)"

# List deployed proxies
curl "https://apigee.googleapis.com/v1/organizations/{org}/apis" \
  -H "Authorization: Bearer $(gcloud auth print-access-token)"

Recommended Policy Limits

Setting Recommended Description
ContainerDepth 5 JSON nesting depth
StringValueLength 500 Max string value
ObjectEntryCount 25 Max object keys
SpikeArrest Rate 30ps Requests per second

References