For three lessons you have been building the pieces of a programme: a development lifecycle with gates and threat modelling, a register of fifteen risks with its prioritised investment portfolio, and an awareness programme that has increased the reporting rate sixfold. Each piece has its own numbers and none of them talks to the others. If Andrés Vidal asked tomorrow "are we better off than a year ago?", the honest answer today would be a collection of favourable anecdotes.

This lesson solves that, and it also solves the other half of the problem: a security programme does not just have to be measured, it has to be operated every day of the year. Threats do not wait until someone is on call, and a team of ten people who also look after printers, new user accounts and the opening of a depot in Bilbao cannot watch a console at three in the morning. How to solve that without inventing an operations centre that does not fit in the budget, and how to sustain and improve the whole over the years, is the content of this lesson.

Three ideas run through it, and it is worth flagging them now because they are what you should take away:

  • A metric with no associated decision should be removed. Measuring takes time; measuring what changes no behaviour is time stolen from defending.
  • What cannot be outsourced is the business context. You can pay someone to keep watch; nobody from outside will know whether srv-erp01 can be shut down at eleven o'clock on a Tuesday.
  • Maturity is not a score, it is a trend. A 3.4 out of 4 means nothing; going from 2.6 to 3.4 in a year, knowing what did not improve and why, means everything.

Notice. Rutalia's values, costs and results are fictitious and serve to illustrate the method. Metric targets and thresholds must be set using each organisation's own data: copying them without adapting them produces useless alarms or dangerous silences.

  1. Measuring activity versus measuring outcomes

The most important distinction in the whole lesson, and the one that separates a useful dashboard from a decorative one.

Activity metric What it actually measures Equivalent outcome metric
No. of patches applied this month How much work has been done Average time from a patch's release to its application, by criticality
No. of alerts handled How much noise there has been % of alerts handled within target and MTTD
No. of vulnerability scans run That the tool works Open critical vulnerabilities and their average age
No. of backups taken That the task scheduler runs % of backups with a tested restore in the last 90 days
Hours of training delivered Effort Phishing reporting rate
No. of policies published Paper produced % of the workforce with a current acceptance
No. of attacks blocked by the firewall That the internet exists Nothing. This metric has no equivalent because it measures nothing about your organisation

The test for classifying any metric: if the number improves, is the organisation better protected? With "patches applied" the answer is not necessarily: a hundred irrelevant patches could have been applied and none of the three critical ones. With "days to apply a critical patch" the answer is yes, unequivocally.

A word of nuance: activity metrics are not useless, they are insufficient. They help to manage capacity —knowing how many alerts come in helps to size the team— but they do not answer "are we better off?". The mistake is to present them as if they did.


  1. The four properties of a good metric

Property What it means Example that meets it Example that does not
Actionable If the value gets worse, there is something specific to do "Critical vulnerabilities open > 30 days": you know which ones and who fixes them "Overall security index: 74/100". So what now?
Comparable It can be compared with itself over time, with the same definition MTTD in minutes, always calculated the same way A metric whose formula changes every quarter
Hard to game It does not improve just by changing behaviour without improving security Phishing reporting rate alongside the declared difficulty "Security tickets closed": it improves by closing tickets without resolving them
Cheap to obtain The cost of collecting it does not exceed its value Extracted automatically from the EDR and the directory One that requires two days of manual work a quarter

The fourth property is the one that kills most metrics in an SME, and it pays to be ruthless: if obtaining a figure takes more than twenty minutes a month and changes no decision, that figure is not collected. With ten people in IT, time spent measuring is time not spent defending, and there is a point beyond which the dashboard becomes the problem itself.

An implicit fifth property, and a decisive one: having an owner. Every metric needs a person who looks at it, explains it when it moves and acts when it crosses the threshold. A metric with no owner degrades silently: the data source changes, nobody notices and for months a number is presented that no longer means what it says.


  1. The six categories, with examples from Rutalia

Organising metrics into categories avoids the "list of fifty numbers with no structure" effect and, above all, makes it possible to spot gaps: if a category is empty, there is a part of the programme nobody is watching.

Coverage — is the control where it needs to be?

These are the most underrated metrics and the ones that explain the most incidents. A superb EDR on 97% of devices leaves four devices with no agent, and the attacker only needs one.

  • % of devices with active EDR: 97% in March 2029 (4 devices with no agent, a finding from the gap analysis) → 100% in December.
  • % of assets inventoried and checked against network discovery: 0% → 96%.
  • % of accounts with MFA: 94% in MiRutalia → 100%; 100% on privileged accounts.
  • % of servers sending logs to the central system: 100%, checked monthly.

Hygiene — is the basic work being done, and on time?

  • Average patching time by criticality: critical, high, medium.
  • Open critical vulnerabilities and the age of the oldest one.
  • % of backups with a tested restore in the last 90 days.
  • No. of certificates expiring in under 30 days (the vigilar_certificados.py script from 02-05 already produces this figure).

Detection and response — do we find out, and how long does it take?

  • MTTD (mean time to detect), MTTC (to contain), MTTR (to recover) and dwell time (how long the attacker stays), defined in 05-04.
  • Alerts per analyst per day, which is the team's sustainability metric.
  • % of alerts handled within target.
  • % of critical out-of-hours alerts that received a response, which is the metric INC-2028-014 made mandatory.

People — is behaviour changing?

Those from 08-03: reporting rate, time to first report, training coverage by group, genuine spontaneous reports per month.

Compliance — can we prove it?

  • Open nonconformities and their age.
  • Exceptions in force and, above all, expired exceptions not reviewed, which is the indicator of whether the REG-RUT-08 mechanism is alive or decorative.
  • % of controls with evidence collected for the quarter.

Risk — are we gambling less?

  • Aggregate residual risk from the register in 08-02: 118 in 2029.
  • No. of risks at HIGH level: 5.
  • Estimated ALE of the three main risks, with its range.

These last ones are the ones that interest senior management and the ones that are hardest to calculate. They are always presented as a trend, never as an absolute value, for the reasons given in section 9 of 08-02.


  1. The master metrics table

Seventeen metrics. That is the number Rutalia can sustain: below ten you lose visibility, above twenty nobody looks at them all.

# Metric Precise definition Data source Freq. Target Alarm threshold Owner
M-01 EDR coverage Devices with an active agent reporting within 7 days / devices in the inventory MDR console + AD Weekly 100% < 98% D. Salas
M-02 Inventory coverage Devices in the inventory / devices seen on the network (discovery) Inventory + sweep Monthly ≥ 98% < 95% D. Salas
M-03 MFA coverage Accounts with MFA / active accounts (breakdown: privileged, internal, portal) AD + M365 + MiRutalia Monthly 100% privileged < 100% privileged D. Salas
M-04 Critical patching time Median days from release to application, critical severity Greenbone + WSUS Monthly ≤ 7 days > 14 days D. Salas
M-05 Open critical vulnerabilities No. open and age of the oldest Greenbone Monthly 0 / — ≥ 1 older than 30 days D. Salas
M-06 Backups with tested restore Assets with a verified restore within 90 days / assets with a defined RTO Backup report Quarterly 100% < 90% D. Salas
M-07 Certificates about to expire No. expiring in < 30 days with no renewal planned vigilar_certificados.py Weekly 0 ≥ 1 D. Salas
M-08 MTTD Median minutes from the first observable event to detection Incident log Per incident ≤ 60 min > 240 min L. Méndez
M-09 MTTC Median minutes from detection to containment Incident log Per incident ≤ 120 min > 240 min L. Méndez
M-10 MTTR Median hours from detection to service restored Incident log Per incident ≤ 8 h > the asset's RTO L. Méndez
M-11 Alerts per analyst per day Alerts requiring human judgement / analysts / working days MDR console Monthly ≤ 15 > 25 L. Méndez
M-12 Out-of-hours response Critical out-of-hours alerts responded to within 60 min / total MDR + log Monthly 100% < 95% L. Méndez
M-13 Phishing reporting rate Reports / emails sent in a simulation (with the declared difficulty alongside) Platform Per campaign ≥ 50% Falls 2 campaigns in a row L. Méndez
M-14 Genuine spontaneous reports Reports from the workforce per month outside campaigns seguridad@ queue Monthly Rising Falls 3 months in a row L. Méndez
M-15 Training coverage Trained in the last 12 months / workforce, by group REG-RUT-03 Quarterly ≥ 95% < 90% in any group P. Herrero
M-16 Expired exceptions not reviewed No. of REG-RUT-08 entries expired with no decision REG-RUT-08 Quarterly 0 ≥ 1 L. Méndez
M-17 Aggregate residual risk Sum of the residual risks in the register (as a trend only) riesgos.csv Quarterly Falling Rises 2 quarters in a row L. Méndez

Three details in the design of this table

The alarm threshold is not the target. They are different things, and confusing them produces constant alarms. The target for M-04 is 7 days; the threshold that triggers a conversation is 14. Between the two there is a zone of normal variation where nothing happens. A dashboard in which everything is red almost all the time stops being looked at within six weeks.

M-16 has a threshold of zero, and that is deliberate. An expired exception that has not been reviewed is a binary process failure: either the mechanism works or it does not. It is the audit's OBS-01 turned into a permanent metric.

M-13 carries the difficulty alongside it, built into the definition. Without that, the metric games itself as the difficulty of the campaigns goes down. It is the defence against Goodhart written into the definition itself, which is where it needs to be.


  1. The script that collects the metrics automatically

The "cheap to obtain" property is not optional: if compiling the dashboard takes two days a quarter, it will stop being done. The following script collects what can be automated and flags what requires manual input.

