Be Software Architecture Wise
Be Wise Apps

Leer en español · Lire en français · Auf Deutsch lesen

Section 8.8 of 8.8 · Intermediate · 24 min read

Security in operation: logging, detection and response

Video lesson

5 min · narrated, with captions
Listen only (audio)
Read the transcript

No prevention is perfect. So mature organisations also design on the assumption that a breach will happen. They want to notice it quickly, limit the damage, recover cleanly and learn from it. This lesson shows how.

A bank doesn't rely only on strong doors. It has cameras that record who came in. Alarms that ring when something unusual happens. A plan for what staff do during a robbery. And spare cash locked away elsewhere, in case the main vault is lost. Running software securely works the same way: careful records, watching them, a rehearsed plan, and backups attackers can't reach.

Security logs answer, after the fact, who did what. Log authentication successes and failures, authorisation failures, administrative actions, and high-risk actions such as refunds, payouts and data exports. Each event records who, what, to which resource, when, from where, and with what result. Logs are copied widely and kept a long time, so never log passwords, tokens, keys, card data, or personal data you don't need. And an attacker's first step is often to erase the evidence. So ship security logs promptly to a separate account that the application's own credentials can't change, with write-once retention.

Telemetry comes from many sources: the API gateway, the services, the identity provider, the cloud's audit log and agents on staff laptops and servers. A log pipeline parses it, removes anything sensitive, adds context, and forwards it. High-value events go to a security information and event management system, or SIEM, which correlates them and raises alerts. For example, many failed logins followed by a success. Bulkier logs go to a cheaper write-once archive, searched during investigations. Alerts go to triage, and well understood ones trigger automatic playbooks, such as revoking a key. Rules are written from the threat model, tested, and tuned, because alert fatigue is how real attacks get missed.

New vulnerabilities are published every day. A severity score alone isn't your risk. Prioritise by whether a flaw is known to be exploited, whether your code reaches it, and whether the service faces the internet. Agree fix times in advance. When an incident happens, name the roles: an incident commander who decides, technical leads, a communications lead and a scribe. Use a separate channel, because an attacker in your email can read the response. Preserve evidence before rebuilding, and afterwards hold a blameless review. Against ransomware, keep backups that can't be changed, in a separate account with separate credentials, and test restores regularly.

Here are the first hours of an incident on the food delivery platform. At twelve minutes past nine, an engineer pushes a long-lived cloud access key to a public repository. Two minutes later, secret scanning raises an alert, and the SIEM soon shows calls with the key from an unfamiliar address. The key is deactivated, not deleted, so its ID can still be searched in the logs. Removing the commit isn't containment: the key has already been copied. The audit log shows the attacker created a new user with its own key. Cleaning up only the original key would have left them inside. Object-level access logs show customer exports were downloaded. Without those logs, the team couldn't prove what was read. The data protection officer and legal counsel join. The data protection officer assesses it as a personal data breach, and the authority is notified within seventy two hours. The review asks why a long-lived key existed, not who committed it.

Under Article 33 of the General Data Protection Regulation, the GDPR, a controller must notify the supervisory authority of a personal data breach without undue delay, unless it's unlikely to result in a risk to people. And where feasible, within seventy two hours of becoming aware of it. The UK GDPR has the same rules. Under Article 34, affected people must also be told without undue delay if the risk to them is likely to be high. A deadline counted in hours can only be met if systems can quickly show which data was affected, and whose. This is information about how the law affects systems, not legal advice. The decision to notify belongs to the controller, advised by its data protection officer and lawyers.

That completes Chapter 8. When you're ready, take the optional chapter test: twenty multiple choice questions and two written answers, with a pass mark of eighty per cent. Then continue to Chapter 9, on keeping the secured system fast and running. See you there.

What you need to know

Security does not end at deployment

The earlier sections of this chapter aim to prevent attacks. No prevention is perfect, so mature organisations also design on the assumption that a breach will happen: they want to notice it quickly, limit its damage, recover cleanly and learn from it. Chapter 2 described the security tactics as resisting, detecting, reacting to and recovering from attacks, and showed how to write security scenarios with measurable responses such as a leaked credential is detected and revoked within 15 minutes. This section is about the architecture and practices that make such responses achievable.

Much of it builds on the operational foundations of observability and incident management in Chapter 9. The difference is the adversary: a failing disk does not hide its tracks, delete its logs or come back next week through a door it left open.

Security logging: what to log and what never to log

