[Tenable_IO] - Enriched the scan data stream with WAS API scan details data. - #16222
Merged
Conversation
ShourieG
marked this pull request as ready for review
December 3, 2025 11:32
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
Contributor
🚀 Benchmarks reportTo see the full report comment with |
efd6
reviewed
Dec 7, 2025
efd6
approved these changes
Dec 9, 2025
💚 Build Succeeded
History
cc @ShourieG |
Contributor
|
Package tenable_io - 4.7.0 containing this change is available at https://epr.elastic.co/package/tenable_io/4.7.0/ |
chemamartinez
added a commit
that referenced
this pull request
Aug 4, 2026
tenable_io/data_stream/scan: fix scan details endpoint and remap schema
The scan data stream's CEL program fetched per-scan details via
GET /was/v2/scans/{id} (Web Application Scanning API) [1] instead of
the correct GET /scans/{id} (Vulnerability Management API) [2].
Because VM scan IDs are not valid in the WAS namespace, every Phase 2
request returned 404. The CEL 404 branch emitted a want_more stub that
the ingest pipeline dropped, so no scan documents were ever produced.
The bug was introduced in #16222; it escaped CI because the system
test mock was hand-authored to return 200 for the WAS path.
This change fixes the endpoint and rebuilds all schema-dependent
artifacts around the standard VM scan-details response:
- CEL program: /was/v2/scans/{id} → /scans/{id}.
- Fields: replace the WAS scan_details group with the full VM schema —
info (+ acls[]), hosts, comphosts, vulnerabilities, compliance,
history, notes, remediations, progress.
- Ingest pipeline: replace WAS ISO8601 date processors with UNIX
processors for info timestamps and foreach processors for history[]
dates; drop the UI-only filters[] array.
- Mock service: update test routes to /scans/{id} with standard-schema
bodies so system tests exercise the real endpoint shape.
- Pipeline test fixture and sample event: updated to standard schema.
- Docs: update Phase 2 API reference link to scans-details.
[1] https://developer.tenable.com/reference/was-v2-scans-details
[2] https://developer.tenable.com/reference/scans-details
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.
Type of change
Proposed commit message
Checklist
changelog.ymlfile.Author's Checklist
The tests used have been derived from the existing tests and examples listed on https://developer.tenable.com/reference/scans-list
How to test this PR locally
Related issues
Screenshots