Skip to main content

Monitoring Domains and Coverage

🌟 Objective​

Define a practical taxonomy of the monitoring domains applicable to applications and systems, allowing detection, operation, traceability and security controls to be structured, with proportionality to the risk level and to the critical flows.


🧬 What monitoring domains are​

Application and infrastructure monitoring can be classified into specific domains according to the type of data observed and the objectives of detection, analysis or traceability. Each domain focuses on a distinct subset of the system's behaviour, and requires its own tools and approaches.


🗂️ Types of monitoring​

TypeMain purposePractical examples
Technical (runtime)Detection of failures, exceptions, performance problemsError logs, CPU/memory metrics, tracebacks
Security (SIEM)Detection of suspicious or abusive eventsFailed logins, permission changes, DoS
Business / functionalVisibility over critical flowsCheckout events, access to sensitive areas
Compliance / auditTraceability and proof of complianceWho accessed what, when, with which profile
Infrastructure / CI/CDMonitoring of the environment and the pipelineConfig changes, builds, use of secrets

🌐 Correct classification allows requirements to be applied proportionally, with a focus on detection, traceability or operational optimisation.


🔎 How to apply​

  1. Identify critical flows of the application and the system;
  2. Map the applicable domains to each flow (e.g. functional, security, CI/CD);
  3. Select data sources compatible with each domain (see below);
  4. Integrate observability tools suited to the context (e.g. Prometheus, ELK, Splunk, Datadog);
  5. Correlate events across domains, whenever possible, for more effective detection.

📘 Typical data sources for each domain​

OriginData typeCommon tools
ApplicationStructured logs (JSON, ECS...)Logback, Winston, Serilog
InfrastructureSyslog, metrics, eventsFilebeat, Fluentbit, Prometheus
CI/CDPipeline output, build tracesGitHub Actions, GitLab, Azure DevOps
API Gateway / WAFRequests, errors, blocksKong, NGINX, AWS WAF, Azure Frontdoor
SIEMAggregated eventsSplunk, Sentinel, Elastic, QRadar

📊 Proportionality by risk level​

The selection of domains and the depth of monitoring must be proportional to the application's criticality:

  • L3 applications: full coverage of the domains, with SIEM integration and active alerts.
  • L2 applications: focus on runtime, infrastructure and security; centralised logging mandatory.
  • L1 applications: structured, persistent logging and a catalogue of critical security events are mandatory; the remaining coverage may be limited to technical metrics, provided that this is justified and accepted by security.

📌 The addon/08-matriz-controles-por-risco.md details the minimums per risk level.


✅ Good practices​

  • Apply structured logging (e.g. JSON, ECS) with context enrichment;
  • Prioritise domains that support active detection and response (e.g. security, CI/CD);
  • Review domain coverage throughout the SDLC;
  • Integrate with a common observability platform (e.g. ELK stack, Datadog, Grafana/Loki);
  • Correlate events across domains to detect attacks or chained failures.

📎 Cross-references​

DocumentRelation to this topic
08-matriz-controles-por-risco.mdDefines minimums per domain and per criticality
04-integracao-siem.mdIntegration of events with detection platforms
05-monitorizacao-operacoes.mdResponse to events and alerts
06-correlacao-anomalias.mdStrategies for correlation across domains

🔍 Clear classification of the monitoring domains is essential for an approach that is effective, auditable and proportional to the detection of anomalies and to the secure operation of modern systems.