#!/usr/bin/env python3
"""
recopilar_metricas.py - Rutalia Logistica
Collects the automatable dashboard metrics and generates:
  - metricas_<year>.csv  (cumulative history, one row per measurement)
  - resumen_<date>.txt   (text ready to paste into the monthly report)

Runs on the first working day of each month from a scheduled task
on bastion01, with a read-only account on each source.
"""

import csv
import json
import subprocess
from datetime import datetime, timedelta, timezone
from pathlib import Path

TODAY = datetime.now(timezone.utc).date()
OUTPUT = Path("/srv/metricas")
SOURCES = {
    "inventory":  Path("/srv/inventario/equipos.csv"),
    "edr":        Path("/srv/exportaciones/mdr_agentes.json"),
    "patches":    Path("/srv/exportaciones/wsus_estado.json"),
    "vulns":      Path("/srv/exportaciones/greenbone_abiertas.json"),
    "backups":    Path("/srv/exportaciones/restic_verificacion.json"),
    "certs":      Path("/srv/metricas/certificados.json"),
    "exceptions": Path("/srv/sgsi/REG-RUT-08.csv"),
}


def _load_json(path: Path):
    """Reads a JSON file and returns None if the source is missing or corrupt.

    Returning None instead of raising an exception is deliberate: one
    source being down must not stop the other metrics from being collected.
    """
    try:
        return json.loads(path.read_text(encoding="utf-8"))
    except (FileNotFoundError, json.JSONDecodeError) as e:
        print(f"[WARNING] Source not available: {path} ({e})")
        return None


def m01_edr_coverage():
    """M-01: devices with an active agent reporting in the last 7 days."""
    agents = _load_json(SOURCES["edr"])
    if agents is None:
        return None, "source not available"
    with SOURCES["inventory"].open(encoding="utf-8") as f:
        total = sum(1 for row in csv.DictReader(f) if row["status"] == "active")
    cutoff = TODAY - timedelta(days=7)
    alive = [a for a in agents
             if datetime.fromisoformat(a["last_contact"]).date() >= cutoff]
    value = round(100 * len(alive) / total, 1)
    no_agent = total - len(alive)
    return value, f"{len(alive)}/{total} devices; {no_agent} not reporting"


def m04_critical_patch_time():
    """M-04: median days between release and application, critical severity."""
    data = _load_json(SOURCES["patches"])
    if data is None:
        return None, "source not available"
    days = sorted(
        (datetime.fromisoformat(p["applied"]).date()
         - datetime.fromisoformat(p["released"]).date()).days
        for p in data
        if p["severity"] == "critical" and p.get("applied")
    )
    if not days:
        return None, "no critical patches in the period"
    n = len(days)
    median = days[n // 2] if n % 2 else (days[n // 2 - 1] + days[n // 2]) / 2
    return median, f"n={n}; worst case {days[-1]} days"


def m05_open_critical_vulns():
    """M-05: number of open critical vulnerabilities and age of the oldest one."""
    data = _load_json(SOURCES["vulns"])
    if data is None:
        return None, "source not available"
    critical = [v for v in data if v["severity"] == "critical" and v["status"] == "open"]
    if not critical:
        return 0, "none open"
    age = max((TODAY - datetime.fromisoformat(v["detected"]).date()).days
              for v in critical)
    return len(critical), f"the oldest, {age} days"


def m06_backups_tested_restore():
    """M-06: assets with an RTO whose restore has been verified within 90 days."""
    data = _load_json(SOURCES["backups"])
    if data is None:
        return None, "source not available"
    cutoff = TODAY - timedelta(days=90)
    with_rto = [c for c in data if c.get("rto_hours")]
    tested = [c for c in with_rto
              if c.get("last_restore")
              and datetime.fromisoformat(c["last_restore"]).date() >= cutoff
              and c.get("result") == "ok"]
    value = round(100 * len(tested) / len(with_rto), 1)
    pending = [c["asset"] for c in with_rto if c not in tested]
    return value, f"pending: {', '.join(pending) or 'none'}"


def m07_expiring_certificates():
    """M-07: certificates expiring in less than 30 days."""
    data = _load_json(SOURCES["certs"])
    if data is None:
        return None, "source not available"
    cutoff = TODAY + timedelta(days=30)
    expiring = [c for c in data
                if datetime.fromisoformat(c["expires"]).date() <= cutoff]
    detail = "; ".join(f"{c['name']} ({c['expires']})" for c in expiring)
    return len(expiring), detail or "none"


def m16_expired_exceptions():
    """M-16: REG-RUT-08 exceptions that have expired with no decision recorded."""
    try:
        with SOURCES["exceptions"].open(encoding="utf-8") as f:
            rows = list(csv.DictReader(f))
    except FileNotFoundError:
        return None, "source not available"
    expired = [x for x in rows
               if datetime.fromisoformat(x["expiry"]).date() < TODAY
               and x["status"] not in ("closed", "extended")]
    return len(expired), "; ".join(x["id"] for x in expired) or "none"


METRICS = [
    ("M-01", "EDR coverage (%)",                     m01_edr_coverage,             100,  98,  "min"),
    ("M-04", "Critical patching (days, median)",     m04_critical_patch_time,        7,  14,  "max"),
    ("M-05", "Open critical vulns",                  m05_open_critical_vulns,        0,   1,  "max"),
    ("M-06", "Backups with tested restore (%)",      m06_backups_tested_restore, 100, 90, "min"),
    ("M-07", "Certificates < 30 days",               m07_expiring_certificates,      0,   1,  "max"),
    ("M-16", "Expired exceptions not reviewed",      m16_expired_exceptions,         0,   1,  "max"),
]


def evaluate(value, target, threshold, direction):
    """Returns OK / WARNING / ALARM. 'direction' says whether more is better."""
    if value is None:
        return "NO DATA"
    if direction == "min":                     # "the higher the better" targets
        if value >= target: return "OK"
        return "ALARM" if value < threshold else "WARNING"
    if value <= target: return "OK"            # "the lower the better" targets
    return "ALARM" if value >= threshold else "WARNING"


def main():
    OUTPUT.mkdir(parents=True, exist_ok=True)
    csv_path = OUTPUT / f"metricas_{TODAY.year}.csv"
    new_file = not csv_path.exists()
    summary_lines, alarms = [], []

    with csv_path.open("a", newline="", encoding="utf-8") as f:
        writer = csv.writer(f)
        if new_file:
            writer.writerow(["date", "metric", "name", "value",
                             "target", "threshold", "status", "detail"])
        for mid, name, function, target, threshold, direction in METRICS:
            value, detail = function()
            status = evaluate(value, target, threshold, direction)
            writer.writerow([TODAY, mid, name, value, target, threshold, status, detail])
            summary_lines.append(f"{status:9} {mid}  {name:38} {value}   ({detail})")
            if status == "ALARM":
                alarms.append(f"{mid} {name}: {value} - {detail}")

    summary = OUTPUT / f"resumen_{TODAY.isoformat()}.txt"
    body = [f"SECURITY DASHBOARD - Rutalia - {TODAY.isoformat()}", "=" * 72]
    body += summary_lines
    body += ["", f"ACTIVE ALARMS: {len(alarms)}"] + [f"  - {a}" for a in alarms]
    body += ["", "Non-automatable metrics (manual entry in the monthly report):",
             "  M-08/09/10 MTTD, MTTC, MTTR  - from the incident log",
             "  M-13/14/15 people            - from the platform and REG-RUT-03",
             "  M-17 residual risk           - from the riesgos.csv register"]
    summary.write_text("\n".join(body), encoding="utf-8")
    print("\n".join(body))

    if alarms:                                  # proactive alert, don't wait for someone to look
        subprocess.run(["/usr/local/bin/avisar_seguridad.sh",
                        f"{len(alarms)} alarms on the dashboard"], check=False)


if __name__ == "__main__":
    main()

The design decisions that will keep this script running in 2032

  • One source being down does not break the collection. _load_json returns None and warns. A script that fails completely because a file is missing stops being run within three weeks, and nobody notices that there are no metrics.
  • "No data" is distinguished from "zero". They are radically different things: zero critical vulnerabilities is good news; "we couldn't check" is a problem. Mixing them up produces dashboards that are green because something has broken.
  • The history is cumulative, one row per measurement and per metric. That way the CSV can be used to plot trends without any additional tool, which is what is really presented to the committee.
  • Every metric carries its text detail alongside it. "94%" does not let you act; "94%; 4 devices not reporting: PC-ALM-12, PC-OFI-07…" does. The detail turns a metric into a task.
  • It alerts proactively when there are alarms. A dashboard you have to go and look at gets looked at for the first few weeks. One that alerts you works. It is the same lesson as INC-2028-014: alerts existed and there was no channel to raise them.
  • What cannot be automated is declared explicitly, rather than left out. Whoever reads the summary knows what has to be added by hand, and it amounts to three lines a month.

Real maintenance cost: about 3 hours a month, almost all of it spent reviewing the details and filling in the manual items. That is exactly the bar set by the "cheap to obtain" property.


  1. The three-layer dashboard

The most common mistake is to have a single dashboard and show it to everyone. Senior management does not need to know how many certificates are expiring; the technical team cannot work with a quarterly traffic light.

flowchart TB
    subgraph OP["<b>OPERATIONAL LAYER</b> - weekly - for the IT team"]
        O1["Open alerts and their age<br/>Devices without EDR or not reporting<br/>Pending critical patches<br/>Certificates < 30 days<br/>Failed backups this week"]
    end
    subgraph TA["<b>TACTICAL LAYER</b> - monthly - for Laura"]
        T1["The 17 metrics with a 12-month trend<br/>Active alarms and their plan<br/>The month's incidents and their times<br/>Progress on committed actions<br/>Budget consumption"]
    end
    subgraph ES["<b>STRATEGIC LAYER</b> - quarterly - CSI-RUT and senior management"]
        E1["One page: risk, incidents,<br/>plan progress, compliance,<br/>decisions requested"]
    end
    O1 -->|"aggregates"| T1
    T1 -->|"selects and translates"| E1
    E1 -.->|"decisions and priorities"| T1
    T1 -.->|"specific actions"| O1
    style OP fill:#e8f0fe
    style TA fill:#fef7e0
    style ES fill:#e6f4ea
Layer Who When Format Question it answers
Operational Diego and the team Monday, 15 min On-screen to-do list What needs doing this week?
Tactical Laura First Friday of the month, 1 h The 17 metrics with trends Is the programme heading where it should?
Strategic CSI-RUT + senior management Quarterly, 20 min of the committee One page Are we better off, and what needs deciding?

The dotted return arrow is what turns this into a system: the committee's decisions are translated into tactical priorities, and those into the week's operational tasks. A dashboard in which information only flows upwards is a report; one in which decisions flow down is management.


  1. The one-page quarterly dashboard, and how to break bad news

SECURITY DASHBOARD - Q4 2029 - Rutalia Logistica - CSI-RUT 2029-12-17
Laura Mendez - 1 page

1. WE ARE BETTER OFF THAN A YEAR AGO. WHERE IT SHOWS
   - Detection: 80 min (Nov-28) compared with 11 days (Jul-28). This quarter,
     the only incident was detected in 3 h 10 min.
   - Backups: 100 % of critical assets with a tested restore.
     A year ago: 40 %.
   - People who report: 43 % in the last simulation. In April it was 7 %.
   - Overall risk: we have come down from 128 to 118 (internal scale; it is
     for comparing ourselves with ourselves, not with anyone else).

2. WHAT HAPPENED THIS QUARTER
   - 1 minor incident: unauthorised mining on the web server
     (INC-2029-017). 6 days undetected. Cost 2,940 EUR.
     No impact on data or customers.
   - 41 reports from the workforce; 3 turned out to be something, 38 did not.
     The 38 are good news too.
   - Simulation C-03 passed with the best result to date.

3. WHAT IS NOT GOING WELL, AND WHAT WE WILL DO
   - IT TOOK US 6 DAYS TO SPOT THE MINING. We had no alert for
     anomalous consumption on the DMZ servers. It is our gap, not
     bad luck. Action: sustained CPU alert in the DMZ, 4 hours of
     work, done on 2 December. Already tested.
   - On average we take 6.8 hours to reply to people who report things; our
     target is 4. Action: rotating morning and afternoon review
     of the queue, from January.
   - Web filtering: committed for 2029, not delivered for lack of hours.
     Moves to 2031 in the plan. The associated risk is accepted in writing.

4. PROGRESS ON THE 2029 PLAN
   Committed actions: 24 - Closed: 19 (79 %) - In progress: 3 -
   Deferred by decision: 2.  Budget: 71,100 / 73,660 EUR (97 %).

5. DECISIONS WE ARE ASKING FOR TODAY
   a) Approve the 2030 portfolio (19,500 EUR and 420 hours) - see annex.
   b) Close EXC-2027-014 (ERP supplier) on 31/12 or extend it
      with a new expiry date.
   c) Decide whether to open the ISO 27001 assessment in Q1.

