Repository navigation
fix(openvasd): exclude include files from VT details - #2454
Merged
Merged
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. Scanned FilesNone |
clawosiris
force-pushed
the
fix/2451-filter-inc-vts
branch
from
November 13, 2026 18:29
aa945fa to
d6e3cbe
Compare
7 of 13 tasks
Filter internal NASL include records from the detailed VT stream while preserving them in storage for integrity checks and execution. Add endpoint regressions covering both response shapes and preserving NASL and advisory VTs. Agent: Thoth Model: gpt-5.6-terra Thinking: high Bot-Owner: @llunved
tehforsch
force-pushed
the
fix/2451-filter-inc-vts
branch
from
November 19, 2026 10:41
d6e3cbe to
8cbec12
Compare
tehforsch
approved these changes
Nov 19, 2026
tehforsch
left a comment
Contributor
There was a problem hiding this comment.
Allowed myself to rebase this by removing some unnecessary verbosity, otherwise looks fine
tehforsch
enabled auto-merge
November 19, 2026 10:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
OpenVASD stores NASL
.incdependencies as synthetic plugin rows so feed integrity and scan execution can use them. The OID-only VT API already filters those rows, butGET /vts?information=1exposed them as empty vulnerability tests. gvmd rejects the first empty include record and rolls back the complete direct-OpenVASD VT import.Why This Change Was Made
Apply the existing public-VT boundary consistently to the detailed SQLite stream. The include rows remain stored and available internally; only the public detailed response excludes them.
The regression coverage verifies that:
.increcords;User Impact
gvmd can consume the detailed OpenVASD VT stream without failing on internal include dependencies. This unblocks direct-OpenVASD feed synchronization and downstream scan configuration discovery.
Evidence
cargo fmt --all --check— passedcargo test --bin openvasd api_tests::get_vts -- --nocapture— 2 passedgit diff --check— passed-D warnings; it reaches two pre-existing dead-code warnings in unchanged tests (TestScan::stopandScanEndpoint::Default).Fixes #2451
Agent: Thoth
Model: gpt-5.6-terra
Thinking: high
Bot-Owner: @llunved