Skip to main content

Applying Monitoring and Operations Throughout the Lifecycle

🧭 When to apply​

Monitoring and operating securely is not a one-off activity: it is a common thread that must be present in every phase of the lifecycle.
From the first line of code to the audit review, the application needs to generate visibility, support detection and enable coordinated response.

The following table shows the critical moments at which each control must be applied and how it can be evidenced:

Phase / EventExpected actionEvidence
DevelopmentCode instrumentation with metrics and logsCode + dev logs
QA/StagingValidation of event and alert generationQA reports
DeployConfiguration of logging and metrics pipelinesCentralised logs
ProductionContinuous monitoring + alertsDashboards + alerts
IncidentExecution of IRP playbooksResponse reports
AuditReview of metrics (MTTD/MTTR)GRC reports

👥 Who carries out each action​

Secure monitoring and operations require well-distributed responsibilities.
It is not enough for a team to “have logs”: each role must take on a clear function in the creation and validation of events and in the reaction to them.

RoleResponsibility
DeveloperExpose metrics and structured logs
QAValidate event generation and thresholds
AppSec EngineerDefine critical events and monitor alerts
DevOps / SREConfigure pipelines and dashboards
Operations (Ops)Analyse alerts and execute playbooks
GRC / ComplianceReview metrics and ensure compliance

📖 Reusable User Stories​

The following user stories translate the chapter's principles into concrete practices.
Each one reflects real risk situations and the measures needed to ensure visibility, detection and response.

US-01 - Structured and centralised logging​

The first step towards secure operation is ensuring visibility.
Without consistent and centralised logs, any investigation starts blind.

Context. Scattered, non-normalised logs make incident detection harder.

User Story

Story.
As a Developer, I want to generate structured and centralised logs, so that full visibility in incidents is assured.

Acceptance criteria (BDD).

  • Given running code
    When a relevant event occurs
    Then it is recorded in a structured format and sent to the central log

Checklist.

  • Logs in JSON/ECS format
  • Centralisation pipeline configured
  • Retention according to policy

Artefacts & evidence. Centralised logs.

Proportionality L1–L3.

L1L2L3
Structured, persisted outside the instanceStructured + centralised (SIEM or equivalent)Structured + correlation in SIEM

Integration into the SDLC.

PhaseTriggerResponsibleSLA
Development/DeployCode executionDev + DevOpsContinuous

Useful links. Secure Deployment


US-02 - Definition of critical events and metrics​

Visibility without context generates only noise.
It is essential to decide what deserves to be observed and which events should trigger alerts.

Context. Without a clear definition, alerts do not reflect real risks.

User Story

Story.
As an AppSec Engineer, I want to define critical security events and metrics, so that it is assured that monitoring covers relevant risks.

Acceptance criteria (BDD).

  • Given a system in production
    When I define critical metrics
    Then dashboards reflect real risks and alerts are configured

Checklist.

  • Approved list of critical events
  • Dashboards configured
  • Alerts tested

Artefacts & evidence. List of events + dashboards.

Proportionality L1–L3.

L1L2L3
Catalogue of critical events defined, verified and reviewed per releaseCatalogue defined and verified, reviewed per releaseFull definition + quarterly review

Integration into the SDLC.

PhaseTriggerResponsibleSLA
Planning/OperationsEntry into productionAppSecQuarterly

Useful links. Monitoring and Operations


US-03 - Alerts with defined SLAs​

An alert without a response deadline is just noise.
For monitoring to have impact, each alert needs to be tied to a time commitment.

Context. Without SLAs, critical incidents have no guaranteed response.

User Story

Story.
As Ops, I want to configure critical alerts with defined SLAs, so that timely incident response is assured.

Acceptance criteria (BDD).

  • Given a critical alert
    When the SLA is exceeded
    Then the incident is escalated automatically

Checklist.

  • SLAs documented
  • Alerts configured
  • Escalation tested

Artefacts & evidence. Alert configuration + SLA reports.

