Warden - Configuration reference
Every setting an administrator or implementer can change in Warden, where it lives and what it does. This is the reference behind Getting started, which walks the same ground in the order you meet it. For click paths and how each page behaves, see Form reference; for the batch jobs, see All batch processes; for roles, duties and privileges in depth, see Security model.
Labels in italics or bold are the on-screen text; names in
backticksare the element names.
Every page below is on the same menu: System administration → Setup → page name (all Warden menu entries are parented to the Setup group of System administration).
1. Where configuration lives
| Page (menu label) | Menu item | Table | Scope | Data entity (public name) | Self-audited |
|---|---|---|---|---|---|
| Warden guard parameters | MGCWardenParametersMenuItem | MGCWardenParameters | Per legal entity | WardenGuardParameter | Yes |
| Warden audit parameters | MGCWardenAuditParametersMenuItem | MGCWardenAuditParameters | Shared by all legal entities | WardenAuditParameter | Yes |
| Warden audit compliance parameters | MGCWardenAuditComplianceParametersMenuItem | MGCWardenAuditComplianceParameters | Per legal entity | WardenAuditComplianceParameter | Yes |
| Count governance parameters | MGCWardenCountParametersMenuItem | MGCWardenCountParameters | Per legal entity | WardenCountParameter | Yes |
| Sensitivity Register | MGCWardenAuditRegister | MGCWardenAuditRegisterEntry | Shared | WardenAuditRegisterEntry | Versioned; activation by workflow |
| Sensitivity catalog | MGCWardenAuditCatalog | MGCWardenAuditCatalogEntry | Shared | WardenAuditCatalogEntry | - |
| Audit retention classes | MGCWardenAuditRetentionClasses | MGCWardenAuditRetentionClass | Shared | WardenAuditRetentionClass | - |
| Sensitive roles | MGCWardenAuditSensitiveRoles | MGCWardenAuditSensitiveRole | Per legal entity | WardenAuditSensitiveRole | - |
| Audit health alert rules | MGCWardenAuditHealthRules | MGCWardenAuditHealthRule | Shared | WardenAuditHealthRule | - |
| Signing limits | MGCWardenSigningLimits | MGCWardenSigningLimit | Per legal entity | WardenSigningLimit | - |
| Device-user mapping | MGCWardenDeviceUserMapMenuItem | MGCWardenDeviceUserMap | Per legal entity | WardenDeviceUserMap | - |
| Evidence pack templates | MGCWardenAuditPackTemplates | MGCWardenAuditPackTemplate | Per legal entity | WardenAuditPackTemplate | - |
| Re-approval exclusions | MGCWardenReapprovalExclusions | MGCWardenReapprovalExclusion | Per legal entity | WardenReapprovalExclusion | - |
| The five policy pages | see §6 | MGCWarden*Policy | Per legal entity | One per family (WardenGuardPolicy, WardenSalesGovPolicy, WardenPriceGuardPolicy, WardenJournalPolicy, WardenCountPolicy) plus their line entities | Versioned; activation by workflow |
"Scope" is the table's SaveDataPerCompany property: a shared table has one set of rows for the whole environment, whichever legal entity you open it from. "Self-audited" means that saving the record - on the page, through its data entity or from code - writes one Self-audit row per changed field into the audit store, naming the field, the old and new value and who saved it (MGCWardenParameterSelfAudit). Creating a record with its shipped defaults writes nothing; deleting one is recorded as the reset to defaults it causes, because the next read recreates it from those defaults. It cannot be switched off. The data-entity column gives the public entity over each table.
Audit health alert rules is not on the menu. Open it from the Warden Audit workspace or from Audit sensor health.
When the parameter records appear. Each of the four parameter tables creates its single record with
the shipped defaults the first time anything reads it in a legal entity (find() calls
Company::createParameter). Initialize Warden reads the guard parameters explicitly; the other three
appear on first use or when you open their page.
2. Warden guard parameters
MGCWardenParametersForm, table MGCWardenParameters, one record per legal entity. Defaults are from
MGCWardenParameters.defaultValues(); a field it does not set starts blank or No. Bounds are enforced
by the table's validateField and validateWrite (so a page save and an import are refused alike) and,
where noted, by the batch that reads the value.
General
| Field | Element | Type | Default | What it changes |
|---|---|---|---|---|
| Default tolerance unit | DefaultToleranceUnit | Enum MGCWardenToleranceUnit: Absolute, Percent | Percent | The unit proposed on a new field change matrix line (MGCWardenFieldMatrixLine.initValue). The line's own unit always wins, and changing this never re-bands an existing line. |
| Publish business events | BusinessEventsEnabled | No / Yes | No | Master switch for Warden's governance business events. Compliance events and count events have their own switches (§4, §5). |
| Entitlement expiry | LicenseExpiry | Date | Blank | The manual license date. Read only when the licensing service has no answer for Warden (MGCWardenLicensing). A date that has passed shows a LICENSING row on Warden setup gaps and a warning when a parameters page opens. Not carried by the data entity: set it in each environment. |
| No license source (deliberate) | NoLicenseSource | No / Yes | No | Silences the "cannot verify its license" row and banner when the environment runs with no license source on purpose. It never hides a lapse. Leave it clear where the licensing service is installed, or rule 74 is raised instead. Not carried by the data entity. |
Retention
| Field | Element | Type | Default | What it changes | Bounds |
|---|---|---|---|---|---|
| Released hold retention (days) | HoldRetentionDays | Integer | 90 | Released holds are purged after this many days by Warden retention cleanup. Zero switches the purge off. | 0..36525, and not longer than the evidence floor (years × 365) |
| Resolved exception retention (days) | ExceptionRetentionDays | Integer | 90 | Resolved execution exceptions are purged after this many days. Control-outage exceptions are exempt. Zero switches the purge off. | As above |
| Operational run record retention (days) | OperationalRetentionDays | Integer | 365 | Governance sweep run headers, policy simulation runs and audit drop tallies are purged after this many days. Runs still in use (in progress, findings in front of an approver, a simulation behind a policy in force, the duplicate sweep's resume cursor) are kept regardless. Zero switches the purge off. Travels with the data entity: a source file without the column imports zero. | As above |
| Evidence retention (years) | EvidenceRetentionYears | Integer | 7 | The evidence floor for diff sets, governance event-log rows, signature manifestations, the governance records that carry personal data (deprovisioning entries, health alerts, purge-proposal runs, firming requests, duplicate overrides, leaver intake records) and evidence pack runs (measured on the period a pack covers). Nothing on this window is purged inside it, and a row something can still act on is kept at any age. A governance event already forwarded to the audit store is not purged from the event log by this window, and its copy in the store follows the audit retention classes. Zero switches the evidence purge off. | 0..100; Warden retention cleanup also refuses to run the evidence purge on an out-of-range value |
Break-glass
| Field | Element | Type | Default | What it changes | Bounds |
|---|---|---|---|---|---|
| Break-glass grant duration (hours) | BreakGlassGrantHours | Integer | 4 | Grants of a role carrying the break-glass release privilege are disabled after this many hours by Warden break-glass grant expiry (MGCWardenBreakGlassExpiryBatch). The effective grant is this figure plus the batch's recurrence. | 1..168; zero is refused, because the expiry batch reads a non-positive value as unconfigured and expires nothing. An existing record holding zero raises rule 58 (GUARDPARAMS); Initialize Warden fills it |
| Break-glass alert recipients | BreakGlassAlertRecipients | Text (255) | Blank | Semicolon-separated user IDs alerted on every break-glass release of a hold. Also the fallback list for degrade-to-warn alerts. In-client alerts only; no email. | - |
Degrade to warn: all three excluded document classes (direct delivery, intercompany, TMS)
| Field | Element | Type | Default | What it changes |
|---|---|---|---|---|
| Degrade direct-delivery guards to warn | DegradeToWarnDD | No / Yes | No | When on, a blocking guard policy on a direct-delivery purchase document observes instead of enforcing: a Block-class change is not refused, a crossed band places no hold and routes nothing; the user is warned, the diff set is written and a Gate degraded to warn event records what would have happened (MGCWardenPolicyEngine). A rollout lever, not a failure switch. |
| Degrade intercompany guards to warn | DegradeToWarnIC | No / Yes | No | The same for intercompany purchase documents only. |
| Degrade TMS-loaded guards to warn | DegradeToWarnTMS | No / Yes | No | The same for TMS-loaded purchase documents only. |
| Degrade-to-warn alert recipients | DegradeAlertRecipients | Text (255) | Blank | User IDs alerted whenever one of the three switches is turned on or off. Blank uses the break-glass recipients. |
While any of the three is on, Warden setup gaps shows rule 48 (DEGRADEWARN). Turning a switch on or
off raises one in-client alert to the recipients (User guide
describes who is told and when).
What the data entity carries. WardenGuardParameter carries every field above except
Entitlement expiry and No license source, which describe one environment's license and are
deliberately left out of copy-config. The three degrade switches and both recipient lists do travel, so
review them in the target after a promotion.
3. Warden audit parameters
MGCWardenAuditParametersForm, table MGCWardenAuditParameters. One record for the whole
environment (SaveDataPerCompany = No). Defaults from defaultValues().
Capture
| Field | Element | Type | Default | What it changes | Bounds |
|---|---|---|---|---|---|
| Dedup window (minutes) | DedupWindowMinutes | Integer | 15 | Repeated captures of the same actor, object and grain inside this window fold into one audit-store row with an occurrence count (MGCWardenAuditWriter). Zero stores every capture as its own row. | 0..1440 |
| Queue capacity | QueueCapacity | Integer | 100,000 | The size of the asynchronous capture queue. On overflow, captures are dropped by ascending tier (deep record first, form access last) and every drop is counted. | 1..10,000,000; zero is refused (it switches the cap off). An existing zero raises rule 59 (AUDITPARAMS) |
Anchoring and verification
| Field | Element | Type | Default | What it changes | Bounds |
|---|---|---|---|---|---|
| Anchor cadence target (hours) | AnchorCadenceHours | Integer | 24 | How often anchoring is intended to seal new rows under a hash-chain anchor. It schedules nothing: Audit chain integrity compares its real interval with this target and warns on the exceptions workbench when it falls behind. | 1..8760 |
| Anchor feed destination | AnchorFeedDestination | Text (255) | Blank | The external destination that receives published anchors, so tampering can be detected from outside. Blank raises rule 22 (ANCHORFEED). | - |
| Verification schedule target (hours) | VerificationScheduleHours | Integer | 24 | How often chain verification is intended to run. Schedules nothing; measured the same way. | 1..8760 |
Export and alerts
| Field | Element | Type | Default | What it changes |
|---|---|---|---|---|
| Export target | ExportTarget | Text (255) | Blank | Free text describing the archive, for your records. Nothing is sent to it. |
| Export container | ExportContainer | Text (63) | Blank | The Azure Blob container a certified purge writes its rows to, as JSON lines with a SHA-256 manifest, and reads back before deleting anything. 3 to 63 lowercase letters, digits and hyphens. Create it yourself; Warden never does. |
| Export secret name | ExportSecretName | Text (60) | Blank | The name of a secret reference of type Manual on Key Vault parameters whose secret holds the container's Azure Storage connection string. Warden stores only the name. |
| Export secret company | ExportSecretCompany | Legal entity | Blank | The legal entity whose Key Vault parameters hold that secret reference (Key Vault parameters are per legal entity; this record is not). |
| Alert recipients | AlertRecipients | Text (255) | Blank | User IDs alerted on captures dropped by queue overflow and on an audit health rule breaching. In-client only. Chain verification failures and purge activity are not alerted to this list. |
When any of the three export fields is set, every certified purge exports first and is refused if the
export or its read-back fails. When a retention class has Export before purge set, all three must be
set or no purge can be proposed. WardenAuditParameter carries every field, so a copy-config from
production carries production's container and secret names: review them in the target.
4. Warden audit compliance parameters
MGCWardenAuditComplianceParametersForm, table MGCWardenAuditComplianceParameters (table label
Evidence and compliance parameters), one record per legal entity.
Alerts and deprovisioning
| Field | Element | Type | Default | What it changes |
|---|---|---|---|---|
| Sensitive-role alert recipients | SensitiveAlertRecipients | Text (255) | Blank | User IDs alerted on every grant of a role on Sensitive roles. A token that is not a user is skipped; saving warns when some do not resolve. Per-role overrides live on Sensitive roles. In-client only. |
| Deprovisioning SLA (days) | DeprovisioningSlaDays | Integer | 7 | Days after proposal by which a deprovisioning entry must be confirmed or excepted. |
| Deprovisioning overdue alert recipients | DeprovisioningAlertRecipients | Text (255) | Blank | User IDs alerted when a proposed entry passes its SLA date, by the Deprovisioning overdue monitor batch, which must be scheduled in this legal entity. |
| Deprovisioning re-alert interval (days) | DeprovisioningEscalationDays | Integer | 7 | Days between overdue alerts for an entry that stays proposed. 0 raises the first alert only. |
Export and integration
| Field | Element | Type | Default | What it changes |
|---|---|---|---|---|
| Pack export target | PackExportTarget | Text (255) | Blank | Destination for published evidence pack outputs; blank keeps them in the pack run workspace. |
| Evidence pack ER format mapping | PackErFormatMappingId | ER format mapping reference | Blank | The Electronic reporting format mapping used to render completed packs. The configuration is imported in Electronic reporting, not shipped with Warden. Blank disables ER rendering. Not carried by the data entity. |
| Publish compliance business events | BusinessEventsEnabled | No / Yes | No | Publishes Warden sensitive role granted on each matched grant. That is the only compliance business event. |
5. Count governance parameters
MGCWardenCountParametersForm, table MGCWardenCountParameters, one record per legal entity.
| Group | Field | Element | Type | Default | What it changes | Bounds |
|---|---|---|---|---|---|---|
| General | Default recount loop cap | RecountLoopCapDefault | Integer | 2 | The recount loop cap used when a count policy leaves its own cap unset (zero or less); going past it escalates the case (MGCWardenCountCaseService). The cap counts every recount of the discrepancy, including those ordered on the earlier cases a recount opened, not just the case's own. | 1..100; zero is refused. An existing zero raises rule 60 (COUNTPARAMS) |
| General | Publish business events | BusinessEventsEnabled | No / Yes | No | Count governance business events. | - |
| Retention | Closed case retention (days) | ClosedCaseRetentionDays | Integer | 365 | Closed count cases, with their lineage, are purged by Count case retention cleanup once they were created more than this many days ago. A case whose MISSING entry is not yet written off or resolved is kept at any age. Counter records purge on the same window unless their work still backs a surviving case. Governance event-log rows about a case follow Evidence retention (years) instead. Zero switches the purge off. | 0..36525 |
| Alerts | Alert recipients | AlertRecipients | Text (255) | Blank | User IDs alerted when a quarantined MISSING entry passes its SLA date, by the Aged-MISSING monitor batch. Nothing else alerts this list. | - |
6. Policy families
Policies are authored, not configured, so this page does not list their fields; the policy composer is
described in User guide and each page in FORM_REFERENCE. What an
implementer must set up for each family is its toggle and its activation workflow: every runtime
gate reads only Active versions, and a version becomes Active only through its family's workflow.
| Page | Table | Feature toggle that gates its controls | Activation workflow type |
|---|---|---|---|
| Guard control policies | MGCWardenPolicy | Warden Order Guard | Warden policy activation |
| Sales governance policies | MGCWardenSalesGovPolicy | Warden Sales Governance | Warden sales governance policy activation |
| Price guard policies | MGCWardenPriceGuardPolicy | Warden Trade Agreement Governance | Warden price guard policy activation |
| Journal governance policies | MGCWardenJournalPolicy | Warden Journal Governance | Warden journal policy activation |
| Count governance policies | MGCWardenCountPolicy | Warden Count Governance | Warden count policy activation |
| Sensitivity Register (the audit register) | MGCWardenAuditRegisterEntry | Warden Auditor (capture) | Warden register activation |
The submitter of a version can never approve it, on any channel (MGCWardenActivationSoDGate).
On a production environment past its license block date, these six pages refuse new versions, saves,
deletes, imports and Submit for activation (§11).
7. Other setup pages
Click paths and screen behavior are in FORM_REFERENCE; the fields below are from the tables.
Sensitivity Register and Sensitivity catalog
- Sensitivity Register (
MGCWardenAuditRegisterEntry, shared): Object type (Table or Form), Object, Sensor grain (Form access, Entity, Report, Deep record), Retention class, Status, Version, Coverage boundary. An empty register means no read capture at all. Only Form access and Report grains have a sensor in this build; Entity has none and Deep record ships dark, and the page says so (Form reference). - Sensitivity catalog (
MGCWardenAuditCatalogEntry, shared): the shipped list of commonly sensitive objects to enrol from. Initialize Warden seeds it (MGCWardenAuditCatalogSeed), and Refresh shipped sensitivity catalog (MGCWardenAuditCatalogSeedMenuItem) re-seeds it after an upgrade. Seeding enrols nothing. A row you edit is marked Customer edited and is never refreshed again. Each shipped row names a Suggested retention class; the classes it names (FIN8Y,PRIV3Y,GXP10Y,PCI1Y) are never created by Warden.
Audit retention classes
MGCWardenAuditRetentionClass, shared: Retention class (ClassId, mandatory), Description,
Retention (years), Export before purge. Define the classes your register entries will name
before activating any entry or proposing a purge. With no class configured, no purge can be proposed
or executed; a row carrying no class is held to the longest class configured.
Sensitive roles
MGCWardenAuditSensitiveRole, per legal entity: Security role, Alert recipients override,
Effective from, Effective to. A grant of a listed role alerts the override recipients, else the
Sensitive-role alert recipients (§4). Initialize Warden adds every role granting
MGCWardenBreakGlassReleasePriv or MGCWardenIdentityResolvePriv, and never edits a row already there.
To take a role off the list, set Effective to: a deleted row is added back on the next run.
Audit health alert rules
MGCWardenAuditHealthRule, shared: Rule, Description, Metric (Writer lag (seconds),
Capture queue depth, Dropped captures in window), Threshold (breaches when the observed value is
strictly greater), Window (minutes) (ignored by the two point-in-time metrics), Severity (carried
onto the execution exception a breach raises), Re-alert interval (minutes), Enabled, and the
read-only State, Last observed value, Last evaluated, Last breach and Last alert. The
Audit health monitor batch evaluates them; breaches alert the audit parameters' Alert recipients.
On its first run in an environment with no rules, the batch seeds three (MGCWardenAuditHealthRule::defaultRules),
and never again once any rule exists, so a rule you delete stays deleted:
| Rule | Metric | Threshold | Window | Severity |
|---|---|---|---|---|
WRITERLAG | Writer lag (seconds) | 900 | - | Warning |
QUEUEDEPTH | Capture queue depth | 80,000 | - | Warning |
DROPRATE | Dropped captures in window | 0 (any drop breaches) | 60 minutes | Error |
Signing limits
MGCWardenSigningLimit, per legal entity: User, Document type (only PurchaseOrder, SalesOrder
and Journal are ever matched), Signing limit type (Approval, or Spending (not enforced): nothing
reads a spending row, and saving one warns), Amount, Effective from, Effective to. Approval
limits are enforced at approve time by MGCWardenSigningLimitCheck. A Department column exists on the
table, is read by no code and is not on the page. Rule 49 reports a journal line-cost band no configured
approver can cover.
Device-user mapping
MGCWardenDeviceUserMap, per legal entity: Device user account (mandatory), Worker personnel
number, Effective from, Effective to. Maintain it wherever handheld devices are shared, or count
records capture the device account rather than the person. A value written like a subject reference
(WP- and twelve letters and digits) is saved with a warning and raises rule 76 (IDENTITYVAULT). A device user
account too long for Warden to name by reference with its legal entity (more than 55 characters behind a
four-character legal entity ID) is refused, on the page and on import; enter the warehouse user ID, at most 10
characters.
Evidence pack templates
MGCWardenAuditPackTemplate, per legal entity: Evidence pack type (India MCA audit trail, SOX
ITGC, 21 CFR Part 11, Workflow configuration export), Section, Enabled, Mapping value
(the SOX control-ID map, GxP object list or MCA books-relevant object rows). The control downtime
section cannot be disabled.
Re-approval exclusions
MGCWardenReapprovalExclusion, per legal entity: Table and Field. A listed field stops triggering
native purchase-order re-approval while change management stays on. Warden's own governance
is unaffected.
8. Feature toggles
Seven feature classes implement IFeatureMetadata. Each
appears in Feature management under the module its module() method returns. If they are not listed,
run Check for updates on the Feature management workspace. Toggles are per environment.
| Feature (on screen) | Class | Feature management module | On by default | What it turns on |
|---|---|---|---|---|
| Warden Order Guard | MGCWardenOrderGuardFeature | Procurement and sourcing | No | Purchase document change governance: control policies, delta re-approval, excluded-class (DD/IC/TMS) coverage, firming approval |
| Warden Sales Governance | MGCWardenSalesGovFeature | Sales and marketing | No | Sales order and quotation thresholds, duplicate customer-requisition detection, reconfirmation gating |
| Warden Trade Agreement Governance | MGCWardenTradeAgreementGovFeature | Sales and marketing | Yes | Price-floor guards on trade agreement journals, the submit-for-approval action, the retroactive and overlapping effective-date step, the approval sweep |
| Warden Journal Governance | MGCWardenJournalGovFeature | Inventory and warehouse management | No | Posted inventory journal immutability, banded line-cost review, mandatory attachments, reversal workflow policy |
| Warden Count Governance | MGCWardenCountGovFeature | Inventory and warehouse management | No | Cycle-count deviation review: auto-accept bands, recount loops with escalation, MISSING quarantine with SLA aging, consolidation into counting journals |
| Warden Auditor | MGCWardenAuditFeature | System administration | No | Read capture (MGCWardenAuditSensorApi; double-gated with an Active Sensitivity Register entry) and the purge proposal generator. The audit queue writer, guard event ingestion, Audit chain integrity and purge execution do not read it |
| Warden Evidence & Compliance | MGCWardenAuditReportingFeature | Compliance and internal controls | No | The investigator timeline, evidence packs (build, export, ER render), role-assignment capture with sensitive-role alerts, the HR deprovisioning scan |
What switching one off does. Every toggle's description says it never removes evidence already captured. Whether a document already held stays blocked differs by area, because the purchase gates do not consult Warden Order Guard while the sales, trade agreement and journal seams consult theirs:
| Toggle off | A document already held | Its owed approval |
|---|---|---|
| Warden Order Guard | Stays blocked: the purchase confirm, receipt, invoice, print and emit gates do not read the toggle | Still raised, including by the delta and firming route drains |
| Warden Sales Governance | No longer refused | Not raised: the retry stands down, and the sweep stands down too |
| Warden Trade Agreement Governance | No longer blocked | Not raised: the trade agreement route drain and retry stand down |
| Warden Journal Governance | No longer blocked | Not raised: the journal route drain and retry stand down |
On Warden Evidence & Compliance the toggle gates the deprovisioning scan only; entries already proposed stay workable. Purge approval and Sensitivity Register activation are gated by no toggle, deliberately. Getting started has the full reasoning.
The description text of Warden Journal Governance in Feature management says that the journal route drain and both journal approval retries stand down while the toggle is off, as the table above says. The Warden Auditor description agrees with the table too: the toggle governs the access sensors and purge proposals only.
9. Number sequences
Warden registers its own number sequence module, Warden (NumberSeqModule::MGCWarden, class
MGCWardenNumberSeqModule), with four references, each scoped to the legal entity. Generate them with the
wizard: Organization administration → Number sequences → Generate.
| Reference (EDT label) | EDT | Wizard proposes | Drawn by | Fallback when not generated |
|---|---|---|---|---|
| Policy code | MGCWardenPolicyCode | Not continuous | Nothing. The reference is registered, but no code draws from it: an author types the policy code when creating a policy | - |
| Hold ID | MGCWardenHoldId | Continuous | MGCWardenIdGenerator::newHoldId | WH + a GUID fragment, 20 characters in all |
| Diff set ID | MGCWardenDiffSetId | Continuous | MGCWardenIdGenerator::newDiffSetId | DS + a GUID fragment |
| Exception ID | MGCWardenExceptionId | Continuous | MGCWardenIdGenerator::newExceptionId | EX + a GUID fragment |
MGCWardenIdGenerator never throws: if a reference has no sequence, or the draw fails, it uses the
fallback, so ID assignment never blocks a write. An execution exception written out of band (on a side
connection, inside someone else's transaction) always uses the GUID fallback, because a sequence draw
there could issue the same number twice (MGCWardenAttestationWriter).
One native sequence matters too. The Warden duplicate requisition sweep files each finding as a
native Case management case and draws its case ID from Case management's own reference
(CaseDetailForm::numRefCaseId, in MGCWardenAuditCaseFiler). If filing fails, the sweep carries on, files
an execution exception and records the finding in the governance event log instead. Not confirmed:
that an unconfigured Case ID sequence is the failure you would see; set it up wherever the sweep runs.
10. Workflow types
Warden ships fifteen workflow types in one workflow category, Warden (MGCWardenCategory, module
System administration). Each must have an enabled workflow configuration in each legal entity where
it is used; a Submit with none is refused with "… has no enabled workflow configuration in this company,
so there is nothing to submit to" (MGCWardenSetupGapCheck::requireWorkflowConfigured). The table of all
fifteen, and which are required, is in Getting started.
Rules 42 to 47, 62 and 75 below report what is missing or wrong.
11. License settings and the block date
Warden reads its license from the Magicite licensing service and falls back to Entitlement expiry (§2)
when the service has no answer (MGCWardenLicensing). The resolution order is: a license state from the
licensing service other than Unlicensed; otherwise the manual date; otherwise "unverified".
| State | Shown as | Blocks anything? |
|---|---|---|
| License Valid or InGrace, or a manual date in the future | Nothing | No |
| License Expired, OfflineExceeded or Invalid | Rule 68 (LICENSING) and a warning on the four parameters pages | Only past the block date, on production (below) |
| No answer from the licensing service, manual date passed | Rule 69 and the warning | No |
| No answer from the licensing service, no manual date | Rule 70 and the warning, unless No license source is set | No |
| No license source set where the licensing service is installed | Rule 74 | No |
The block date. The licensing service decides, per environment, whether
and when an environment is past its license block date (MGCWardenLicensing::adminWorkBlocked asks it).
Past it, and only on an environment the licensing service treats as production, MGCWardenLicenseGate
refuses:
- New version on the five policy families, and Submit for activation on those and the Sensitivity Register;
- saving or deleting a version or its lines on those six pages, and writing them through their data entities (imports and OData);
- building a new evidence pack: Evidence pack builder records a Skipped run instead.
Everything else stays open: holds, approvals and audit capture never stop; Request retirement and its approval; Approve, Reject, Delegate and Resubmit on a version already submitted; an approved version reaching its Effective from date; the parameters pages, signing limits, retention classes, sensitive roles, the catalog, health rules, the device map and pack templates; and reading or exporting packs already built. When the licensing service has a block date, the parameters-page warning and the licensing setup-gap row name it.
The licensing service's own rules decide the date. One that matters at installation: the license clock starts when Warden registers, and if no license is ever stored for it, Warden warns for 14 days and blocks on production from day 15. Warden registers with the licensing service only when Initialize Warden runs (CHANGELOG, 2026-11-01), so that clock starts at the first run. To check the license now, run System administration → Setup → Magicite → License refresh.
12. Setup-gap rules
Warden setup gaps (MGCWardenSetupGaps, menu item of the same name) lists everything Warden can detect
that stops a control, a recovery or a piece of evidence from working as configured. The page is
computed when it opens (MGCWardenSetupGapCheck::populate); close and reopen it to see a fix take effect.
Each row has a Policy code, a Policy version and a Gap. A row about a policy version shows that
policy's code and version; any other row shows an area code with version 0 and names the object in its
text. Every sentence ends with the requirement it serves. The Setup gaps tile on the Warden
Controls workspace counts the last snapshot written by Warden setup-gap snapshot
(Warden setup-gap snapshot), not the live page, so it can lag.
12.1 What a clean page means
An empty page means that, in the legal entity you opened it in, Warden found nothing it can detect that would stop a control, a recovery or a piece of evidence from working as configured. It does not mean Warden is configured the way your business needs, and it says nothing about other legal entities except through the rules marked every legal entity below. Open the page in each legal entity Warden governs.
Some rows cannot be cleared by a setting. Rule 25 states a boundary of the sales invoice posture and stays
while that posture is Block. Rule 63 stays while a retired code has no successor, even when leaving the
control off is deliberate. Rules 2 and 3 are informational and stay until the entry's grain changes, and
rules 4 and 5 stay while their register entry is Active. An implementation can finish with these
showing, provided each is a decision rather than an oversight.
Unless a rule is marked shared (it reads data that belongs to no legal entity, so every legal entity
shows the same row) or every legal entity (it deliberately reads them all), it reads only the legal
entity the page is opened in. Where a fix says "new version", the field or line is locked on an Active
version (MGCWardenPolicyHeaderLock, MGCWardenPolicyLineLock), so the change is made in a new version
and activated.
12.2 The rules
The complete list of MGCWardenSetupGapRule values, 0 to 86, read from the enum and from the methods that
raise each one, on 2026-11-06. Thresholds are the code's constants: DrainStaleHours 4,
StrandedHoldHours 4, RecountLockStaleHours 4, RecountStaleHours 72, and an anchor feed is stale
after three anchor cadences (24 hours each when no cadence is set). Each row's sentence on the page is the
authority; the summaries below are for finding it.
Guard control policies (code: the policy code and version)
| # | Rule | Raised when | To clear |
|---|---|---|---|
| 28 | PolicyNoWorkflowTemplate | An Active guard policy with posture Blocking has no workflow hook (WorkflowTemplateName). | Name the workflow template in a new version. |
| 29 | PolicyNoScopeLines | An Active guard policy has no scope line, so it can never match a document. | Add a scope line (vendor, item or All) in a new version. |
| 30 | PolicyNoMatrixLines | An Active guard policy has no field change matrix line. | Classify fields in a new version. |
| 31 | PolicyNoHighRiskFields | An Active Blocking guard policy classifies none of PurchPrice, PurchQty and LineAmount. Also shows beside rule 30. | Classify those fields in a new version. |
| 32 | PurchInvoicePostureUnset | An Active guard policy of a purchase family (standard, direct delivery, intercompany, TMS) has its invoice posture unset. Warden applies Route and post meanwhile. | Choose the invoice posture in a new version. |
| 38 | FieldGroupTableMissing | A matrix line of an Active guard policy names a field group on a table that does not exist. | Correct the table name in a new version. |
| 39 | FieldGroupMissing | The table exists but the field group does not. | Correct or restore the group in a new version. |
| 40 | FieldGroupNoStoredFields | The field group exists but has no stored fields. | Name the fields explicitly in a new version. |
Sales, price guard, journal and count policies (code: the policy code and version)
| # | Rule | Raised when | To clear |
|---|---|---|---|
| 25 | InvoiceEmitBoundary | Warden Sales Governance is on and an Active sales governance version in force today, for sales orders, has invoice posture Block. It states a boundary: printing, sending and prepayment are never gated. | No setting clears it while the posture is Block. |
| 37 | SalesInvoicePostureUnset | Any Active sales governance version has its invoice posture unset. | Set the invoice posture in a new version. |
| 72 | SalesGovWarnPosture | An Active sales governance version that has not ended has enforcement posture Warn: breaches are recorded and nothing is held, routed or refused. | Set Block in a new version, unless Warn is intended. |
| 73 | SalesGovThresholdLinesTie | Two threshold lines of one such version have the same measure and priority and equally specific, competing scope. | Rescope one of them in a new version. |
| 26 | PriceGuardNoScopeLines | An Active price guard policy that has not ended has no scope lines. | Add scope lines in a new version. |
| 27 | PriceGuardScopeNeverMatches | Such a policy has no scope line whose item axis and customer axis both resolve to master data in this legal entity. | Correct the scope values in a new version. |
| 41 | JournalBandsAllStepNone | An Active journal policy has bands and every band routes to step None. | Give a band a step in a new version. |
| 42 | JournalReviewWorkflowMissing | An Active journal policy has a band with a step, and Warden journal banded review has no enabled workflow configuration in this legal entity. | Configure that workflow (§10). |
| 49 | SigningLimitBandUncovered | Only where at least one Journal approval limit is in force today: the highest stepped band of an Active journal policy is above every such limit. | Raise a limit on Signing limits, or lower the band in a new version. |
| 33 | CountNoConsolidationJournal | An Active count policy names no counting journal. | Set the counting journal name. |
| 34 | CountConsolidationJournalUnusable | The journal name does not exist in this legal entity or is not of type Counting. | Name an existing counting journal name. |
| 35 | CountStrictWorkerRuleOff | An Active count policy has different-worker enforcement Strict and recount by a different worker No. | Set recount by a different worker to Yes, or change the enforcement in a new version. |
| 36 | CountStrictReviewSupervisors | An Active count policy has strict review on, and a warehouse work user in this legal entity is flagged as a count supervisor (WorkCountIsSupervisor), in scope or not. | Clear the flag on those work users. |
Three more rows can appear on count and journal policies with no rule number, written by
MGCWardenCountPolicyResolver, MGCWardenQuarantineMovement and MGCWardenJournalGuard: a count policy
scoped to a warehouse group, a quarantine transfer journal name that is missing or unusable, and a
journal policy scoped to a journal-name group. Each sentence says what to change. These three are the
only rows on the page that are not MGCWardenSetupGapRule values: each is shared word for word with a
save-time warning, so it carries no rule and is not measured by MGCWardenSetupGapTextTest.
Policy lifecycle
| # | Rule | Code | Raised when | To clear |
|---|---|---|---|---|
| 47 | StrandedActivation | STRANDEDVER | Versions sit in Pending activation with no pending workflow and no workflow instance Warden holds. Counted per family, the register included (shared for the register). | Data repair, as the row says. |
| 63 | RetiredWithoutSuccessor | RETIREDVER | A policy code or register entry has a Retired version and no Active version in force today, so what it governed is ungoverned. A future-dated version does not count. | Activate a new version, or wait for an approved version's start date. If leaving the control off is deliberate, the row stays. |
| 64 | PolicyTie | The earlier policy code of the pair | Two Active versions of different codes in one family overlap from today on, with matching scope at equal specificity and priority. Submit and activation refuse this now; an older estate may still hold it. | Rescope one of them in a new version. |
Workflows
| # | Rule | Code | Raised when | To clear |
|---|---|---|---|---|
| 43 | ActivationWorkflowMissing | ACTIVATIONWF | A policy family has at least one policy in this legal entity and its activation workflow type has no enabled configuration here. One row per family (guard, sales governance, journal, price guard, count). | Configure the workflow (§10). |
| 44 | ApprovalWorkflowMissing | APPROVALWF | A document approval route is in use and its workflow type has no enabled configuration here. Routes: delta, excluded class, firming, sales governance, trade agreement, journal reversal, dual-control purge, register activation. "In use" is each route's own test, typically an Active policy that would route, with its toggle on; for purge and register activation, any proposal or entry at all. | Configure the workflow. |
| 45 | WorkflowNoDefaultNoCondition | ACTIVATIONWF or APPROVALWF | One of those thirteen types is in use and has enabled configurations, but none is the default and none has an activation condition, so none can ever be selected. | Mark one configuration as the default. |
| 46 | WorkflowNoDefault | As above | As 45, but at least one configuration has an activation condition, so resolution depends entirely on conditions. | Mark one configuration as the default. |
| 62 | SignedApprovalEscalates | SIGNEDESCALATE | A workflow type governed by an electronic-signature switch has a version with the switch on, and an enabled configuration of that type has a step whose escalation (or final action) approves: a deadline would approve with nobody's signature. | Set those steps to no escalation, or to reject. |
| 75 | WorkflowStoppedWithError | STOPPEDWF | Warden workflows submitted in this legal entity stopped with an error and the workflow runtime still holds them. One row per workflow type, with a count. | On Common → Inquiries → Workflow → Workflow history, read the fault, fix it, then resume or cancel each. |
Batch jobs and recovery
| # | Rule | Code | Raised when | To clear |
|---|---|---|---|---|
| 13 | DeltaDrainOwed | ROUTEDRAIN | Warden delta route drain has no recurring job in this legal entity and diff sets are waiting to be routed. | Schedule it here, every five minutes. |
| 14 | DeltaDrainNotScheduled | ROUTEDRAIN | No recurring job and nothing owed yet, but change governance is in use: Warden Order Guard on and an Active blocking guard policy on a purchase family in force today, not degraded to warn. | Schedule it. |
| 15 | DeltaDrainStale | ROUTEDRAIN | It is scheduled, but the oldest waiting diff set is 4 hours old or more. | Check the batch job: failing, on hold, or an interval far too long. |
| 16 | FirmingDrainOwed | FIRMDRAIN | Warden firming route drain has no recurring job here, and a firming request awaits approval with no workflow while its purchase order is held. | Schedule it. |
| 17 | FirmingDrainNotScheduled | FIRMDRAIN | No recurring job and nothing owed, but firming governance is in use. | Schedule it. |
| 18 | FirmingDrainStale | FIRMDRAIN | Scheduled, and the oldest owed firming is 4 hours old or more. | Check the batch job. |
| 19 | TaDrainOwed | TADRAIN | Warden trade agreement route drain has no recurring job here, and an unposted trade agreement journal is gated with no route. | Schedule it. |
| 20 | TaDrainNotScheduled | TADRAIN | No recurring job and nothing owed, but trade agreement governance is in use: Warden Trade Agreement Governance on and an Active price guard policy in force today that routes. | Schedule it. |
| 21 | TaDrainStale | TADRAIN | Scheduled, and the oldest owed episode is 4 hours old or more. | Check the batch job. |
| 55 | JournalDrainOwed | JOURNALDRAIN | Warden journal route drain has no recurring job here, and an unposted journal has a banded review pending with no route. | Schedule it. |
| 56 | JournalDrainNotScheduled | JOURNALDRAIN | No recurring job and nothing owed, but banded review is in use: Warden Journal Governance on and an Active journal policy in force today with a stepped band. | Schedule it. |
| 57 | JournalDrainStale | JOURNALDRAIN | Scheduled, and the oldest owed review is 4 hours old or more. | Check the batch job. |
| 61 | StrandedHold | STRANDEDHOLD | Active holds placed 4 hours ago or more, on a document that still exists, have no open cycle and no live approval route, so nothing will ever release them. One row per hold type, with the oldest age. | Follow the remedy in the row: for delta and excluded class, Submit on Change diff sets; for sales, Submit on Reconfirmation tracking; for a journal reversal, resubmit, or recopy the posted journal if it was canceled; for firming, trade agreement and journal review, a break-glass release or data repair. |
| 65 | PurgeExecutionNotScheduled | PURGEEXEC | Execute approved audit purges has no recurring job in any legal entity, and purge proposals exist. | Schedule it with a recurrence in any one legal entity. |
| 66 | DeprovisioningOverdueNotScheduled | DEPROVISIONING | Deprovisioning overdue monitor has no recurring job in this legal entity, and an entry is proposed here or the HR deprovisioning scan is scheduled here. | Schedule it in this legal entity. |
| 67 | DeprovisioningOverdueNoRecipients | DEPROVISIONING | The monitor is scheduled here, but no token in Deprovisioning overdue alert recipients is a user (a blank list counts). | Enter user IDs on Warden audit compliance parameters. |
| 71 | DeprovisioningScanNotScheduled | DEPROVISIONING | Every legal entity, only while Warden Evidence & Compliance is on: a legal entity that is the latest employer of at least one worker has no recurring HR deprovisioning scan. | Schedule the scan with a recurrence in that legal entity. |
| 80 | AuditWriterNotScheduled | AUDITWRITER | Audit queue writer has no recurring job in any legal entity, and either Warden Auditor is on with an Active register entry, or captured reads already wait in the audit queue. The row counts them. The same row shows in every legal entity. | Schedule Audit queue writer in any one legal entity. |
| 81 | GuardIngestionNotScheduled | GUARDINGEST | Guard event ingestion has no recurring job in this legal entity, and a governance event-log row here is not yet forwarded to the audit store. No toggle is read. | Schedule Guard event ingestion in this legal entity. |
| 82 | RoleCaptureNotScheduled | ROLECAPTURE | Warden Evidence & Compliance is on and Role event capture has no recurring job in this legal entity. | Schedule Role event capture in this legal entity. |
| 83 | RoleRetentionNotScheduled | ROLERETENTION | Role event retention has no recurring job in this legal entity, and Warden Evidence & Compliance is on or role events are already kept here. | Schedule Role event retention in this legal entity. |
| 84 | AuditHealthNotScheduled | AUDITHEALTH | Audit health monitor has no recurring job in any legal entity, and at least one audit health rule is enabled. The row counts them. | Schedule Audit health monitor in any one legal entity. |
| 85 | ErasureExecutionNotScheduled | ERASUREEXEC | Execute due erasures has no recurring job in any legal entity, and an erasure request is Approved or Deferred. The row counts them. | Schedule Execute due erasures in any one legal entity. |
| 86 | BreakGlassExpiryNotScheduled | BREAKGLASSEXP | Warden break-glass grant expiry has no recurring job in any legal entity, and a security role carries the break-glass release privilege (MGCWardenBreakGlassReleasePriv), directly or inherited. No shipped role does. The row counts the enabled user assignments of such roles, which can be zero: it appears before the first grant. | Schedule Warden break-glass grant expiry in any one legal entity. |
Rules 80 to 86 are raised by MGCWardenUnscheduledBatchSetupGaps. With them,
fourteen Warden batches have a missing-schedule row. "Scheduled" means the same for all of them: a batch
task of the class whose job is Waiting, Ready or Executing and carries a recurrence. A one-off run
does not count. Where a rule says any legal entity, one recurrence anywhere clears the row in every
legal entity. Rule 86 shows whatever Break-glass grant duration (hours) says; a zero there is rule
58, and a schedule is still needed once that is fixed.
Settings that defeat themselves
| # | Rule | Code | Raised when | To clear |
|---|---|---|---|---|
| 48 | EnforcementDegradedToWarn | DEGRADEWARN | Any of the three degrade-to-warn switches on Warden guard parameters is on. | Switch them off when the rollout is done. |
| 58 | BreakGlassGrantNotTimeBoxed | GUARDPARAMS | Break-glass grant duration (hours) is outside 1..168 (an old record holding zero), so emergency grants never expire. | Set 1 to 168, or run Initialize Warden, which fills a non-positive value. |
| 59 | QueueCapacityUnlimited | AUDITPARAMS | Shared: Queue capacity is outside 1..10,000,000. | Set a value in range on Warden audit parameters. |
| 60 | RecountCapNoAttempts | COUNTPARAMS | An Active count policy leaves its recount cap unset and Default recount loop cap is outside 1..100. | Set the default to 1 to 100, or give every Active count policy its own cap. |
Count work that has not moved
| # | Rule | Code | Raised when | To clear |
|---|---|---|---|---|
| 53 | RecountWorkNotStarted | RECOUNTWORK | Recount work Warden ordered is open and unlocked, and the oldest is 72 hours old or more. A monitor, not a claim that Warden failed. | Work the recount queue, or cancel unwanted work. |
| 54 | RecountWorkLockStranded | RECOUNTWORK | Such work is open and locked to a user, and the oldest is 4 hours old or more. | Release it with Change work user, or end the session. |
Audit store, register and evidence packs
| # | Rule | Code | Raised when | To clear |
|---|---|---|---|---|
| 0 | RegisterNoRetentionClass | AUDITREGISTER | Shared: an Active register entry names no retention class. | Name a class in a new entry version. |
| 1 | RegisterUndefinedRetentionClass | AUDITREGISTER | Shared: an Active entry names a class that is not on Audit retention classes. | Define the class, or name a defined one in a new version. |
| 2 | RegisterEntityGrain | AUDITREGISTER | Shared: an Active entry declares the Entity grain, which has no sensor in this build. | Informational; it clears only when the grain changes (new version). |
| 3 | RegisterDeepRecordGrain | AUDITREGISTER | Shared: an Active entry declares the Deep record grain, which ships dark. | Informational, as rule 2. |
| 4 | RegisterTableListPage | AUDITREGISTER | Shared: an Active Table entry with grain Form access: the list page is not captured. | An entry for the form covers the list page. The row stays while the entry is Active, whatever you add, and its sentence says so: the rule cannot tell which forms show the table. |
| 5 | RegisterFormEntry | AUDITREGISTER | Shared: an Active Form entry: a form entry gets no change history. | Registering the tables the form shows covers that. The row stays while the entry is Active, and its sentence says so. |
| 6 | NativeLogConfigKeyOff | AUDITREGISTER | Shared: an Active Table entry names a real table and the database log configuration key (SysDatabaseLog) is off. | Turn the key on. |
| 7 | NativeLogNotEnabled | AUDITREGISTER | The key is on, but native database logging is not set up for the table. | Set up database logging for the table. |
| 8 | NativeLogNoUpdates | AUDITREGISTER | Logging is set up for the table but records no updates. | Add update logging. |
| 9 | NativeLogPartialFields | AUDITREGISTER | Update logging covers only named fields. | Log updates on all fields. |
| 10 | PackScopeUnmapped | PACKSCOPE | Only where this legal entity has an enabled GxPObjects evidence pack template row: an Active register entry is named by no such row. | Add an enabled GxPObjects row naming the object on Evidence pack templates. |
| 22 | AnchorFeedNoDestination | ANCHORFEED | Shared: Anchor feed destination is blank. | Set it on Warden audit parameters. |
| 23 | AnchorFeedNeverPublished | ANCHORFEED | Shared: a destination is set but no anchor has ever been published. | Schedule Audit chain integrity. |
| 24 | AnchorFeedStale | ANCHORFEED | Shared: the latest published anchor is older than three anchor cadences. | Check the Audit chain integrity job. |
| 50 | PackNoCompletedRun | EVIDENCEPACK | Every legal entity: a legal entity that appears in the audit store has no completed evidence pack run. One row per legal entity. | Run Evidence pack builder there until a run completes. |
Compliance alerts and deprovisioning
| # | Rule | Code | Raised when | To clear |
|---|---|---|---|---|
| 11 | RecipientsNoneResolve | SENSITIVEROLE | A sensitive-role recipient list (the compliance parameters' list, or a role's override in force today) names nobody who is a user. One row per list. | Use Dynamics 365 user IDs, not email addresses, or clear the list. |
| 12 | RecipientsSomeResolve | SENSITIVEROLE | Some tokens in such a list are not users; the row lists them. | Fix or remove them. |
| 51 | SensitiveRecipientsNoRoles | SENSITIVEROLE | Sensitive-role alert recipients is set, but no sensitive role is in force today. | List the roles on Sensitive roles, or clear the recipients. |
| 52 | DeprovisioningPastSla | DEPROVISIONING | Proposed deprovisioning entries are past their SLA date; the row counts them. | Work the Deprovisioning queue, or except each entry. |
License (code LICENSING)
| # | Rule | Raised when | To clear |
|---|---|---|---|
| 68 | License lapsed (licensing service) | The licensing service's verdict for Warden is Expired, OfflineExceeded or Invalid. When the licensing service has a block date, the row says policy changes and new evidence packs stop from that date; otherwise that nothing is blocked. | Renew with Magicite. |
| 69 | LicenseLapsedManual | No answer from the licensing service, and Entitlement expiry has passed. | Renew, then update Entitlement expiry. |
| 70 | LicenseUnverified | No answer from the licensing service, Entitlement expiry blank, and No license source clear. | Run Initialize Warden where the licensing service is installed, enter Entitlement expiry, or set No license source if running without one is deliberate. |
| 74 | No license source, licensing service installed | No license source is set, but the licensing service is installed. | Clear No license source and run Initialize Warden. |
At most one of 68, 69 and 70 shows; 74 can show beside them.
Identities and legal entities
| # | Rule | Code | Raised when | To clear |
|---|---|---|---|---|
| 76 | IdentityShapedLikeReference | IDENTITYVAULT | A personnel number (shared), or a Device-user mapping account or personnel number in this legal entity, is written like a subject reference (WP- and twelve letters and digits). Warden stores it as received, not pseudonymized. Up to ten are listed. | Change the value, and the personnel number sequence's format if it produced them. |
| 77 | UserIdShapedLikeReference | IDENTITYVAULT | Shared: a user ID is written like a subject reference, so the identity vault refuses it and Warden cannot record acts by or about that user. | Create a new user with a correctly formed ID and move the person's roles to it. |
| 78 | WarehouseUserIdShapedLikeReference | IDENTITYVAULT | A warehouse user ID in this legal entity is written like a subject reference. | Create a new warehouse user with a correctly formed ID. |
| 79 | LegalEntityWithoutWardenParameters | ERASURE | Every legal entity: Warden cannot switch into a legal entity, or cannot read its Warden guard parameters there, so every erasure and every audit store purge is refused. dat counts. | Run Initialize Warden in each listed legal entity. Where Warden was already initialized there, the account reading needs a role in that legal entity. |
12.3 Feature toggles and the page
Some rules appear only when a toggle is on, because they test whether an area is in use: Warden Order Guard for rules 14 and 17 and the delta, excluded-class and firming routes in rules 44 to 46; Warden Sales Governance for rule 25 and the sales governance route; Warden Trade Agreement Governance for rule 20 and the trade agreement route; Warden Journal Governance for rule 56 and the journal reversal route; Warden Evidence & Compliance for rules 71 and 82, and for rule 83 while no role event is kept yet; Warden Auditor for rule 80 while no captured read waits yet. The owed and stale drain rows read no toggle, so work already waiting is reported whatever the toggle says.