REFERENCE: July 2028 cost 49,407 EUR. Last quarter, 2,940 EUR.

How to break bad news

Section 3 is the most important one on the page and the one that separates a credible Security Manager from one who is not. There is a right way to give senior management bad news, and it has five elements, all of them present in the mining example:

  1. It is told first, without anyone asking. Bad news that comes out through another route costs twice as much and destroys trust in everything else you say.
  2. The fact is stated in one sentence, without embellishment. "It took us 6 days to spot it." Not "an opportunity for improvement has been identified in the detection capabilities of the perimeter environment".
  3. It is owned. "It is our gap, not bad luck." That sentence buys more credibility than any chart. The alternative —looking for an external culprit, the attacker's sophistication, the lack of budget— makes every subsequent report suspect.
  4. The fix is brought along, already done or with a date. "4 hours of work, done on 2 December, already tested." Bad news with no action generates anxiety and questions; with action, it generates confidence.
  5. It is sized honestly. €2,940 against €49,407. Neither played down nor dramatised.

And one thing that is not done: hiding the bad news among twenty good ones. Rutalia's page has a section headed "what is not going well", in plain sight, with three entries. Paradoxically, that section is what makes section 1 credible: a report that only brings good news is believed by nobody, and rightly so.


  1. The traps: Goodhart, vanity, comparisons and orphan metrics

Goodhart's law

"When a measure becomes a target, it ceases to be a good measure." It is not an academic curiosity: it is the mechanism by which security dashboards degrade.

If you reward… What happens in practice
Lowering the phishing click rate Campaigns get easier and easier. The number goes down, the capability does not change
Closing security tickets quickly They are closed without being resolved, reopened under another number, or classified as "not applicable"
Reducing the number of open vulnerabilities They are marked as false positives or assets are excluded from the scope of the scan
Reducing the number of incidents The worst of all: fewer incidents are recorded. People stop reporting and the apparent MTTD improves because only what is detected early gets recorded
Increasing training coverage Attendance is signed without attending; the module is opened and left to run
Reducing MTTD The clock starts being counted from the alert instead of from the first observable event

The three defences that work:

  1. Metrics in pairs that counterbalance each other. Click rate with reporting rate and declared difficulty. Tickets closed with tickets reopened. Vulnerabilities closed with vulnerabilities marked as false positives.
  2. Written, frozen definitions. "MTTD is measured from the first observable event in the logs, not from the alert." If the definition changes, the date of the change is noted and marked in the historical series.
  3. Do not link metrics to individual incentives. The moment someone's bonus depends on a number, that number stops measuring reality. Security metrics are for managing the programme, not for assessing people.

Vanity metrics

These are the ones that produce a big, impressive number that tells you nothing:

Vanity metric Why it says nothing
"We blocked 4.2 million attacks this month" It measures the background noise of the internet. It goes up if you change email provider and down if your connection drops. It does not depend on your decisions
"99.97% of malicious emails filtered" The remaining 0.03% is what causes the incidents. The percentage hides the absolute number, which is what matters
"Our security index is 74/100" An opaque aggregate of incomparable things. If it drops to 71, what do you do?
"Zero incidents this year" It may mean you are in good shape, or that you are not finding out. Without detection metrics alongside, the two are indistinguishable

The last one deserves a special warning, because it is the one most often presented with pride. "Zero incidents" without MTTD, without detection coverage and without spontaneous reports is not good news: during INC-2028-014, Rutalia had spent eleven days with "zero incidents".

Comparisons with the industry

Sector reports publish averages —"the average MTTD in the sector is X days"— and the temptation to compare yourself is enormous. It has little value, for four specific reasons: the definitions do not match (when do they start the clock?); the populations are not comparable (an average that includes multinationals does not describe an SME of 180 people); there is publication bias (the companies that answer those surveys are not a random sample); and, above all, it is not actionable: knowing that you are above or below an average does not tell you what to do on Monday.

The legitimate use of an external comparison is twofold and limited: to calibrate an estimate when you have no data of your own (the ARO in 08-02) and to put a figure in context for senior management. The illegitimate use is setting targets: "we want to be at the sector average" is a target with no content.

Orphan metrics

The most hygienic rule of all: if a metric has gone three periods without prompting any decision, it is removed from the dashboard. It is not archived "just in case": it is removed. Every metric costs collection time, attention and credibility. Rutalia removed two in the 2029 review: "number of active Suricata rules" (it grew on its own and meant nothing) and "number of VPN logins per month" (operational information, not security information). Removing metrics is a sign of maturity, not of neglect.


  1. The SOC: what it really does and at what levels

A security operations centre (SOC) is not a room full of screens. It is a function: someone who looks, every day, at what the systems are saying, and who acts when something does not fit. That function exists in every organisation that defends itself; the question is not whether you have it, but who performs it and with what coverage.

The six activities that make up the function:

Activity What it is Who does it at Rutalia
Monitoring Collecting and watching signals from the systems 24×7 Sentinela MDR
Triage Deciding whether an alert deserves attention and at what priority Sentinela MDR (level 1)
Investigation Understanding what has happened: scope, vector, impact MDR (level 2) + Laura and Diego
Response Contain, eradicate, recover Rutalia, supported by CiberTest
Detection engineering Creating, tuning and retiring rules Rutalia + MDR
Threat hunting Proactively looking for what no alert has triggered MDR quarterly + Rutalia occasionally

And the three classic tiers, which in an SME collapse into two:

Tier Function Profile At Rutalia
L1 Triage: classify, discard the noise, escalate Analyst following a script Outsourced to the MDR. It is the most voluminous work and the least specific to your business: the natural candidate for outsourcing
L2 Investigation: reconstruct, correlate, decide scope Experienced analyst Shared: the MDR provides technical capacity, Rutalia provides context
L3 Engineering, hunting, advanced forensics Specialist Rutalia for its own rules; CiberTest on retainer for forensics

Why L1 is the natural candidate for outsourcing, in numbers: if the MDR filters 4,000 daily events down to 12 alerts that require judgement, doing that filtering in-house would require 24×7 coverage. Covering 24×7 with your own staff requires between 5 and 6 full-time people just to be present (three shifts, weekends, holidays and sick leave). For a company with ten people in IT in total, that is not an option: it is a fantasy.


  1. The five real options for an SME

