Skip to content

com.limdm.compliance

Console: Compliance.

{"level": 1, "remediate": true, "exclude": [], "advisory": ["boot.secureboot"],
 "grace_hours": 72, "notify": true, "lock_after_hours": 0, "unlock_when_compliant": true}
Field Type Rules
level number 1 (CIS Level 1 baseline) or 2 (Level 2, stricter)
remediate true or false the agent fixes failing checks that have an automatic fix
exclude list of text check IDs excluded by policy; active risk exceptions recorded on the server are added
advisory list of text check IDs that are reported but do not count against compliance
grace_hours number 0 to 2160; time to fix before the device counts as non compliant (server side)
notify true or false call the compliance webhook when the grace period ends
lock_after_hours number 0 (never) to 2160; lock the device after this long non compliant; not shorter than grace_hours
unlock_when_compliant true or false unlock automatically once the device is compliant again

Check IDs use letters, digits, ., _ and -. Details: Policy: com.limdm.compliance.

Field reference

Generated from the payload schema of the server (GET /api/v1/schemas/{type}), the same reference the console editor shows. Unknown fields are rejected.

com.limdm.compliance

Console: Compliance. Compliance level (L1 or L2), automatic remediation, exceptions, grace period and automatic lock.

Field Type Meaning Limits
level integer Level L1 is the baseline for every device, L2 adds strict checks. one of 1 (L1 baseline), 2 (L2 strict)
remediate boolean Fix automatically The agent fixes failing checks that have an automatic fix.
exclude list of string Excluded checks Check IDs excluded on purpose; shown as excepted, never as passed.
advisory list of string Advisory checks Reported, but not counted against compliance.
grace_hours integer Grace period (hours) Time to fix failing checks before the device counts as non-compliant, 0 to 2160. min 0; max 2160
notify boolean Notify Call the compliance webhook when the grace period ends.
lock_after_hours integer Lock after (hours) Lock the device this long after it became non-compliant; 0 never locks. Not shorter than the grace period. min 0; max 2160
unlock_when_compliant boolean Unlock when compliant Lift an automatic lock once every counted check passes again.
Example payload
{
  "level": 1,
  "remediate": true,
  "exclude": [],
  "advisory": [
    "boot.secureboot"
  ],
  "grace_hours": 72,
  "notify": true,
  "lock_after_hours": 0,
  "unlock_when_compliant": true
}