# Secure software development life cycle policy

Template version 2026-11-19. Mapped to NIST SP 800-218, Secure Software Development Framework (SSDF) Version 1.1. License: CC BY 4.0. Source: sdlcsecurity.com.

| | |
|---|---|
| Organization | [Organization name] |
| Policy owner | [Policy owner role] |
| Approved by | [Executive sponsor title] |
| Version and date | [1.0, date] |
| Next review | [date, within 12 months] |

## How to use this template

Replace every item in [square brackets]. Values that look like numbers or periods in brackets are examples: set your own. Each clause ends with the SSDF task or tasks it satisfies, written as PO, PS, PW or RV followed by the task number, or with "Organization-defined" where the clause is not an SSDF task. Delete nothing that carries an SSDF tag unless your assessment shows the task does not apply to you, and record that decision.

## 1. Purpose and authority

**1.1** [Organization name] builds software that [customers, users and internal business units] depend on. This policy sets the security requirements for how that software is planned, designed, written, built, tested, released and maintained, so that the software has few vulnerabilities when it ships, the impact of the ones that remain is limited, and the causes of each are fixed. (Organization-defined)

**1.2** The [executive sponsor title] approves this policy, commits to resourcing it, and communicates that commitment to everyone who has a development-related role or responsibility. (SSDF: `PO.2.3`)

**1.3** This policy is organized around the practices and tasks of NIST SP 800-218, Secure Software Development Framework (SSDF) Version 1.1. Where a law, regulation or customer contract sets a stricter requirement, the stricter requirement applies. (Organization-defined)

## 2. Scope and definitions

**2.1** This policy applies to all software that [Organization name] develops, in-house or through contractors, for sale, for service delivery or for internal use, and to all commercial, open-source and other third-party components that software includes. (Organization-defined)

**2.2** It covers every form of code: source code, executable code and configuration-as-code (infrastructure definitions, pipeline definitions and deployment manifests). (SSDF: `PS.1.1`)

**2.3** It covers the development infrastructure and processes that produce the software: repositories, build systems, test environments, development endpoints and the people who use them. (SSDF: `PO.1.1`)

| Term | Meaning in this policy |
|---|---|
| Release | Any version of software made available outside the team that built it, including to production. |
| Risk tier | The classification of a product or service ([Tier 1, Tier 2, Tier 3], set in clause 5.3) that decides which checks are required. Example: Tier 1 handles regulated data or is internet-facing. |
| Security gate | A defined check, with pass criteria, that must be met before work moves to the next stage (section 12). |
| Exception | A time-limited, approved departure from a requirement of this policy (section 13). |
| Finding | Any security issue discovered by review, analysis, testing or an external report. |


## 3. Roles and responsibilities

**3.1** The roles in the table below are defined for every part of the software development life cycle. Each role has a named holder or group in [role register location]. (SSDF: `PO.2.1`)

**3.2** A person who took part in a design must not be the sole reviewer of that design. Design review is done by a qualified person not involved in the design, by automated processes in the toolchain, or by both. (SSDF: `PW.2.1`)

**3.3** The role definitions and the people who hold them are reviewed at least [annually] and when the organization or its teams change, and updated as needed. (SSDF: `PO.2.1`)

| Role | Responsibilities under this policy |
|---|---|
| Executive sponsor | Approves the policy, provides resources, receives the quarterly report, approves exceptions rated critical. |
| Policy owner ([role]) | Maintains this policy, the gate criteria and the exception register; runs the annual review. |
| Product owner | Records security requirements and acceptance criteria for the product; accepts or rejects residual risk within delegated limits. |
| Engineering lead | Makes sure the teams follow the stage requirements; assigns reviewers; owns remediation capacity. |
| Developer | Follows the secure coding standard; performs and responds to reviews; fixes findings assigned to them. |
| Security lead | Defines standards and gate criteria; supports threat modeling and design review; triages escalated findings. |
| Release approver | Confirms gate criteria are met, or that an approved exception exists, before a release ships. |
| Vulnerability response lead | Runs intake, analysis and response for reports from outside and inside the organization (section 14). |


## 4. Training

**4.1** Everyone with a role in the table in section 3 receives role-based training on the parts of this policy that apply to their role, on joining and at least [every 12 months]. (SSDF: `PO.2.2`)

**4.2** The security lead reviews personnel proficiency, using [assessment method, for example review outcomes, quiz results or exercises], at least [annually], and updates the training when the review or the root cause analysis in clause 14.7 shows a gap. (SSDF: `PO.2.2`)

**4.3** Training completion is recorded per person and reported in the quarterly report. (Organization-defined)

