Skip to main content

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 backticks are 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 itemTableScopeData entity (public name)Self-audited
Warden guard parametersMGCWardenParametersMenuItemMGCWardenParametersPer legal entityWardenGuardParameterYes
Warden audit parametersMGCWardenAuditParametersMenuItemMGCWardenAuditParametersShared by all legal entitiesWardenAuditParameterYes
Warden audit compliance parametersMGCWardenAuditComplianceParametersMenuItemMGCWardenAuditComplianceParametersPer legal entityWardenAuditComplianceParameterYes
Count governance parametersMGCWardenCountParametersMenuItemMGCWardenCountParametersPer legal entityWardenCountParameterYes
Sensitivity RegisterMGCWardenAuditRegisterMGCWardenAuditRegisterEntrySharedWardenAuditRegisterEntryVersioned; activation by workflow
Sensitivity catalogMGCWardenAuditCatalogMGCWardenAuditCatalogEntrySharedWardenAuditCatalogEntry-
Audit retention classesMGCWardenAuditRetentionClassesMGCWardenAuditRetentionClassSharedWardenAuditRetentionClass-
Sensitive rolesMGCWardenAuditSensitiveRolesMGCWardenAuditSensitiveRolePer legal entityWardenAuditSensitiveRole-
Audit health alert rulesMGCWardenAuditHealthRulesMGCWardenAuditHealthRuleSharedWardenAuditHealthRule-
Signing limitsMGCWardenSigningLimitsMGCWardenSigningLimitPer legal entityWardenSigningLimit-
Device-user mappingMGCWardenDeviceUserMapMenuItemMGCWardenDeviceUserMapPer legal entityWardenDeviceUserMap-
Evidence pack templatesMGCWardenAuditPackTemplatesMGCWardenAuditPackTemplatePer legal entityWardenAuditPackTemplate-
Re-approval exclusionsMGCWardenReapprovalExclusionsMGCWardenReapprovalExclusionPer legal entityWardenReapprovalExclusion-
The five policy pagessee §6MGCWarden*PolicyPer legal entityOne per family (WardenGuardPolicy, WardenSalesGovPolicy, WardenPriceGuardPolicy, WardenJournalPolicy, WardenCountPolicy) plus their line entitiesVersioned; 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​

FieldElementTypeDefaultWhat it changes
Default tolerance unitDefaultToleranceUnitEnum MGCWardenToleranceUnit: Absolute, PercentPercentThe 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 eventsBusinessEventsEnabledNo / YesNoMaster switch for Warden's governance business events. Compliance events and count events have their own switches (§4, §5).
Entitlement expiryLicenseExpiryDateBlankThe 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)NoLicenseSourceNo / YesNoSilences 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​

FieldElementTypeDefaultWhat it changesBounds
Released hold retention (days)HoldRetentionDaysInteger90Released 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)ExceptionRetentionDaysInteger90Resolved 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)OperationalRetentionDaysInteger365Governance 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)EvidenceRetentionYearsInteger7The 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​

FieldElementTypeDefaultWhat it changesBounds
Break-glass grant duration (hours)BreakGlassGrantHoursInteger4Grants 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 recipientsBreakGlassAlertRecipientsText (255)BlankSemicolon-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)​

FieldElementTypeDefaultWhat it changes
Degrade direct-delivery guards to warnDegradeToWarnDDNo / YesNoWhen 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 warnDegradeToWarnICNo / YesNoThe same for intercompany purchase documents only.
Degrade TMS-loaded guards to warnDegradeToWarnTMSNo / YesNoThe same for TMS-loaded purchase documents only.
Degrade-to-warn alert recipientsDegradeAlertRecipientsText (255)BlankUser 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​

FieldElementTypeDefaultWhat it changesBounds
Dedup window (minutes)DedupWindowMinutesInteger15Repeated 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 capacityQueueCapacityInteger100,000The 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​

FieldElementTypeDefaultWhat it changesBounds
Anchor cadence target (hours)AnchorCadenceHoursInteger24How 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 destinationAnchorFeedDestinationText (255)BlankThe external destination that receives published anchors, so tampering can be detected from outside. Blank raises rule 22 (ANCHORFEED).-
Verification schedule target (hours)VerificationScheduleHoursInteger24How often chain verification is intended to run. Schedules nothing; measured the same way.1..8760

Export and alerts​

FieldElementTypeDefaultWhat it changes
Export targetExportTargetText (255)BlankFree text describing the archive, for your records. Nothing is sent to it.
Export containerExportContainerText (63)BlankThe 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 nameExportSecretNameText (60)BlankThe 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 companyExportSecretCompanyLegal entityBlankThe legal entity whose Key Vault parameters hold that secret reference (Key Vault parameters are per legal entity; this record is not).
Alert recipientsAlertRecipientsText (255)BlankUser 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​

