Join our Newsletter — 33% off our NHI Course
Home› Guides› CMDB and asset inventory integration security guide: scoping…
Guide Risk Management

CMDB and asset inventory integration security guide: scoping every connector account and token

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 14 November 2026 15 min read
On this page

A CMDB or asset inventory platform is only as current as its connectors, and every connector is a non-human identity holding a token or account that reaches into your identity provider, SIEM, ticketing system, cloud accounts and security tools. Those connections are usually set up once by an implementation team, granted whatever scope made the first sync work, and then left alone for years. This guide works at the connector level: how to give each integration its own service account, how to scope and rotate its token, how to handle inbound and outbound data flows, and how to stop write-back from becoming a way to change records that drive patching, alert routing and access reviews. It is vendor-neutral and written for CMDB owners, integration engineers and the identity and security teams who approve their access. Securing the inventory as a whole, including discovery credentials and data quality, is covered in the Asset Inventory and CMDB Security Guide.

Key takeaways

  • One connector, one identity. Shared integration accounts make it impossible to scope, rotate or attribute activity, so every connection gets its own service account or client with a named owner.
  • Direction decides the risk. An inbound feed that only writes to the CMDB, an outbound pull by another tool and a bidirectional sync each need a different scope, and most connectors need far less than they were given.
  • Write-back is a privileged change. A connector that can update owner, support group, criticality or scan scope fields can quietly change who gets paged and what gets scanned.
  • Rotation must be routine, not heroic. Prefer federation, certificate or private key client authentication, and short-lived tokens; where a static secret remains, store it in a vault with an expiry and an owner.
  • Connector logs are detection data. Each integration has a predictable source, schedule and volume, so deviations are cheap to alert on once the baseline exists.

The integration map

Start with a register of every connection, because most CMDBs have more integrations than anyone remembers. CIS Control 1 and NIST SP 1800-5 treat the inventory as the system that gives analysts visibility across physical and virtual assets; that visibility is assembled from these feeds, so they deserve the same scrutiny as the platform. Typical connections fall into the groups below.

IntegrationTypical directionWhat the connector needsWhat it is often given
Identity provider and directoryInbound to CMDB (users, groups, device objects)Read users, groups and device objectsDirectory-wide read plus write, or a global admin role used during setup
Provisioning (SCIM) into the CMDB platformInbound to platform user storeCreate, update and deactivate platform usersA bearer token with no expiry, shared with other applications
SIEM and log platformOutbound from CMDB (asset context) and outbound of CMDB audit logsRead selected CI classes and attributes; push audit eventsRead on every table, including credential and user records
Ticketing and change managementBidirectionalRead CIs, link CIs to tickets, update status on approved changesFull write on all CI classes
Cloud provider inventory APIsInbound to CMDBRead-only inventory and tag APIs per account or subscriptionOrganisation-wide read, sometimes contributor or editor roles
Endpoint, vulnerability and network toolsInbound to CMDB, sometimes outbound scope listsRead device and finding data; receive scan scopeAdmin API keys that can also run actions on endpoints
Reporting, FinOps and analyticsOutbound from CMDBRead a reporting viewDirect database or API read on everything
Automation and AI agentsBidirectionalRead CIs; propose updates through a controlled pathA human administrator's token reused by a script

For each row record the connector name, direction, credential type, scopes, owning team, where the secret lives, its expiry and the last time it was reviewed. That register is the input for everything else on this page, and it is also the evidence an auditor asks for under NIST SP 800-53 CA-3 Information Exchange, which expects interconnections to be approved and documented. The difference between a CMDB, an AI agent registry and identity governance is explained in AI Agent Registry vs CMDB vs IGA.

Service accounts and client identities per connector

