
# fob-mdm conformance

Run a check, look at what failed, then fix each failed state. A state is one integration, one record and one field: `conformant`, `failed`, or `pending` while a ticket is open. The [conformance loop guide](/docs/guide/conformance-loop) walks through it end to end.

```
fob-mdm conformance <action> [target] [options]
```

| Action | Description |
|---|---|
| [`run`](#conformance-run) | Check every app's copy against golden, for every contract |
| [`status`](#conformance-status) | Show the conformance grid as of the last run |
| [`enforce`](#conformance-enforce) | Fix a failed state: auto pushes golden, ticket opens a ticket |
| [`confirm`](#conformance-confirm) | Confirm the app's owner fixed a ticketed state |
| [`events`](#conformance-events) | List pushes, tickets and verifications, newest first |

## conformance run

Check every app's copy against golden, for every contract.

```
fob-mdm conformance run [options]
```

| Argument or option | Required | Default | Description |
|---|---|---|---|
| `--integration <id>` |  |  | Check only this integration. |
| `--json` |  |  | Print the raw JSON response. |

```bash
fob-mdm conformance run
fob-mdm conformance run --integration 5
```

```
Checked 1: 0 conformant, 1 failed.
See them with: fob-mdm conformance status --status failed
```

API: [Reconcile](/docs/api/endpoints/conformance/reconcile)

## conformance status

Show the conformance grid as of the last run.

```
fob-mdm conformance status [options]
```

| Argument or option | Required | Default | Description |
|---|---|---|---|
| `--status <status>` |  |  | Only this status. One of `conformant`, `failed`, `pending`. |
| `--integration <id>` |  |  | Only this integration. |
| `--record <id>` |  |  | Only this golden record. |
| `--field <id>` |  |  | Only this field id. |
| `--page <n>` |  | `1` | Page number. |
| `--limit <n>` |  | `100` | Rows per page (max 500). |
| `--all` |  |  | Fetch every page (up to 15000 rows). |
| `--json` |  |  | Print the raw JSON response. |

```bash
fob-mdm conformance status --status failed
```

```
STATE  INTEGRATION  RECORD  FIELD      STATUS  CHECKED
------------------------------------------------------------------
41     5            100     bank_ifsc  failed  2026-11-26 07:20:08
```

Shows the result of the last `conformance run`. It doesn't check again.

API: [List States](/docs/api/endpoints/conformance/states)

## conformance enforce

Fix a failed state: auto pushes golden, ticket opens a ticket.

```
fob-mdm conformance enforce <state> [options]
```

| Argument or option | Required | Default | Description |
|---|---|---|---|
| `<state>` | Yes |  | State id, from `conformance status`. |
| `--json` |  |  | Print the raw JSON response. |

```bash
fob-mdm conformance enforce 41
```

```
State 41 (record 100, bank_ifsc) is now pending: ticket_opened.
A ticket is open. Once the app's owner has fixed it: fob-mdm conformance confirm 41
```

With an `auto` contract the golden value is pushed and the state turns `conformant` (`pushed, verified`). Only a `failed` state can be enforced.

API: [Enforce](/docs/api/endpoints/conformance/enforce)

## conformance confirm

Confirm the app's owner fixed a ticketed state.

```
fob-mdm conformance confirm <state> [options]
```

| Argument or option | Required | Default | Description |
|---|---|---|---|
| `<state>` | Yes |  | State id. |
| `--json` |  |  | Print the raw JSON response. |

```bash
fob-mdm conformance confirm 41
```

```
State 41 (record 100, bank_ifsc) is now conformant: verified.
```

API: [Confirm Fix](/docs/api/endpoints/conformance/confirm)

## conformance events

List pushes, tickets and verifications, newest first.

```
fob-mdm conformance events [options]
```

| Argument or option | Required | Default | Description |
|---|---|---|---|
| `--integration <id>` |  |  | Only this integration. |
| `--record <id>` |  |  | Only this golden record. |
| `--page <n>` |  | `1` | Page number. |
| `--limit <n>` |  | `100` | Rows per page (max 500). |
| `--all` |  |  | Fetch every page (up to 15000 rows). |
| `--json` |  |  | Print the raw JSON response. |

```bash
fob-mdm conformance events --integration 5
```

```
WHEN                 INTEGRATION  RECORD  FIELD      ACTION
------------------------------------------------------------------
2026-11-26 09:15:30  5            100     bank_ifsc  verified
2026-11-26 07:20:08  5            100     bank_ifsc  ticket_opened
```

API: [List Enforcement Events](/docs/api/endpoints/conformance/events)

Every command also takes `--profile <name>` and `--help`. See [Command-line Interface](/docs/cli).
