Join our Newsletter — 33% off our NHI Course
Home› Guides› Securing the monitoring and observability platform itself: roles,…
Guide SOC & Detection Engineering

Securing the monitoring and observability platform itself: roles, agents, keys and audit trail

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 monitoring and observability platform runs code on every host it watches, holds read credentials for every database, network device and cloud account it checks, and stores telemetry that often contains tokens and personal data, so whoever controls it holds a quiet route into the whole estate. This guide treats the platform itself as the asset to protect: the console and its admin roles, the agent fleet and its remote configuration channel, the credentials the platform stores for checks and integrations, synthetic test accounts, notification webhooks, the telemetry it keeps and its own audit trail. It is for platform owners, SREs and security architects, self-hosted or service, and is vendor-neutral: confirm setting names in your platform's documentation. For what the platform should collect and how security teams use it, see Observability, telemetry and SRE for security teams; for incident handling on AI agent telemetry, see the AI Agent Observability and Incident Response Guide.

Key takeaways

  • Classify the platform as tier 0. Agents often run as root or SYSTEM on every host and accept configuration from the central server, which makes the console a software deployment tool in ATT&CK terms (T1072).
  • Separate who configures from who reads. Platform administration, agent and check configuration, alert routing and data access are different jobs; most compromises abuse one broad role that does all four.
  • Every stored check credential is a privileged non-human identity. Database logins, SNMP communities, SSH keys and cloud roles held for monitoring need owners, least privilege and rotation at the target, not only in the platform.
  • Telemetry is a data store with secrets in it. Redact at the collector before data leaves the host, restrict sensitive data sets, and hunt for credentials in what you already keep.
  • Keep the platform's audit trail outside the platform. Muted alerts, deleted monitors and changed notification routes are how an attacker blinds the operations team first.

Why the observability platform is a target

Monitoring platforms combine three things attackers want: privileged execution on hosts, broad read access to infrastructure, and control over what operators see. The 2020 compromise of a widely used network monitoring product led CISA to issue Emergency Directive 21-01, which required affected agencies to disconnect the platform, treat every credential used by or stored in it as compromised, and remove all inbound trust relationships to the rebuilt system. Its supplemental hardening guidance works for any monitoring platform: confine it to a network management enclave, block its internet access, put application, web and database servers on dedicated hosts, give service accounts minimum privilege, keep its logs centrally for at least 180 days and apply security updates within 48 hours.

The component table reflects a common architecture and is NHI Mgmt Group's view; your platform may name, merge or split these parts differently.

ComponentWhat it holds or can doIf an attacker controls itPrimary control
Console, query interface and APIDashboards, queries across all telemetry, exports, admin and application keysReads secrets and personal data in telemetry, creates new keys, mutes alertsSSO with phishing-resistant MFA, scoped roles, key inventory
Agent fleet and remote configurationPrivileged process on each host, custom checks, remote configuration and update channelRuns commands on every monitored host (T1072), stops reportingRemote commands and custom scripts off unless needed, signed updates, configuration as code
Check and integration credentialsDatabase logins, SNMP communities, SSH keys, JMX and API credentials, cloud rolesLogs on to databases, network devices and cloud accounts directly (T1078.004)Read-only monitoring identities per target class, federation, vaulting
Synthetic and browser testsTest user passwords, one-time password seeds, API tokens in scriptsValid logins to production applicationsDedicated low-privilege test accounts, secrets referenced from a vault
Alerting and notification routesPaging, chat and ticketing webhooks, escalation policies, silencesSuppresses alerts, redirects pages, phishes responders through a trusted channelChange control on routes and silences, signed webhooks, alert on silence creation
Telemetry storeMetrics, logs, traces, session replays, profilesHarvests tokens from headers and URLs (T1552.001), deletes evidenceRedaction at collection, data access by data set, retention controls

Admin roles, data access and console sign-in

