All scripts
nac
Expert
5–15 min
ClearPass Posture Policy Manager
CPPM API: posture condition creation (AV/patch/BitLocker/FileVault), remediation actions, enforcement profiles, compliant/non-compliant VLAN assignment and CoA verification.
Aruba ClearPass (CPPM)
You're viewing a preview
The full script, parameters, and execution console are available with a free account.
Already have access? Sign in →
Capabilities
- CPPM OAuth2 API
- Posture conditions (AV/patch/disk-encryption)
- Remediation actions
- Enforcement profiles
- Compliant/quarantine VLAN
- CoA verify
- HTML report
Required inputs
Parameters the script accepts. Defaults shown; some are vendor- or context-gated.
| Parameter | Type | Default | Notes |
|---|---|---|---|
Compliant VLAN compliant_vlan | number | 100 | — |
Quarantine VLAN quarantine_vlan | number | 911 | — |
Require disk encryption require_disk_enc | bool | true | — |
Sample inventory schema
Authoritative shape of the device/policy data this script consumes.
No bundled inventory sample. The script accepts standard device lists (CSV/YAML) with hostname, mgmt IP, vendor, and credentials.
Expected output
Reference terminal output the script should produce — used as a stylistic and structural target.
terminal
[2026-06-12] INFO CPPM OAuth2 token acquired · provisioning posture policy... Condition AV_RUNNING, PATCH_CURRENT, DISK_ENCRYPTED created Enforcement: compliant→VLAN100, non-compliant→VLAN911 (quarantine) CoA test: 3 endpoints bounced · re-auth OK Summary: policy 'CORP_POSTURE' active · report → clearpass_posture.html