Security logs exist to answer, after the fact, who did what, to which resource, when, from where and with what result. The OWASP Logging Cheat Sheet is the standard practitioner reference. It recommends recording events such as authentication successes and failures, authorisation failures, session management failures, input validation failures, application errors, high-risk functions such as administrative actions and data exports, and the use of security controls themselves. Each event should carry when (a synchronised timestamp), where (application, service, host, environment), who (the authenticated identity, the source address) and what (the action, the object, the result and the reason).

Equally important is what must stay out. Logs are copied widely, kept for a long time and read by many people and tools, so they are a favourite place for secrets and personal data to leak from. Never log passwords, session identifiers or access tokens (log a hash or a key ID if you need to correlate), encryption keys and connection strings, payment card data or special-category personal data. Treat log data as personal data where it identifies people, and apply the minimisation and retention rules of Section 8.7. Redaction is best enforced centrally in the log pipeline as well as in code, because one forgotten debug statement can undo it.

Log these, never log those (after the OWASP Logging Cheat Sheet)

RecordExclude, mask or hash
Authentication successes and failures, MFA challenges, password resetsPasswords, even wrong ones (a mistyped password is often a near-correct one)
Authorisation failures (access denied), especially repeated onesSession identifiers, access tokens, refresh tokens, API keys (log a hash or the key ID instead)
Input validation failures and requests rejected by the gatewayEncryption keys, database connection strings and other secrets
Administrative actions: role changes, policy changes, user creation, configuration changesFull payment card numbers, card verification codes, bank account details
High-risk business actions: refunds, payouts, data exports, account deletionHealth data, government identifiers and other special-category personal data
Security-relevant errors and exceptions; start-up and shutdown of security controlsPersonal data beyond what investigation needs, and anything a user opted out of
Use of break-glass or emergency accessSource code, and data classified above what the logging system is cleared to hold
{
  "ts": "2026-10-21T19:42:07.318Z",
  "event": "authz.denied",
  "service": "orders",
  "env": "prod",
  "actor": {"type": "user", "id": "cust_4411", "session": "sha256:7c1e..."},
  "client": {"ip": "203.0.113.24", "ua_family": "iOS app 7.3"},
  "action": "GET /orders/81723",
  "resource_owner": "cust_9902",
  "reason": "not_owner",
  "trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}
A structured security event from the orders service. It shows who tried what and why it was refused, with a trace ID for correlation, but no token and no customer name.

Logs must also be protected from attackers, whose first step after gaining access is often to erase the evidence. Ship security logs promptly to a separate account or service that the application's own credentials cannot modify; store them with write-once retention; restrict and log access to them; and keep clocks synchronised so events from different systems line up. Treat log content as untrusted input: an attacker who can put a newline into a logged field can forge fake entries (log injection), so encode or reject control characters, and remember that Log4Shell was triggered by logging attacker-controlled text.

Audit trails

An audit trail is a narrower, stronger kind of log: a complete, chronological, tamper-evident record of defined actions, kept to establish accountability. Debug logs are sampled, rotated and changed whenever developers like; an audit trail must be complete for its scope (every refund, every role change, every access to a customer's support record), immutable, attributable to an authenticated identity and retained for a defined period. Regulations and standards often require one; PCI DSS, for example, requires audit log history to be retained for at least twelve months, with the most recent three months immediately available for analysis.

Architecturally, design the audit trail as a product of the domain, not a by-product of logging. Emit audit events from the service that owns the action, at the point the action commits (the transactional outbox guarantees both happen or neither does), into an append-only store with restricted write access. Tamper evidence can be added by hash-chaining, where each record includes a hash of the previous one, or by periodically anchoring a signed digest elsewhere. Event-sourced systems get much of this for free, as Section 7.5 showed. Cloud providers' control-plane audit logs, which record every API call made to the cloud account, are part of the same picture and must be enabled in every account and region.

Detection: SIEM, rules and response automation

A security information and event management (SIEM) system collects security telemetry from across the estate, normalises it, correlates events and raises alerts when patterns match detection rules: many failed logins followed by a success, a service account used from a new country, a role granted administrator rights outside a change window, a large export at three in the morning. Typical sources are the API gateway, application security events, the identity provider, cloud audit logs, Kubernetes audit logs and endpoint detection and response (EDR) agents on staff laptops and servers.

Good detection is engineered, not bought. Derive rules from the threat model and from MITRE ATT&CK, a public knowledge base of real attackers' tactics and techniques maintained by MITRE since 2015; write them as code in a shared format such as Sigma, version them, and test them by simulating the attack they should catch. Measure alert quality: a rule that fires fifty times a day and is always benign trains people to ignore it, and alert fatigue is how real attacks are missed. Cheap, high-signal tripwires help: honeytokens, such as a fake access key or a fake customer record that no legitimate process ever touches, produce almost no false alarms. Security orchestration, automation and response (SOAR) tools then run playbooks for well-understood alerts, such as disabling a user, revoking a key or isolating a container, so that people handle the judgement calls.

SIEM ingestion is often priced by volume, which tempts teams to drop logs. A tiered design helps: high-value security events go to the SIEM for real-time detection; bulky logs go to cheaper write-once storage where they can be searched during an investigation.

A security detection pipeline

Security telemetry from the gateway, services, identity provider, cloud audit log and endpoints flows through a log pipeline that parses, redacts and enriches it into a SIEM, which raises alerts for triage and playbooks, and into a write-once archive used for investigationsAPI gatewayServicesIdentity providerCloud audit logEndpoints (EDR)Log pipelineparse, redact,enrich, forwardSIEMcorrelate, detectLog archivewrite-once, retainedinvestigateTriageon-call or SOCalertPlaybooksrevoke, isolateDetection rules are code: versioned, tested against sample attacks and tuned so every alert is worth a human
Telemetry is collected and redacted once, then used both for real-time detection and, from a write-once archive, for investigation.

Vulnerability management

New vulnerabilities in the software you run are published every day. A CVE (Common Vulnerabilities and Exposures) identifier, such as CVE-2021-44228, gives each publicly known vulnerability a unique name; the programme, started by MITRE in 1999, assigns identifiers through hundreds of CVE Numbering Authorities, including major vendors and open-source foundations. The US National Vulnerability Database adds analysis such as affected product identifiers and scores, although a backlog in that enrichment from 2024, and a brief scare in April 2025 when the contract funding the CVE programme nearly lapsed, showed the risk of depending on a single feed; most organisations now combine several sources, including GitHub's advisory database and the open-source OSV database.

CVSS (the Common Vulnerability Scoring System, maintained by FIRST; version 4.0 was published in November 2023) rates severity from 0 to 10, with ratings of low (0.1 to 3.9), medium (4.0 to 6.9), high (7.0 to 8.9) and critical (9.0 to 10.0). The published base score describes the vulnerability in general; version 4.0's threat and environmental metrics adjust it for exploit activity and for your own environment. A base score is not a measure of your risk. Two signals improve prioritisation considerably: the Exploit Prediction Scoring System (EPSS, also from FIRST), which estimates the probability that a vulnerability will be exploited in the next 30 days, and the US Cybersecurity and Infrastructure Security Agency's Known Exploited Vulnerabilities (KEV) catalogue, which lists vulnerabilities with evidence of real exploitation. Combine them with reachability (is the vulnerable function used?) and exposure (is the service internet-facing?), and most of a scanner's hundreds of findings fall into the routine queue while a handful demand action today.

Agree remediation targets in advance, so that each finding does not become a negotiation, and measure the time to remediate. The figures below are typical illustrations, not a standard; regulated environments may impose their own, for example PCI DSS requires critical security patches to be installed within one month of release.

Example remediation targets

FindingTarget
Known exploited (for example in the CISA KEV catalogue), internet-facingMitigate within 24 to 72 hours; patch as soon as a fix exists
Critical severity, reachable, no known exploitationWithin 7 to 14 days
High severityWithin 30 days
Medium severityWithin 90 days, or the next routine update
Low severity, or not reachableRoutine updates; record the reason if deferred

Decision guide

Decision guide: triaging a newly published vulnerability

Run this when a scanner, advisory or news report names a vulnerability in something you might use.

  1. Does any deployed artefact contain the vulnerable component and version (check the SBOM store)?
    YesContinue to the next question, and record every affected service and owner.
    NoRecord "not affected" with the evidence; keep watching for new affected versions.
  2. Is it known to be exploited in the wild (for example listed in the CISA KEV catalogue) or is working exploit code public?
    YesEmergency path: mitigate within hours to days (patch, disable the feature, or block at the gateway or WAF), then patch properly.
    NoContinue to the next question.
  3. Is the vulnerable code reachable in your use, and is the service internet-facing or handling sensitive data?
    YesFix within the SLA for its severity, adjusted with the CVSS environmental metrics and EPSS.
    NoContinue to the next question.
  4. Is there a compensating control that fully blocks exploitation (feature disabled, no network path)?
    YesDocument it (a VEX statement suits this) and patch in the routine update cycle.
    NoPatch in the routine cycle and revisit if exploitation is reported.

Penetration testing, bug bounties and disclosure

A penetration test is an authorised, time-boxed attempt by skilled testers to break into a system, ideally with knowledge of its architecture and with a scope agreed in writing. It finds classes of problems that scanners miss, such as broken object-level authorisation and abuse of business logic (redeeming the same voucher twice through a race condition). Commission one before a major launch, after significant architectural change and periodically; a red team exercise goes further, testing detection and response by simulating a real adversary over weeks.

Outside researchers will find problems too, and they need a safe way to report them. A vulnerability disclosure policy states how to report, what testing is permitted and that good-faith research will not be met with legal threats; a security.txt file at /.well-known/security.txt (RFC 9116, 2022) tells researchers where to send reports. A bug bounty adds payment for valid findings, often through a platform that triages submissions. ISO/IEC 29147 (disclosure) and ISO/IEC 30111 (handling) describe the processes, and the Cyber Resilience Act requires manufacturers of products in its scope to have a coordinated vulnerability disclosure policy. A bounty is not a substitute for internal security work: launched on an untested system, it tends to produce a flood of reports the team cannot handle.

Incident response

Incident response is the organised handling of a security incident from detection to recovery and learning. For more than a decade the standard reference was NIST SP 800-61 Revision 2 (2012), with its four-phase lifecycle: preparation; detection and analysis; containment, eradication and recovery; and post-incident activity. Revision 3, published in April 2025 as Incident Response Recommendations and Considerations for Cybersecurity Risk Management: A CSF 2.0 Community Profile, replaces that lifecycle with the six functions of the NIST Cybersecurity Framework 2.0. Govern, Identify and Protect are continuous preparation that makes incidents less likely and response more effective; Detect, Respond and Recover are the response itself; and lessons learned feed improvement across all of them rather than being a final phase.

In practice a good response needs named roles (an incident commander who coordinates and decides, technical leads who investigate and act, a communications lead, a scribe who keeps the timeline, and quick access to legal counsel and the data protection officer), severity levels that set who is woken up, and an out-of-band channel, because an attacker in your e-mail or chat system can read the response. Containment is a trade-off: cutting an attacker off quickly limits damage but can destroy evidence and warn them, so preserve evidence (snapshots, logs, memory captures) before rebuilding, and be sure you have found all their footholds before you announce they are gone. Afterwards, a blameless review asks how the system and its processes allowed the incident, and produces architectural actions.

Incident response in NIST SP 800-61 Revision 3

NIST SP 800-61 Revision 3 places incident response in the CSF 2.0 functions: Govern over everything, Identify and Protect as continuous preparation, Detect, Respond and Recover as incident response, with lessons learned feeding back; the Revision 2 lifecycle phases are shown underneath for comparisonGovern: risk strategy, roles, policies and oversight of incident responsePreparation, all the timeIdentifyassets, risks,improvementProtectcontrols thatreduce incidentsIncident responseDetectfind and analyseanomaliesRespondcontain, eradicate,reportRecoverrestore, verify,communicateLessons learned improve every functionRev. 2 (2012) lifecycle, for comparison:PreparationDetection, analysisContainment, eradication, recoveryRev. 2's fourth phase, post-incident activity, becomes continuous improvement in Rev. 3
Revision 3 maps incident response onto the CSF 2.0 functions instead of a four-phase lifecycle.

Ransomware resilience

Ransomware encrypts an organisation's systems and demands payment for the key; most groups now also steal data first and threaten to publish it. The architectural defences are those of this whole chapter (MFA, least privilege, segmentation, patching, detection), but recovery depends on one thing above all: backups the attacker cannot reach. Attackers with administrator rights look for backups first and delete or encrypt them.

Keep at least one copy of critical data immutable or offline: object storage with write-once retention locks that even an administrator cannot shorten, or media physically disconnected from the network. Put backups in a separate account or tenancy with separate credentials and MFA, so that compromising production identities does not reach them. The traditional 3-2-1 rule (three copies, on two kinds of media, one off-site) is a reasonable baseline. Above all, test restores regularly against the RTO and RPO the business has agreed, including the order of recovery: identity services and DNS come first, because nothing else can be rebuilt without them. In 2017 the shipping company Maersk rebuilt its global network after the NotPetya malware destroyed its Windows domain controllers; the recovery depended on the one domain controller that survived, in Ghana, because a power cut had taken it offline during the attack.

Personal data breaches and notification deadlines

A personal data breach is, under GDPR Article 4(12), a breach of security leading to the accidental or unlawful destruction, loss, alteration, unauthorised disclosure of, or access to, personal data. It is broader than theft: a ransomware attack that makes data unavailable, or an e-mail sent to the wrong recipients, can qualify. Under Article 33 the controller must notify the supervisory authority without undue delay and, where feasible, within 72 hours of becoming aware of it, unless it is unlikely to result in a risk to people's rights and freedoms; later notifications must give reasons for the delay. Under Article 34 the controller must also tell affected people without undue delay if the breach is likely to result in a high risk to them. Article 33(5) requires every breach, notified or not, to be documented. The UK GDPR has the same rules, with notifications going to the Information Commissioner's Office.

Other regimes may run in parallel, with their own clocks, recipients and thresholds, and contracts often add duties to customers and partners. The table summarises the main EU and UK deadlines. The European Commission's November 2025 Digital Omnibus proposal would extend the GDPR deadline to 96 hours and limit authority notification to high-risk breaches, but at the time of writing it has not been adopted and the 72-hour rule applies.

The architectural lesson is that a deadline counted in hours can be met only if the systems can answer, quickly and with evidence, which data was affected, whose it was and whether it was actually accessed. That requires the data map of Section 8.7, data-access logs on stores of personal data, and encryption that may make a leaked copy unintelligible. As with the rest of this chapter, this is information about how the law affects systems, not legal advice; the decision to notify belongs to the controller, advised by its DPO and lawyers.

Notification clocks that commonly apply

RuleWho tells whomDeadline
GDPR / UK GDPR Art. 33Controller to supervisory authority (in the UK, the ICO)Without undue delay and, where feasible, within 72 hours of becoming aware, unless the breach is unlikely to result in a risk to people. Information may be provided in phases.
GDPR / UK GDPR Art. 33(2)Processor to controllerWithout undue delay after becoming aware.
GDPR / UK GDPR Art. 34Controller to affected individualsWithout undue delay when the breach is likely to result in a high risk, unless, for example, the data was protected by encryption that makes it unintelligible.
NIS2 Directive (EU) 2022/2555Essential and important entities to CSIRT or authorityEarly warning within 24 hours of becoming aware of a significant incident, notification within 72 hours, final report within one month.
Cyber Resilience Act Art. 14Manufacturers, via ENISA's single reporting platformFor actively exploited vulnerabilities and severe incidents: early warning within 24 hours, notification within 72 hours (applies from 11 September 2026).

Runbooks

A runbook is a written, tested procedure for a specific situation: revoke and rotate a leaked credential, isolate a compromised container, restore the orders database from an immutable backup, respond to a suspected personal data breach. A good runbook lists its trigger, the people to involve, the exact steps and commands, how to verify each step worked, how to roll back, and what evidence to keep. Runbooks are code in spirit: keep them in version control next to the systems they describe, automate the parts that are mechanical, and rehearse them in game days and tabletop exercises, because a procedure that has never been run usually fails at step three. Every detection rule should link to the runbook for its alert.

Worked example: the first 24 hours of a credential-leak incident at the food-delivery platform

TimeWhat happensWhy it matters
09:12An engineer pushes a commit to a public repository that contains a long-lived cloud access key for the production deployment role.The usual cause: a debugging script, not malice. Automated scanners watch public commits, so exposure must be assumed immediately.
09:14The secret-scanning alert reaches the security on-call engineer; at 09:16 the SIEM shows API calls with the key from an unfamiliar address.Detection in minutes depends on having secret scanning and cloud audit logs flowing into the SIEM before the incident.
09:20Incident declared at the highest severity. An incident commander, a scribe and a technical lead are named; a dedicated channel is opened.Clear roles stop five people from doing the same thing and nobody doing the urgent thing.
09:25Contain: the key is deactivated, sessions issued from it are revoked, and a deny-all policy is attached to the role until it is rebuilt.Deactivation, not deletion, keeps the key ID for log searches. Removing the commit is not containment: the key has already been copied.
09:45Scope: the team queries the cloud audit log for every call made with the key ID, back to the moment it was created, not just since the push.The key may have leaked earlier through another route; the log answers what was done, from where and when.
10:30Findings: the attacker listed storage buckets, started 40 large compute instances in an unused region and created a new user with its own access key.Attackers establish persistence first; cleaning up only the original key would leave them inside.
11:00Eradicate: instances terminated, the new user and key deleted, recently changed policies reviewed and reverted; snapshots taken first for evidence.Preserve evidence before destroying it; it is needed for the review, for insurers and possibly for regulators.
11:45Data question: object-level access logs show successful downloads from the bucket holding customer exports. The DPO and legal counsel join.Without object-level logs the team could not prove data was not read and would have to assume it was.
12:30The DPO assesses a personal data breach likely to result in risk; the 72-hour clock is treated as running from the moment of awareness. A first notification is drafted.Article 33 allows information in phases; late notification needs reasons. Whether individuals must be told depends on the level of risk.
15:00Recover: deployment role rebuilt with short-lived credentials via OIDC federation from CI; billing alarms and region restrictions added; the provider is contacted about fraudulent charges.Fix the class of problem, not only the instance: no long-lived keys means nothing to leak.
18:00Push protection for secrets enabled for every repository; all other secrets that were readable by the same engineer's machine rotated as a precaution.Assume related credentials may also be exposed until proven otherwise.
Next day 09:00Status update to leadership; notification to the supervisory authority submitted within the 72 hours with what is known; blameless review scheduled within five working days.The review asks why a long-lived key existed and could be committed, not who committed it.

The timeline shows why operation is part of architecture. Every step that went well depended on a design decision made months earlier: secret scanning and audit logs feeding the SIEM, object-level access logs on the export bucket, a data map that told the DPO whose data was in it, and an identity design that let the deployment role be rebuilt without long-lived keys. Every step that went badly (a long-lived key existing at all, a bucket of customer exports that nobody needed any more) was also an architectural choice.

Checklist: is the system ready to be attacked?

  • Security events are logged, structured and centralisedAuthentication, authorisation failures, admin and high-risk actions, with who, what, when, where and a trace ID; no secrets or unnecessary personal data.
  • Logs are protected and retainedSeparate account or storage with write-once retention, restricted access, synchronised clocks and a defined retention period.
  • Cloud audit and data-access logs are enabledIncluding object-level access for stores of personal or payment data, so that scope can be proven.
  • Detections exist for your top threatsRules derived from the threat model, tested with simulated attacks, with an owner and a runbook for each alert.
  • Vulnerability SLAs are agreed and measuredPrioritised by exploitation, reachability and exposure; the SBOM store answers "where is it?" in minutes.
  • A disclosure route existsA vulnerability disclosure policy and a security.txt file; penetration tests before major launches and after major change.
  • The incident response plan is rehearsedRoles, severity levels, an out-of-band communication channel and contacts for legal, DPO, insurers and providers; exercises at least yearly.
  • Backups survive an attacker with admin rightsImmutable or offline copies in a separate account with separate credentials; restores tested against RTO and RPO.
  • Notification duties are mappedWhich regulators, customers and partners must be told, by whom and within which deadlines, with templates prepared.

Check your understanding

Why should a log record a hash or key ID instead of the access token itself?

Logs are widely copied and read, so a logged token can be stolen and replayed. A hash or key ID still lets investigators correlate events without exposing a usable credential.

A scanner reports a CVSS 9.8 vulnerability in a library whose vulnerable function you never call, and a CVSS 7.5 one listed in the KEV catalogue in your internet-facing gateway. Which first?

The KEV-listed gateway vulnerability: it is known to be exploited and exposed. The unreachable 9.8 can follow routine patching, with the reasoning recorded.

Why must backups live in a separate account with separate credentials?

Attackers who gain administrator rights in production look for backups and destroy them; separation means compromising production identities does not reach the recovery copy.

When does the GDPR's 72-hour clock start?

When the controller becomes aware of the personal data breach, meaning it has a reasonable degree of certainty that a security incident has compromised personal data, not when the investigation is complete.

End of Chapter 8Take the chapter testOptional: 20 multiple-choice questions and 2 written answers, in the app.Go to the test →

Sources and further reading

Have a question about this section? ArchitectBot, the course’s AI study assistant, answers from the course first.

Ask: “What security events should our services log, and how do we keep secrets and personal data out of the logs?”