FieldElementTypeDefaultWhat it changes
Sensitive-role alert recipientsSensitiveAlertRecipientsText (255)BlankUser 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)DeprovisioningSlaDaysInteger7Days after proposal by which a deprovisioning entry must be confirmed or excepted.
Deprovisioning overdue alert recipientsDeprovisioningAlertRecipientsText (255)BlankUser 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)DeprovisioningEscalationDaysInteger7Days between overdue alerts for an entry that stays proposed. 0 raises the first alert only.

Export and integration​

FieldElementTypeDefaultWhat it changes
Pack export targetPackExportTargetText (255)BlankDestination for published evidence pack outputs; blank keeps them in the pack run workspace.
Evidence pack ER format mappingPackErFormatMappingIdER format mapping referenceBlankThe 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 eventsBusinessEventsEnabledNo / YesNoPublishes 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.

GroupFieldElementTypeDefaultWhat it changesBounds
GeneralDefault recount loop capRecountLoopCapDefaultInteger2The 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)
GeneralPublish business eventsBusinessEventsEnabledNo / YesNoCount governance business events.-
RetentionClosed case retention (days)ClosedCaseRetentionDaysInteger365Closed 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
AlertsAlert recipientsAlertRecipientsText (255)BlankUser 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.

PageTableFeature toggle that gates its controlsActivation workflow type
Guard control policiesMGCWardenPolicyWarden Order GuardWarden policy activation
Sales governance policiesMGCWardenSalesGovPolicyWarden Sales GovernanceWarden sales governance policy activation
Price guard policiesMGCWardenPriceGuardPolicyWarden Trade Agreement GovernanceWarden price guard policy activation
Journal governance policiesMGCWardenJournalPolicyWarden Journal GovernanceWarden journal policy activation
Count governance policiesMGCWardenCountPolicyWarden Count GovernanceWarden count policy activation
Sensitivity Register (the audit register)MGCWardenAuditRegisterEntryWarden 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:

RuleMetricThresholdWindowSeverity
WRITERLAGWriter lag (seconds)900-Warning
QUEUEDEPTHCapture queue depth80,000-Warning
DROPRATEDropped captures in window0 (any drop breaches)60 minutesError

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)ClassFeature management moduleOn by defaultWhat it turns on
Warden Order GuardMGCWardenOrderGuardFeatureProcurement and sourcingNoPurchase document change governance: control policies, delta re-approval, excluded-class (DD/IC/TMS) coverage, firming approval
Warden Sales GovernanceMGCWardenSalesGovFeatureSales and marketingNoSales order and quotation thresholds, duplicate customer-requisition detection, reconfirmation gating
Warden Trade Agreement GovernanceMGCWardenTradeAgreementGovFeatureSales and marketingYesPrice-floor guards on trade agreement journals, the submit-for-approval action, the retroactive and overlapping effective-date step, the approval sweep
Warden Journal GovernanceMGCWardenJournalGovFeatureInventory and warehouse managementNoPosted inventory journal immutability, banded line-cost review, mandatory attachments, reversal workflow policy
Warden Count GovernanceMGCWardenCountGovFeatureInventory and warehouse managementNoCycle-count deviation review: auto-accept bands, recount loops with escalation, MISSING quarantine with SLA aging, consolidation into counting journals
Warden AuditorMGCWardenAuditFeatureSystem administrationNoRead 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 & ComplianceMGCWardenAuditReportingFeatureCompliance and internal controlsNoThe 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 offA document already heldIts owed approval
Warden Order GuardStays blocked: the purchase confirm, receipt, invoice, print and emit gates do not read the toggleStill raised, including by the delta and firming route drains
Warden Sales GovernanceNo longer refusedNot raised: the retry stands down, and the sweep stands down too
Warden Trade Agreement GovernanceNo longer blockedNot raised: the trade agreement route drain and retry stand down
Warden Journal GovernanceNo longer blockedNot 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)EDTWizard proposesDrawn byFallback when not generated
Policy codeMGCWardenPolicyCodeNot continuousNothing. The reference is registered, but no code draws from it: an author types the policy code when creating a policy-
Hold IDMGCWardenHoldIdContinuousMGCWardenIdGenerator::newHoldIdWH + a GUID fragment, 20 characters in all
Diff set IDMGCWardenDiffSetIdContinuousMGCWardenIdGenerator::newDiffSetIdDS + a GUID fragment
Exception IDMGCWardenExceptionIdContinuousMGCWardenIdGenerator::newExceptionIdEX + 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".