OWASP's Non-Human Identities Top 10 for 2025 lists NHI9 NHI Reuse and NHI5 Overprivileged NHI as separate risks, and CMDB integrations tend to show both: one account named something like "integration" serving five tools, holding the union of their rights.

  • Separate identities: create one service account or OAuth client per connector and per environment, so the production SIEM feed and the test ticketing sync never share a credential (NHI8 Environment Isolation).
  • Non-interactive by design: block interactive and web console sign-in for integration accounts where the platform allows it, exclude them from human licences, and alert on any interactive session. See How to detect interactive logons by service accounts.
  • Named owner and purpose: each identity has a human owner and a description that names the connector, so it can be reviewed and offboarded when the tool is retired (NHI1 Improper Offboarding).
  • Dedicated roles, not admin: build a role per connector that grants only the tables, classes and API operations it uses. Platform admin is never an integration role.
  • Source restriction: bind each identity to the network addresses or private connectivity of the tool that uses it, so a stolen credential does not work from elsewhere.

NIST SP 800-53 IA-9 Service Identification and Authentication and AC-6 Least Privilege are the controls behind these rules; PR.AA-01 in NIST CSF 2.0 covers identities and credentials for services as well as users.

Token types, scopes and rotation

Integrations authenticate in a handful of ways. The choice matters more than any rotation schedule, because a credential that cannot be replayed from another host is worth far less to an attacker.

Credential typeWhere it fitsMain riskPreferred handling
Username and password for an integration userLegacy connectors onlyReused, stored in connector config, cannot take MFAReplace with a client credential; if unavoidable, vault it, restrict source and rotate on a schedule
Static API key or personal tokenSimple pull connectorsLong-lived, often tied to a person who leavesService-owned key with an expiry, scoped to read-only, stored in a vault
OAuth client credentials with a shared secretServer-to-server connectorsSecret copied into scripts and pipelinesMove to private key or mutual TLS client authentication; short access token lifetime
OAuth client with private_key_jwt or mutual TLSModern connectors and middlewarePrivate key theft from the connector hostKey in a hardware or managed key store, rotated with overlap
Workload identity federationCloud inventory pulls from cloud-hosted collectorsOver-broad trust policyTrust bound to a specific workload, no stored secret
SCIM bearer tokenProvisioning into the CMDB platformCreates platform admins if group mapping is looseExpiry, single use per IdP, treat mapped admin groups as tier 0

The OAuth 2.0 Security Best Current Practice (RFC 9700, BCP 240, January 2025) recommends restricting access tokens to the minimum privileges needed and to a specific resource server, and prefers asymmetric client authentication such as mutual TLS or private_key_jwt over shared secrets. It also recommends sender-constrained tokens through mutual TLS or DPoP so a stolen token is less useful. SCIM (RFC 7644) defines no authentication scheme of its own and relies on TLS and standard HTTP authentication; it advises avoiding HTTP Basic authentication and requires the service provider to map each authenticated client to an access control policy.

The OWASP Secrets Management Cheat Sheet adds the operational side: automate rotation where possible, set expiry dates, log who requested and used each secret, and remember that restarting an application does not revoke a stolen credential. For a step-by-step rotation record, use the Secrets Rotation Runbook Template.

Identity provider and SIEM connections

Identity provider

  • Read, not write: the CMDB needs users, groups and device objects to populate owners and assignments. It does not need to create or modify directory objects, so the directory application should hold read permissions only.
  • Single sign-on is separate: the SSO trust that lets people sign in to the CMDB and the connector that reads the directory are two integrations with two credentials. Do not reuse the SSO application's secret for directory reads.
  • Provisioning path: group-to-role mappings in SCIM decide who becomes a CMDB administrator. Alert on membership changes to any group mapped to an admin or integration-management role. The Identity provider (IdP) and SSO platform integration security guide covers the IdP side.

SIEM and log platform

  • Asset context feed: give the SIEM a read-only view of the CI classes and attributes it uses for enrichment (hostname, IP, owner, criticality, environment), not every table. Credential stores, user records and discovery configuration should be out of reach.
  • Audit log export: the CMDB's own audit, login and record history logs should flow to a SIEM run by a team other than the CMDB administrators, so an administrator cannot alter the evidence of their own changes (AU-9 Protection of Audit Information).
  • Prioritise the right logs: the joint CISA and Australian Cyber Security Centre Guidance for SIEM and SOAR Implementation includes a priority log sources resource; CMDB audit logs and connector authentication events belong with other identity and administration logs.

