# API Reference: Implementing API Threat Protection with Apigee
## JSONThreatProtection Policy
```xml
25
100
5
500
request
```
## SpikeArrest Policy
```xml
30ps
```
## RegularExpressionProtection
```xml
request
[\s]*((delete)|(exec)|(drop\s*table))
```
## Apigee Management API
```bash
# 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
- Apigee Policies: https://cloud.google.com/apigee/docs/api-platform/reference/policies
- Apigee Security: https://cloud.google.com/apigee/docs/api-platform/security