StateShown asBlocks anything?
License Valid or InGrace, or a manual date in the futureNothingNo
License Expired, OfflineExceeded or InvalidRule 68 (LICENSING) and a warning on the four parameters pagesOnly past the block date, on production (below)
No answer from the licensing service, manual date passedRule 69 and the warningNo
No answer from the licensing service, no manual dateRule 70 and the warning, unless No license source is setNo
No license source set where the licensing service is installedRule 74No

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)​

#RuleRaised whenTo clear
28PolicyNoWorkflowTemplateAn Active guard policy with posture Blocking has no workflow hook (WorkflowTemplateName).Name the workflow template in a new version.
29PolicyNoScopeLinesAn 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.
30PolicyNoMatrixLinesAn Active guard policy has no field change matrix line.Classify fields in a new version.
31PolicyNoHighRiskFieldsAn Active Blocking guard policy classifies none of PurchPrice, PurchQty and LineAmount. Also shows beside rule 30.Classify those fields in a new version.
32PurchInvoicePostureUnsetAn 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.
38FieldGroupTableMissingA 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.
39FieldGroupMissingThe table exists but the field group does not.Correct or restore the group in a new version.
40FieldGroupNoStoredFieldsThe 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)​

#RuleRaised whenTo clear
25InvoiceEmitBoundaryWarden 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.
37SalesInvoicePostureUnsetAny Active sales governance version has its invoice posture unset.Set the invoice posture in a new version.
72SalesGovWarnPostureAn 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.
73SalesGovThresholdLinesTieTwo 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.
26PriceGuardNoScopeLinesAn Active price guard policy that has not ended has no scope lines.Add scope lines in a new version.
27PriceGuardScopeNeverMatchesSuch 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.
41JournalBandsAllStepNoneAn Active journal policy has bands and every band routes to step None.Give a band a step in a new version.
42JournalReviewWorkflowMissingAn 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).
49SigningLimitBandUncoveredOnly 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.
33CountNoConsolidationJournalAn Active count policy names no counting journal.Set the counting journal name.
34CountConsolidationJournalUnusableThe journal name does not exist in this legal entity or is not of type Counting.Name an existing counting journal name.
35CountStrictWorkerRuleOffAn 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.
36CountStrictReviewSupervisorsAn 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​

#RuleCodeRaised whenTo clear
47StrandedActivationSTRANDEDVERVersions 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.
63RetiredWithoutSuccessorRETIREDVERA 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.
64PolicyTieThe earlier policy code of the pairTwo 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​

#RuleCodeRaised whenTo clear
43ActivationWorkflowMissingACTIVATIONWFA 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).
44ApprovalWorkflowMissingAPPROVALWFA 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.
45WorkflowNoDefaultNoConditionACTIVATIONWF or APPROVALWFOne 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.
46WorkflowNoDefaultAs aboveAs 45, but at least one configuration has an activation condition, so resolution depends entirely on conditions.Mark one configuration as the default.
62SignedApprovalEscalatesSIGNEDESCALATEA 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.
75WorkflowStoppedWithErrorSTOPPEDWFWarden 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​

#RuleCodeRaised whenTo clear
13DeltaDrainOwedROUTEDRAINWarden 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.
14DeltaDrainNotScheduledROUTEDRAINNo 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.
15DeltaDrainStaleROUTEDRAINIt 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.
16FirmingDrainOwedFIRMDRAINWarden 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.
17FirmingDrainNotScheduledFIRMDRAINNo recurring job and nothing owed, but firming governance is in use.Schedule it.
18FirmingDrainStaleFIRMDRAINScheduled, and the oldest owed firming is 4 hours old or more.Check the batch job.
19TaDrainOwedTADRAINWarden trade agreement route drain has no recurring job here, and an unposted trade agreement journal is gated with no route.Schedule it.
20TaDrainNotScheduledTADRAINNo 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.
21TaDrainStaleTADRAINScheduled, and the oldest owed episode is 4 hours old or more.Check the batch job.
55JournalDrainOwedJOURNALDRAINWarden journal route drain has no recurring job here, and an unposted journal has a banded review pending with no route.Schedule it.
56JournalDrainNotScheduledJOURNALDRAINNo 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.
57JournalDrainStaleJOURNALDRAINScheduled, and the oldest owed review is 4 hours old or more.Check the batch job.
61StrandedHoldSTRANDEDHOLDActive 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.
65PurgeExecutionNotScheduledPURGEEXECExecute 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.
66DeprovisioningOverdueNotScheduledDEPROVISIONINGDeprovisioning 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.
67DeprovisioningOverdueNoRecipientsDEPROVISIONINGThe 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.
71DeprovisioningScanNotScheduledDEPROVISIONINGEvery 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.
80AuditWriterNotScheduledAUDITWRITERAudit 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.
81GuardIngestionNotScheduledGUARDINGESTGuard 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.
82RoleCaptureNotScheduledROLECAPTUREWarden Evidence & Compliance is on and Role event capture has no recurring job in this legal entity.Schedule Role event capture in this legal entity.
83RoleRetentionNotScheduledROLERETENTIONRole 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.
84AuditHealthNotScheduledAUDITHEALTHAudit 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.
85ErasureExecutionNotScheduledERASUREEXECExecute 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.
86BreakGlassExpiryNotScheduledBREAKGLASSEXPWarden 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​

