<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
# analyzing-password-policies — API Reference

## Agent Script

| Command | Description |
|---------|-------------|
| `audit --target <path>` | Audit password policy configuration. |
| `compliance --target <path>` | Check policy against compliance standard. |
| `recommend --target <path>` | Generate policy improvement recommendations. |

## Usage Examples

```bash
# Audit password policy configuration.
node scripts/agent.js audit --target ./sample

# Check policy against compliance standard.
node scripts/agent.js compliance --target ./sample

# Generate policy improvement recommendations.
node scripts/agent.js recommend --target ./sample
```

## Output Format

All commands return JSON with the following structure:

```json
{
  "action": "<command>",
  "result": {
    "action": "<command>",
    "status": "complete",
    "domain": "<domain>",
    "technique": "analyzing-password-policies"
  }
}
```
