Skip to content

Commit 73222bc

Browse files
authored
Merge pull request #2742 from DebLanger/US372363_3PAHquery
Update AH query examples
2 parents b0b7eac + 9843918 commit 73222bc

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

exposure-management/value-data-connectors.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,17 +99,19 @@ This query will return all vulnerabilities (CVEs) reported by Rapid7 on ingested
9999

100100
```kusto
101101
ExposureGraphEdges
102-
| where EdgeLabel == "affecting"
103-
| where tostring(EdgeProperties.rawData.reportInfo.reportedBy) == "rapid7"
102+
| where EdgeLabel == "affecting"
103+
| where SourceNodeLabel == "Cve"
104+
| where isnotempty(EdgeProperties.rawData.rapid7ReportInfo)
104105
| project AssetName = TargetNodeName, CVE = SourceNodeName
105106
```
106107

107108
This query will return all vulnerabilities (CVEs) reported by Tenable on ingested assets.
108109

109110
```kusto
110111
ExposureGraphEdges
111-
| where EdgeLabel == "affecting"
112-
| where tostring(EdgeProperties.rawData.reportInfo.reportedBy) == "tenable"
112+
| where EdgeLabel == "affecting"
113+
| where SourceNodeLabel == "Cve"
114+
| where isnotempty(EdgeProperties.rawData.tenableReportInfo)
113115
| project AssetName = TargetNodeName, CVE = SourceNodeName
114116
```
115117

0 commit comments

Comments
 (0)