## 5. Security requirements

**5.1** The security requirements for the organization's development infrastructure and processes are identified, documented in [location] and maintained over time. They include requirements for securing open-source and other third-party components used in the software being developed. (SSDF: `PO.1.1`)

**5.2** These requirements are reviewed at least annually, and sooner when a new internal or external requirement appears or after a major security incident that targeted development infrastructure. People affected by a change are told before it takes effect. (SSDF: `PO.1.1`)

**5.3** Every product or service has documented security requirements for the software the organization develops, and a risk tier. The requirements cover risk-based architecture and design requirements, applicable laws and regulations, customer contract terms and the classification of the data handled. They are maintained over time. (SSDF: `PO.1.2`)

**5.4** Security requirements are recorded in [tracker or requirements system], with the design decisions and risks that follow from them, so a reviewer can trace a requirement to the design choice and the test that covers it. (SSDF: `PW.1.2`)

**5.5** Requirements are communicated in writing to every third party that supplies commercial software components for reuse in the organization's own software, through [procurement or contract template]. (SSDF: `PO.1.3`)

## 6. Toolchain and environments

**6.1** The tools or tool types that must or should be part of each toolchain are specified in [toolchain standard], along with how the components of the toolchain are integrated with each other. The selection is driven by the risks identified in the requirements. (SSDF: `PO.3.1`)

**6.2** Toolchain components are deployed, operated and maintained following the tool provider's recommended security practices, including least-privilege administration and timely updates. (SSDF: `PO.3.2`)

**6.3** Tools are configured to generate records showing the secure development practices were performed (review approvals, scan results, test reports, gate decisions). These records are the evidence kept under clause 12.3. (SSDF: `PO.3.3`)

**6.4** Each environment used in development (development, build, test, staging, production and any other) is separated from the others and protected, with access limited to the roles that need it. (SSDF: `PO.5.1`)

**6.5** Development endpoints (for designers, developers, testers and builders) are secured and hardened to the baseline in [endpoint standard], using a risk-based approach. (SSDF: `PO.5.2`)

**6.6** Test environments do not hold production data unless the security lead has approved it and the same protections apply. (Organization-defined)

## 7. Stage: design

**7.1** A threat model, attack model or attack surface map is produced and recorded before implementation starts for any new service, any change to a trust boundary or data flow, and any change that handles [authentication, authorization, payment, personal or regulated data]. The method is [for example STRIDE per element on a data flow diagram]. (SSDF: `PW.1.1`)

**7.2** The software's security requirements, risks and design decisions are tracked in [location] and updated whenever the design changes. (SSDF: `PW.1.2`)

**7.3** Where appropriate, designs use standardized security features and services (existing identity management, access control, log management and vulnerability management systems) in place of proprietary implementations. A proprietary implementation needs a documented reason. (SSDF: `PW.1.3`)

**7.4** Designs follow the risk-based design requirements from clause 5.3, such as modular code that can be reused and updated, isolation of security components during execution, no undocumented commands or settings, and features that help acquirers deploy, operate and maintain the software securely. (SSDF: `PO.1.2`)

**7.5** Before implementation, the design is reviewed by a qualified person who was not involved in it, by automated processes in the toolchain, or both, to confirm that it meets every security requirement and addresses the identified risks. Findings and their resolution are recorded. (SSDF: `PW.2.1`)

## 8. Stage: code

**8.1** Developers follow the secure coding practices in [secure coding standard] that are appropriate to the languages and environment in use. The standard is reviewed at least [annually]. (SSDF: `PW.5.1`)

**8.2** Compilers, interpreters and build tools are chosen for the security features they offer. The security-relevant features to use, and how each is configured, are determined and documented in [build standard], and builds use the approved configurations. (SSDF: `PW.6.1`, `PW.6.2`)

**8.3** The security lead determines, by risk tier, whether code review (a person looks directly at the code), code analysis (tools find issues, automated or with a person) or both are required. The rule is written in [code review standard]. (SSDF: `PW.7.1`)

**8.4** Review and analysis are performed against the secure coding standard. Every discovered issue and recommended remediation is recorded and triaged in the development team's issue tracker. (SSDF: `PW.7.2`)

**8.5** All code, including configuration-as-code, is stored in [repository system] on the principle of least privilege, so that only authorized people, tools and services can read or change it. Changes to protected branches need [number] approving review(s) from someone other than the author. (SSDF: `PS.1.1`)

**8.6** Credentials, keys and tokens are not committed to repositories. A committed credential is treated as exposed and rotated. (Organization-defined)

## 9. Stage: third-party and reused components