If the SIEM itself is suspected, see If your SIEM is compromised.

Ticketing, discovery and cloud connectors

  • Ticketing and change: scope the connector to link CIs to tickets and update status on changes that have already been approved. Bulk updates to CI attributes should not be possible through the ticketing connector. Where the CMDB and service desk share a platform, these are internal permissions, so apply the same thinking to the platform roles.
  • Endpoint and vulnerability tools: many security tool API keys can run actions (isolate a host, push a script, start a scan) as well as read data. Ask the tool owner for a read-only key or role for the CMDB feed, and keep action-capable keys out of the CMDB entirely.
  • Cloud inventory: use read-only inventory roles per account, subscription or project, assumed through federation from the collector rather than a long-lived access key. Check that the role cannot read secrets, storage objects or key material, which inventory does not need.
  • Discovery credentials: agentless discovery accounts are a separate subject with wider reach; see the Asset Inventory and CMDB Security Guide for how to scope and vault them.
  • Third-party connectors: marketplace or vendor-hosted connectors hold your credentials in someone else's environment. Treat them under GV.SC-07 and SA-9 External System Services: know where the secret is stored, who at the supplier can reach it and how you revoke it (NHI3 Vulnerable Third-Party NHI).

Write-back abuse

Write-back is where a connector stops being a feed and becomes a control. A connector that can change a CI's support group can redirect alerts; one that can change environment or criticality can move a production server out of a scanning or monitoring scope; one that can retire records can make a host disappear from coverage reports. ATT&CK models this as T1565.001 Stored Data Manipulation.

Attribute written backDownstream effect if abusedControl
Owner, support group, on-call contactAlerts and incident tickets go to the wrong team or an attacker-controlled contactOnly the authoritative source may write; changes on critical services need approval and alert
Environment, criticality, scan or monitoring groupAssets drop out of vulnerability scanning, endpoint coverage checks or alert rulesField-level write restricted to one connector; daily reconciliation against endpoint and cloud sources
Status (retired, disposed)Hosts vanish from coverage and patching scopesBulk status change threshold with approval; compare with live sources before retirement
Relationships and service mapsWrong blast radius in incident response; wrong population for access reviewsRelationship writes limited to discovery and service owners
Tags used by security tool exclusionsSuppression or maintenance rules silence alerts for re-tagged hostsExclusion tags writable only by security operations, with audit

Set an authoritative source per attribute (for example, the directory owns user records, the cloud API owns cloud resource status, the service owner owns criticality) and reject writes from any other connector. NIST SP 800-53 AC-4 Information Flow Enforcement and SI-7 integrity monitoring are the closest control references.

How to implement

  1. Inventory connections: export the platform's integration, OAuth client, API key and integration user lists, and match each to a tool and owner. Anything unmatched is a candidate for disablement.
  2. Observe before changing: for two to four weeks, record which tables, classes and API operations each connector actually uses, from platform API and transaction logs.
  3. Split shared accounts: create a dedicated identity per connector, cut the tool over, then disable the shared account. Do the lowest-risk read-only feeds first.
  4. Narrow scopes: build a per-connector role from the observed usage, apply it in test, then in production with the old role kept disabled but available for a defined rollback window.
  5. Change the credential type: move from passwords and shared secrets to private key, mutual TLS or federation where both ends support it; set expiries on what remains and move secrets into a vault.
  6. Lock write-back: define authoritative sources per attribute and remove write permissions from every other connector.
  7. Turn on detection: forward connector authentication and change events to the SIEM and alert on the signals below.
  8. Review quarterly: confirm owner, scope, expiry and last use for every connector, and retire any with no use in 90 days.

Rollback is simple if each step keeps the previous identity disabled rather than deleted until the new one has run cleanly through at least one full sync cycle.

