<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->

# API Reference — Investigating S3 Bucket Breaches

## Tools

### S3 Investigation

| Command | Description |
|---|---|
| `aws s3api get-bucket-policy` | Policy |
| `agent.js analyze` | Analysis |
| `agent.js access-logs` | Logs |
| `agent.js exfiltration` | Quantification |

### Agent Script

```bash
node agent.js analyze --bucket <value>
node agent.js access-logs --bucket <value>
node agent.js exfiltration --bucket <value>
node agent.js report --investigation <value>
```