The NCSC secure system administration principles apply directly: trusted management devices, protected administration interfaces, tiered administration, privileged access management, and logging and audit of administration.

RoleCan doShould not be able to
Platform administratorSSO, roles, organisation settings, retention, key managementAct without a second approver on deletion, retention cuts or SSO changes
Agent and check engineerAgent policies, check definitions, integration setupChange roles or read restricted data sets
Alerting ownerMonitors, alert rules, notification routes, on-call schedulesCreate organisation-wide silences without expiry
Team userQuery and build dashboards on the team's own data setsExport estate-wide data or create API keys
AuditorRead the platform audit log and configurationChange anything
  • Authentication: enforce SSO through your identity provider with phishing-resistant MFA, disable local password sign-in for everyone except one documented break-glass account, and map roles from identity provider groups so that leavers lose access automatically. See the Break-Glass Account Guide.
  • Data access by data set: restrict indexes, projects or tenants that hold session replays, request bodies, security logs or health data to the teams that need them. See the Privacy in Security Logging and Monitoring Guide.
  • Shared and public dashboards: turn off public or anonymous dashboard links at organisation level, or restrict them to an approved list with expiry, because a shared link can expose host names, internal addresses and business figures.
  • Admin devices: perform platform administration from privileged access workstations. See the Privileged Access Workstations Guide.

The agent fleet and remote configuration

The agent turns a console compromise into an estate compromise: many run with elevated privileges and accept custom checks, scripts or configuration pushed from the server.

  1. Disable what you do not use: turn off remote command execution, remote script or custom check deployment and remote configuration features unless a documented use case needs them, and record the decision.
  2. Least privilege on the host: run the agent as a dedicated unprivileged account where the platform supports it, granting only the specific capabilities or group memberships its collectors need; on Kubernetes, scope the agent's service account and cluster roles to the resources it reads. See the Kubernetes Security Guide.
  3. Configuration as code: manage agent configuration through your configuration management tool or repository rather than console edits, review changes and alert on drift between the deployed and approved configuration.
  4. Verified updates: install agents only from signed packages or verified checksums, stage agent upgrades through pilot rings, and keep the previous version available for rollback.
  5. Ingest keys: issue one ingest key per environment or team, write-only, stored in the host's secret store, never in images or public repositories. The OpenTelemetry Collector guidance makes the same point for configuration files: keep tokens and private keys in a secret store or encrypted filesystem and use environment variable expansion.
  6. Listeners: bind receivers and debug endpoints to specific addresses, not 0.0.0.0 (the OpenTelemetry Collector defaults to localhost from v0.110.0). Pipeline detail is in Securing the log pipeline (collectors, forwarders, data pipeline) itself.

Credentials the platform stores

Each stored credential is a non-human identity with access to a system outside the platform.

CredentialNeedsAvoidPattern
Cloud integrationRead metrics and configuration in each accountStatic access keys; broad reader or contributor roles granted during setupCross-account role or workload identity federation with a narrow read policy. See the Workload Identity Federation Guide.
Database check loginRead performance and status viewsAdministrator or owner logins; one login shared across all databasesDedicated monitoring login per database class with only the performance view grants
Network device pollingRead device countersSNMPv1 or v2c community strings with write accessSNMPv3 with authentication and privacy, read-only views. See the SNMP Security Guide.
SSH or remote check accountRun defined read commandsRoot keys; sudo to allPer-segment account with restricted commands and source address limits
Synthetic test userSign in to the application under testReal user accounts; admin roles; one-time password seeds in scriptsDedicated test account with minimal rights, excluded from privileged groups, secrets referenced from a vault
Admin and application API keysAutomate dashboards, monitors and queriesPersonal keys used by pipelines; keys with full admin scopeService-owned keys with scoped permissions and expiry. See the API Key Management Guide.
  • Rotate at the target: a password changed in the platform but not on the database is not rotated. ED 21-01 required changing all credentials and shared secrets, including SNMP strings, used by or previously used by the affected device.
  • Inventory every credential with owner, target, scope and last rotation, and include them in your NHI reviews. See the Service Account Security Guide.

