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

# API Reference — Implementing Information Classification Governance

## Commands

| Command | Description |
|---|---|
| `Get-Label` | List sensitivity labels in Microsoft Purview |
| `Get-LabelPolicy` | List label policies and assignments |
| `New-Label` | Create a new sensitivity label |
| `Set-Label` | Modify sensitivity label settings |
| `Get-DlpCompliancePolicy` | List DLP policies using classification |
| `Get-FileSensitivityLabelInfo` | Check sensitivity label on a file |
| `Search-UnifiedAuditLog SensitivityLabelAction` | Audit label events |

## Agent Script

```bash
# node agent.js audit
# node agent.js assess
# node agent.js generate-policy
```