Proportionality L1–L3.

L1L2L3
WarningCritical SLACritical SLA + automation

Integration into the SDLC.

PhaseTriggerResponsibleSLA
ProductionCritical incidentOps + AppSecAccording to SLA

Useful links. Training and Onboarding


US-04 - Integration with incident response processes​

Detection only creates value when it leads to a response.
Isolated alerts solve nothing: they need to be tied to clear and tested playbooks.

Context. Isolated alerts without an IRP become useless.

User Story

Story.
As Ops, I want to integrate alerts with incident response playbooks, so that fast and coordinated action is assured.

Acceptance criteria (BDD).

  • Given a security alert
    When it is confirmed
    Then the associated playbook is executed

Checklist.

  • Playbooks defined
  • Integration with SIEM/SOAR
  • Execution validated

Artefacts & evidence. Playbooks + SOAR logs.

Proportionality L1–L3.

L1L2L3
ManualPlaybooks definedAutomated playbooks

Integration into the SDLC.

PhaseTriggerResponsibleSLA
OperationsConfirmed alertOperations (Ops)By severity, in line with Policies 31 and 32 (P1: first response ≤ 5 min, triage ≤ 15 min)

Useful links. Training and Onboarding


US-05 - Effectiveness metrics (MTTD/MTTR)​

Only what is measured can be improved.
Without effectiveness metrics, any monitoring effort runs the risk of becoming static and complacent.

Context. Without measuring effectiveness, there is no continuous improvement.

User Story

Story.
As GRC / Compliance, I want to measure the MTTD and MTTR of incidents, so that the effectiveness of monitoring and response can be assessed.

Acceptance criteria (BDD).

  • Given recorded incidents
    When I calculate the metrics
    Then MTTD and MTTR are reported periodically

Checklist.

  • Metrics defined
  • Automatic calculation
  • Quarterly reports

Artefacts & evidence. Metrics reports.

Proportionality L1–L3.

L1L2L3
BasicMetrics calculatedMetrics + defined targets

Integration into the SDLC.

PhaseTriggerResponsibleSLA
AuditPeriodic reviewGRCQuarterly

Useful links. Monitoring and Operations


US-06 - Classification and Coverage of Monitoring Domains​

An effective monitoring approach does not cover everything indiscriminately: it must be proportional and focused on the domains that matter most for the security and operation of each application.

Context. Without clear domain mapping, coverage becomes patchy and inefficient.

User Story

Story.
As AppSec/DevOps, I want to classify and map monitoring domains (technical, security, business, compliance, CI/CD), so that it is assured that logging coverage is proportional to risk and encompasses critical flows.

Acceptance criteria (BDD).

  • Given an application with a risk classification
    When I map the applicable domains
    Then I define data sources, tools and retention for each domain
  • And coverage is documented and validated periodically

Checklist.

  • Domain mapping per application
  • Data sources identified per domain
  • Tools selected (app logs, infra metrics, CI/CD events, etc.)
  • Proportionality to risk defined
  • Coverage reviewed annually

Artefacts & evidence. Domain mapping document, list of sources, coverage matrix.

Proportionality L1–L3.

L1L2L3
Technical + security (critical events)Technical + securityComplete (technical, security, business, compliance, CI/CD)

Integration into the SDLC.

PhaseTriggerResponsibleSLA
Design/PlanningApplication classificationAppSec + DevOpsBefore design

Useful links. Monitoring Domains


US-07 - Log Security and Integrity​

Logs are evidence: if they can be altered, the evidence loses its value.
Ensuring immutability, audited access and appropriate retention turns logs into security and compliance assets.

Context. Alterable or lost logs compromise investigations and audits.

User Story

Story.
As DevOps/GRC, I want to ensure log security and integrity (WORM retention, restricted access, signature/hash, function isolation), so that alteration or loss of evidence in the event of an incident is prevented.

