Help · version 1.0
Integrity monitor XNQEMON
ContentsThe monitor reads the signature register and X3’s audit of the tables the product watches, and lists what no signature explains. Open it from the menu Nortiqo E-signature. Look into each finding, then close it with a signed explanation. Below the findings, the last runs show when the register and the audit were last read, and what each run read.
Prerequisites. The function is for security contacts and administrators, in a restricted function profile. To close a finding you hold a grant in force of a role of kind Security contacts, or for a Signing locked of kind Role administrators (GESXNQER), and a finding that names you is closed by another holder. For the audit’s findings, X3’s audit is switched on for each table a policy governs (GESATB), as the install guide says; a table whose audit lacks what the policies need is itself a finding, Audit off.
A run starts from Run monitor, or once a day from the recurring task of Apply approved changes. One run at a time, and none while a transaction is open. A run reads, in this order:
- The register, every entry from the first: whether a number is missing, whether each entry’s chain to the entry before it and its content are what was sealed, and whether it is sealed with the certificate of the entry before it. Each entry’s digest is also signed again, for the entries written since the last run and for up to 2,000 older ones in turn, so that every digest is checked within a few runs. Check every digest checks them all in one run, which takes about 6 minutes for 100,000 entries.
- The audit’s setup of the product’s own tables, of each table an active policy names a field of, and of the tables of an object that a policy naming no field governs, such as an issue’s SMVTH and SMVTD. Then E-signature’s entry points in GESAPE: on each object an active policy governs, on the business partner and the customer for a supplier’s policy, on the business partner for a customer’s, on Final validation for a journal entry’s, and on the standard script of the miscellaneous issue or receipt for an issue’s or a receipt’s. One that is missing, or is there under another script or activity code, is a finding Entry point missing.
- The audit’s lines of the product’s own tables written since the last run: its setup, its register, its change sets, its findings and its runs. A line younger than 15 minutes waits for the next run, since the signature that covers a write comes seconds after it.
- The audit’s lines of the tables the policies govern, each read by the monitor’s part for its object: a customer’s BPCUSTOMER, a product’s ITMMASTER, a journal entry’s GACCENTRY, a batch release’s STOQLYD, a stock change’s SCHGH and SCHGD, an issue’s and a receipt’s SMVTH and SMVTD, a lot characteristics change’s SLOTMH, a supplier’s BID, a price list’s SPRICFICH and SPRICLIST, a product-site’s ITMBPSFCY, a bill of material’s BOM and BOMD, and a routing’s ROUTING and ROUOPE. A line is a governed change when it changes a field an active policy governs, or creates or deletes a record whose creation or deletion a policy signs, the policy’s condition holding on the record as it is stored now, or the record gone. A record created with a status gate’s field at its held value, such as a customer created inactive, is no change: its activation is. A bill or a routing created Available to use, or a price list created in force, is a change of its use status or of its end of validity, which a policy that signs a modification governs when it names that field or no field. E-signature refuses such a creation in Sage’s windows and imports, so only Sage’s own functions make one, such as its bill copy. A document is signed whole, so a line added to a saved issue, receipt, stock change or lot characteristics change is a creation that only the document’s own signature covers, and a change written to one from outside X3 is judged by the policies that signed it: a finding Written outside X3 that names the document and the time, with no field where the table’s audit grid logs none, since the document’s own tables keep no governed field. A governed change is covered by an entry of the same record signed by the same user within 120 seconds of it: the change applied, or the signature of a change that is stored as it is signed, or of a deletion. Otherwise it is a finding, with the field and its old and new values as the audit keeps them. On a grid, a supplier’s bank accounts, a price list’s lines, a product-site’s suppliers, a bill’s components and a routing’s operations, a line added or deleted is a change of the record, judged as the save that made it was signed; one written with the record’s own creation or deletion, by the same user in the same second, is that creation or deletion.
Some lines are counted as Not judged. Sage’s own functions write such lines in X3 with no save of their object, and the audit does not say which function wrote a line: in X3, a journal entry’s creation and deletion, every line of an internal stock change, an issue’s or a receipt’s creation and its updates, and a lot characteristics change’s updates. Written from outside X3, each of these is judged as any other line. A stock movement of another type in SMVTH and SMVTD, such as an assembly, belongs to no governed object and is not judged either. A new line of STOQLYD is Sage’s own making of the analysis request, and no change.
A run says when it ended and how many new findings it wrote. A run that stops says why and keeps what it found, and the next run goes on from the last run that ended. No run judges a line of the audit written before the folder’s first run started, so a table’s audit from before the product gives no finding. A finding stands for its record: while it is open, the record’s other lines give no second finding of its kind.
Block Open findings
The findings not yet closed, newest first, up to 500. The block’s title gives the count, says when more are open than it lists, and says when nobody may close them.
| Field | What it shows or takes |
|---|---|
| Select | Tick the findings Close findings takes. |
| Finding | Its number. |
| Kind | The finding’s kind, such as Seal fails or Audit off; those that may mean tampering are in red. |
| Monitor run | The run that found it; empty for a Signing locked and an Approval missing, which a failed attempt and an apply write. |
| Date and time | When the write or the entry it names was made, by the server’s clock; empty for Entry missing, Audit off and Entry point missing. |
| User | The user who made the write or signed the entry, or whose signing is locked; empty for a write from outside X3. |
| Table | The table written, or whose audit is off. |
| Record key | The record the finding stands for. |
| What was found | The finding in words, with the values it names, such as the field changed and its old and new values. |
| Kind | What it means |
|---|---|
| Seal fails | A register entry fails its check: its chain to the entry before it is broken, its content or its digest is not what was sealed, or it holds no seal. In red. |
| Entry missing | A number is missing from the register. In red. |
| Certificate changed | An entry is sealed with another certificate than the entry before it: the certificate was renewed, which comes every three years, or another was named in parameter XNQECERT. |
| Register changed | A register entry or a change set’s value was changed or deleted, a change set, a finding or a run deleted, or a finding changed without its closing; the product never does any of these. In red. |
| Written outside X3 | A table of the product, a field a policy governs, or a saved issue, receipt, stock change or lot characteristics change was written by a session X3 did not open. In red. |
| Setup changed unsigned | A role, a grant, a policy, or a policy’s field or step was written with no signature of the change. |
| Audit off | A table’s audit lacks what the policies need: activity code AUDIT active, the boxes Creation, Modification and Deletion ticked, and each governed field in the table’s audit grid with the operator All. |
| Governed change unsigned | A governed field was changed, or a governed record created or deleted, with no signature. |
| Entry point missing | E-signature’s entry point is missing in GESAPE where an active policy needs it, so what the policy governs there is saved unsigned. Add it again in GESAPE with the values the table of step 6 of the install guide gives, and have every user log out and in again. |
| Signing locked | A user gave a wrong user code or signing code as many times in a row as parameter XNQELOCK names, and their signing is locked until a role administrator closes this finding (Failed attempts before the lock). In red, since the attempts may be someone else’s. |
| Approval missing | A change set was tried with no approval it may use: the register holds no approval of one of its steps that passes its check, or holds the change set’s outcome already, Applied or Returned. Its status did not come from its signatures but was set by other means, such as an import into the product’s tables. The change was not applied, and the finding names the user and the time of the change set’s last write. In red. |
The kinds that may mean tampering are in red, the folder’s warning style.
Block Last runs
The last 20 runs, newest first. The block’s title gives the count.
| Field | What it shows |
|---|---|
| Monitor run | Its number. |
| Started at, Ended at | When it started and ended, by the server’s clock. Ended at is empty, its line red, for a run that stopped or still runs in another session. |
| User | The user whose session ran it. |
| Channel | Interactive from this window, Batch from the recurring task. |
| Entries | The register’s entries whose chain and content were checked. |
| Digests | The entries’ digests signed again. |
| Not checked | The digests Syracuse could not sign again: counted, never a finding. |
| Lines read | The audit’s lines read, those a run reads again counted again. |
| Not judged | The lines of a governed table the run did not judge: those Sage’s own functions write in X3 with no save, and those of an object with no part. |
| Findings | The new findings it wrote. |
Buttons
| Button | What it does |
|---|---|
| Run monitor | Runs the monitor, then reads the lists again. X3 says that it ended and how many findings are new; that another run is under way; or that it stopped, and why. |
| Check every digest | Asks first, since it takes a while for a long register; Yes runs the monitor with every entry’s digest signed again. |
| Close findings | Opens the signing dialog on each ticked finding, in its order, with the meaning Reviewed. The dialog shows the finding as the monitor found it, and your explanation is its reason, which may not be empty. The first asks for your user code and signing code; each one after it, for the signing code alone. X3 says each finding closed. Closing a dialog stops the run, and the findings after it stay open. The lists are then read again. |
| Export register | Downloads the whole register as one text file, each line an entry’s sealed XML, named XNQE_<folder>_REGISTER_<time in UTC>.txt. X3 says how many entries it holds and the first and last of them; that the register holds none yet, and nothing is downloaded; or that the file could not be written or downloaded, with X3’s answer. Each seal is a standard XML signature, which can then be checked outside X3 with the seal certificate’s public key, as the validation pack’s seal check does; its guide says what a check with another tool must mind. The export reads the register alone and works while Syracuse cannot sign. |
| Refresh list | Reads the lists again. |
Run monitor, Check every digest and Close findings stand at the top of the window. Export register, Refresh list and Help are in the panel that Show more actions opens.
Close findings is greyed while nobody holds a grant in force of kind Security contacts or Role administrators. A role administrator closes a Signing locked, and a security contact every other finding. Closing a Signing locked unlocks the user’s signing, and their failed attempts in a row are counted from the closing. With no finding ticked the button asks you to tick the findings first, and while your own signing is locked, it is refused with the message that it is locked. With no seal certificate named, nothing is closed. A finding ticked is passed over when nobody holds a grant in force of the kind that closes it, when you hold none, when it names you, and when someone else closed it since the list was read.
A closing is an entry of type Finding closed in the register, sealed as a signature is, which keeps the finding’s values as you saw them. The register’s check rebuilds them from the finding, so a finding changed after its closing fails its closing’s check.
What the monitor cannot see: a governed change in a table whose audit is off, which it reports as Audit off instead; a change of a field the table’s audit grid does not list, and the monitor asks the grid only for the fields a policy names, so under a policy that names no field a change is seen only in the fields the grid lists; a governed change a user makes without signing within 120 seconds of a signature of theirs on the same record, which the monitor takes as covered by it; the lines it counts as not judged (above); a change set’s status set to Applied, Rejected or Returned by other means than its signatures, which changes no record and which no try of the apply meets; and whether a seal’s signature value is the certificate’s, which is checked outside X3.
Stuck? Ask your Sage partner, or write to info@nortiqo.com.