#RuleCodeRaised whenTo clear
48EnforcementDegradedToWarnDEGRADEWARNAny of the three degrade-to-warn switches on Warden guard parameters is on.Switch them off when the rollout is done.
58BreakGlassGrantNotTimeBoxedGUARDPARAMSBreak-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.
59QueueCapacityUnlimitedAUDITPARAMSShared: Queue capacity is outside 1..10,000,000.Set a value in range on Warden audit parameters.
60RecountCapNoAttemptsCOUNTPARAMSAn 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​

#RuleCodeRaised whenTo clear
53RecountWorkNotStartedRECOUNTWORKRecount 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.
54RecountWorkLockStrandedRECOUNTWORKSuch 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​

#RuleCodeRaised whenTo clear
0RegisterNoRetentionClassAUDITREGISTERShared: an Active register entry names no retention class.Name a class in a new entry version.
1RegisterUndefinedRetentionClassAUDITREGISTERShared: 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.
2RegisterEntityGrainAUDITREGISTERShared: an Active entry declares the Entity grain, which has no sensor in this build.Informational; it clears only when the grain changes (new version).
3RegisterDeepRecordGrainAUDITREGISTERShared: an Active entry declares the Deep record grain, which ships dark.Informational, as rule 2.
4RegisterTableListPageAUDITREGISTERShared: 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.
5RegisterFormEntryAUDITREGISTERShared: 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.
6NativeLogConfigKeyOffAUDITREGISTERShared: an Active Table entry names a real table and the database log configuration key (SysDatabaseLog) is off.Turn the key on.
7NativeLogNotEnabledAUDITREGISTERThe key is on, but native database logging is not set up for the table.Set up database logging for the table.
8NativeLogNoUpdatesAUDITREGISTERLogging is set up for the table but records no updates.Add update logging.
9NativeLogPartialFieldsAUDITREGISTERUpdate logging covers only named fields.Log updates on all fields.
10PackScopeUnmappedPACKSCOPEOnly 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.
22AnchorFeedNoDestinationANCHORFEEDShared: Anchor feed destination is blank.Set it on Warden audit parameters.
23AnchorFeedNeverPublishedANCHORFEEDShared: a destination is set but no anchor has ever been published.Schedule Audit chain integrity.
24AnchorFeedStaleANCHORFEEDShared: the latest published anchor is older than three anchor cadences.Check the Audit chain integrity job.
50PackNoCompletedRunEVIDENCEPACKEvery 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​

#RuleCodeRaised whenTo clear
11RecipientsNoneResolveSENSITIVEROLEA 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.
12RecipientsSomeResolveSENSITIVEROLESome tokens in such a list are not users; the row lists them.Fix or remove them.
51SensitiveRecipientsNoRolesSENSITIVEROLESensitive-role alert recipients is set, but no sensitive role is in force today.List the roles on Sensitive roles, or clear the recipients.
52DeprovisioningPastSlaDEPROVISIONINGProposed deprovisioning entries are past their SLA date; the row counts them.Work the Deprovisioning queue, or except each entry.

License (code LICENSING)​

#RuleRaised whenTo clear
68License 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.
69LicenseLapsedManualNo answer from the licensing service, and Entitlement expiry has passed.Renew, then update Entitlement expiry.
70LicenseUnverifiedNo 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.
74No license source, licensing service installedNo 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.

#RuleCodeRaised whenTo clear
76IdentityShapedLikeReferenceIDENTITYVAULTA 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.
77UserIdShapedLikeReferenceIDENTITYVAULTShared: 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.
78WarehouseUserIdShapedLikeReferenceIDENTITYVAULTA warehouse user ID in this legal entity is written like a subject reference.Create a new warehouse user with a correctly formed ID.
79LegalEntityWithoutWardenParametersERASUREEvery 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.