Acceptance criteria (BDD).

  • Given logs in the central store
    When protection policies are applied
    Then logs are immutable, access is audited and integrity is verifiable
  • And retention meets regulatory requirements

Checklist.

  • WORM retention enabled on the storage
  • Access to logs restricted and audited
  • Hash or digital signature applied per batch
  • Logs separated from the application (forwarder, sidecar, service)
  • Minimum retention in line with Policy 29: security logs 90 days (L1), 1 year (L2), 2 years (L3); operational logs 30 days (L1), 90 days (L2), 1 year (L3)
  • Retention reversal test every quarter

Artefacts & evidence. WORM configuration, access policies, access audit logs, hashes/signatures.

Proportionality L1–L3.

L1L2L3
Persisted outside the instance, protected against tampering; 30 days (operational), 90 days (security)WORM + 1 year (security)WORM + 2 years (security) + verifiable integrity

Integration into the SDLC.

PhaseTriggerResponsibleSLA
Deploy/OperationsEntry into productionDevOps + GRCImmediate

Useful links. Centralised Logging Controls


US-08 - SIEM Integration and Event Normalisation​

Isolated logs have limited value.
A SIEM with normalised events enables correlation, fast search and automated detection that would be impossible in data silos.

Context. Logs not integrated into a SIEM become operationally invisible.

User Story

Story.
As DevOps/AppSec, I want to integrate logs with the SIEM (parsing, normalisation, enrichment), so that effective correlation and centralised anomaly detection are possible.

Acceptance criteria (BDD).

  • Given structured logs emitted
    When sent to the SIEM
    Then they are parsed, normalised into ECS/a common format, enriched with context
  • And available for queries, dashboards and alerts

Checklist.

  • Forwarder configured (Filebeat, Fluentbit, Vector)
  • Secure channel (TLS 1.2+) with authentication
  • Parser/ingest pipeline configured
  • Tagging per application/environment
  • Ingestion validation (volume, latency, format)
  • Failover and buffering test

Artefacts & evidence. Forwarder configuration, parsing rules, SIEM dashboards, ingestion logs.

Proportionality L1–L3.

L1L2L3
OptionalMandatoryMandatory + full ECS normalisation

Integration into the SDLC.

PhaseTriggerResponsibleSLA
Deploy/OperationsPipeline constructionDevOps + AppSecBefore go-live

Useful links. SIEM Integration


US-09 - Event Correlation and Behavioural Detection​

Isolated events may be harmless; patterns of events reveal intentions.
Correlation turns data into intelligence and makes it possible to anticipate attacks or chained failures.

Context. Without correlation, sophisticated (multi-stage) attacks remain invisible.

User Story

Story.
As AppSec/IR, I want to correlate events across multiple sources (application, infrastructure, CI/CD) and detect suspicious behavioural patterns, so that attacks or chained failures can be anticipated.

Acceptance criteria (BDD).

  • Given events from multiple centralised sources
    When correlation rules are applied
    Then suspicious patterns (e.g. login + mass download) generate high-severity alerts
  • And baseline deviations per user/IP/role are detected

Checklist.

  • Temporal/contextual correlation rules defined
  • Behaviour baselines per user/role created
  • Time windows for correlation tuned (5m, 15m, 1h)
  • Persistent IDs (user.id, session.id, trace.id) normalised
  • Correlation alerts tested with simulated events
  • Aggregated score per user/device/application implemented

Artefacts & evidence. Correlation rules (SIEM), behavioural baselines, tested correlation alerts, pattern documentation.

Proportionality L1–L3.

L1L2L3
Not applicableOptionalMandatory

Integration into the SDLC.

PhaseTriggerResponsibleSLA
OperationsAfter 1 month of data in productionAppSec + Operations (Ops)Continuous implementation

Useful links. Anomaly Correlation


US-10 - Alert Validation and Tuning​

A poorly calibrated alert is worse than no alert: it causes noise and discredits the system.
Validating and tuning alerts is continuous work, not a one-off.

