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)
Open in GeneratorOpen in Platform
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.

ParameterTypeDefaultNotes
Compliant VLAN
compliant_vlan
number100
Quarantine VLAN
quarantine_vlan
number911
Require disk encryption
require_disk_enc
booltrue

Hint 1Name your vendors and OS versions

Mention the exact platforms you run (Aruba ClearPass (CPPM)) so the generated nac logic uses the right CLI/NETCONF syntax.

Hint 2State your real thresholds

Provide concrete values for Compliant VLAN, Quarantine VLAN, Require disk encryption instead of the defaults — they shape what counts as a fault.

Hint 3Prioritize the checks you need

This tool can cPPM OAuth2 API and posture conditions (AV/patch/disk-encryption). Ask for the subset relevant to your incident to keep output focused.

Hint 4Describe your inventory format

Tell the assistant whether your device list is CSV, YAML, or JSON and which columns it has, so parsing matches your data.

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