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

# API Reference — Performing Endpoint Security Posture Scoring

## Commands

| Command | Description |
|---|---|
| `Get-MgDeviceManagementManagedDevice` | Query Intune device compliance |
| `Get-WindowsUpdateLog` | Check Windows Update compliance |
| `Get-MpComputerStatus` | Check Windows Defender health |
| `Get-BitLockerVolume` | Check encryption status |
| `Get-HotFix` | List installed patches |
| `oscap xccdf eval` | Evaluate CIS benchmark compliance |
| `Invoke-CimMethod Win32_OperatingSystem` | Get OS version and build |

## Agent Script

```bash
# node agent.js score --hostname <value>
# node agent.js fleet
# node agent.js remediate --hostname <value>
```