Decision guidance

  • Pull or push: when the CMDB pulls from a tool, the CMDB holds the credential; when the tool pushes, the tool holds a CMDB credential. Choose the direction that puts the credential on the better protected side, usually the one with a vault and private connectivity.
  • Federation or vaulted secret: use federation whenever both ends support it. A vaulted static secret is the fallback, with an expiry no longer than your rotation automation can sustain.
  • Middleware or direct: an integration platform reduces the number of credentials the CMDB holds but concentrates many tokens in one place; protect it as privileged infrastructure.
  • Small organisations: focus on the identity provider, ticketing and one security tool feed; split the shared account and set expiries before anything else.
  • Large estates: expect dozens of connectors across regions and business units. Assign connector ownership to the tool owner, not the CMDB team, and make the register part of change management.

Detection and measurement

Signal or metricWhy it matters
Connector identity authenticating from a new source address or outside its scheduleStolen token or key in use (T1550.001 Application Access Token, T1078.004 Cloud Accounts)
Connector reading tables or classes outside its baselineScope abuse or reconnaissance (T1213 Data from Information Repositories)
New OAuth client, API key or credential added to an integration identityPersistence (T1098.001 Additional Cloud Credentials)
Writes to owner, criticality, status or exclusion tags by a non-authoritative connectorWrite-back abuse (T1565.001)
Percentage of connectors with a dedicated identity and named ownerTarget 100 percent
Percentage of connector secrets vaulted with an expiry, or replaced by federationTarget 100 percent, trending upward each quarter
Connectors unused for 90 days still enabledTarget zero

Metrics for the inventory as a whole, including overall connector hygiene, are in the CMDB and asset inventory health check.

Common failure patterns

  • The setup account never leaves: the administrator credential used during implementation stays in the connector configuration for years.
  • One integration user for everything: rotating it breaks five tools, so nobody rotates it.
  • Read means read everything: an enrichment feed that needs ten attributes can export credential and user tables.
  • Action-capable keys in the CMDB: a security tool admin key stored for a data pull can isolate hosts or push scripts if stolen.
  • Unrevoked tokens after an upstream breach: the Cloudflare Thanksgiving Breach 2023 shows an attacker using a service token and service account credentials that had not been rotated after a third-party compromise.

Framework mapping

AreaNIST CSF 2.0NIST SP 800-53 Rev 5OWASP NHI Top 10 2025
Connector registerID.AM-02CA-3, CM-8NHI1 Improper Offboarding
Identity per connector and least privilegePR.AA-01, PR.AA-05AC-2, AC-6, IA-9NHI5 Overprivileged NHI, NHI9 NHI Reuse
Credential type and rotationPR.AA-01IA-5NHI4 Insecure Authentication, NHI7 Long-Lived Secrets
Write-back and data flowPR.DS-01AC-4, SI-7NHI5 Overprivileged NHI
Third-party connectorsGV.SC-07SA-9NHI3 Vulnerable Third-Party NHI
MonitoringDE.CM-03AU-6, AU-9NHI10 Human Use of NHI

Practitioner checklist

  • Every connector is in a register with direction, credential type, scopes, owner, secret location and expiry.
  • No two connectors or environments share an identity or secret.
  • Integration identities cannot sign in interactively, and any attempt alerts.
  • Each connector role grants only the tables, classes and operations seen in use.
  • Shared-secret clients are moving to private key, mutual TLS or federation; remaining secrets are vaulted with expiries.
  • Each security-relevant attribute has one authoritative writer, and other writes are rejected.
  • CMDB audit and connector events reach a SIEM run by another team.
  • Connectors unused for 90 days are disabled, and quarterly reviews are recorded.

Standards and references

Related NHI Mgmt Group resources: Asset Inventory and CMDB Security Guide, If your CMDB and asset inventory is compromised, CMDB and asset inventory health check, OAuth Apps vs Integration Service Accounts, Non-Human Identity (NHI) Guide.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.