Option Indicative annual cost Coverage What has to be provided from inside When it makes sense
Do nothing (look when you can) €0 Working hours, with luck Everything, with no time to do it Never as a conscious choice; it is where Rutalia was in 2028, and it cost €49,407
In-house 24×7 SOC €200,000-400,000 (5-6 people + tools) 24×7 Everything: hiring, training, retaining, covering absences From several hundred employees upwards and with strong regulatory requirements. Disproportionate for an SME
Managed MDR (Rutalia's choice) €16,000 (includes EDR) 24×7 Business context, decisions, response, an up-to-date inventory, supplier governance The default option for an SME with assets that matter
Shared sector SOC (association, cooperative, group of companies) €8,000-25,000 Variable, often 12×5 or 24×7 with on-call The same as for MDR + taking part in governance When the group exists and the sector shares threats. Very interesting in logistics, but it depends on the group existing
Hybrid (MDR + in-house L2/L3 capability) €16,000 + 0.3-0.5 people 24×7 + depth One person with protected time for detection and hunting The natural destination as the programme matures. It is where Rutalia is heading in 2031

The calculation that needs doing, and that almost nobody does

The honest comparison between MDR and an in-house SOC is not "€16,000 against €300,000", because they are not the same thing. The comparison is:

Item MDR In-house SOC
Direct cost €16,000 €200,000-400,000
Night-time and public holiday coverage Included Requires 5-6 people
Knowledge of threats from other customers Included and valuable: they see the attack at another customer before it reaches you Only your own
Knowledge of your business Limited: you have to provide it and keep it up to date Complete
Dependence High: if you leave, you leave without the rules or the history None
Time to get up and running 4-8 weeks 12-18 months
Staff turnover risk The provider's, not yours Yours, and it is high for this profile

The row that decides it for an SME is not the cost: it is the last but one. Hiring and retaining security analysts is hard even for large organisations, and an SME that manages to hire a good one will lose them within eighteen months. An MDR turns a recruitment problem into a contract.


  1. Governing an MDR provider

Contracting an MDR is not delegating security: it is taking on a critical supplier, with everything that implies according to 06-04. It is TR-04 in Rutalia's third-party inventory and it is managed as such.

What it is required to do by contract

Requirement How it is spelt out in the contract with Sentinela MDR
Declared coverage 24×7×365, with its own staff (not subcontracted without notice)
Triage SLA Critical alert: contact within 15 min. High: 1 h. Medium: next working day
Human contact SLA A phone call, not just an email, for critical severity
Agreed containment capability It may isolate an endpoint automatically; it may not isolate servers or shut down services without Rutalia's authorisation
Monthly report Alerts, false positives, new rules, coverage, recommendations
Quarterly service meeting With Laura; review of cases, tuning of rules and thresholds
Portability of data and rules When the contract ends, handover of the custom rules and 12 months of history in an open format
Notification of its own incidents If the provider suffers an incident, notice within 24 h (clause from PRO-RUT-12)
Sub-processors A closed list, with prior authorisation required to add to it
Data location EU, with an article 28 contract and a transfer analysis

How compliance is verified

An SLA nobody checks is a sentence in a PDF. Rutalia verifies it in three ways:

  1. A controlled trigger test, every six months. A real detection is generated on a lab machine —a known tool on a test machine, coordinated and documented— and the time the MDR takes to ring is measured. In the May 2029 test they took 11 minutes; in November, 23, which led to a conversation at the quarterly meeting. Without that test, nobody would have known.
  2. A review of the quarter's cases: a sample of five alerts, comparing the real triage time with the declared one.
  3. A critical reading of the monthly report: if the number of false positives does not fall quarter by quarter, the provider is not tuning anything.

What an MDR cannot do for you

This list is worth having in writing, because the fantasy that "the MDR takes care of it" is the cause of the worst scares:

  • It does not know your business. It does not know that the process that eats CPU every night at the end of the month is the accounting close, or that srv-erp01 cannot be shut down on a Tuesday morning.
  • It does not decide for you. It can recommend isolating a server; the decision to stop invoicing is Rutalia's.
  • It does not answer to your customers or to the AEPD. The controller is still Rutalia.
  • It does not maintain your inventory. If there is a device with no agent, the MDR does not see it: it cannot watch what it does not know exists. EDR coverage (M-01) is your responsibility, and it is what determines the real value of the service you are paying for.
  • It does not cover what you do not give it. If MiRutalia's logs do not reach its platform, it does not watch them. The scope is agreed and reviewed.
  • It does not replace detection engineering specific to your environment. Its rules are generic and good; the ones that detect abuse of the Alventa token you have to write yourself.

The dependence risk

It is recorded as a risk in the register in 08-02 and mitigated with four cheap measures: contractual portability of rules and history; keeping an in-house copy of the logs of the critical systems, independent of the provider's platform; maintaining a minimum in-house investigation capability (Laura and Diego know how to use the consoles and read the logs); and reviewing the market every three years, even if you do not switch. That last one is not distrust: it is the only way to know whether the price and the service are still reasonable.


  1. What always stays in-house

Stays inside Why
The decision Isolating a production server, stopping invoicing, notifying a customer or the AEPD are business decisions with consequences only the company can take on
The business context Which asset is critical, what downtime window is acceptable, which process is normal even if it looks odd, who is who
Containment of critical systems A third party must not be able to shut down srv-erp01. The cost of a containment error on the wrong system can exceed that of the incident
The relationship with customers and regulators It cannot be handed over: it is the controller's responsibility
The inventory and coverage Nobody from outside can know which devices ought to exist
Prioritisation and budget That is the risk management from 08-02
Institutional memory Why what was decided was decided. Suppliers change; the memory has to stay

The rule that sums this up: you can outsource the watching; you cannot outsource the judgement. When an organisation outsources its judgement too, what invariably happens is that the provider's recommendations are applied unfiltered as long as they are cheap and ignored when they are expensive, without anyone assessing which ones mattered.


  1. Detection engineering: from indicator to rule

Detection engineering is the discipline of turning knowledge about attacks into rules that fire when they should. It is the highest-value work the in-house team can do, because it is the only work nobody from outside can do equally well: the best rules are the ones that know your environment.

flowchart LR
    A["<b>INPUT</b><br/>Own incident<br/>Threat report<br/>Pentest<br/>Threat hunting<br/>ATT&CK coverage gap"] --> B["<b>HYPOTHESIS</b><br/>'If someone did X,<br/>we would see it in Y'"]
    B --> C{"Is there<br/>enough data?"}
    C -->|"No"| D["First generate<br/>the data: enable logging,<br/>extend scope"]
    D --> B
    C -->|"Yes"| E["<b>IMPLEMENT</b><br/>Write the rule<br/>Document the record"]
    E --> F["<b>TEST</b><br/>Controlled trigger<br/>in the lab"]
    F --> G{"Does it fire?"}
    G -->|"No"| E
    G -->|"Yes"| H["<b>TUNE</b><br/>2-4 weeks in warning mode<br/>Measure false positives"]
    H --> I{"Acceptable FPs?"}
    I -->|"No"| J["Refine threshold<br/>or documented<br/>exceptions"]
    J --> H
    I -->|"Yes"| K["<b>PRODUCTION</b><br/>With an alert channel<br/>and an owner"]
    K --> L["<b>SIX-MONTHLY REVIEW</b><br/>Still firing?<br/>Still useful?"]
    L -->|"Obsolete"| M["<b>RETIRE</b><br/>Document why"]
    L -->|"Current"| K
    style B fill:#e8f0fe
    style K fill:#e6f4ea
    style M fill:#fce8e6

The step almost nobody draws is the "is there enough data?" diamond. Half of all good detection ideas come to grief there: the hypothesis is right, but the necessary log is not being collected. In that case, the action is not to write the rule, it is to generate the data first. That is exactly what happened at Rutalia with the detection of denied access in MiRutalia: there was no way of detecting an IDOR pattern until the application started emitting delivery_note.access_denied, in October 2029 (08-01).

The other critical step is testing with a controlled trigger. A rule that has never been seen to fire is a rule nobody knows works. That was precisely the most expensive lesson of INC-2028-014, and it is worth recalling precisely: SID 1000001 looked for regular TLS connections at intervals of ~60 seconds. The implant called home every 4 hours during its dormant phase. The rule was correct, it was active, and it was completely blind for twelve days. It did not fire until the attacker switched to interactive mode, on 8 July at 22:10.

That is where SID 1000006 came from, corrective action A-06 in the post-incident plan.


  1. The lifecycle of a detection rule

The rule record

Every in-house rule has a record. Without one, in two years nobody will know why it exists or whether it can be touched, and the usual consequence is that nobody dares to retire anything and the rule set becomes an untouchable pile.

DETECTION RULE RECORD - SID 1000006
========================================================================
Name:          Low-frequency beaconing (1 to 24 h)
Status:        PRODUCTION          Revision: 3        Date: 2029-09-12
Author:        L. Mendez + CiberTest        Current owner: L. Mendez

1. ORIGIN
   Corrective action A-06 in the post-incident plan for INC-2028-014.
   SID 1000001 looked for ~60 s regularity; the implant called home every
   4 h in its dormant phase and went undetected for 12 days.

2. HYPOTHESIS
   A command and control channel in its dormant phase produces very
   regular, low-volume outbound connections to a single destination,
   at intervals of between 1 and 24 h and from very few devices.

3. WHAT IT DETECTS (ATT&CK techniques)
   T1071.001 Web Protocols - T1573 Encrypted Channel -
   T1029 Scheduled Transfer

4. DATA SOURCE
   Flows from fw-zgz01 + Suricata eve.json on sec-sensor01.
   Requires a minimum retention of 30 days to observe the regularity.

5. LOGIC (summary)
   Group by (source, destination, port) over a 7-day window.
   Fire if:   n_connections >= 20
         and  standard deviation of the interval < 5 % of the mean
         and  mean interval between 3,600 s and 86,400 s
         and  bytes per connection < 8 KB
         and  destination is not on the list of known services

6. WHAT IT DOES NOT DETECT (declared limits)
   - Beaconing with interval randomisation (jitter) > 10 %.
   - Channels that use a legitimate high-reputation service as an
     intermediary (that is why rule 1000002 for SNI exceptions exists).
   - Traffic that does not pass through the sensor (same VLAN).

7. TRIGGER TEST
   Lab with a simulated implant at a 4 h interval, 2029-09-05.
   Fired correctly on the 21st connection (day 4).  Repeat: six-monthly.
   Last repeat: 2029-11-14 - OK.

8. KNOWN FALSE POSITIVES AND EXCEPTIONS
   - ERP licence check (srv-erp01 -> the vendor's licensing
     service, every 12 h). Documented exception, reviewed 2029-09.
   - A006 probes to the manufacturer's portal (every 6 h).
     Exception that EXPIRES with the replacement of the probes (03/2030):
     when they are retired, retire the exception as well.

9. PERFORMANCE IN PRODUCTION
   Fired in the last 12 months: 7.  True positives: 1 (an authorised
   CiberTest test).  False positives: 6, all now covered
   by exceptions.  Alerts per week: < 0.2.

10. ALERT CHANNEL
    Email to seguridad@ + phone alert from the MDR (HIGH severity).
    Verified in the trigger test of 2029-11-14.

11. RETIREMENT CRITERION
    Retired if: (a) the sensor stops seeing that traffic because of an
    architecture change, (b) the MDR adds an equivalent, better detection,
    or (c) 24 months with no firing and no tests passed.
========================================================================

The sections that make the difference

  • Section 6, "what it does not detect", is the most valuable and the one that never gets written. A rule whose limits are declared lets you know what is still not covered, which is the input for the next cycle. A rule with no declared limits produces the illusion of coverage, which is exactly what happened with SID 1000001.
  • Section 8, with an exception that expires along with the probes, solves a real problem: detection exceptions outlive the systems that justified them and become permanent blind spots. It is the same principle as REG-RUT-08: every exception has a date.
  • Section 9, performance, makes it possible to decide on the basis of data whether the rule is worth what it costs. Fewer than 0.2 alerts a week with the exceptions in place is a healthy rule.
  • Section 11, the retirement criterion, is what stops the rule set from growing indefinitely. Without it, nobody ever retires anything "just in case", and in five years the sensor is running four hundred rules that nobody is answerable for.

  1. Coverage against MITRE ATT&CK and detection debt

The ATT&CK framework from 01-04 is useful for something very practical: as a map for deciding what to detect next. The idea is simple: you place each rule and each data source on the techniques they cover and look at where it is dark.

Rutalia's heat map, December 2029

ATT&CK tactic Coverage With what Main gap
Reconnaissance Low WAF, portal logs Almost nothing is detectable; it is accepted and not invested in
Initial Access Medium Email filtering, EDR, WAF, reports from the workforce No category-based web filtering (CIS control 9)
Execution High EDR, macro blocking, Office child process rule —
Persistence High EDR, alerts on new scheduled tasks and services Persistence on IoT devices and tablets
Privilege Escalation Medium EDR, events 4672/4720, LAPS Escalation inside applications (MiRutalia)
Defense Evasion Medium EDR, event 1102 (log clearing), stopped agent alert Advanced obfuscation; no in-house analysis capability
Credential Access Medium EDR, LSASS access alert, MFA Credentials in files and repositories: covered since 2029 by Gitleaks
Discovery Low Suricata (internal sweeps) "Quiet" discovery using system tools
Lateral Movement High SID 1000004, type 3 4624 events, segmentation Movement within the same VLAN (the sensor does not see it)
Collection Medium SID 1000005, C9999 canaries Slow, low-volume collection
Command and Control High SID 1000001, 1000002, 1000006, MDR Channels over legitimate high-reputation services
Exfiltration Medium SID 1000003, canaries, DLP pending Exfiltration over encrypted channels to legitimate services
Impact High EDR (encryption behaviour), immutable backups Impact on cyber-physical systems (A006 probes)

How this map is used to decide

It is not about painting everything green: covering all of ATT&CK is impossible even for enormous organisations, and chasing it with a team of ten people guarantees doing nothing well. It is used with three criteria:

  1. Prioritise the tactics that appear in your real incidents and your threat hypotheses. Rutalia has high coverage in command and control, lateral movement and impact because those are exactly the phases of INC-2028-014 and of its hypothesis H1.
  2. Explicitly accept what you are not going to cover. Reconnaissance is almost undetectable and detecting it adds little value: it is declared as not covered and you stop thinking about it. Declaring a gap is better than ignoring it, because it stops it from turning up as a surprise in an audit.
  3. Cross-check with what has already been decided for other reasons. The exfiltration gap is closed by DLP, which is already in the portfolio of measures because of risk R-03. No new project is needed: what is needed is not to forget that the measure also closes this gap.

Detection debt

This is the set of detections you know you need and that do not exist yet. It is managed exactly like technical debt: it is written down, prioritised and paid off, rather than vaguely remembered.

id,pending_detection,attack_tactic,source,effort_h,priority,blocked_by,status
DD-01,"Sustained anomalous CPU consumption on DMZ servers",Impact,"INC-2029-017",4,HIGH,"-",Done 2029-12-02
DD-02,"IDOR pattern: multiple delivery_note.access_denied from the same user",Discovery,"Threat model MA-01",6,HIGH,"-",In progress
DD-03,"Anomalous use of the Alventa API token (volume, time, IP)",Exfiltration,"Risk R-16",16,HIGH,"Integration Q1 2030",Pending
DD-04,"Bulk download from M365 by a single user",Collection,"Risk R-03",8,MEDIUM,"M365 audit licence",Pending
DD-05,"Alert on EDR agent stopped or uninstalled",Defense Evasion,"Gap analysis",2,HIGH,"-",Done 2029-06-15
DD-06,"Lateral movement within the same VLAN",Lateral Movement,"ATT&CK map",40,LOW,"Requires additional probes",Deferred
DD-07,"Inconsistent telemetry from A006 probes (suspicious flat value)",Impact,"PEN-2029-02",12,MEDIUM,"Probe replacement 03/2030",Pending
DD-08,"Privileged account created outside a change window",Privilege Escalation,"Audit AI-2029-01",3,MEDIUM,"-",In progress

Three things this register teaches. The blocked_by column is the most useful: it distinguishes what has not been done for lack of time from what cannot be done yet because it depends on something else. DD-06 is deferred for an honest reason (40 hours and additional hardware for a low-priority gap), and that is a decision, not an oversight. And DD-01 shows the cycle working: an incident produced a specific detection with four hours of work, three weeks later.


  1. Continuous improvement: the PDCA cycle applied to the programme

The PDCA cycle (plan, do, check, act) is the backbone of ISO 27001 and of almost every management system. Stated like that, it sounds like a formality; applied to the security programme, it is simply a description of how a programme stops ageing.

flowchart LR
    P["<b>PLAN</b><br/>Risk register<br/>Portfolio of measures<br/>Objectives and metrics<br/>Budget"] --> D["<b>DO</b><br/>Carry out the measures<br/>Operate the controls<br/>Train<br/>Respond"]
    D --> C["<b>CHECK</b><br/>Metrics<br/>Internal audit<br/>Pentest<br/>Drills<br/>Post-incident reviews"]
    C --> A["<b>ACT</b><br/>Fix what is failing<br/>Update the register<br/>Management review<br/>Adjust the plan"]
    A --> P
    EXT["<b>EXTERNAL INPUTS</b><br/>Own incidents - Audits - Pentest<br/>Drills - Business changes<br/>New regulations - Threat intelligence<br/>Customer questionnaires"] -.-> P
    EXT -.-> C
    style P fill:#e8f0fe
    style C fill:#fef7e0
    style A fill:#e6f4ea

The seven inputs that feed the cycle, and what each produced in 2029

Input What it contributed at Rutalia Where it became an action
Own incidents INC-2029-017: 6 days without detecting the mining DD-01, done in 4 h
Internal audit AI-2029-01 8 nonconformities, 3 major, all relating to governance 14 policies, RoPA, PRO-RUT-11
Pentest PEN-2029-01 IDOR and user enumeration CA-S criteria in the development lifecycle
Drills Recovery drill on 20/10/2028: effective RPO of 39 h Redesign of the backup frequency
Business changes Alventa, the CPAA, Bilbao New risks R-15, R-16 and the site opening risk
New regulations NIS2, interpretation of the ENS (the Spanish National Security Framework) Obligations OB-01…OB-17
Threat intelligence Voice cloning in CEO fraud PRO-RUT-15, control word

An observation worth underlining: the input that produced the most high-quality actions was neither the audit nor the pentest, but the organisation's own incidents. An incident is a real, not simulated, test of the whole system at once, and that is why analysing it produces findings no other input generates. The practical consequence: the post-incident review from 05-04 is not a closing formality, it is the programme's main source of improvement, and an organisation that does not do them well is wasting its best information.


  1. The annual management review and its minutes

ISO 27001 requires it in clause 9.3, but it is worth understanding it independently of the standard: it is the only moment in the year when senior management looks at the whole programme and takes decisions about it, rather than about individual incidents.

What goes into the review (mandatory inputs)

  1. Status of the actions from the previous review.
  2. Changes in the context: business, regulation, threats, interested parties.
  3. Results of the metrics and degree to which the objectives were met.
  4. Results of internal and external audits.
  5. Incidents in the period and their conclusions.
  6. Status of the risk register: new, closed, changes of level, exceptions.
  7. Improvement opportunities identified.
  8. Resources: budget spent and needs.

The minutes

MINUTES OF THE MANAGEMENT REVIEW OF THE SECURITY PROGRAMME
Rutalia Logistica S.L. - Financial year 2029 - Minutes CSI-2029-04-RD
Date: 17/12/2029 - Duration: 75 min
Attendees: A. Vidal (Managing Director), L. Mendez (Security Manager),
           D. Salas (Systems), P. Herrero (HR),
           Datalex Compliance (DPO, by video call)

1. STATUS OF THE ACTIONS FROM THE PREVIOUS REVIEW (2028)
   12 actions in plan A-01..A-12: 12 closed and verified.
   Actual cost 12,980 EUR against 12,440 EUR planned (+4.3 %).

2. CHANGES IN THE CONTEXT
   - Alventa contract renewed with a security annex.
   - CPAA tender: requires documentary accreditation in 2030.
   - Opening of the Bilbao depot in 2030 (12 people).
   - NIS2: Rutalia confirmed as an important entity.

3. PERFORMANCE: METRICS AND OBJECTIVES
   13 of 17 objectives met. Not met:
   - M-12 Out-of-hours response: 93 % (target 100 %).
   - M-14 Response time to reports: 6.8 h (target 4 h).
   - M-04 Critical patching: median 9 days (target 7).
   - M-15 Training coverage: 92 % (target 95 %); drivers 88 %.

4. AUDITS
   AI-2029-01: 10 findings, 8 closed as at 17/12. NC-04 and NC-08 in progress
   with a committed date in Q1 2030.
   Pentest PEN-2029-01: 11 findings, 11 fixed and verified.

5. INCIDENTS IN THE YEAR
   3 incidents, none serious. Total direct cost 2,940 EUR
   (compared with 62,677 EUR in 2028). No personal data compromised.
   No notification to the AEPD.

6. RISKS
   15 scenarios. Aggregate risk: 128 -> 118. HIGH risks: 6 -> 5.
   Exceptions: 3 in force, 0 expired without review.
   EXC-2027-014 (ERP supplier) is CLOSED on 31/12/2029.

7. IMPROVEMENT OPPORTUNITIES
   - Rotating review of the reports queue (0 EUR).
   - Automate the collection of quarterly evidence (OM-01, in progress).
   - Assess a shared sector SOC as an alternative to the MDR in 2032.

8. RESOURCES
   Spent in 2029: 71,100 / 73,660 EUR (97 %).
   2030 proposal: 19,500 EUR in projects + 54,800 EUR recurring.

9. DECISIONS AND RESOLUTIONS
   A-2029-04-01  The 2030 portfolio of measures (M1,M2,M3,M4,
                 M5,M7,M9) is approved: 19,500 EUR, 420 hours. Owner: L. Mendez
   A-2029-04-02  EXC-2027-014 is closed with no extension.  Owner: L. Mendez
   A-2029-04-03  The ISO 27001 assessment is opened in Q1, with a
                 go/no-go decision before 30/06/2030.       Owner: A. Vidal
   A-2029-04-04  Bilbao is added to the risk register and the training
                 programme before 31/03/2030.               Owner: L. Mendez
   A-2029-04-05  Rotating queue review from 07/01/2030,
                 with a 4 h target.                         Owner: D. Salas
   A-2029-04-06  It is declared advisable to draw up a Security Master
                 Plan 2030-2032, to be presented at the Q1 committee.
                                                            Owner: L. Mendez

Signed: A. Vidal - Managing Director

Three things make these minutes worth having. First: the objectives not met appear before the ones that were met, with their exact figures. Minutes that only record successes are of no use either as management or as evidence. Second: every resolution has a code, an owner and a date, which makes item 1 of the following year's review verifiable. And third: resolution A-2029-04-06 is the one that opens the last lesson of this course.


  1. Security debt

Just as there is technical debt, there is security debt: conscious decisions not to do something now, which generate "interest" in the form of accumulated risk and more expensive future work.

Type of debt Example at Rutalia Interest it generates
Detection debt The 8 DD-nn entries Longer dwell time when what is not detected happens
Architecture debt Legacy ERP with no support; inherited nftables rules with no justification Every year that passes, migrating costs more and the risk grows
Documentation debt Procedures that exist only in Diego's head (R-08) Dependence on one person and slowness in every incident
Exceptions debt EXC-2028-003, EXC-2029-007 Parked risk that is perceived as resolved
Automation debt Manual collection of evidence (OM-01) Recurring hours and the risk of something being missed

The three rules for managing it, which are the same as for technical debt:

  1. Make it visible. What is not on a list does not exist. DD-nn and REG-RUT-08 are debt lists.
  2. Put interest on it. "Not doing DLP costs X in residual risk a year" is what makes it possible to compare it with other investments.
  3. Pay off part of it every year, always. Reserve a fixed percentage of capacity —Rutalia reserves 15% of project hours— for paying off debt, instead of devoting it all to new initiatives. A programme that only builds ends up buried under what it left half-done.

  1. Maturity: Rutalia's reassessment a year later

What maturity models are, and what they are really for

A maturity model describes levels of sophistication of a capability: from "does not exist" to "is optimised and improves by itself". There are general ones (CMMI), sector-specific ones (C2M2 for energy, OT-CMM) and security-specific ones (SAMM and BSIMM for development, or the CIS Controls implementation scales).

They are useful for three things, and only three: structuring a conversation about where you are; ordering an improvement plan into reasonable steps; and measuring your own progress over time. They are no use for comparing yourself with other organisations (assessments are self-declared and the scales are interpreted differently), for setting an abstract goal ("we want to be level 4"), or as a substitute for risk analysis, which is what really tells you what to improve first.

The scale Rutalia uses, from 0 to 4:

Level Meaning
0 Does not exist
1 Exists informally or partially; no process or evidence
2 Defined and applied, but without systematic verification
3 Defined, applied, evidenced and verified periodically
4 All of the above plus measurement and continuous improvement based on data

The jump from 2 to 3 is the one that is hard and the one that is worth it: that is where evidence appears. The jump from 3 to 4 requires metrics, which is why it only makes sense to pursue it where it really matters.

The December 2030 reassessment

# CIS control 2029 2030 What moved it
1 Inventory of enterprise assets 1 3 Automated inventory from the EDR and the directory, checked monthly
2 Inventory of software assets 0 2 Authorised list and monthly report; no application control, hence 2 and not 3
3 Data protection 3 3 Did not improve: DLP was postponed to 2031
4 Secure configuration 3 4 Automated quarterly drift check
5 Account management 3 4 Inventory of service accounts with owners + automated review
6 Access control management 3 4 MFA at 100%, including keys on privileged accounts
7 Continuous vulnerability management 3 4 Scope extended to tablets and new probes; metrics M-04 and M-05
8 Audit log management 3 4 Automated quarterly retention check
9 Email and web browser protections 2 2 Did not improve: web filtering was postponed
10 Malware defences 3 4 100% coverage + stopped agent alert (DD-05)
11 Data recovery 4 4 Maintained; second annual drill since 2030
12 Network infrastructure management 3 4 Clean-up and documentation of rules, forced by the opening of Bilbao
13 Network monitoring and defence 3 3 Did not improve: the six-monthly rule review was done once, not twice
14 Security awareness and skills training 1 3 Full programme from 08-03, with evidence
15 Service provider management 1 3 Inventory, contracts, questionnaires and annual review
16 Application software security 2 3 Lifecycle from 08-01; DAST still needed to reach 4
17 Incident response management 4 4 Maintained; regulatory clocks built in
18 Penetration testing 3 3 Annual pentest established; level 4 is not being pursued (section 20)

Average: 3.4 out of 4, compared with 2.6 a year earlier.

The three areas that did not improve despite having a committed action, and why

Control Committed action What happened Honest reading
3 — Data protection Basic DLP in M365 for the 4 levels Postponed to 2031 for lack of hours, not money The team's capacity was the constraint, just as foreseen in the portfolio in 08-02. It was a decision, not a failure, and it is documented as a risk acceptance
9 — Email and browser Category-based web filtering Postponed for the same reason The same. Risks R-01, R-09 and R-14 stay at their level, with formal acceptance by senior management
13 — Network monitoring Six-monthly review of rules and false positives It was done once out of the two planned. Nobody noticed until the reassessment This one is a real failure, and of the most dangerous kind: a recurring task with no explicit owner or reminder. Action for 2031: assign it to a person with a date in the calendar and turn it into a metric

The difference between the first two cases and the third is the lesson of the section. The first two are conscious postponements, decided in committee, with a signed risk acceptance. The third is a task that simply evaporated because it had no owner and no date. From the outside, all three look the same —a control that did not go up—; from the inside, two are management and one is a hole in the process. A mature programme distinguishes between those two things in its own report, because if it treats them the same it will end up treating conscious postponements as failures and real failures as decisions.


  1. When to stop investing in an area

The question almost nobody asks, because in security you can always do more. And yet it is essential: capacity is finite, and every hour spent perfecting an area that is already good is an hour not spent on an area that is bad.

Five criteria for deciding that an area already has enough attention:

  1. The residual risk is within the declared appetite, and the register says so. This is the main criterion and the only formal one.
  2. The marginal cost exceeds the marginal reduction in risk. Going from 97% to 100% EDR coverage is worth a great deal; going from 100% to 100% with hourly rather than daily verification is not.
  3. The area no longer appears in incidents, pentests or audits for two consecutive cycles.
  4. The next improvement requires capabilities you do not have and whose acquisition is not proportionate.
  5. There is another area with greater risk competing for the same hours. There always is.

The case of control 18 (penetration testing) illustrates all five. Rutalia has an annual pentest under contract, with a report, follow-up of findings and verification of fixes: level 3. Moving up to level 4 would require a continuous testing programme —bug bounty, red team, quarterly tests— that costs tens of thousands of euros a year, needs an application much larger than MiRutalia to make sense, and would reduce a risk that is already within the appetite. The right decision is to stay at 3 and put it in writing, with its justification, so that the next audit does not interpret it as a gap and the next Security Manager does not "discover" it as a pending task.

That is the opposite of complacency: it is prioritisation. And it is the reason why a dashboard with everything green is not a good sign either. If all your metrics are meeting their targets, either your targets are not demanding enough or you are investing in the wrong place.


Common Mistakes and Tips

Mistake 1: measuring activity and presenting it as an outcome. "We have applied 340 patches" does not say whether you are better off. Tip: apply the test: if the number improves, is the organisation better protected? If the answer is "it depends", it is an activity metric.

Mistake 2: dashboards with forty metrics. Nobody looks at them, they cost hours and they degrade silently. Tip: between 12 and 18 metrics, each with an owner, and ruthlessly remove those that have gone three periods without prompting a decision.

Mistake 3: confusing the target with the alarm threshold. It produces dashboards that are permanently red and stop being looked at. Tip: define both, with a zone of normal variation between them.

Mistake 4: not distinguishing "no data" from "zero". A dashboard that is green because something has broken is worse than a red one. Tip: make the automated collection declare unavailable sources explicitly.

Mistake 5: linking metrics to individual incentives. It guarantees that the number improves and reality does not. Tip: metrics manage the programme, they do not assess people. And always use metrics in pairs that counterbalance each other.

Mistake 6: boasting about "zero incidents". Without detection metrics alongside, it is indistinguishable from not finding out. Tip: always present it together with MTTD, detection coverage and spontaneous reports.

Mistake 7: believing the MDR "takes care of security". It does not know your business, does not decide, does not maintain your inventory and does not answer to the AEPD. Tip: write down the list of what it cannot do, govern it as a critical supplier and test its SLA with six-monthly controlled triggers.

Mistake 8: piling up detection rules with no record or retirement criterion. Within five years nobody dares to touch anything. Tip: a record per rule, with declared limits, performance and a retirement criterion; and a six-monthly review with an owner and a date in the calendar.

Mistake 9: chasing complete ATT&CK coverage. It is impossible and it distracts you from what really matters. Tip: prioritise according to your incidents and your threat hypotheses, and explicitly declare the gaps you are not going to cover.

Mistake 10: not distinguishing a conscious postponement from a process failure. From the outside they look alike; from the inside they are opposites. Tip: in the annual report, separate the two categories and explain each one.

Final tip: the best indicator that a dashboard works is not how it looks, it is someone arguing about a number in a meeting. If nobody ever asks about any metric, you do not have a dashboard: you have a report.


Exercises

Exercise 1 — Rescuing a useless dashboard

You are hired as Security Manager at a company of 120 people. Your predecessor presented this monthly dashboard to senior management:

SECURITY DASHBOARD - November
- Attacks blocked by the firewall .............. 3,847,221
- Malicious emails filtered .................... 12,408  (99.4 %)
- Security tickets closed ...................... 214
- Patches applied .............................. 1,106
- Training: employees who completed the course . 118/120 (98 %)
- Security incidents ........................... 0
- Overall security index ....................... 82/100

Tasks:

a) Explain what is wrong with each line. b) Propose a replacement dashboard of 8 metrics, with definition, source and threshold. c) Senior management has been seeing "0 incidents" for three years and is satisfied. How do you explain the change without making it look as though everything was going badly and you are now going to make the numbers worse?

