Missing CVENumbers and PackageSeverity Details in Kusto Query Result

HurminLNU-FT 0 Reputation points
2023-08-07T07:18:10.04+00:00
Update
| where TimeGenerated > ago(5h) and OSType == "Linux" and SourceComputerId in ((Heartbeat
    | where TimeGenerated > ago(12h) and OSType == "Linux" and notempty(Computer)
    | summarize arg_max(TimeGenerated, Solutions) by SourceComputerId
    | where Solutions has "updates"
    | distinct SourceComputerId))
| summarize hint.strategy=partitioned arg_max(TimeGenerated, *) by Computer, SourceComputerId, Product, ProductArch
| where UpdateState =~ "Needed" and Computer == "AM-PROD-APP1"
| render table

The query provided above does not include the details of CVENumbers and PackageSeverity in its result. I am looking for a solution to include these details in the query result

Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
537 questions
Azure FastTrack
Azure FastTrack
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.FastTrack: This tag is no longer in use. Please use 'Azure Startups' instead.
76 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 38,496 Reputation points Microsoft Employee
    2023-08-08T06:08:07.29+00:00

    Hi HurminLNU-FT,

    Thank you for posting query in Microsoft Q&A Platform.

    To include columns we need to include then in summarize operator. Kindly try to include missing columns to it if that works as per your requirement.

    Below is the sample query just for reference.

    Update
    | where TimeGenerated > ago(5h) and OSType == "Linux" and SourceComputerId in ((Heartbeat
        | where TimeGenerated > ago(12h) and OSType == "Linux" and notempty(Computer)
        | summarize arg_max(TimeGenerated, Solutions) by SourceComputerId
        | where Solutions has "updates"
        | distinct SourceComputerId))
    | summarize hint.strategy=partitioned arg_max(TimeGenerated, *) by Computer, SourceComputerId, Product, ProductArch, CVENumbers, PackageSeverity
    | where UpdateState =~ "Needed" and Computer == "AM-PROD-APP1"
    | render table
    

    Hope this helps. Please try and let me know how it goes. Thank you.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.