Context. Unvalidated alerts generate false positives and alert fatigue.

User Story

Story.
As AppSec/IR, I want to validate and tune alerts (trigger testing, active simulation, replay with real data, tuning of thresholds), so that false positives are reduced and it is assured that alerts reflect real risk.

Acceptance criteria (BDD).

  • Given a configured alert
    When it is tested
    Then it behaves as expected in real and simulated scenarios
  • And the threshold is tuned to minimise false positives
  • And it is documented with an associated runbook

Checklist.

  • Active simulation (trigger event in staging)
  • Rule unit test (automated logic tests)
  • Replay with historical data for retroactive validation
  • Threshold tuned based on real statistics
  • False positives documented and cause identified
  • Runbook/playbook associated with the alert
  • Quarterly validation of alerts

Artefacts & evidence. Alert tests, simulation logs, tuning report, runbooks, false-positive documentation.

Proportionality L1–L3.

L1L2L3
Occasional manualPeriodic validationContinuous validation + automation

Integration into the SDLC.

PhaseTriggerResponsibleSLA
OperationsAlert creation/reviewAppSec + Operations (Ops)Before activation in production

Useful links. Alerts and Critical Events


US-11 - Proportionality of Controls by Risk (L1–L3) and Domains​

Not all applications require the same level of monitoring. It is essential that organisations apply controls in proportion to risk, ensuring efficiency without underestimating threats.

Context. Monitoring controls must be proportional to the application's risk, not applied indiscriminately.

User Story

Story.
As AppSec/GRC, I want to apply monitoring controls in proportion to the application's risk level, so that operational cost is balanced with adequate security coverage.

Acceptance criteria (BDD).

  • Given an application classified at risk L1, L2 or L3
    When I define the monitoring architecture
    Then the minimum mandatory controls for the level are applied
  • And documentation reflects the proportionality matrix
  • And exceptions (e.g. L1 with sensitive data) are approved and audited

Checklist.

  • Application risk classification carried out
  • L1–L3 proportionality matrix referenced
  • Minimum controls per level identified (logging, retention, alerts, SIEM, correlation)
  • Justification of exceptions documented where applicable
  • Annual proportionality review scheduled
  • Traceability between classification → applied controls

Artefacts & evidence.
Risk classification document, proportionality matrix with selected controls, justification of exceptions, documented annual review.

Proportionality L1–L3.

L1L2L3
Structured logging persisted outside the instance + catalogue of critical events + basic domain mappingMatrix applied; SIEM and alerts implementedMatrix applied + continuous review with metrics

Integration into the SDLC.

PhaseTriggerResponsibleSLA
Design/RiskApplication classificationAppSec + GRCBefore design

Useful links.
Controls Matrix by Risk


US-12 - Traceability and Compliance with Regulations (SSDF, NIS2, ISO 27001)​

Monitoring is not an isolated technical exercise: it is an increasingly demanding regulatory requirement. There must be clear traceability between technical controls and regulatory requirements, with auditable evidence.

Context. Without regulatory traceability, the security posture becomes misaligned with compliance.

User Story

Story.
As GRC/Audit, I want to document and demonstrate compliance between monitoring controls and regulatory requirements (SSDF, NIS2, ISO 27001), so that it is assured that the security posture is aligned with regulations.

Acceptance criteria (BDD).

  • Given an applicable compliance framework (SSDF, NIS2, ISO 27001)
    When I map technical controls (logging, alerts, correlation, IRP, metrics)
    Then each technical control is traceable to a specific regulatory requirement
  • And auditable evidence exists (logs, dashboards, reports, metrics)
  • And compliance reports are generated quarterly

Checklist.

  • Technical control → regulatory requirement mapping created and versioned
  • Traceability matrix (e.g. US-01 Logging → ISO 27001 A.12.4.1)
  • Technical evidence documented (screenshots, logs, configurations)
  • Compliance metrics (% of controls active, MTTD vs target, etc.)
  • Quarterly reports generated and reviewed by audit
  • Gaps identified and remediation plan created
  • Internal audits scheduled (annual)

