vrli_ad

VCF Operations for Logs (vRLI) — Active Directory integration.

vRLI exposes AD configuration at /api/v2/ad. Verbs discovered live:

GET  /api/v2/ad    -> {"enableAD": bool, ...}
POST /api/v2/ad    body (all required):
                   {
                     "enableAD": bool,
                     "domain":   "corp.example.com",
                     "username": "svc-vrli",
                     "password": "...",
                     "connType": "STANDARD" | "GLOBAL_CAT" | "CUSTOM"
                   }

PUT   /api/v2/ad   -> 404 "Handler not found"
PATCH /api/v2/ad   -> 404 "Handler not found"

The 400 response body enumerates the exact required fields — this is authoritative for the schema.

saltext.vcf.clients.vrli_ad.get(opts, profile=None)[source]

Return the current AD configuration.

On a fresh appliance this is {"enableAD": false}; once configured the returned dict includes domain, username, connType (password is never returned).

saltext.vcf.clients.vrli_ad.set_(opts, spec, profile=None)[source]

Apply an AD configuration.

spec is passed through to POST /api/v2/ad as-is. When enableAD is true, domain, username, password and connType are all required by the server. On success the endpoint returns an empty body (HTTP 200).

saltext.vcf.clients.vrli_ad.disable(opts, profile=None)[source]

Convenience wrapper — POST {"enableAD": false}.