**9.1** Reuse of existing, well-secured software is preferred over duplicating its functionality. Components from commercial, open-source and other third-party developers are acquired from sources that meet [component acceptance criteria], and are maintained. (SSDF: `PW.4.1`)

**9.2** Where no third-party component fits a common internal need, an internal component is created and maintained following the processes in this policy. (SSDF: `PW.4.2`)

**9.3** Acquired components are verified against the organization's requirements when they are added and throughout their life cycle, including when they are updated and when a vulnerability is reported in them. (SSDF: `PW.4.4`)

**9.4** A record of the components in each release, with their versions and origin, is created and kept (see clause 11.5). (SSDF: `PS.3.2`)

## 10. Stage: build and test

**10.1** The security lead determines by risk tier whether executable code testing is needed to find vulnerabilities that earlier reviews, analysis or testing did not, and if so which types of testing are used. The rule is written in [test standard]. (SSDF: `PW.8.1`)

**10.2** Testing is scoped, the tests are designed and performed, and the results are documented. Every discovered issue and recommended remediation is recorded and triaged in the development team's issue tracker. (SSDF: `PW.8.2`)

**10.3** Test results are compared with the gate criteria in section 12 before a release candidate moves on. (SSDF: `PO.4.1`)

## 11. Stage: release and deployment

**11.1** A secure baseline is defined for each security-related setting so that default settings are secure and do not weaken the security functions of the platform, network or services the software uses. (SSDF: `PW.9.1`)

**11.2** The default settings (or groups of default settings) are implemented, and each setting is documented for software administrators. (SSDF: `PW.9.2`)

**11.3** Integrity verification information (for example cryptographic hashes or signatures) is made available to acquirers for every release, through [distribution channel]. (SSDF: `PS.2.1`)

**11.4** The files and supporting data needed for each release, including integrity verification information and provenance data, are securely archived and kept for [retention period]. (SSDF: `PS.3.1`)

**11.5** Provenance data for all components of each release (for example in a software bill of materials) is collected, safeguarded, maintained and shared with acquirers on request or by agreement. (SSDF: `PS.3.2`)

**11.6** The release approver confirms that every gate in section 12 has passed, or that an approved exception exists under section 13, and records the decision before the release ships. (SSDF: `PO.4.1`, `PO.4.2`)

**11.7** For [Tier 1] products, a final security review is held before release. It checks that the gate evidence is complete, that the threat model matches what was built, and that open findings are accepted or fixed. (Organization-defined)

## 12. Security gates and criteria

**12.1** The criteria for software security checks are defined in [gate standard], tracked through the SDLC, and applied as in the example table below. (SSDF: `PO.4.1`)

**12.2** The information needed to show that each criterion was met is gathered and safeguarded in [system of record]. (SSDF: `PO.4.2`)

**12.3** Gate results and approvals are kept for [retention period] and can be produced for an auditor or customer on request. (SSDF: `PO.4.2`, `PO.3.3`)

| Stage | Check | Blocks progress when (example values, set your own) |
|---|---|---|
| Design | Threat model recorded and design review done | No record exists for a change that meets the trigger in clause 7.1. Blocks the start of implementation. |
| Code | Code review or analysis done, findings triaged | Review not complete, or any critical finding untriaged. Blocks merge to a protected branch. |
| Test | Testing done to the plan, findings triaged | Any open critical finding, or any high finding without an approved exception. Blocks release. |
| Release | Integrity information, component record and secure defaults present | Any of the three missing. Blocks release. |
| Operate | Disclosure policy published and monitored | Policy not published or reporting address not monitored. Raised at the quarterly report. |


## 13. Exceptions

**13.1** An exception is requested in writing in [exception register] and states the requirement, the reason, the risk, any compensating control, the owner and an expiry date no later than [90 days] after approval (example value). (Organization-defined)

**13.2** An exception is approved by someone other than the requester. Exceptions rated critical are approved by the executive sponsor. (Organization-defined)

**13.3** An exception expires on its date. An expired exception counts as a failed gate. The owner either fixes the underlying issue or requests a new exception with fresh risk information. (Organization-defined)

**13.4** The policy owner reviews the register at least [quarterly] and reports the number of open and expired exceptions. (Organization-defined)

## 14. Stage: operate and respond

**14.1** Information on potential vulnerabilities in the software and in the third-party components it uses is gathered from acquirers, users and public sources, and every credible report is investigated. (SSDF: `RV.1.1`)

**14.2** Released software is periodically reviewed, analyzed or tested at least [every 12 months] and after major changes to identify or confirm previously undetected vulnerabilities. (SSDF: `RV.1.2`)

