Skip to Content
ReferenceServiceNow integration

ServiceNow integration

OpenFactory includes disabled-by-default ServiceNow integration modules for Change Management, CMDB, Incident Management, Event Management, and GRC evidence delivery. Each module and each automatic hook must be enabled explicitly.

This is an operator integration, not an image feature. Adding the servicenow build feature concerns software inside an image and does not configure the control-plane integration described here.

Prerequisites

  • an approved ServiceNow instance and OAuth client;
  • a dedicated least-privilege service account/application;
  • outbound network access restricted to the expected instance;
  • an explicit table, field, state, assignment, and ownership mapping;
  • a stable platform-settings encryption key; and
  • a nonproduction ServiceNow environment for acceptance testing.

The client secret is Fernet-encrypted in stored platform settings and is omitted from normal responses. If the platform encryption key changes or is lost, the stored secret cannot be decrypted and must be replaced.

Configure in layers

  1. Configure the instance URL, client ID, and secret through the admin integration settings.
  2. Run the integration health check and retain each individual check result.
  3. Enable one module without automatic hooks.
  4. Exercise its manual endpoint against a test record.
  5. Verify the resulting ServiceNow record, OpenFactory linkage, idempotency, and error behavior.
  6. Enable one automatic hook and repeat the test.

Never enable every hook as the first integration test.

Modules

ModuleCurrent surfaceImportant boundary
Change ManagementManual change request creation/status refresh, polling or webhook approval updates, live-deploy gateA linked request does not mean an approval was received; map states and rejection behavior explicitly.
CMDBManual machine sync/retire plus fleet snapshots and diffsA successful API write does not prove CI reconciliation or relationship completeness.
Incident ManagementManual incidents and optional drift, attestation, or CVE hooks; bounded feedback actionsIncoming webhooks must be authenticated and each action independently authorized.
Event ManagementBuffered/manual event delivery and selected build/live-state hooksBuffers are not a guaranteed audit log; monitor delivery, loss, duplicates, and retry behavior.
GRCBuild test/attestation evidence push with configurable mappingTechnical results are evidence, not an automatic control or compliance conclusion.

All module settings and operational endpoints are administrator surfaces unless an endpoint documents a narrower internal consumer.

Approval safety

Before using ServiceNow to gate deployment, test:

  • approved, rejected, canceled, expired, unknown, and unreachable states;
  • duplicate webhooks and out-of-order updates;
  • HMAC validation where configured;
  • polling recovery after missed webhooks;
  • fail-closed behavior when policy requires approval; and
  • an operator recovery path that cannot bypass the accountable decision silently.

Retain the OpenFactory build/deploy ID and ServiceNow sys_id/number together.

Operational evidence

Monitor the integration health endpoint, module-specific recent status, background task logs, buffer depth, failed deliveries, stale lifecycle findings, and secrets/key rotation. A green connection test proves only the checks it ran at that time.

Use a sandbox instance and synthetic records for acceptance. Review the exact ServiceNow ACLs, business rules, data residency, retention, and licensing with the instance owner before production enablement.