Exercise 2 — Designing a detection from an incident

It is January 2031. Rutalia suffers INC-2031-002: an attacker obtains the API token for the Alventa integration (risk R-16 in the register) from a compromised laptop in Alventa's offices, and for nine days downloads delivery data at a low rate: about 300 extra queries a day on top of the usual 4,000, always during working hours and from IP addresses belonging to a cloud provider. It is detected when Alventa reports its own incident.

Tasks:

a) Write the detection hypothesis. b) Is there enough data? What would be needed? c) Draft the rule record, with sections 2, 5, 6, 8 and 11 complete. d) Which detection debt entry (DD-nn) already existed and why had it not been done? What process lesson do you draw?

Exercise 3 — The MDR decision

It is time to renew the contract with Sentinela MDR. You are offered three options:

Option Price Content
A Renew as is €16,000/year The current service: EDR + 24×7 MDR, 15-min SLA on critical alerts
B Reduced plan €9,500/year EDR + 12×5 monitoring (Mon-Fri, 8:00-20:00), 1-h SLA
C Extended plan €27,000/year The current service + monthly threat hunting + managed response (they can isolate servers) + SIEM with application logs

Andrés Vidal asks: "Wouldn't B be enough for us? In three years we've only had minor incidents."

Tasks:

a) Answer the question with data from the course, not opinions. b) Assess option C: which part makes sense and which does not? c) Propose a fourth option if you see one. d) What would you ask the provider for before deciding?