**14.3** A vulnerability disclosure and remediation policy is published at [URL]. The roles, responsibilities and processes that support it are in place, and the reporting address [security contact address] is monitored on every business day. (SSDF: `RV.1.3`)

**14.4** Each vulnerability is analyzed to gather enough information about its risk to plan the response. (SSDF: `RV.2.1`)

**14.5** A risk response is planned and implemented for each vulnerability: fix, mitigate or accept through an exception. Target remediation times by severity are set in [remediation standard]. Example values: critical [7 days], high [30 days], medium [90 days]. (SSDF: `RV.2.2`)

**14.6** The root cause of each vulnerability rated [high or above] is analyzed and recorded. (SSDF: `RV.3.1`)

**14.7** Root causes are analyzed over time to find patterns, such as a particular secure coding practice not being followed consistently. The analysis is done at least [quarterly]. (SSDF: `RV.3.2`)

**14.8** When a root cause is found, the software is reviewed for similar vulnerabilities so a whole class can be removed, and the instances are fixed without waiting for outside reports. (SSDF: `RV.3.3`)

**14.9** After each root cause analysis the SDLC process is reviewed and updated if appropriate: this policy, the secure coding standard, the gate criteria or the training, so the same cause does not recur in updates or in new software. (SSDF: `RV.3.4`)

## 15. Measurement and reporting

**15.1** The policy owner reports each quarter to the executive sponsor on [metric list, for example gate pass rate, open findings by severity and age, time to remediate, open and expired exceptions, training completion]. (SSDF: `PO.2.3`)

**15.2** Metric definitions, data sources and targets are written in [metrics standard] and reviewed when the policy is reviewed. (Organization-defined)

## 16. Compliance, enforcement and review

**16.1** Teams are assessed against this policy at least [annually] by [assessor]. Gaps are recorded with an owner and a date. (Organization-defined)

**16.2** A breach of this policy that has no approved exception is reported to the engineering lead and the policy owner, and handled under [disciplinary or corrective process]. (Organization-defined)

**16.3** This policy is reviewed at least annually, and sooner when a new requirement appears (a law, contract term or new SSDF version) or after a major security incident targeting development infrastructure. The review is recorded in the table below. (SSDF: `PO.1.1`)

| Version | Date | Change | Approved by |
|---|---|---|---|
| [1.0] | [date] | Initial adoption | [executive sponsor title] |


## SSDF coverage

Every task of SP 800-218 v1.1 appears in at least one clause. Clauses marked organization-defined are not SSDF tasks; they make the policy enforceable.

| SSDF task | Clause numbers |
|---|---|
| `PO.1.1` | 2.3, 5.1, 5.2, 16.3 |
| `PO.1.2` | 5.3, 7.4 |
| `PO.1.3` | 5.5 |
| `PO.2.1` | 3.1, 3.3 |
| `PO.2.2` | 4.1, 4.2 |
| `PO.2.3` | 1.2, 15.1 |
| `PO.3.1` | 6.1 |
| `PO.3.2` | 6.2 |
| `PO.3.3` | 6.3, 12.3 |
| `PO.4.1` | 10.3, 11.6, 12.1 |
| `PO.4.2` | 11.6, 12.2, 12.3 |
| `PO.5.1` | 6.4 |
| `PO.5.2` | 6.5 |
| `PS.1.1` | 2.2, 8.5 |
| `PS.2.1` | 11.3 |
| `PS.3.1` | 11.4 |
| `PS.3.2` | 9.4, 11.5 |
| `PW.1.1` | 7.1 |
| `PW.1.2` | 5.4, 7.2 |
| `PW.1.3` | 7.3 |
| `PW.2.1` | 3.2, 7.5 |
| `PW.4.1` | 9.1 |
| `PW.4.2` | 9.2 |
| `PW.4.4` | 9.3 |
| `PW.5.1` | 8.1 |
| `PW.6.1` | 8.2 |
| `PW.6.2` | 8.2 |
| `PW.7.1` | 8.3 |
| `PW.7.2` | 8.4 |
| `PW.8.1` | 10.1 |
| `PW.8.2` | 10.2 |
| `PW.9.1` | 11.1 |
| `PW.9.2` | 11.2 |
| `RV.1.1` | 14.1 |
| `RV.1.2` | 14.2 |
| `RV.1.3` | 14.3 |
| `RV.2.1` | 14.4 |
| `RV.2.2` | 14.5 |
| `RV.3.1` | 14.6 |
| `RV.3.2` | 14.7 |
| `RV.3.3` | 14.8 |
| `RV.3.4` | 14.9 |