Alerting, silences and notification routes

An attacker who can mute alerts does not need to disable the platform.

  • Silences and maintenance windows: require an owner, a reason and an expiry on every silence or downtime, cap the maximum duration, and alert the on-call channel when a silence covers a critical service or many monitors at once.
  • Alert manager APIs: protect them with authentication. The Prometheus project documents that, without it, anyone with HTTP access to its alert manager can create, modify or delete silences, and that templated routing can let anyone who can send alerts direct notifications to arbitrary destinations.
  • Webhooks: sign outbound webhooks where the receiver supports it, store webhook URLs as secrets, and rotate them when staff with access leave. See the Webhook Secrets Security Guide.
  • Independent heartbeat: send a scheduled "dead man's switch" alert through a channel outside the platform, so the absence of alerts is itself detected. NCSC advises automated alerts when logs stop arriving centrally.

Telemetry content and data handling

OpenTelemetry's sensitive data guidance is explicit that the project cannot decide what is sensitive in your context: authentication credentials, session tokens, personal, financial and health data can all appear in telemetry, and reviewing what instrumentation libraries emit is the implementer's job. The OWASP Logging Cheat Sheet lists session identifiers, access tokens, passwords, database connection strings and encryption keys among data to exclude or mask.

  • Redact before it leaves the host: use collector processors that drop attributes not on an allow list and mask values that match secret or card number patterns. Hashing small, predictable values such as numeric user IDs can be reversed, as OpenTelemetry warns.
  • Turn off body and header capture by default in tracing and real-user monitoring.
  • Hunt in what you keep: schedule searches for credential patterns across logs and span attributes, rotate anything found at its source, then purge or restrict the data.
  • Retention by data set: keep high-volume debug telemetry short and security-relevant logs as long as your schedule requires. See the Log Management and Retention Guide.

The platform's own audit trail

EventWhy it mattersAlert
Role change, new local user, SSO or MFA setting changePersistence in the consoleAlways
API or application key created, or used from a new networkAdded credentials (T1098.001) or stolen keysNew keys and unusual sources
Agent policy change enabling remote commands or custom checksOpens code execution on the fleetAlways
Monitor deleted, alert rule disabled, silence created on critical servicesBlinds operators (T1685)Always for critical services
Notification route or webhook changedRedirects or suppresses pagesAlways
Large export or query across restricted data setsData theft through the consoleAbove a set volume

Forward these events to your SIEM and to write-once storage under a different administrative account, in line with NIST SP 800-53 AU-9(2) and AC-6(9). OWASP adds tamper detection and recording all access to logs. See Securing the SIEM itself for the receiving side.

Self-hosted hardening and lifecycle

StageSecurity actions
BuyConfirm SSO and MFA at no extra cost, a tenant audit log with export, scoped API keys, documented provider support access and data residency options. See Security Requirements for Selecting an Observability and APM Platform.
DeployPlace servers in a management segment with no direct internet access; split application, web and database tiers where the product allows; keep metrics, API and profiling endpoints off public networks (the Prometheus security model warns against exposing /metrics, the API and /pprof); leave admin and lifecycle HTTP APIs disabled unless required; enable TLS on every listener and do not set insecure_skip_verify on clients. See the Monitoring and observability platform rollout playbook.
RunApply vendor security updates promptly and follow the vendor's security advisories page; review roles, keys, stored credentials and silences every quarter; size storage and alert before disks fill, as NCSC advises.
Back upBack up configuration, dashboards, monitors and routing separately from telemetry, under credentials platform admins do not hold, and test a restore. See the Backup Security and Immutable Backup Guide.
Migrate or retireRun old and new in parallel until alerting is proven; uninstall old agents; revoke every ingest key, API key, cloud role and stored check credential at its target. See the Monitoring and observability platform migration playbook.

