Skip to content

fix(security): make clean-default model fields required - #3807

Merged
dan-petty merged 2 commits into
mainfrom
fix/2636-a-result-that-no-lookup-marked
Nov 6, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/2636-a-result-that-no-lookup-marked

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

#2636 reports that four models in src/devops_cli/models/ default to a clean security status. A producer that forgets to set the field gives a result that reads as safe, with no error. This is the same defect shape as #2504, which fixed one model and left these four.

This change makes two fields required and removes two unused models. NetworkReference.security_status and PackageLookupResult.status no longer default to a clean value, so a producer that forgets the field gets a validation error. NetworkIntelResult and PackageIntelResult are removed because no code in src/ uses them. The models package all no longer lists them.

Closes #2636

Change: openspec/changes/archive/2026-11-06-2636-a-result-that-no-lookup-marked/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/security Security linters (trivy, bandit, gitleaks, kubeconform) and Vault labels Nov 6, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 6, 2026 18:03
@dan-petty
dan-petty force-pushed the fix/2636-a-result-that-no-lookup-marked branch from b1d3a45 to e8c811a Compare November 6, 2026 18:10
@dan-petty
dan-petty merged commit dcc22b0 into main Nov 6, 2026
24 checks passed
@dan-petty
dan-petty deleted the fix/2636-a-result-that-no-lookup-marked branch November 6, 2026 18:17
dan-petty pushed a commit that referenced this pull request Nov 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.71.0](v0.70.2...v0.71.0)
(2026-11-06)


### Features

* **roadmap:** a Service row runs the retitle job
([#3811](#3811))
([f1130d3](f1130d3))
* **roadmap:** list moved plan paths in the stage comment
([#3805](#3805))
([b550b07](b550b07))


### Bug Fixes

* **review:** Limit lockfile bucket to CONST_LOCKFILE_NAMES
([#3808](#3808))
([0b2909a](0b2909a))
* **security:** make clean-default model fields required
([#3807](#3807))
([dcc22b0](dcc22b0))


### Code Refactoring

* **ci:** record keep-port decision
([#3816](#3816))
([7ca3afd](7ca3afd))
* **mcp:** delete the outbound MCP code that nothing reaches
([#3817](#3817))
([b28fd4d](b28fd4d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/security Security linters (trivy, bandit, gitleaks, kubeconform) and Vault type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(models): make clean-default model fields required

1 participant