One-off vs continuous testing for code: when each fits your team
A one-off test fits depth, design review and an assessor-ready baseline, while continuous testing fits drift and every merge, and regulated software usually needs both. The buyer's job is to decide which gap each model closes before the scope is fixed, because a test bought for the wrong gap produces a report that answers the wrong question. A one-off test suits a team preparing a major release, facing an assessment, or redesigning an architecture that has never had an attacker's review. Its advantage matters most when the design is new and the pipeline is stable enough that a snapshot stays meaningful. Its limit is that it is a snapshot: every merge after the test closes sits outside the evidence.
Continuous testing matters when code and dependencies change faster than a snapshot can describe. Automated static analysis, dependency checks and repository checks run on every merge, and OpenSSF Scorecard runs automated checks such as Branch-Protection, Dangerous-Workflow, Pinned-Dependencies and Token-Permissions, giving a repeatable view of settings that drift silently. This pays off when the team adds workflow files, third-party actions or frequent dependency updates. Its limit is judgment: automated checks cover known patterns well and business logic, trust boundaries and novel pipeline abuse poorly, so a green build proves less than it appears to. Ask your tool owners which checks block a merge, which only report, and who reviews the reports.
NIST SP 800-115 suggests regularly scheduled scanning interspersed with periodic penetration testing, which is why regulated teams often end up with both models. SP 800-53 control SA-11, Developer Testing and Evaluation, lists static code analysis, manual code reviews, penetration testing and interactive application security testing among its enhancements, so the mix can be written into the development process and checked later. Put the cadence in writing before scope is fixed: which checks run on each merge, which run before each release, and which one-off test resets the baseline. Under CIS Safeguard 18.4, security measures should be validated after each test so detections cover the techniques the testers used, so ask any provider to include that validation in the quote and confirm whether retesting after fixes is included.
How one-off and continuous testing differ on goal, scope and method
This table compares a one-off code and supply chain test with continuous testing in the delivery pipeline, row by row on goal, scope, method, frequency, operator and access. Read the method and control basis rows first, since they show where a point-in-time review uses people and threat modeling while continuous checks run automatically on every change. Many buyers will want both, with the one-off test validating what the automated checks cannot see.
| Dimension | One-off test | Continuous testing |
|---|---|---|
| Goal | Find design and logic flaws in a defined release and document them for review. | Catch known weak patterns, risky dependencies and pipeline misconfigurations before each change ships. |
| Scope | Agreed source code, design, build pipeline and release artifacts named in the written scope. | Connected repositories, dependency manifests, CI workflow files and published artifacts. |
| Method (buyer level) | Manual code review and threat modeling, or penetration work against the pipeline and release process. | Static analysis, software composition analysis, SBOM generation and automated repository checks in CI. |
| Control basis | SA-11 manual code review, threat modeling and penetration testing enhancements (NIST SP 800-53 Rev. 5). | SA-11 static and dynamic code analysis enhancements; SBOM content follows NTIA minimum elements. |
| Frequency | Set by release milestone or major change, followed by a retest after fixes. | Triggered by each pull request or build, plus scheduled runs where the tool supports them. |
| Who runs it | Qualified assessors or internal reviewers, working with the development team inside the agreed scope. | Platform or DevOps staff configure tools, developers triage findings, and security reviews exceptions. |
| Access needed | Source code, architecture documents, configuration and access to the development team. ASVS 5.0.0 Level 2 and Level 3 verification relies on this. | Read access to repositories and pipeline logs, plus scoped tokens for scanners. Admin access is reviewed separately. |
| Evidence produced | Written report with findings, severity, fixes and a retest record the assessor can trace. | Scanner output, SBOM files and CI logs that show checks ran; each alert still needs triage. |
Where one-off tests and continuous checks differ
A one-off test reads the pipeline design, trust decisions and approval logic as they stood on the test date. Continuous checks re-run known rules on every change, so they catch known issues and later drift, but they match known patterns and cannot judge intent. The two cover different risks, so most teams need both.
Design, access and build trust
A one-off review reads the pipeline design: which build steps, third-party actions and signing keys the team trusts, who can approve a release, and whether the approval logic matches the intended controls. A reviewer can also test whether one person can merge and deploy alone, a business logic question that rule-based scanners rarely answer. Ask for the trust decisions in writing so you can check them later. The SLSA Build track levels, L0 to L3, give a vocabulary for how far the build chain is hardened.
SLSA specificationChanges after the test date
A one-off test describes the pipeline as it stood when it was tested. Any workflow edit, new third-party action, added runner or changed release permission made afterward is outside its scope, and the report will not show it. Ask your provider which commits or configuration were reviewed, how the test scope is recorded, and what triggers a retest after material pipeline changes.
Known and unpinned dependencies
Continuous checks compare dependency manifests against vulnerability advisories on every change, so a newly disclosed flaw in a library your pipeline pulls is flagged without waiting for the next test. They also flag unpinned dependencies that float on a tag or branch instead of a fixed version, the core of Dependency Chain Abuse (CICD-SEC-3). The OpenSSF Scorecard Pinned-Dependencies check scores this from 0 to 10. Confirm which advisory sources and lock file formats your tooling reads, because coverage varies by ecosystem.
OWASP CI/CD risksRisky workflow settings
Automated checks flag patterns such as untrusted input reaching a privileged workflow context, the path behind Poisoned Pipeline Execution (CICD-SEC-4). OpenSSF Scorecard's Dangerous-Workflow and Token-Permissions checks each score from 0 to 10, and the scores combine into a weighted aggregate. A strong aggregate shows the checks passed and says little about the logic of your workflows, so use it as a trend line for review rather than a sign-off.
Scorecard repositoryChanged build artifacts
Artifact checks confirm that what ships matches what was built and signed, the control behind Improper Artifact Integrity Validation (CICD-SEC-9). Continuous verification can catch a swapped or rebuilt artifact at release time, before it reaches production. Ask which signing, provenance and digest checks run at deploy time, and who holds the signing keys and can rotate them.
Logic flaws and unfamiliar patterns
Continuous checks match code and configuration against rules written for known problems, so they have little to say about a release gate that is technically valid but wrong for your risk model. They also miss unfamiliar patterns, such as a new way to abuse a trusted build step that no rule covers yet. Pair them with a periodic review of approval paths, and confirm how often your tooling updates its rule sets.
Which compliance frameworks call for a one-off test, a recurring test or both
These frameworks name the kinds of testing they expect, but their cadence language varies. NIST SP 800-53 Rev. 5 control SA-11, Developer Testing and Evaluation, has nine enhancements that include static code analysis, manual code reviews, penetration testing and dynamic code analysis, so the control sets the test types while your own program sets the rhythm. DORA Article 25(1) lists source code reviews where feasible and open source analyses among the tests in a digital operational resilience testing program. ISO/IEC 27001:2022 Annex A control A.8.29, Security testing in development and acceptance, asks for a defined security testing process within the development life cycle. A process built into every release points toward recurring work rather than a single engagement.
Some frameworks put a fixed schedule on penetration testing. CIS Controls v8.1 Safeguards 18.2 and 18.5 ask for external and internal penetration tests at least annually, and Safeguard 18.4 asks that security measures be validated after each test so detections cover the techniques the testers used. For a code and supply chain program, that means each one-off test should be followed by a rerun of pipeline and detection checks, and that retest effort belongs in the annual plan. CMMC Level 2 is narrower. The CMMC Assessment Guide Level 2 says custom-developed software may need penetration testing or source code scanning when assessing vulnerability scanning requirement 3.11.2, so an organization that builds its own software should expect the assessor to ask which of the two it performs and how often.
Frameworks set what must happen, but your assessor decides which test type and cadence will be accepted for your environment. Before scoping, ask whether a scheduled static analysis run, a manual code review or a penetration test of the custom application will satisfy each requirement, how often they expect each to run, and what records they want kept between runs. For DORA, confirm with your competent authority or legal team whether threat-led penetration testing under Article 26, which applies at least every 3 years to entities the authority identifies, reaches you. DeployOpen prepares the evidence for these controls, including test scope, findings, fixes and retest records, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies do that.
Which path a code change follows through gates, schedules and retests
This illustrative flow starts when a change enters CI, where software composition analysis, static analysis, SBOM generation and pipeline configuration checks run on every merge. If a finding matches an agreed blocking rule, the change goes to remediation before it can merge. Changes that touch a regulated system, or that alter the pipeline, dependencies or build chain, also trigger a scheduled or triggered manual review or penetration test. Every route that reaches a fix ends in a retest, then a dated evidence record. When you read it, check which changes your team would route to manual work and who decides the trigger.
Illustrative path from CI gates to a dated evidence record.
What you receive from each approach and what an assessor can use
This table compares the evidence each approach hands to an assessor: a dated report for a one-off test, and gate results, findings queues, SBOM files and repository check results for continuous testing. Read each row as a different kind of proof that answers a different question. A report records a point-in-time review, while continuous outputs show that enabled checks ran on each change, so confirm the formats and SLSA levels your assessor expects before you buy either.
| Evidence | One-off test | Continuous testing |
|---|---|---|
| Primary output | Dated written report with threat model, reproducible findings and risk ratings | Gate results, findings queues, SBOM files and automated repository check results |
| Scope and rules of engagement | Written scope and rules of engagement; NIST SP 800-115 Appendix B provides a template | Enrolled repositories, pipelines and dependency sources, recorded in configuration; sign off exclusions in writing |
| Retest evidence | Retest result for each finding, recorded as closed or open in a dated follow-up | Rerun history showing each fix passed the same gate; logs kept for the period your assessor reviews |
| Standard formats to confirm | Report format agreed in writing before work starts; ask which evidence fields the assessor needs | SBOM in CycloneDX 1.7 (released 21 October 2025) or SPDX 3.0.0 (April 2024); confirm which your assessor expects |
| Provenance evidence | Reviewer notes on build and source handling as of the test date | Build provenance graded against SLSA Build levels L0 to L3; confirm which level your assessor expects |
| Evidence an assessor may map to | Developer testing evidence, such as the SA-11 family in NIST SP 800-53 Rev. 5; confirm with the assessor | Ongoing scan and build records; confirm the assessor accepts automated results without a manual review |
| What the output does not prove | Code or pipeline changes after the test date, and coverage outside the agreed scope | Logic flaws, business abuse or issues no rule covers; a passing gate only shows the enabled checks ran |
What drives one-off vs continuous testing cost and effort
One-off tests are usually paid per agreed scope, covering tester time, reporting and retests. Continuous work combines tooling, owner time and sometimes a retainer, and release frequency, dependency count and regulated scope raise the effort in both models. DeployOpen does not publish a price list, so ask for an itemized quote tied to the written scope that separates one-time setup from recurring effort.
Repository count and languages
A one-off test is usually priced against the repositories in scope, their size and the languages and frameworks they use. A few small services in one language take less tester time than one large monolith with mixed languages and generated code. Confirm which repositories, branches and build artifacts are included, and whether vendored or third-party code is excluded. Ask the quote to state the size basis it assumes.
Manual review and developer access
Manual review is the largest variable in one-off code work because source code review, threat modeling and business logic checks need a tester reading the code. Access to developers and design documents shortens that work, since testers can confirm intended behavior from the people who built the system. Ask whether the quote includes a source code review, which components are read line by line, and who on your side must be available during the test.
Retest rounds
Each fix cycle usually ends in a retest round, and the quote should state how many are included and what counts as one. A retest that only confirms closed findings takes less effort than one that also checks for regressions in changed code. Ask whether retests have a time limit, whether a fix that fails retest opens a new round, and whether retests after later releases are a separate line item.
Pipeline integration and tool hosting
Continuous testing starts with wiring scanners into CI/CD pipelines, which is one-time setup, and then keeping them running, which recurs. Self-run tools carry their own licensing, hosting, upgrades and storage for scan results, and those costs continue after the first day. Check which pipelines and branches are in scope, which runners or hosts the tools need, and who owns the tokens and secrets the scanners use. Ask whether the quote covers setup only or ongoing operation.
Scorecard projectTriage load and owner fix time
Automated tools report false positives, and each one needs a person to decide whether it is valid, so triage load grows with the number of pipelines and rule sets. Fixes are then made by your developers, which makes owner time a cost that sits outside the vendor quote. Ask how false positives are suppressed, who approves suppressions, and how much triage volume the quote assumes your team can absorb.
Retainer scope
A retainer pays for recurring work such as pipeline maintenance, periodic reviews, tool upgrades and scheduled retests, so it is the part of continuous testing most likely to appear on every invoice. Define which applications and release trains it covers, how quickly urgent findings get a response, and whether tool upgrades are included. A one-off test can be bought without a retainer, so ask whether the retainer replaces the initial test or follows it.
How to combine one-off and continuous testing across a release cycle
A one-off review sets the threat model and gate thresholds, CI enforces them on every merge, and scheduled manual testing covers what automation cannot. Together they leave a dated record that assessors can follow. NIST SP 800-115 notes that organizations often combine techniques to reach an in-depth assessment at an acceptable level of risk, and this sequence is one way to do that.
Run a one-off baseline review
Before any gate is switched on, the reviewer maps the build chain: source hosting, CI runners, build and release jobs, third-party actions, package sources and who holds deploy credentials. The output is a threat model and a first set of gate thresholds, which the named owner approves. You provide repository and pipeline access, configuration files, architecture documents and a named owner for the work. The step is done when a signed baseline lists each pipeline, its trust boundaries and the agreed threshold for each gate.
Wire repository checks and SBOMs into CI
Automated checks run as merge gates on protected branches, starting with repository settings: branch protection, dangerous workflow patterns, pinned dependencies and token permissions. OpenSSF Scorecard covers several of these checks on open-source repositories and scores each one from 0 to 10. Each build then generates a software bill of materials in CycloneDX or SPDX, aligned to the NTIA minimum elements, and stores it with the artifact. The step is done when a test merge is blocked by a failing gate and every build publishes an SBOM.
Schedule manual reviews around change
Manual code review, threat modeling and penetration testing run on a schedule tied to architecture changes, new pipelines, major dependency changes and the release cadence of the frameworks you follow. Scanners cannot replace that work: PCI SSC's penetration testing guidance says that running an automated tool alone does not meet the penetration testing requirement, and NIST SP 800-115 suggests periodic penetration testing alongside regularly scheduled scanning. The named owner signs the calendar and its triggers. The step is done when each trigger has an owner, a scope note and a planned date recorded in the evidence file.
Retest fixes and tune gate rules
Each finding from a manual review or penetration test is fixed, then retested by the reviewer or another tester who can confirm the original exploit path is closed. Results feed back into CI: when a manual test finds a pattern the gates missed, a rule is added, and when a gate produces noise, its threshold is adjusted with a recorded reason. CIS Safeguard 18.4 asks for security measures to be validated after each test so that detections cover the techniques the testers used. The step is done when every finding has a retest result and every gate change has a dated note.
Compile a dated evidence file
Collect the baseline, gate configurations, SBOMs, test reports, retest results and the change log into one dated file, indexed by release and by finding. Assessors can then trace a finding from discovery to fix to retest and see which gate rule changed afterward. The file supports the development testing evidence that ISO/IEC 27001:2022 control A.8.29 asks for, and DORA Article 25 lists source code reviews where feasible among the appropriate tests. DeployOpen prepares this evidence but does not issue audit reports or attestations, and the independent auditor decides what it proves. The step is done when the named owner receives the file and an assessor can follow it without a verbal walkthrough.
Questions buyers ask before choosing one-off vs continuous testing
How is the cost of one-off and continuous code testing set?
Cost follows the written scope, so the same test can be priced very differently depending on what is included. A one-off test is usually quoted as one engagement, with scope, deliverables and timeline agreed in writing before work starts. The main drivers are the number of repositories, pipelines and dependencies in scope, whether source access and developer interviews are included, and how many retests are expected. Continuous testing adds recurring cost: commercial tool licenses where they apply, pipeline run time, engineering hours for triage, and any retainer for upgrades and continuous testing. Ask each bidder for a quote that separates one-time work from recurring work, names who is paid for each item (the provider, the tool vendor or your own staff), and states what is retested and how often. DeployOpen does not publish a price list, and a quote follows from the written scope.
How long does each option take and how much team time does it need?
A one-off test runs in a defined window with a start and an end, while continuous testing runs for as long as the agreement does. The length of a one-off test depends on scope size, how quickly access is granted and how fast the client answers questions, so the written scope should state the timeline before work begins. Team time falls into three parts: preparing access, environments and documentation; answering questions and reviewing findings during the window; and fixing issues and confirming retests afterwards. In continuous testing, the same kinds of work recur with every release and pipeline change, and the triage load grows with the number of findings. Ask the provider for the expected duration, the named client contacts and the hours they will need to give. Ask your own engineering leads to estimate triage and fix hours per sprint so the recurring load is visible before you commit.
Can our own team run continuous code and pipeline checks itself?
Yes, a team can run continuous checks itself, provided each tool is licensed for your use, the maintainers still support it, and a named owner manages its configuration. Confirm the license terms, supported versions and release cadence before you build a pipeline around a tool. Running a tool does not remove the rest of the work: someone must set rules, tune noise, decide which findings are real, assign fixes and update baselines when code changes. Owner time and triage are the recurring part of the job, and they continue after the initial setup. Pipeline configuration also needs review when workflows change, because a broad token permission or an unpinned dependency can weaken a check without anyone noticing. If your staff lack the capacity, a retainer for upgrades and continuous testing can carry part of the load. DeployOpen implements, configures and documents self-hosted platforms inside your own infrastructure, so its engineers can set up checks that your team then operates.
Does a one-off test satisfy NIST SA-11 or DORA for our software?
A one-off test can count toward these requirements, but the assessor or competent authority decides whether the evidence is sufficient. SA-11 in NIST SP 800-53 Rev. 5 is a developer testing and evaluation control with nine enhancements, covering test types such as static code analysis, manual code reviews, threat modeling, penetration testing and dynamic or interactive application testing. DORA Article 25(1) lists tests including vulnerability assessments and scans, open source analyses, source code reviews where feasible, scenario-based tests and penetration testing. Article 26 separately requires threat-led penetration testing at least every 3 years for entities their competent authority identifies. Check which test types apply to your system, document what each test covered and keep the results. Continuous checks produce repeatable records across releases, which some assessors weigh heavily. Confirm the expected evidence with your assessor, your competent authority or your compliance lead before you choose a model. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports or attestations.
Which should we start with if we have neither one-off testing nor continuous checks?
Start with a baseline review, then add gates once the baseline shows where the gaps are. The baseline checks your code, build pipeline, dependency sources, repository access and artifact integrity practices against the OWASP Top 10 CI/CD Security Risks, which cover areas such as flow control, identity and access, dependency chain abuse, poisoned pipeline execution and artifact integrity validation. The output is a prioritized list of gaps and a view of which checks can run automatically. Gates come next: a small set of automated checks in the pipeline that flag or block changes that break agreed rules, such as branch protection, pinned dependencies and restricted token permissions. Keep the first set small so teams accept it, then widen coverage over time. NIST SP 800-115 notes that organizations often combine techniques to reach an in-depth assessment at an acceptable level of risk, and the OWASP Web Security Testing Guide says no single technique is enough. A fixed-scope baseline review can be agreed in writing first, with retainers added later if you need ongoing support.
Does an OpenSSF Scorecard result prove that a project is secure?
No. An OpenSSF Scorecard result is an automated set of checks on an open-source repository, and it does not prove the software is secure or replace an assessment. Scorecard runs checks such as Branch-Protection, Dangerous-Workflow, Pinned-Dependencies and Token-Permissions, scores each from 0 to 10, and combines them into a weighted aggregate score. These checks see only what the repository and its configuration expose. They do not test business logic, review design decisions, exercise the running application or assess how your own build and deployment environment is set up. A high score is a useful signal about specific practices in one project, and a low score shows where to look first. For a decision that depends on security, pair the score with a source code review, a threat model or a penetration test scoped to the code and pipeline you actually run. Record the date and the version of the Scorecard results you read, because repository settings change over time.
How DeployOpen scopes, delivers and supports code and supply chain testing
DeployOpen treats code and supply chain testing as a scoped engagement that can be run once or kept running alongside your release process. Most engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts. The work is delivered inside your own infrastructure, and ongoing testing is available as a retainer.
How we scope
- The written scope lists which repositories, CI/CD pipelines, build systems and dependency sources are in and out of testing.
- Scope agreed before work starts also records which code review, pipeline review and dependency analysis steps are included.
- Most engagements are fixed-scope, so deliverables and timelines are confirmed in writing before any testing begins.
How we build
- Testing runs inside your own cloud accounts, data centers or air-gapped networks, against build systems you already operate.
- Where the scope includes it, review covers source code, pipeline definitions, dependency manifests and artifact handling.
- A retainer can repeat the agreed checks on each release cycle, so earlier findings are rechecked as code changes.
How we hand over
- Findings are documented with reproduction steps, affected components, and suggested fixes that your engineers can act on.
- A retest confirms whether fixes hold, and the retest result is recorded alongside the original findings.
- Evidence is prepared for your compliance and security reviewers, but DeployOpen does not issue audit reports or certifications.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, quoted from the written scope.
- Ask whether the retainer covers pipeline changes, new dependencies and retesting of fixes, and how each is billed.
- Confirm in the quote who runs each recurring check, your team or DeployOpen, and what triggers a new test.

