Earlier
Clarify important security expectations while design choices are still flexible.
Lesson A11.1
Secure software does not become secure because someone performs one final review before launch. Security decisions begin when the product is first defined and continue through architecture, implementation, review, validation, release, operation, change, and retirement.
This lesson teaches you how to place the right security question at the right lifecycle stage, identify the evidence that supports the decision, assign ownership, keep Unknowns visible, and recognize when a later change should reopen an earlier security assumption.
Lesson Progress
High School Advanced • A11: Secure Software Architecture • Lesson 1 of 10
Readiness Check
0/4 ready
Professional Hook
Imagine a fictional team spends six months building a student services portal. Three days before launch, someone asks a basic question: “Which staff members are allowed to perform high-impact account actions, and where is that rule enforced?â€
If the team cannot answer, the problem is not only a missing test. The requirement may never have been defined clearly. The architecture may not have assigned responsibility. The implementation may have followed different assumptions. Reviewers may not have known what to check. Testers may not have known what result counted as success.
That is the central idea of this lesson: software security is strongest when each lifecycle stage prepares evidence for the next one.
Security is not a final inspection. It is a chain of connected decisions.
Learning Objectives
Explain why software security must be integrated across the complete lifecycle instead of added only before release.
Identify the security questions, evidence, owners, and decisions that belong at planning, design, implementation, review, testing, deployment, operation, maintenance, and retirement stages.
Distinguish preventive controls, validation evidence, operational monitoring, and governance decisions across a fictional software lifecycle.
Recognize lifecycle gaps such as missing ownership, late review, stale evidence, untracked dependencies, unvalidated requirements, and unsupported release assumptions.
Build a professional lifecycle security map that can become the first section of the A11 Secure Software Design Assessment.
Why It Matters
Security gaps often look like isolated technical problems when they are discovered late. But many of them began much earlier as an unclear requirement, missing owner, undocumented assumption, unreviewed dependency, incomplete change process, or missing validation plan.
Lifecycle thinking helps defenders ask a different question: instead of only asking “Is there a problem now?â€, ask “At which earlier stage should this expectation have been defined, reviewed, validated, or owned?â€
Earlier
Clarify important security expectations while design choices are still flexible.
During
Keep implementation, review, dependencies, and evidence aligned with those expectations.
After
Use operations, maintenance, and retirement evidence to confirm assumptions and improve the next cycle.
Core Framework
Different organizations use different lifecycle names and delivery models. Some use sequential stages, others use continuous delivery, and many combine product, engineering, platform, and security workflows. The exact labels matter less than the underlying questions.
For A11, use this nine-stage model. A real team may combine several stages, but the security responsibilities still need to exist.
Plan
What are we building, for whom, and what would matter if it failed?
Security work
Identify users, business purpose, important information, regulated or sensitive data, expected availability, privileged actions, trust assumptions, suppliers, environments, and major abuse or misuse concerns.
Evidence
Product brief, data classification, stakeholder list, business impact notes, initial security goals, high-level risk assumptions.
Typical owners
Product owner, security representative, engineering lead, data owner.
Decision
Is the product scope understood well enough to define meaningful security requirements?
Design
How should the system enforce security expectations?
Security work
Translate security goals into architecture decisions: identity, authorization, data handling, trust boundaries, secrets, dependencies, logging, resilience, configuration, failure behavior, and change controls.
Evidence
Architecture diagram, requirements register, threat model, design review notes, dependency assumptions, trust-boundary map.
Typical owners
Security architect, software architect, engineering lead, service owners.
Decision
Does the design support the required security behavior before implementation begins?
Implement
Are implementation choices consistent with the approved design?
Security work
Follow secure coding standards, approved libraries, configuration conventions, secret-handling rules, authorization patterns, logging guidance, error-handling rules, and environment separation.
Evidence
Change records, pull requests, dependency metadata, static configuration summaries, code-review notes, implementation checklists.
Typical owners
Software engineers, reviewers, component owners.
Decision
Is the implementation traceable to the design requirements and approved patterns?
Review
What evidence shows the implementation still matches security intent?
Security work
Review code, architecture changes, dependencies, privileged paths, error handling, logging, configuration, assumptions, and requirement traceability using safe peer-review processes.
Evidence
Review comments, design-change records, approval notes, exception records, evidence links, unresolved questions.
Typical owners
Peer reviewers, security reviewers, software leads.
Decision
Are material concerns resolved, accepted by the right owner, or explicitly blocked?
Validate
What evidence shows the required behavior works as intended?
Security work
Use safe, authorized tests and supplied evidence to validate requirements, negative paths, configuration expectations, logging coverage, dependency baselines, rollback behavior, and release criteria.
Evidence
Test results, requirements matrix, environment scope, expected outcomes, failed checks, retest evidence, sign-off notes.
Typical owners
Engineers, testers, security reviewers, release owners.
Decision
Is the evidence sufficient to support release, or are gaps still blocking?
Release
Is the approved software package ready to move into the intended environment?
Security work
Confirm artifact identity, approved version, configuration baseline, environment separation, access controls, monitoring, rollback plan, known exceptions, ownership, and release approvals.
Evidence
Release packet, artifact metadata, configuration baseline, approval record, rollback plan, monitoring checklist.
Typical owners
Release engineer, service owner, security approver, accountable risk owner.
Decision
Proceed, pause, or proceed only under a governed exception with explicit ownership and expiration.
Operate
Does the software continue to behave safely after release?
Security work
Monitor important security events, source health, authorization decisions, service health, error trends, configuration drift, dependency status, and operational exceptions.
Evidence
Monitoring dashboards, source-health status, alert summaries, change records, support trends, security review notes.
Typical owners
Operations, engineering, security operations, service owners.
Decision
Is the operational evidence consistent with the expected security posture?
Maintain
How do changes affect the original security assumptions?
Security work
Review new features, dependency updates, design changes, configuration changes, supplier changes, bug fixes, incident lessons, and requirement updates.
Evidence
Change requests, new threat-model notes, dependency updates, requirement revisions, validation evidence, maintenance records.
Typical owners
Engineering teams, security reviewers, product owners, dependency owners.
Decision
Does this change require renewed design review, validation, approval, or risk acceptance?
Retire
How should the software and its data be safely removed from service?
Security work
Plan data retention or deletion, account shutdown, credential and secret retirement, dependency cleanup, access removal, monitoring closure, records retention, and replacement-system handoff.
Evidence
Retirement plan, data-disposition record, access-removal evidence, secret-rotation or revocation record, ownership sign-off.
Typical owners
Service owner, data owner, security, operations, records or compliance owner.
Decision
Can the system be retired without leaving active access, unmanaged data, stale credentials, or unsupported dependencies behind?
Vocabulary
The organized stages through which software is planned, designed, built, reviewed, tested, released, operated, maintained, and eventually retired.
A specific expectation describing security behavior the software should provide, along with scope, ownership, and evidence needed to validate it.
The ability to connect a requirement to design decisions, implementation evidence, validation results, and release decisions.
A defined decision point where required evidence is reviewed before the software or change moves forward.
A documented decision allowing a requirement or control to be temporarily unmet under explicit ownership, rationale, safeguards, and an expiration or review date.
Risk that remains after controls, review, validation, and other safeguards are considered.
Artifacts such as requirements, diagrams, review notes, test results, approvals, configuration records, monitoring summaries, and retirement records that support decisions.
A condition that causes earlier security questions to be revisited, such as a new dependency, new privileged feature, new data type, or architecture change.
The documented state showing whether required evidence, approvals, configuration, rollback, monitoring, and unresolved risks are acceptable for release.
The controlled removal of software from service, including access removal, data disposition, secret retirement, and closure of operational responsibilities.
Lifecycle Principle 1
Planning and design determine what the team believes it is protecting. If important user roles, data categories, privileged actions, trust boundaries, and availability expectations are not understood early, later reviewers must guess what “secure†means.
Early security work does not require every detail. It requires enough clarity to create useful requirements and identify the areas that need deeper design.
Weak early statement
“The portal should be secure and easy to use.â€
Stronger early statement
“Students may view only their own records; counselors may view assigned students; high-impact account changes require a privileged role and must be auditable.â€
Weak ownership
“Security team will handle it later.â€
Stronger ownership
“Product defines the business rule, architecture defines enforcement, engineering implements it, review checks traceability, and validation provides evidence.â€
Lifecycle Principle 2
Traceability means the team can follow a security expectation from the original requirement into architecture, implementation, review, validation, and release evidence.
| Stage | Example evidence | Question answered |
|---|---|---|
| Requirement | Privileged account changes require an approved staff role and must be logged. | What should the system do? |
| Architecture | Privileged actions flow through the central authorization service and security telemetry path. | Where should the rule be enforced and observed? |
| Implementation review | Peer review confirms the privileged action uses the approved authorization interface. | Does the implementation follow the intended pattern? |
| Validation | Authorized test evidence confirms approved roles succeed and unapproved roles receive the expected denial behavior. | Does the requirement behave as expected in the test environment? |
| Release | Requirement evidence is complete, monitoring is ready, and no blocking exception remains. | Is there enough evidence to support release? |
Lifecycle Principle 3
“Someone should check this†is not an operational security control. The lifecycle needs named roles or accountable teams for each requirement, evidence source, exception, and follow-up.
Defines the business or security expectation and confirms the requirement remains relevant.
Produces or maintains the artifact that supports the requirement or decision.
Has authority to proceed, pause, approve an exception, or accept residual risk.
Maintains the software after release and ensures lifecycle responsibilities continue.
Tracks important third-party components, versions, maintenance, and change triggers.
Ensures access, data, secrets, integrations, and records are closed correctly at end of life.
Fake Dashboard
Fictional training data — evidence status only
Defined security requirements
18
15 Confirmed, 2 Conditional, 1 Unknown
Critical lifecycle owners
9 / 10
Dependency review owner missing for one component
Release evidence coverage
92%
One high-impact validation row remains Unknown
Open change triggers
2
New scheduling integration and dependency baseline change
Fake SOC Alert
Source: Fictional Release Review • Time: 14:20
Lifecycle Principle 4
A common review mistake is using one kind of evidence to support a claim it cannot actually prove.
Appropriate evidence: Requirements register or approved design requirement.
Caution: A code-review comment alone does not prove the requirement was formally defined.
Appropriate evidence: Architecture diagram, design decision, threat model, or approved design review.
Caution: A passing runtime check does not explain whether the architecture is maintainable or consistently enforced.
Appropriate evidence: Peer review, implementation checklist, change record, or safe code-review evidence.
Caution: An architecture diagram alone does not prove the implementation actually follows it.
Appropriate evidence: Authorized validation result tied to the requirement and expected outcome.
Caution: A reviewer saying “looks good†is not the same as validation evidence.
Appropriate evidence: Current release packet with required evidence, approvals, exceptions, rollback, and monitoring.
Caution: A successful build only proves the build completed, not that every security condition is satisfied.
Fake Log Panel
[09:05] PLAN DATA-CLASSIFICATION confirmed by Product + Data Owner [09:42] DESIGN AUTHZ-07 mapped to Authorization Service and audit telemetry [11:18] IMPLEMENT dependency owner missing for messaging-library record [13:10] REVIEW privileged-action review evidence attached to AUTHZ-07 [14:20] VALIDATE session-timeout evidence = UNKNOWN [14:32] RELEASE decision pending validation owner response [15:00] CHANGE scheduling integration flagged as architecture-review trigger
Training note: this is fake data for defensive analysis practice only.
Evidence Register
A professional lifecycle review should distinguish what the supplied evidence says from what the reviewer concludes. The following fictional register models that separation.
Source: Product brief
Observation
The fictional Northbridge Student Services Portal will support students, counselors, and approved administrative staff.
Meaning
Multiple user groups with different permissions must be reflected in design requirements.
Next action
Define user roles, sensitive actions, and data categories before architecture approval.
Source: Architecture diagram
Observation
Identity, application, API, data, logging, and notification services cross several trust boundaries.
Meaning
Authentication alone will not answer every authorization and data-handling question.
Next action
Create explicit requirements for trust boundaries and privileged actions.
Source: Dependency record
Observation
A messaging library is approved, but ownership for version review is not listed.
Meaning
The dependency is known, but lifecycle responsibility is incomplete.
Next action
Assign a dependency owner and review trigger.
Source: Peer review note
Observation
Reviewers confirmed the new counselor action uses the expected authorization service.
Meaning
The implementation appears aligned with the intended architecture for that action.
Next action
Link the review evidence to the requirement and validation plan.
Source: Requirements matrix
Observation
The row for privileged session timeout has no recorded result.
Meaning
The review cannot conclude that this requirement was validated.
Next action
Assign an owner and collect authorized test evidence before release decision.
Source: Release packet
Observation
Rollback and monitoring plans are approved, but one high-impact requirement remains Unknown.
Meaning
Release readiness depends on the organization's blocking and exception rules.
Next action
Escalate the missing evidence to the accountable release and risk owners.
Source: Monitoring summary
Observation
Authentication, authorization, API errors, and privileged actions are visible in approved monitoring sources.
Meaning
The system has operational evidence for several important security questions.
Next action
Track source health and confirm expected coverage after major changes.
Source: Change request
Observation
A new external scheduling integration is planned for the next release.
Meaning
The new trust relationship changes earlier architecture assumptions.
Next action
Revisit data-flow, dependency, authorization, logging, and supplier requirements.
Source: Retirement draft
Observation
The draft says the old notification service will be removed but does not mention access or secret retirement.
Meaning
The retirement plan is incomplete.
Next action
Add access removal, secret revocation, data disposition, ownership, and verification evidence.
Analyze the Evidence
Lifecycle Principle 5
Software evolves. A new feature may introduce a new privileged action. A new dependency may change maintenance responsibilities. A new supplier may create a new trust relationship. A new data type may change privacy or retention expectations.
Strong lifecycle programs define change triggers so teams know when an earlier requirement, threat model, design decision, validation plan, or release criterion must be revisited.
| Change trigger | Questions to reopen | Possible evidence |
|---|---|---|
| New privileged feature | Authorization, logging, approval, validation, user-role assumptions | Updated requirement, design review, validation matrix |
| New third-party integration | Trust boundary, data flow, dependency, supplier, privacy, monitoring | Updated architecture, supplier review, dependency record |
| New sensitive data type | Classification, minimization, access, retention, logging, deletion | Data inventory, requirement update, design decision |
| Major dependency update | Compatibility, provenance, maintenance, regression risk, rollback | Dependency record, test evidence, release notes |
| Deployment model change | Environment boundaries, identity, configuration, logging, secrets, resilience | Architecture update, configuration baseline, release review |
| Incident lesson | Assumptions, monitoring, response, recovery, design requirement | Post-incident review, updated requirement, validation plan |
Lifecycle Principle 6
Teams often think about security while a service is active but forget what remains after it is replaced. An unused application can still leave behind accounts, credentials, secrets, data copies, integrations, scheduled jobs, monitoring rules, and dependencies.
Remove or disable service accounts, user access, administrative paths, integrations, and unused permissions.
Retire, rotate, or revoke credentials and keys associated with the old service according to approved processes.
Follow retention, transfer, archival, or deletion requirements and keep evidence of the disposition decision.
Remove unsupported packages, build jobs, vendor links, and maintenance responsibilities that no longer serve an active system.
Close or redirect alerts, dashboards, logs, ownership, and on-call expectations so abandoned sources do not create confusion.
Keep the approvals, retirement evidence, and required records needed to explain what happened to the service and its data.
Common Mistakes
Why it fails: Late review discovers design problems when the architecture, deadlines, and implementation are already difficult to change.
Better approach: Place security questions and evidence requirements at planning, design, implementation, validation, release, and operations stages.
Why it fails: Tasks can appear complete even when nobody is accountable for evidence or follow-up.
Better approach: Attach owners, status, evidence, review dates, and escalation paths to important lifecycle requirements.
Why it fails: A code review may support one claim but does not automatically prove runtime configuration, deployment readiness, monitoring, or operational behavior.
Better approach: Match each claim to the type of evidence capable of supporting it.
Why it fails: Dependencies, integrations, users, data types, and architecture can change original assumptions.
Better approach: Define change triggers that reopen threat models, requirements, validation, or release review.
Why it fails: Missing evidence becomes invisible risk and can undermine later decision-making.
Better approach: Keep Unknowns explicit and route them to the right owner before the decision.
Why it fails: Old systems can leave stale accounts, credentials, data, integrations, or unsupported dependencies behind.
Better approach: Treat retirement as a formal lifecycle stage with evidence and ownership.
Scenario Decision Lab
Northbridge plans a Friday release. Functional tests passed and the code review is approved. During the release meeting, the team notices that one high-impact security requirement has no recorded validation result. The product deadline is important, but there is no approved exception record.
Scenario Decision Lab
Two months after launch, the product team wants to add a third-party scheduling service. The existing threat model and requirements were approved before this integration existed. The new service will receive limited appointment information from the application.
Safe Fictional Lab
You are reviewing the fictional Northbridge Student Services Portal. Use only the supplied evidence in this lesson. Do not inspect real software, repositories, accounts, APIs, or devices.
Where in the lifecycle is this decision happening?
What must the team know or decide at this stage?
What behavior, control, or evidence is expected?
Who is accountable for producing evidence or making the decision?
What supplied artifact could support the claim?
Confirmed, Conditional, Degraded, Unknown, Blocked, or Not Applicable?
What needs to happen before the software moves forward?
What future change would require this question to be revisited?
Lab safety rule
Your job is to organize evidence and decisions, not to test a real target. When information is missing, record Unknown and identify the next evidence request.
Analyze the Evidence
Advanced Challenge
A weak security gate is a checkbox. A strong gate is a decision point that identifies exactly what evidence must exist, who reviews it, what happens when evidence is missing, and who can approve an exception.
Design a fictional gate for the transition from Validate → Release. Your gate should include:
Required security requirements and their validation status
Required review and dependency evidence
Configuration baseline and artifact identity
Monitoring and source-health readiness
Rollback plan and owner
Blocking criteria
Exception authority and expiration
Residual-risk owner
Unknown handling
Post-release validation expectations
The challenge is not to make the gate as strict as possible. It is to make it clear, evidence-based, repeatable, and useful for accountable decisions.
Defender Habits
Skill Check
Check Your Understanding
Choose your answers first. Explanations appear only after submission.
Portfolio Prompt
Create the first artifact for your A11 Secure Software Design Assessment: a lifecycle security map for the fictional Northbridge portal. Include lifecycle stage, security question, requirement or expectation, owner, supporting evidence, status, next action, and change trigger. Keep Unknowns explicit and use only fictional or supplied information.
Confidence / Readiness Reflection
Before moving to secure design requirements, check whether you can explain how those requirements fit into the larger lifecycle.
I can explain why security begins before implementation.
I can connect a lifecycle stage to an appropriate security question.
I can separate requirement evidence from review evidence, test evidence, release evidence, and operational evidence.
I can mark missing evidence as Unknown instead of assuming success.
I can identify an owner and next action for a lifecycle gap.
If one of these still feels unclear, revisit the lifecycle stage table and the evidence-register section. A11.2 will assume that you understand where requirements come from and how they later connect to architecture, review, validation, release, and operations.
Portfolio Build Guide
A strong portfolio artifact should be readable by someone who was not present during the lesson. It should show the logic of the review rather than only list security words.
State the fictional product purpose, users, important data, environments, and major privileged actions.
Avoid giant paragraphs. Make stage, owner, evidence, status, and next action easy to scan.
Use labels such as LC-03 Dependency Record or LC-05 Requirements Matrix instead of vague phrases such as “the documents.â€
Say “the supplied evidence supports...†instead of making claims about systems you did not inspect.
Unknowns demonstrate evidence discipline. Add the evidence request and owner needed to resolve them.
Include arrows or notes showing how incidents, dependency changes, integrations, and new requirements reopen earlier stages.
Summarize what is Confirmed, Conditional, Unknown, Blocked, or governed through exception.
Explain the strongest lifecycle controls, largest gaps, and next three actions in non-technical language.
Key Takeaways
Lesson Safety Boundary
This lesson does not authorize scanning, probing, exploitation, credential attacks, bypass testing, destructive testing, or accessing real software, accounts, repositories, devices, APIs, or networks without permission. Use only fictional or explicitly authorized evidence.
Lesson Complete
You now have the lifecycle foundation for A11. Next, A11.2 turns broad security goals into clear Secure Design Requirements that can be owned, reviewed, validated, and governed.