Artefacts & evidence.
Traceability matrix (control → regulation), technical evidence per control, quarterly compliance reports, compliance metrics, remediation plan, internal audit reports.

Proportionality L1–L3.

L1L2L3
Basic mappingMapping + documented evidenceMapping + evidence + metrics + continuous audit

Integration into the SDLC.

PhaseTriggerResponsibleSLA
ComplianceRegulatory requirement, auditGRC + Internal AuditQuarterly

Useful links.
Monitoring and Operations; Security Requirements (requirements)


US-13 - Telemetry of AI agents in production​

Context. US-01 to US-12 of this chapter cover the classic operational programme — logs, alerts, SIEM, IRP, MTTD/MTTR. When the system includes AI agents in operation (agents that execute real tool calls with effect on external systems), three signals emerge that traditional observability does not see and that need dedicated instrumentation: tool invocations (who did what, under which mandate), token spend (model consumption, runaway protection), and off-policy actions / jailbreak (divergence between what the agent declares it intends to do and what it does). This US operationalises the requirements OPS-012, OPS-013 and OPS-014.

User Story

Story. As Ops / AppSec, I want to collect dedicated telemetry on the operation of AI agents in production — tool invocations with full audit, token spend with budget enforcement, detection of jailbreak and off-policy actions — so that abuse, runaway loops and actions outside the mandate are detected in good time, before material impact.

Acceptance criteria (BDD).

  • Given that an AI agent operates in the system at level A1+ When it invokes a tool Then a structured audit event is emitted with agent_id, session_id, mandate_ref, autonomy_level, tool, args (PII redacted), intent_event_ref (A2+), outcome, external_effect (cross-link OPS-012)
  • Given that the agent's token spend reaches the warning threshold defined in the mandate When the system observes it Then an alert goes to the human owner; at the maximum threshold the session pauses or the kill-switch is triggered according to the autonomy level (cross-link OPS-013)
  • Given that there is a material divergence between the declared intent_event and the real tool invocation audit event When the detector runs Then the signal is handled as an IR incident (Ch. 12 US-04) with immediate escalation to the owner (cross-link OPS-014)
  • Given that a jailbreak or off-policy action pattern is detected When it occurs at A2+ Then the signal feeds the offline eval suite (Ch. 10 §C5) for future regression

Checklist.

  • Tool invocation audit events flowing to the SIEM (OPS-004) with the OPS-012 minimum schema
  • Token spend budget declared per mandate, with warning and maximum thresholds
  • intent ↔ action divergence detector configured for all A2+ agents
  • Jailbreak detection corpus (LLM01-2025) updated according to the mandate cadence
  • OPS-012/013/014 signals linked to IR runbooks (US-04 of this chapter)
  • Drift detection of the eval suite (Ch. 10 §C5) fed back by incidents detected in production

Artefacts & evidence.

  • Structured tool invocation audit events (OPS-012)
  • Budget configuration + token spend metrics per agent / mandate (OPS-013)
  • Active detection rules / models for jailbreak / off-policy (OPS-014)
  • IR runbooks specific to agentic incidents
  • SIEM dashboards with agentic signals; periodic reports per mandate_ref

Proportionality by risk.

LevelMandatory?Adjustments
L1Recommended for A1+; mandatory if the agent is in productionOPS-012 essential; OPS-013 with a simple budget; OPS-014 not mandatory
L2Yes for A1+OPS-012 + OPS-013 mandatory; OPS-014 recommended
L3Yes for A1+OPS-012 + OPS-013 + OPS-014 mandatory; A4 with quarterly review of the detection corpus

Integration into the SDLC.

PhaseTriggerResponsibleSLA
Agent onboardingMandate activation (Policy 38)devops + appsecBefore operation in production
OperationEvery tool invocationAgent (automatic audit) + appsec (signal review)Real-time
IncidentOPS-014 firesappsec + opsAccording to severity (US-04 of this chapter)
Reviewreview_cadence of the mandateappsec + ownerAccording to cadence

