Skip to main content

Compliance Rules

A compliance rule is one check that EndpointOps runs on an endpoint: a command, a registry lookup, or a script, plus the output that counts as a pass. You group rules into Compliance Frameworks and run a framework on your endpoints with a Compliance Deployment.

Availability

Compliance needs the ZiroXpose edition or higher (EndpointOps includes it). If Compliance is missing from the left sidebar, your licence doesn't include it or your role lacks the View Compliance permission.

How to get here​

You need the View Compliance permission. Creating, editing, and deleting rules need Create Compliance, Update Compliance, and Delete Compliance.

  1. In the left sidebar, click Compliance.
  2. The Compliance Rule tab on the left opens by default. If another tab is open, click Compliance Rule.

Navigate to: Compliance → Compliance Rule

URL path: /compliance/rules (/compliance opens this tab too)

The Compliance Rule screen​

The Compliance Rule list with Status switches, names, bindings, types, and tagsThe Compliance Rule list with Status switches, names, bindings, types, and tags
ColumnWhat it shows
StatusA switch that turns the rule on or off.
NameThe rule name, with its description underneath. Click it to open the rule.
BindingsThe rule's reference label (the Bindings field).
TypeThe rule type: AAA, Configuration, Networking, Patching, or Security.
TagsThe first two tags, then a count of the rest.
DescriptionHidden by default. The full description.
Created ByHidden by default. Who created the rule.

Each row has a View (eye) action, plus edit (✏️) and delete (🗑️) when your role allows. Tick rows to show a Delete selected button next to Create.

The Status switch saves at once

Flipping a row's Status switch updates the rule straight away. There is no confirmation and no Save step.

The toolbar​

Above the list, the same toolbar appears on every list screen:

  • Create — add a new item (opens a form panel from the right).
  • Refresh — reload the latest data.
  • Export — download the current list.
  • Columns — choose which columns to show (covered under "Choosing which columns to show" below).

Working with the list​

These controls behave the same on every list:

  • Search — type in the Search… box above the table to filter rows as you type.
  • Sort — click the arrows in a column header to sort by that column.
  • View details — click a row's link in the first column to open a read-only view.
  • Edit / delete — use the edit (✏️) and delete (🗑️) icons at the end of a row.
  • Pagination — when a list runs to more than one page, use the page controls at the bottom-right and the / page selector to change how many rows show.
  • Permissions — you only see Create, edit, and delete if your role grants the matching permission; otherwise the screen is read-only.

When you save a new or edited record, a success message appears, the panel closes, and the list refreshes. Required fields are marked with a red asterisk.

How do I create a compliance rule?​

  1. Click Create. The Create Compliance Rule panel opens.
  2. Fill in Rule Details, then build one or more checks under Execution Rules.
  3. Optionally, try the rule on one endpoint with Live test.
  4. Click Create. Reset puts the form back the way it opened.

Rule Details​

The Create Compliance Rule panel with Rule Details, a Command rule, and the Live test panelThe Create Compliance Rule panel with Rule Details, a Command rule, and the Live test panel
FieldRequiredNotes
Rule NameYesThe name shown in the list.
StatusNoOn by default. A rule that is off is shown as disabled.
Execution TypeYescommand (default) or script. Changing it clears the rules below. You can't change it after you save.
BindingsYesA free-text reference for the rule. It appears in the Bindings column and before the rule name when you add rules to a framework.
Rule TypeYesAAA, Configuration, Networking, Patching, or Security.
ImpactYesHigh, Medium, or Low.
TagsNoType a tag and press Enter. Add as many as you like.
DescriptionNoWhat the rule checks.
AuditYesHow to audit the setting.
RemediationYesHow to fix an endpoint that fails.
Rule Execution TypeYesShown for command rules only. Command (default) runs a command; Registry reads a registry value. Changing it clears the rules below.
Execution Type is locked after saving

The Execution Type field is greyed out when you edit a saved rule. To switch a rule between command and script, create a new rule.

Execution Rules​

Each check is a numbered panel (Rule 1, Rule 2, and so on). Click Add Rule to add another. Use the arrows on a panel to Move Up or Move Down, and the Remove (✕) icon to delete it. The first rule can't be removed. Click a panel's header to collapse it; a collapsed command rule shows its command (or registry path) as a preview.

When there's more than one rule, an AND / OR selector between two panels says how their results combine.

What a panel contains depends on the type you picked:

TypeFields
command → CommandCommand (required): the command to run, in a code editor. The AI button beside it drafts a command for you. Command Type: Cmd (default) or Powershell.
command → RegistryRegistry Path (required) and Registry Key (required).
scriptScript File: upload the script to run (.sh, .ps1, .bat, .vbs, .reg, .vbe, .wsf, .wsc, .ps1xml, .psm1, or .cab). Generate Script drafts one with AI.
A Compliance Rule with Rule Execution Type set to Registry, showing the Registry Path and Registry Key fieldsA Compliance Rule with Rule Execution Type set to Registry, showing the Registry Path and Registry Key fields A Compliance Rule with Execution Type set to script, showing the Script File upload and the Generate Script buttonA Compliance Rule with Execution Type set to script, showing the Script File upload and the Generate Script button

The AI helpers work the same way as in the Configuration Catalog. See Generate a command or script with AI.

Output conditions​

Under each rule, Output conditions say what the check's output must look like for the rule to pass. Click Add Output Condition to add one:

FieldRequiredNotes
Compare UsingYesThe comparison: Equal (default), NotEqual, GreaterThan, GreaterThanEqual, LessThan, LessThanEqual, Contains, NotContains, StartWith, or EndWith.
Compare WithYesThe value to compare the output with.

Add more conditions to the same rule and join them with AND or OR. The arrows and ✕ icon reorder and remove conditions, as for rules.

Live test​

The Live test panel at the bottom runs the rule, as it's filled in now, on one endpoint. You don't have to save first.

  1. Pick an endpoint in Test Endpoint.
  2. Click Run test. The status tag updates on its own every few seconds until the test finishes (for up to two minutes).
  3. Read the output under the status. Click the info icon (View full output) to open the full Test output panel.
  4. Change the rule and click Re-run to try again.
A test runs on a real endpoint

Run test sends the rule to the endpoint you picked and runs it there straight away. Pick a test machine you're happy to run the command or script on.

How do I view, edit, or delete a rule?​

  • View: click the rule's name or its View (eye) icon. The read-only panel shows the rule's details, each execution rule with its output conditions, and how the rules are joined.
  • Edit: click edit (✏️), change the fields, and click Update.
  • Turn off: flip the Status switch in the list.
  • Delete: click delete (🗑️), or tick several rows and click Delete selected.
The read-only view of a compliance ruleThe read-only view of a compliance rule

Choosing which columns to show​

Click the Columns icon on the right of the toolbar to open the column picker.

The Compliance Rule column pickerThe Compliance Rule column picker

Tick the columns to show, untick to hide, drag to reorder, then click Apply. Description and Created By are hidden until you turn them on.

Tips & troubleshooting​

  • The Create button is missing. Your role lacks Create Compliance.
  • I can't change Execution Type. It's locked once the rule is saved. Create a new rule instead.
  • My rules disappeared when I changed a type. Changing Execution Type or Rule Execution Type resets the Execution Rules list. Pick the type first, then add the checks.
  • The test never finishes. The panel stops refreshing after two minutes. Check that the endpoint is online, then click Re-run.