Rollback: when narrowing an agent's privileges or a check credential breaks a collector, restore only the specific permission the collector reports as missing, documented against the change, never the previous broad role.

Decision guidance

  • Self-hosted or service: self-hosted gives you network isolation and control of the update channel but makes you responsible for server, database and agent update security; a service removes that work but moves the main risks to admin sessions, leaked API keys and the provider relationship (T1199).
  • Agents or agentless checks: agents avoid storing remote logon credentials centrally but add a privileged process to every host; agentless polling keeps hosts clean but concentrates credentials in the platform. Large estates usually mix both, so apply the credential table above to the agentless part.
  • Small organisations: prioritise SSO with MFA, disabling remote commands, scoping cloud integrations and moving secrets out of configuration. Large organisations add per-team tenancy, configuration as code and an independent heartbeat.

Detection and measurement

  • Integration identities used from unexpected places: cloud sign-ins by monitoring roles outside the platform's documented source ranges (T1078.004).
  • Check credentials used interactively: monitoring logins on databases or devices from hosts other than the collectors.
  • Agent behaviour change: agents spawning shells or unusual child processes, or agent configuration changing outside a deployment.

Metrics that show the controls are working:

  1. Share of agents with remote command and custom script features disabled or under an approved exception (target 100%).
  2. Share of stored check and integration credentials with an owner, least-privilege scope and rotation at the target within policy.
  3. Number of full platform administrators and the share using just-in-time elevation.
  4. Active silences without owner or expiry (target zero).
  5. Secret pattern hits found in stored telemetry per month and median time to rotate at source.
  6. Share of admin actions in the platform audit log with a matching change reference.

Framework mapping

Control areaNIST SP 800-53 Rev. 5NIST CSF 2.0ATT&CK threat addressed
Admin roles and console accessAC-2, AC-6, AC-6(5)PR.AA-05T1078.004 Cloud Accounts
Agent fleet and remote configurationCM-3, CM-7, SI-7PR.PS-01T1072 Software Deployment Tools
Stored credentials and keysIA-5, SC-12PR.AA-01T1098.001 Additional Cloud Credentials, T1528 Steal Application Access Token
Telemetry contentSC-28, SI-12PR.DS-01T1552.001 Credentials In Files
Alerting and audit trailAU-6, AU-9, AU-9(2), AC-6(9)PR.PS-04, DE.CM-09T1685 Disable or Modify Tools
Provider relationshipSA-9GV.SC-07T1199 Trusted Relationship

Common failure patterns

  • Remote commands left on: an agent feature enabled for a troubleshooting session stays on across the fleet, so one stolen admin session can run commands everywhere.
  • One database login for all checks: a high-privilege login stored once and reused across every database, never rotated because "monitoring would break".
  • Community strings and SSH keys from years ago: credentials rotated in the platform after an incident but not on the devices, which ED 21-01 explicitly warned against.
  • Permanent silences: a noisy monitor muted with no expiry becomes the gap an attacker works in.

Practitioner checklist

  • Classify the platform, its agents and stored credentials as tier 0 and administer them from privileged access workstations.
  • Enforce SSO with phishing-resistant MFA, map roles from groups and keep one tested break-glass account.
  • Separate platform admin, agent and check engineering, alerting and data access roles; restrict sensitive data sets.
  • Disable agent remote commands and custom script deployment unless an approved use case needs them.
  • Replace static cloud keys with federation or roles, and give every check its own read-only identity rotated at the target.
  • Redact secrets and personal data at the collector and hunt for credentials in stored telemetry.
  • Export the platform audit log to write-once storage outside the platform administrators' control.
  • Revoke every key, role and stored credential at its target when migrating or retiring.

Standards and references

Related NHI Mgmt Group resources: If your monitoring and observability platform is compromised · Monitoring and observability platform rollout playbook · Securing the LLM observability platform itself · Monitoring vs Observability · Securing the SIEM itself

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.