Solutions

Solution to Exercise 1

a) What is wrong with each line

Line Problem
Attacks blocked (3.8 M) Pure vanity. It measures the noise of the internet, not your posture. It goes up if you change provider and down if the line drops. It does not depend on any decision of yours
Emails filtered (99.4%) The percentage hides the only thing that matters: how many got through. If 74 got in, that is what needs looking at, together with how many the workforce reported
Tickets closed (214) Activity, and gameable: it improves by closing without resolving. Without "reopened" alongside it says nothing
Patches applied (1,106) Activity. It does not distinguish between 1,106 irrelevant patches and the three critical ones that are missing
Training 98% Measures completion, not learning or behaviour. It is the Goodhart case from section 8
Incidents: 0 The most dangerous. Without MTTD or detection coverage alongside, it is indistinguishable from not finding out
Overall index 82/100 An opaque aggregate. It is not actionable: if it drops to 79, nobody knows what to do

b) Replacement dashboard of 8 metrics

Metric Definition Source Target Threshold
EDR coverage Devices with an agent reporting within 7 days / inventory EDR + directory 100% < 98%
MFA coverage on privileged accounts Privileged accounts with MFA / total Directory 100% < 100%
Critical patching (median, days) Release → application, critical severity Patch manager ≤ 7 > 14
Critical vulns open > 30 days Count Scanner 0 ≥ 1
Backups with tested restore (90 d) Assets with an RTO tested / total with an RTO Backup report 100% < 90%
MTTD Median minutes from the first observable event Incident log ≤ 60 min > 240
Malicious emails that reached the inbox and were reported Reported / arrived Reports queue + email Rising Falls 3 months
Spontaneous reports from the workforce per month Count Reports queue Rising Falls 3 months

