Lawfare Academy · Complete Management Information Systems edition 4
Govern security risk and verify business recovery
Keep requirements, observations and decisions separate
Preserve Harbor's 14:00 failure, usable 13:15 copy, 18:30 business acceptance, four-hour RTO and one-hour RPO. The 45-minute history gap meets the stipulated data objective while 270-minute restoration exceeds the 240-minute time objective by 30. The 12:30 fallback copy leaves 90 minutes of exposure. These are separate from the included original Academy 06:00/10:00 recovery and 12000/2000 transaction examples below. No restoration or security certification is claimed from written arithmetic.
The included studio supplies the on-site transaction, security, threat-model, NIST outcome-function, safeguards, incident and recovery preparation. Apply those mechanisms to a management decision. An asset has an owner and required use; a threat is a possible cause of harm; a vulnerability is a weakness that a threat can exploit; an incident is an actual event; risk concerns uncertain consequences. A control changes some part of that pathway. A backup helps recover certain losses but cannot by itself prevent an excessive authorized export. Encryption protects specified exposures, while an operator who can decrypt and export still needs access and purpose limits.
Map the critical service's dependencies. A complete database restore without usable credentials, interface configuration or a person authorized to resume work is not end-to-end recovery. A continuity arrangement can supply a constrained manual service while technology is unavailable; disaster recovery focuses on restoring affected technical capabilities. Incident response addresses recognition, containment, investigation and coordination. These overlap but answer different questions. Their evidence should name incident, workload, test environment, timing boundary and exclusions.
Worked risk comparison with a severe-loss boundary
An independent fictional event has probability .04 per year and modeled consequence 60000. Its expected annual loss is 2400. A stipulated control costs 900 per year and reduces that probability to.015 without changing the consequence. Residual modeled loss is 900; expected reduction 1500; reduction less control cost 600. Under that narrow model the control has a 600 annual expected net benefit. These numbers are assumptions, not measured security efficacy or a price for disclosing information.
Changed fact: the probability reduction is only to.03. Residual loss 1800 gives reduction 600, less 900 cost yielding−300 expected net benefit. This changes the financial evidence, but a binding obligation, unacceptable tail consequence or inadequate model can still require the control or a different response. State the reason and authority. Do not quietly inflate probabilities until a preferred decision looks numerical.
Treat monitoring and action as one operating loop. A detection alert needs an owner, severity rule, available channel, response expectation and evidence of resolution. A report of 100 alerts is not 100 confirmed compromises or 100 successful defenses. Record false alarms and missed-event evidence where it can be measured. Audit logging must itself be protected and should avoid unnecessary secrets or sensitive payloads. Preserve incident evidence under an authorized plan; this teaching does not prescribe universal retention or notification deadlines. Florida is the state-law default for a real applicable state-law analysis, with federal, sector and contract duties separately considered.
Complete optional recovery model and rubric
Risk and recovery model with changed tolerance
The narrow risk comparison gives 2400 original expected loss, 900 residual loss, 1500 avoided loss and 600 net benefit after a 900 control cost. At .03 residual probability the net becomes −300. Original Harbor recovery still records a 45-minute gap and 270-minute validated delay; changing a target does not change those observations. Changed fact: an approved future RTO becomes 300 minutes. The historical 270 would be inside that newly defined tolerance, but the earlier test still missed its then-approved 240-minute objective. Preserve both dated policies and results; do not erase the failure or call a policy amendment a successful retest.
Award 0–4 points each for asset/threat/consequence and assumptions; matched protective/detective/recovery controls; access/incident/governance authority; exactRPO/RTO andvalidated workflow; and revised decisions under changed facts, total 20. A strong answer includes the identity/configuration and operator dependencies, names residual risk and keeps simulation distinct from a real recovery. The included original studio supplies three further complete models, transaction boundaries and analytical-store context; its separate cases remain explicitly distinct.
Included original on-site method: controls and analytical stewardship
The complete previously published Academy studio follows. It includes additional warehouse stewardship because recovery and integrity controls also protect derived analytical stores. All examples are fictional; no production credentials, customer or learner records are accessed. Source provenance is retained as historical evidence, not a new claim that every external route was checked today.
Connect an invariant to a transaction boundary
Atomicity makes the effects inside a transaction succeed or fail together. Consistency concerns preservation of declared constraints and application invariants. Isolation defines interactions among concurrent transactions. Durability concerns persistence after commit within the actual system guarantees. These properties do not establish that the business operation is correct or authorized. An atomic wrong refund is still wrong. The preserved refund case protects a cross-row total, checks replay identity and tests audit failure rather than merely catching an exception.
In SQLite, BEGIN DEFERRED starts an explicit transaction whose write lock may be needed later; BEGIN IMMEDIATE attempts a write transaction at the start. Multiple readers can coexist with one writer. A busy result is a real outcome that a bounded retry policy must handle. BEGIN statements do not nest; use SAVEPOINT and RELEASE or ROLLBACK TO for controlled partial units. Ending a savepoint is not necessarily committing the outer transaction. Other engines and isolation levels differ; do not transplant these details as universal SQL behavior.
A failed statement does not always roll back all prior work. On any operation failure, determine transaction state and execute the intended rollback or justified repair. If a client loses the response after commit, a new command ID can duplicate the effect. Reuse the original operation identity and compare canonical contents with the established result. If the same ID arrives with a changed amount, report a conflict rather than a replay. Keep command, effect and required audit entry in one atomic boundary. External email or a remote payment provider is normally outside that database transaction; a durable outbox and idempotent downstream delivery can coordinate it, but cannot promise literal exactly-once delivery across arbitrary failures.
Worked capacity and outbox record
Use a separate synthetic account with eligible credits 12000 cents and debits 2000. Available capacity 10000. Two new debit requests of 6000 each must not both be approved against the same initial 10000. After the first valid commit, available 4000 and the second 6000 must fail. If its effect is inserted and the audit entry deliberately fails, rollback must leave debit total 2000 and capacity 10000 for the original state. An identical retry after a successful first commit leaves debit total 8000 and capacity 4000, not 14000 andminus 2000.
Suppose a committed operation also creates outbox message M 1. A delivery worker can send M 1 and crash before recording its acknowledgment. On retry the recipient may receive it again. Preserve a stable message ID and a receiver-side deduplication or harmless replay policy where possible; record delivery attempts and reconcile uncertain outcomes. A report that counts delivery attempts as distinct business debits mixes two event grains. The database transaction should make the business event and pending message durable together, while the delivery contract states its own guarantees.
Security is a set of boundaries and evidence
Confidentiality limits disclosure, integrity protects authorized correctness and availability supports needed access. Authentication establishes an identity, authorization grants permitted actions and auditing records meaningful activity. Grant least privilege for actual duties; a reporting identity should not need unrestricted update authority. Check account/tenant ownership on the trusted server, not only in a filtered browser table. Parameterized SQL separates values from syntax but does not authorize reading another tenant's valid order ID. Avoid logging unnecessary secrets or personal values; logs themselves need controlled access and retention.
Threat modeling starts with assets, actors, entry points and trust boundaries. For a receipt service, threats include forged event identities, unauthorized account access, malicious import text, tampered amounts, credential theft, deleted backups and denial of service. Match each to a control and a test: uniqueness and payload comparison, server-side ownership checks, binding parameters, validated integer/currency domains, protected credentials, isolated recoverable copies and capacity/incident procedures. Encryption in transit protects a connection against relevant interception; encryption at rest protects certain storage exposures. Neither makes an authorized but excessive export appropriate, and keys need their own access and recovery controls.
A practical risk register records scenario, likelihood reasoning, consequence, existing controls, residual risk, accountable owner and next action. Numerical risk scores can help order discussion but should not imply precision unsupported by evidence. A fictional loss estimate 10000 with annual probability.02 gives expected loss 200; a control costing 150 that halves the probability yields expected reduction 100, so expected-value arithmetic alone would not justify it. A mandatory control, severe tail exposure, uncertainty or strategic dependency can still change the decision. State that reason instead of presenting a subjective score as a measured law.
NIST's current Cybersecurity Framework organizes outcomes into Govern, Identify, Protect, Detect, Respond and Recover. Governance sets responsibilities and risk tolerance; identification inventories assets and exposures; protection implements safeguards; detection recognizes events; response contains and investigates them; recovery restores service and learns. A profile describes current and target outcomes, not a certificate that every system is secure. A small database project can map concrete evidence to these functions without claiming compliance or professional approval. This course supplies conceptual and synthetic methods, not a security certification.
Layer safeguards around the actual workflow
A firewall or network segmentation rule limits permitted paths; it does not determine whether a user may refund a particular order. Multi-factor authentication reduces some credential risks but cannot repair a service that trusts a caller-supplied account ID. Patch management addresses known defects under a tested rollout and recovery plan. Malware protection, protected backups and restricted service identities reduce different parts of a ransomware scenario. A phishing-resistant login and staff reporting process can complement technical controls against social engineering. Treat zero trust as continuously justified access to resources rather than a product name that makes internal networks safe by declaration.
Protect secrets outside source code and logs, rotate/revoke them under controlled procedures and test that permissions remain least-privilege. Hashing is not encryption: a one-way digest can help compare integrity or support a properly designed password-storage scheme, while encryption permits recovery with a key. A plain fast hash of a predictable identifier does not anonymize it against enumeration. Pseudonymized records may remain linkable through other fields. Data minimization, purpose limitation and reidentification risk belong in design even when an analytical model never displays names.
Security governance connects policy, standards, procedures and evidence. A policy states required outcomes and authority; a standard defines an enforceable baseline; a procedure describes the actual steps; an audit or review tests evidence against the stated scope. Assign owners for exceptions and time-bounded remediation. Staff, suppliers and managed providers have different responsibilities. A provider's claim about its infrastructure does not establish that this application's public links, permissions or export behavior are correct. Compliance requirements and actual threat reduction overlap but are not identical; report the specific evidence rather than advertising universal compliance.
Recovery must be demonstrated
Recovery point objective(RPO) expresses tolerable lost history; recovery time objective(RTO) expresses tolerable service restoration delay. These are business requirements, not what a backup button guarantees. If the last recoverable snapshot was 06:00 and failure 10:00, up to four hours of later data may be absent without logs or other recovery. Restoring in 30 minutes meets a two-hourRTO but does not meet a one-hourRPO. Test restoration in isolation, verify exact event identities and constraints, and ensure recoverable credentials/configuration as well as data. Transaction rollback, replication and backup solve different problems; a replicated accidental deletion may spread promptly to every replica.
An incident procedure should name detection, containment authority, evidence preservation, communication, recovery validation and review. Do not improvise destructive cleanup while the cause and retained evidence are unknown. Specific notification duties and retention periods depend on applicable law and policy; this unit makes no invented legal deadline. Florida remains the default for contemporary state-law examples, with federal obligations and explicit comparisons separately identified.
From operational events to a warehouse
An operational database emphasizes correct individual transactions. A warehouse integrates curated historical facts for reporting and analysis. A fact table has a declared grain, such as one settled receipt event; dimensions supply descriptive context such as account, product and date. A star layout connects facts directly to dimensions; a snowflake normalizes some dimension hierarchies. Measures have additivity rules: receipt cents can be summed within one currency, account-balance snapshots cannot be summed across days as if they were flows, and rates usually require their numerator/denominator rather than an average of averages.
ETL extracts, transforms and loads; ELT loads into a controlled analytical environment before transformations. Either needs source boundaries, duplicate policy, lineage, quality checks and replay-safe incremental processing. A watermark based only on event time can miss late arrivals. Preserve ingestion time and event identity, allow a reviewed late-arrival/revision policy and compare source-to-target keyed records. Slowly changing dimensions can overwrite a current description or retain versions with valid intervals; choose according to whether reports need current or historical attribution. The original territory example remains the concrete counterexample to silently joining every old event to today's region.
A data mart focuses a governed subset on a department or decision area; it should not silently redefine shared revenue or customer identity. An operational data store integrates relatively current operational information for defined cross-system uses, while a historical warehouse supports a different time horizon. A virtual warehouse or data-federation layer can query remote sources without copying everything centrally. That can reduce duplication while introducing latency, source availability, permission and consistent-snapshot challenges. For example, joining a current receipt source with yesterday's refund source can produce a total that never existed together. Document refresh and snapshot boundaries whether the integration is materialized or virtual.
A data lake can retain raw or lightly processed structured, semi-structured and unstructured objects. Without cataloging, quality, access rules and discoverable lineage, retained objects become difficult to interpret. A lakehouse combines some lake-style storage with managed table/transaction/catalog capabilities, but its guarantees depend on the actual implementation. BI combines governed measures, queries and presentation to support decisions; an attractive dashboard is not a new source of truth. Show the source cutoff, measure definition, unresolved quality flags and drill-down lineage.
Worked warehouse reconciliation
For the independent receipt fixture fromunit 1, raw import rows total 31500 cents, unique events 24000, known-account allocations 20000 and unresolved 4000. A curated receipt fact should retain three distinct event identities and their valid amounts, including the unresolved assignment with an explicit status. The account reporting view can show 20000 assigned plus 4000 suspense. Dropping the unresolved event loses cash; loading every raw replay creates false cash. A daily balance fact would be a different grain and cannot be appended as though it were another receipt.
If a later 4000 allocation resolves suspense, receipt total stays 24000 while account attribution changes. Preserve a versioned correction or event relationship. If the warehouse refresh occurs after a cutoff, a prior published snapshot may remain a valid record of then-known information while a current corrected view differs. Label the distinction and reconcile both; do not overwrite history to hide changes.
Optional progressive practice
Guided model: a race and a failed audit
Credits 12000 minusdebits 2000 leave 10000. A first 6000 commit leaves 4000; the second 6000 must fail. If the first audit fails before commit, rollback restores 2000 debits/10000 capacity. Changed fact: the response is lost after commit. An identical operation retry must find the established 6000 event and leave 8000 totaldebits/4000 capacity, not create another effect.
Independent model: recovery targets
A 06:00 snapshot and 10:00 failure imply a four-hour exposure without later recoverable records. A 30 minute restore meetsRTO 2 hours but failsRPO 1 hour. Changed fact: tested transaction logs recover through 09:45. Potential history loss becomes 15 minutes, provided log completeness and restoration are actually verified. A claim that logs exist is weaker than a successful restoration test.
Transfer model: a warehouse is not a deduplication excuse
Retain three unique receipt events totaling 24000 and expose 4000 unassigned. Changed fact: an equal-valued fourth event has a distinct verified external identity. It must remain a separate fact; a DISTINCT amount rule would discard a legitimate receipt. Catalog the grain, idempotency key, late-arrival policy and source-to-target checks rather than trusting a grand total alone.
Unit rubric: 20 points
Four points each for transaction/invariant/retry boundaries; security roles, threat/control evidence and governance; RPO/RTO restoration reasoning; warehouse/lake/BI grain and lineage; and changed-fact reconciliation. Complete model preserves the 12000/2000 capacity state under failed audit, deduplicates exact commands only, gives the recovery limits and preserves 24000 unique receipts with 4000 suspense. No real financial or learner operation is performed.
Optional source summaries: SQLite transactions was read for explicit boundaries, savepoints and reader/writer behavior. NIST Cybersecurity Framework is optional primary provenance for organizing risk outcomes; the register and all financial/recovery scenarios here are original teaching. No framework use is presented as certification, legal compliance or a production security assessment.
Optional analytical-store provenance: OpenStax warehousing, lakes and BI was read to check the assigned scope, including marts, operational and virtual stores. All business scenarios and reconciliation methods here are original on-site teaching. The NIST CSF2.0 primary document confirms its six outcome functions and tailored profiles; use does not certify security.