[GA] Clarify duplicate handling for Qualys VM host detections - #15064
Open
RodrigoLopezCam wants to merge 1 commit into
Open
[GA] Clarify duplicate handling for Qualys VM host detections#15064RodrigoLopezCam wants to merge 1 commit into
RodrigoLopezCam wants to merge 1 commit into
Conversation
…y; regenerate package version 3.0.11
Contributor
There was a problem hiding this comment.
Note
Copilot was unable to run its full agentic suite in this review.
Pull request overview
Updates the Qualys VM solution to reduce duplicate host-detection outputs by enhancing the QualysHostDetection parser (adds processing timestamps + deduping logic) and adjusts the CCP connector metadata for Defender portal query compatibility.
Changes:
- Bumped solution/package versions to 3.0.11 and parser to 1.0.2.
- Extended QualysHostDetection parser to surface
LastProcessedDateTimeand added deduping viasummarize arg_max(...). - Removed dynamic
graphQueriesTableNameusage and clarified guidance to use the parser instead of raw V3 snapshots.
Reviewed changes
Copilot reviewed 5 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| Solutions/QualysVM/data/Solution_QualysVM.json | Solution version bump to 3.0.11. |
| Solutions/QualysVM/ReleaseNotes.md | Added 3.0.11 entry describing parser + connector updates. |
| Solutions/QualysVM/Parsers/QualysHostDetection.yaml | Adds processing timestamp extraction and deduping logic in KQL. |
| Solutions/QualysVM/Package/mainTemplate.json | Propagates version bumps, updates embedded parser query, removes graphQueriesTableName, updates connector guidance text. |
| Solutions/QualysVM/Data Connectors/QualysVMHostLogs_ccp/QualysVMHostLogs_ConnectorDefinition.json | Removes graphQueriesTableName and updates user guidance to prefer the parser. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| LastUpdate = todatetime(LastUpdate), | ||
| LastFound = todatetime(LastFound), | ||
| _IngestionTime = todatetime(TimeGenerated) | ||
| | summarize arg_max(_IngestionTime, *) by HostId, QID, Status, LastProcessedDateTime, LastUpdate |
| LastFound = todatetime(LastFound), | ||
| _IngestionTime = todatetime(TimeGenerated) | ||
| | summarize arg_max(_IngestionTime, *) by HostId, QID, Status, LastProcessedDateTime, LastUpdate | ||
| | extend TimeGenerated = coalesce(LastProcessedDateTime, LastUpdate, LastFound, _IngestionTime) |
Comment on lines
+182
to
+183
| _IngestionTime = todatetime(TimeGenerated) | ||
| | summarize arg_max(_IngestionTime, *) by HostId, QID, Status, LastProcessedDateTime, LastUpdate |
Comment on lines
+179
to
+183
| LastProcessedDateTime = todatetime(LastProcessedDateTime), | ||
| LastUpdate = todatetime(LastUpdate), | ||
| LastFound = todatetime(LastFound), | ||
| _IngestionTime = todatetime(TimeGenerated) | ||
| | summarize arg_max(_IngestionTime, *) by HostId, QID, Status, LastProcessedDateTime, LastUpdate |
Collaborator
|
Hi RodrigoLopezCam, |
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.
Change(s):
Updated the Qualys host detection parser to expose processing timestamps and deduplicate unchanged vulnerability versions. Updated the CCP data connector to use explicit table references for Defender portal query compatibility.
Reason for Change(s):
Reduce duplicate detection results while preserving meaningful vulnerability status changes, and prevent connector UI query parsing issues caused by dynamic table references.
Version Updated:
Version retained at 3.0.11.
Testing Completed:
Yes. Packaging and validation completed successfully.
Checked that the validations are passing and have addressed any issues that are present:
Yes. All applicable validations passed: 13 passed, 0 failed, and 5 skipped due to unavailable or inapplicable tooling.