The last two replace "emails filtered" and "training completed", and they measure exactly what those two pretended to measure.

c) How to explain the change to senior management

"The numbers you've been seeing are accurate, but they mainly measure the firewall's work and the team's activity, not what really protects us. The 'zero incidents' is the one that worries me most: it might mean we're doing well or that we're not finding out, and with the current data we can't tell one from the other. I'm proposing to switch to eight indicators that measure whether we find out and how quickly we react. I'm warning you about two things: some of them are going to start in red, and that doesn't mean we've got worse, it means we weren't looking before; and we're going to start recording minor incidents that weren't counted before, so the number of incidents is going to go up. That going up is good news: it means we're seeing them. What I want us to watch is whether the time it takes us to detect them comes down."

The three elements that make this explanation work: it does not disparage the predecessor, it warns in advance that the numbers will get worse —which stops the first red dashboard from looking like your own failure— and it reframes what counts as good news before the data arrives.

Solution to Exercise 2

a) Detection hypothesis

If someone misuses the Alventa token, the usage pattern will deviate from its baseline in at least one of four dimensions —daily volume, time-of-day distribution, source IP addresses or the proportion of queries per distinct shipment— even if the absolute volume still looks normal.

The key lies in the last clause: a 7.5% increase on 4,000 queries does not trigger any absolute threshold. Detection has to be based on deviation from the token's own baseline, not on a fixed cap. It is the difference between a rule that would have worked and one that would not.

b) Is there enough data?

Partly. Since October 2029 there has been application event logging (api.*) with user, source, path and timestamp. What is missing:

  • A calculated, stored baseline: mean and deviation of daily volume, time-of-day distribution and the set of usual IPs, per token, over a rolling 30-day window. Without a baseline there is no anomaly detection, only fixed thresholds.
  • The declared list of Alventa's source IP addresses, which should have been agreed as part of the integration and was not. It is a contractual requirement, not a technical one.
  • Retention of at least 90 days of API events in order to observe deviations over days.
  • Ideally, a record of how many distinct shipments are queried, not just how many requests are made: an attacker sweeping the portfolio queries many distinct shipments with little repetition, and that is a much more specific pattern than volume.

c) Rule record

DETECTION RULE RECORD - API-001
========================================================================
Name:    Anomalous use of an API integration token
Status:  PRODUCTION   Revision: 1   Date: 2031-02-10   Owner: I. Gomez

2. HYPOTHESIS
   Misuse of an integration token deviates from its baseline
   in volume, time of day, source or spread of shipments queried,
   even if the absolute volume looks normal.

5. LOGIC
   Baseline per token, rolling 30-day window:
     mean and deviation of daily volume,
     set of source IPs observed,
     95th percentile of the time-of-day distribution,
     mean number of DISTINCT shipments queried per day.
   Fire (HIGH severity) if on any day any of the following is true:
     a) volume > mean + 3 standard deviations
     b) queries from an IP outside the list declared in the contract
     c) >= 5 % of queries outside the 06:00-22:00 window
     d) distinct shipments queried > 2 x the 30-day mean
   Fire (MEDIUM severity) if (a) or (d) are true for 3 days in a row
   in their soft version (> mean + 1.5 deviations).