Useful links.


US-14 - Non-logging of secrets and management of operational exceptions​

A log that captures a password is a credential leak waiting to happen.

Context. Log centralisation (US-01, US-08) amplifies a silent risk: secrets, tokens and PII in clear text in the events themselves turn the SIEM into a repository of exposed credentials. OPS-001 requires normalised fields with no sensitive data in clear text; when a legitimate pattern wrongly triggers alerts, suppression has to follow a formal exception process, not ad hoc silencing.

User Story

Story.
As DevOps/AppSec, I want to ensure that no secret or PII is logged in clear text and that any alert exception follows a formal process, so that credential leakage via logs is prevented and alert suppression remains auditable and temporary.

Acceptance criteria (BDD).

  • Given a component in production that emits logs
    When a field contains a credential, token or PII
    Then the value is redacted/masked before persistence and the redaction is verifiable by sampling
  • Given a legitimate pattern that triggers an undue alert
    When it is to be suppressed
    Then a versioned exception is created with justification, approver by severity and expiry date (ceilings of Policy 05 §7)

Checklist.

  • Redaction/masking of secrets and PII applied before persistence
  • Sample-based verification of the absence of sensitive data in clear text
  • Versioned exception template (justification, approver, expiry, evidence)

Artefacts & evidence. Redaction/masking rules, log sampling report, exception register with time-bound validity and approval by severity.

Proportionality L1–L3.

L1L2L3
Redaction of credentials, tokens and PII, verified by sampling + formal exceptions with a deadlineRedaction verified by sampling + formal exceptions (TTL of Policy 05 §7) + pre-expiry alertRedaction verified by sampling + exceptions (TTL of Policy 05 §7) + pre-expiry reassessment

Integration into the SDLC.

PhaseTriggerResponsibleSLA
Development/OperationsLog emission / exception creationDevOps + AppSecBefore persistence / before suppression

Useful links. Centralised Logging Controls; Operations Exceptions


US-15 - Ingestion failure detection and operational dashboards​

The silence of a log source can be as serious as an explicit alert.

Context. OPS-004 requires log centralisation to have verifiable ingestion and that delivery failures are detected and alerted — a source that stops reporting creates a blind spot that no content alert detects. This visibility of the pipeline itself materialises in operational dashboards that make coverage, volume and latency continuously observable.

User Story

Story.
As a DevOps/SRE, I want to detect and alert on log ingestion failures and expose the pipeline state in dashboards, so that blind spots caused by silent sources are eliminated and monitoring coverage becomes observable.

Acceptance criteria (BDD).

  • Given a log source expected in the SIEM
    When the volume drops below the baseline or the source goes silent beyond the expected window
    Then an actionable ingestion failure alert is generated for the responsible team
  • Given the monitoring pipeline in operation
    When its state is observed
    Then dashboards reflect coverage per source, volume, latency and ingestion failures

Checklist.

  • Ingestion failure/absence alert per source configured
  • Volume/latency baseline per source established
  • Pipeline coverage, volume and latency dashboards available

Artefacts & evidence. Ingestion failure detection rules, volume baselines per source, operational dashboards of the logging pipeline.

Proportionality L1–L3.

L1L2L3
Manual verification of sourcesIngestion failure alert + basic dashboardBaseline-based detection + full coverage/latency dashboards

Integration into the SDLC.

PhaseTriggerResponsibleSLA
Deploy/OperationsPipeline construction / silent sourceDevOps + SREContinuous

Useful links. SIEM Integration; Metrics and Indicators


US-16 - ATT&CK coverage and EPSS/KEV prioritisation​

Detecting without mapping coverage is trusting to luck; remediating without prioritising is wasting effort.

Context. Detection rules must declare the MITRE ATT&CK techniques they cover (with the ATT&CK version in use recorded), making coverage gaps explicit. In parallel, remediation prioritisation must apply EPSS (probability of exploitation) and KEV (confirmed exploitation) on top of the SLAs by severity, keeping the SLA by severity as a floor.

User Story

Story.
As AppSec/IR, I want to map detection rules to MITRE ATT&CK techniques and prioritise remediation with EPSS and KEV, so that detection coverage gaps are exposed and remediation effort is concentrated on genuinely exploitable risk.

Acceptance criteria (BDD).

  • Given the set of active detection rules
    When coverage is mapped
    Then each rule declares the ATT&CK techniques it covers and the ATT&CK version in use is recorded
  • Given a vulnerability to remediate
    When the priority is defined
    Then EPSS and KEV adjust the order on top of the SLA by severity, which remains as a floor

Checklist.

  • Detection rules mapped to ATT&CK techniques with the version recorded
  • ATT&CK coverage gaps identified and prioritised
  • EPSS and KEV applied in prioritisation, with the SLA by severity as a floor

Artefacts & evidence. ATT&CK coverage matrix per rule with version, gap register, prioritisation policy with EPSS/KEV and SLA by severity.

Proportionality L1–L3.

L1L2L3
KEV in prioritisation (active exploitation brings the SLA forward)ATT&CK mapping of critical rules + KEV in prioritisationFull ATT&CK coverage + EPSS/KEV with continuous review

Integration into the SDLC.

PhaseTriggerResponsibleSLA
OperationsRule creation/review / vulnerability triageAppSec + Operations (Ops)Per release / per triage

Useful links. MITRE ATT&CK as a Detection Engineering Vocabulary; Prioritisation with EPSS and KEV


US-17 - End-to-end incident response exercises​

A playbook that has never been executed is a hypothesis, not a capability.

Context. OPS-007 requires integration with the formal incident response process and evidence of playbook activation in a real incident or a documented exercise in the last cycle. Without end-to-end exercises — from alert to resolution — the detection→escalation→response chain remains unvalidated and the real MTTR is unknown.

User Story

Story.
As IR/AppSec, I want to run end-to-end incident response exercises at a defined periodicity, so that the alert→playbook→resolution chain is validated and response times are confirmed to meet the SLA before a real incident.

Acceptance criteria (BDD).

  • Given a representative incident scenario
    When the exercise is executed
    Then the associated playbook is activated end to end and the times (acknowledge/resolve) are measured against the SLA
  • Given the conclusion of the exercise
    When the review is carried out
    Then gaps are recorded and generate traceable corrective actions

Checklist.

  • Representative exercise scenario defined
  • Playbook activated end-to-end with times measured against the SLA
  • Gaps and corrective actions recorded in the last cycle

Artefacts & evidence. Exercise plan and report, record of times vs SLA, list of gaps and corrective actions.

Proportionality L1–L3.

L1L2L3
Annual tabletopHalf-yearly exercise of critical playbooks (tabletop + simulation)Half-yearly end-to-end exercises (war room with active simulation) + MTTR measurement and continuous improvement

Integration into the SDLC.

PhaseTriggerResponsibleSLA
OperationsExercise cycle / playbook reviewOperations (Ops) + AppSecIn the last cycle (Policy 32 §8: annual at L1, half-yearly at L2/L3)

Useful links. Monitoring and Operations; Operations Requirements Catalogue


US-18 - SOAR automation governance and alert kill-switch​

Automation that executes irreversible actions without human approval is an operational risk, not a control.

Context. SOAR automation combines deterministic decisions (which may operate without approval) with non-deterministic decisions (which require human validation), and has explicit guardrails: irreversible actions — log purging, alert deactivation, baseline changes — are never automatic. When a poorly calibrated alert causes an alert storm, the kill-switch allows temporary deactivation with a time limit, mandatory notification and RCA before reactivation.

User Story