6. WHAT IT DOES NOT DETECT
   - Abuse that stays strictly within the baseline
     (for example, 50 extra queries a day): the theoretical limit
     of any anomaly-based detection.
   - Misuse by Alventa within its legitimate scope:
     that is not a technical anomaly, it is a contractual matter.
   - The first 30 days after a token is created: there is no baseline. In that
     period, agreed conservative fixed thresholds are applied.

8. EXPECTED FALSE POSITIVES
   - Month-end closes and one-off Alventa campaigns: prior notice
     from them is agreed; without notice, it is investigated.
   - Changes to the customer's infrastructure: these require the
     IP list to be updated. Reviewed at the six-monthly service meeting.

11. RETIREMENT CRITERION
   Retired if the integration ends or is replaced by a mechanism
   with finer-grained access control (for example, per-query tokens).
   Mandatory review every 6 months or when the contracted volume changes.
========================================================================

d) The debt entry that already existed

DD-03: "Anomalous use of the Alventa API token (volume, time, IP)", HIGH priority, 16 hours, blocked by "Integration Q1 2030", status "Pending".

In other words: the detection had been identified and prioritised as high before the risk existed. The block was legitimate —you cannot calculate a baseline for traffic that does not yet exist—, but what failed is that nobody unblocked the entry when the integration went into production.

The process lessons, which are the real content of the exercise:

  1. A blocked debt entry needs an unblocking trigger, not just a reason for being blocked. The blocked_by column should have a "review when" column next to it: "when the integration has been in production for 30 days".
  2. Putting a new system into production should include, in its checklist, a review of the associated detection debt. It is the same principle as the site opening checklist.
  3. A risk in the register (R-16) and a detection debt entry (DD-03) that refer to the same thing should be linked, so that the quarterly review of the risk forces someone to look at the status of the detection. Registers that are not cross-referenced produce exactly this kind of hole.
  4. And the underlying lesson: nine days of dwell time in 2031 is not a failure of the team, it is a failure of the management system, and so the corrective action is not "be more alert" but to change how risks, detections and go-lives are linked. It is the same conclusion as the five whys of INC-2028-014.

Solution to Exercise 3

a) Answer to Vidal's question, with data

"Andrés, the right question isn't how many incidents we've had, but what time the ones we've had happened and who was watching. Three facts:

First: in INC-2028-014, the three alerts Suricata fired —the beaconing at 22:10, the bulk download at 01:20 and the exfiltration at 02:50— were all in the small hours and at the weekend. None of them had an alert channel. Eleven days of dwell time and €49,407. Option B takes us straight back to that situation: from 20:00 to 8:00 and at weekends, nobody is watching.

Second: ransomware doesn't attack during office hours precisely because it wants nobody to be watching. Our downtime cost is €1,500 an hour; an incident that starts at 22:00 on a Friday and is detected at 8:00 on Monday gives the attacker a 58-hour head start.

Third: the €6,500 we'd save is equivalent to four and a half hours of downtime. Any undetected night-time incident would cost us more than three years' savings.

The fact that we've had few incidents in three years is partly the result of having this cover. Withdrawing it because it has worked is the reasoning that leads you to take down the lightning conductor because lightning has never struck."

b) Assessment of option C

Component Does it make sense? Why
Monthly threat hunting Partly It is valuable, but monthly is excessive for Rutalia's size. Quarterly, already included in the current plan, covers 80% of the value
Managed response (they can isolate servers) No, and this matters It directly contradicts the principle in section 12: containment of critical systems stays in-house. A third party isolating srv-erp01 at 11:00 on a Tuesday can do more damage than the incident. The automatic isolation of endpoints, which is already in place, is kept, and nothing more
SIEM with application logs Yes, and it is the most valuable part of the offer It is exactly what is missing for DD-02, DD-03 and DD-04: MiRutalia and M365 logs correlated. It is the piece that is currently holding up several detections in the debt

Conclusion: option C mixes one very valuable piece, one of medium value and one that is counter-productive. Buying the whole thing would mean paying €11,000 more a year for, among other things, handing over a decision that should not be handed over.

c) Proposed fourth option

Option D: renew A and negotiate the addition of the SIEM with application logs, leaving out managed response on servers and reducing threat hunting to quarterly.

Target price: €20,000-21,000/year (+€4,000-5,000 on top of A). Justification for the committee:

  • It unblocks three detection debt entries (DD-02, DD-03, DD-04) that are currently stuck for lack of a platform, and that correspond to risks R-03, R-05 and R-16.
  • The increase is equivalent to less than three hours of downtime a year.
  • It keeps the containment decision on critical systems in-house.
  • It is conditional on contractual portability also covering the application logs: a provider's SIEM can easily become the strongest dependence mechanism in the contract.

d) What to ask for before deciding

  1. The results of the year's two trigger tests and an explanation of the deterioration from 11 to 23 minutes in November.
  2. The trend in false positives by quarter: if they are not falling, the provider is not tuning.
  3. Details of the real night-time coverage: how many analysts are on duty, whether they are its own staff or subcontracted, and in which country.
  4. Exactly which logs the proposed SIEM ingests, with what retention and in what format they are exported when the contract ends.
  5. References from two customers of similar size and sector.
  6. Its own security posture: the questionnaire from 06-04, current certifications and whether it has suffered incidents of its own. A compromised security provider is the worst possible supply chain scenario, and there are precedents in the sector.

Conclusion

You have learned how to know whether the programme is working and how to sustain it over time, which are the two things that separate a set of controls from a security programme.

You distinguish measuring activity from measuring outcomes, with the test that classifies any metric in five seconds: if the number improves, is the organisation better protected? You know the four properties of a good metric —actionable, comparable, hard to game and cheap to obtain— and the implicit fifth that silently kills most metrics: having an owner. You have the six categories for spotting entire gaps in what you observe, and a master table of seventeen metrics with definition, source, frequency, target, threshold and owner, in which the target and the alarm threshold are different things and the campaign difficulty sits inside the definition of the reporting rate, which is where the defence against Goodhart needs to be.

You have the script that collects them, with the decisions that will keep it running in 2032: that one source being down does not break the collection, that "no data" is not confused with "zero", that the history is cumulative, that every number carries its text detail —because "94%" does not let you act and "94%, these four devices" does—, and that alarms raise an alert instead of waiting for someone to look, which is precisely what failed in July 2028.

You know how to build the three-layer dashboard, with decisions flowing down and not just information flowing up, and you have the one-page quarterly dashboard with its "what is not going well" section in plain sight. And you know how to break bad news: first, without embellishment, owning it, with the fix already done or dated, and sized honestly. Paradoxically, that section is what makes everything else credible.

You know the traps: Goodhart's law with its six concrete manifestations and its three defences; vanity metrics, led by "zero incidents", which during INC-2028-014 was true for eleven days; the little value of comparing yourself with sector averages and their two legitimate uses; and the hygienic rule of removing any metric that has gone three periods without prompting a decision.

You know what a SOC really is —a function, not a room—, its six activities and why level 1 triage is the natural candidate for outsourcing: covering 24×7 with your own staff requires five or six people, and that is not an option for a company with ten in IT. You have the five options compared with their real cost, and you know that the row that decides it is not the price but staff turnover: an MDR turns an impossible recruitment problem into a contract. You know how to govern it as a critical supplier, with SLAs verified through six-monthly controlled triggers —because an SLA nobody checks is a sentence in a PDF—, with the written list of what it cannot do for you, and with the four cheap measures that contain the dependence. And you know what always stays in-house: the decision, the context, the containment of what is critical, the relationship with customers and regulators, the inventory, the prioritisation and the memory. You can outsource the watching; you cannot outsource the judgement.

You have detection engineering as a complete process, with the diamond almost nobody draws —is there enough data?— and with the rule record whose decisive sections are the ones that never get written: what the rule does not detect, its exceptions with expiry dates, its real performance and its retirement criterion. With the lesson of SID 1000001 etched in: a rule that was correct, active and completely blind for twelve days because it was looking for sixty seconds and the implant called home every four hours. You know how to use ATT&CK as a map for deciding what to detect next, without chasing a complete coverage that is impossible, and explicitly declaring the gaps you are not going to cover. And you manage detection debt the way technical debt is managed: visible, prioritised and with part of it paid off every year.

You know how to apply PDCA to the programme, with the seven inputs that feed it and the observation that matters most: the input that produced the best actions was neither the audit nor the pentest, it was the organisation's own incidents. You have the annual management review with its minutes, in which the objectives not met appear before those that were met and every resolution carries a code, an owner and a date. And you understand maturity sensibly: a scale serves to structure the conversation, order the plan and measure your own progress, and for nothing else. Rutalia's reassessment, from 2.6 to 3.4, with the three areas that did not improve and the distinction a mature programme makes in its own report: two were conscious postponements with a signed risk acceptance and one was a task that evaporated because it had no owner or date. From the outside they look the same; from the inside they are opposites.

And you know what almost nobody asks: when to stop investing in an area. With five criteria and the case of the pentest, where staying at level 3 and writing down why is prioritisation, not complacency. With its uncomfortable corollary: if all your metrics are meeting their targets, either your targets are not demanding enough or you are investing in the wrong place.

The December 2029 minutes ended with resolution A-2029-04-06: to draw up a Security Master Plan 2030-2032 and present it at the first-quarter committee. You already have all the pieces —quantified risk, the prioritised portfolio, the metrics, the maturity diagnosis, the regulatory obligations and the budget—, each one built in its own lesson and none of them yet brought together in a single document that senior management can approve. Bringing them together in a three-year plan with owners, milestones and euros, defending it before Andrés Vidal and applying the method to a company other than Rutalia is the Final Project: the Security Master Plan, which brings this course to a close.

© Copyright 2026. All rights reserved