Story.
As IR/AppSec, I want to govern SOAR automation with explicit guardrails and a controlled alert kill-switch, so that automation is prevented from executing irreversible actions without human approval and alert storms are stopped without creating permanent blind spots.

Acceptance criteria (BDD).

  • Given an automated action in SOAR
    When the action is irreversible or high-impact (log purging, alert deactivation, baseline changes, mass isolation)
    Then it requires human approval and respects the defined guardrail limits
  • Given an alert storm caused by a poorly calibrated alert
    When the kill-switch is triggered
    Then the deactivation has a time limit (max 2h), notifies the AppSec Engineer automatically and requires a documented RCA before reactivation

Checklist.

  • SOAR guardrails documented (action, limit, reason) with human approval for irreversible actions
  • Kill-switch with time limit, automatic notification and mandatory RCA before reactivation
  • Deterministic/non-deterministic distinction applied in the decision to automate

Artefacts & evidence. Versioned SOAR guardrails table, approval records for high-impact actions, kill-switch records with associated RCA.

Proportionality L1–L3.

L1L2L3
Simple deterministic automation; irreversible actions manualDocumented guardrails + kill-switch with RCAGuardrails + kill-switch + audit of approvals and review of limits

Integration into the SDLC.

PhaseTriggerResponsibleSLA
OperationsHigh-impact SOAR action / alert stormOperations (Ops) + AppSecAccording to severity (kill-switch ≤ 2h)

Useful links. Monitoring and Operations; Operations Exceptions


📦 Expected artefacts​

Every practice leaves verifiable traces.
These artefacts constitute the objective evidence that underpins audits and regulatory compliance:

ArtefactEvidence
Structured logsCentralised JSON/ECS
List of critical eventsVersioned document
Alert configurationDashboards + reports
IRP playbooksDocument + SOAR logs
Metrics reportsGRC reports
Domain mappingCoverage document per domain
WORM and integrity configurationImmutable logs + hashes/signatures
Forwarder and SIEM configurationParsing rules + SIEM dashboards
Correlation rulesBehavioural baselines + correlated alerts
Alert testsSimulations, unit tests, tuning reports
L1–L3 proportionality matrixControls applied per level + justifications
Regulatory traceabilityControl → regulation mapping matrix + auditable evidence

⚖️ L1–L3 proportionality matrix​

Not all applications carry the same risk or require the same effort.
The following matrix translates the controls into proportional levels (L1–L3), balancing cost and impact:

PracticeL1L2L3
LoggingStructured, persisted outside the instanceStructured + SIEM (or equivalent)Structured + SIEM + correlation
Critical eventsCatalogue defined, verified and reviewed per releaseCatalogue defined and verified, reviewed per releaseComplete + quarterly review
AlertsWarningCritical SLACritical SLA + automation
IRP integrationManualPlaybooks definedAutomated playbooks
MetricsBasicCalculatedCalculated + targets
Monitoring domainsTechnical + security (critical events)Technical + securityComplete (technical, security, business, compliance, CI/CD)
Log securityPersisted outside the instance + protection against tamperingWORM + controlled accessWORM + signature + function isolation
SIEM integrationOptionalForwarder configuredSIEM + parsing + dashboards
Behavioural correlationNot applicableOptionalMandatory
Alert validationOccasional manualPeriodicContinuous + automation
Proportionality by domainStructured logging outside the instance + catalogue of critical events + basic mappingMatrix applied; SIEM and alerts implementedMatrix applied + continuous review with metrics
Regulatory traceabilityBasic mappingMapping + documented evidenceMapping + evidence + metrics + continuous audit

🏁 Final recommendations​

  • Visibility is key: without logging and metrics, there is no security in production.
  • Alerts must be actionable: without SLAs and playbooks, they only generate noise.
  • Proportionality matters: L1 focuses on the essentials, L3 requires automation and targets.
  • Integration with the IRP: detection without response brings no value.
  • Continuous measurement: MTTD/MTTR metrics make it possible to learn and evolve.