| 1 |
<html><body> |
| 2 |
<style> |
| 3 |
|
| 4 |
body, h1, h2, h3, div, span, p, pre, a { |
| 5 |
margin: 0; |
| 6 |
padding: 0; |
| 7 |
border: 0; |
| 8 |
font-weight: inherit; |
| 9 |
font-style: inherit; |
| 10 |
font-size: 100%; |
| 11 |
font-family: inherit; |
| 12 |
vertical-align: baseline; |
| 13 |
} |
| 14 |
|
| 15 |
body { |
| 16 |
font-size: 13px; |
| 17 |
padding: 1em; |
| 18 |
} |
| 19 |
|
| 20 |
h1 { |
| 21 |
font-size: 26px; |
| 22 |
margin-bottom: 1em; |
| 23 |
} |
| 24 |
|
| 25 |
h2 { |
| 26 |
font-size: 24px; |
| 27 |
margin-bottom: 1em; |
| 28 |
} |
| 29 |
|
| 30 |
h3 { |
| 31 |
font-size: 20px; |
| 32 |
margin-bottom: 1em; |
| 33 |
margin-top: 1em; |
| 34 |
} |
| 35 |
|
| 36 |
pre, code { |
| 37 |
line-height: 1.5; |
| 38 |
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 |
} |
| 40 |
|
| 41 |
pre { |
| 42 |
margin-top: 0.5em; |
| 43 |
} |
| 44 |
|
| 45 |
h1, h2, h3, p { |
| 46 |
font-family: Arial, sans serif; |
| 47 |
} |
| 48 |
|
| 49 |
h1, h2, h3 { |
| 50 |
border-bottom: solid #CCC 1px; |
| 51 |
} |
| 52 |
|
| 53 |
.toc_element { |
| 54 |
margin-top: 0.5em; |
| 55 |
} |
| 56 |
|
| 57 |
.firstline { |
| 58 |
margin-left: 2 em; |
| 59 |
} |
| 60 |
|
| 61 |
.method { |
| 62 |
margin-top: 1em; |
| 63 |
border: solid 1px #CCC; |
| 64 |
padding: 1em; |
| 65 |
background: #EEE; |
| 66 |
} |
| 67 |
|
| 68 |
.details { |
| 69 |
font-weight: bold; |
| 70 |
font-size: 14px; |
| 71 |
} |
| 72 |
|
| 73 |
</style> |
| 74 |
|
| 75 |
<h1><a href="threatintelligence_v1beta.html">Threat Intelligence API</a> . <a href="threatintelligence_v1beta.projects.html">projects</a> . <a href="threatintelligence_v1beta.projects.findings.html">findings</a></h1> |
| 76 |
<h2>Instance Methods</h2> |
| 77 |
<p class="toc_element"> |
| 78 |
<code><a href="#close">close()</a></code></p> |
| 79 |
<p class="firstline">Close httplib2 connections.</p> |
| 80 |
<p class="toc_element"> |
| 81 |
<code><a href="#get">get(name, x__xgafv=None)</a></code></p> |
| 82 |
<p class="firstline">Get a finding by name. The `name` field should have the format: `projects/{project}/findings/{finding}`</p> |
| 83 |
<p class="toc_element"> |
| 84 |
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> |
| 85 |
<p class="firstline">Get a list of findings that meet the filter criteria. The `parent` field in ListFindingsRequest should have the format: projects/{project}</p> |
| 86 |
<p class="toc_element"> |
| 87 |
<code><a href="#list_next">list_next()</a></code></p> |
| 88 |
<p class="firstline">Retrieves the next page of results.</p> |
| 89 |
<p class="toc_element"> |
| 90 |
<code><a href="#search">search(parent, orderBy=None, pageSize=None, pageToken=None, query=None, x__xgafv=None)</a></code></p> |
| 91 |
<p class="firstline">SearchFindings is a more powerful version of ListFindings that supports complex queries like "findings for alerts" using functions such as `has_alert` in the query string. The `parent` field in SearchFindingsRequest should have the format: projects/{project} Example to search for findings for a specific issue: `has_alert("name=\"projects/gti-12345/alerts/alert-12345\"")`</p> |
| 92 |
<p class="toc_element"> |
| 93 |
<code><a href="#search_next">search_next()</a></code></p> |
| 94 |
<p class="firstline">Retrieves the next page of results.</p> |
| 95 |
<h3>Method Details</h3> |
| 96 |
<div class="method"> |
| 97 |
<code class="details" id="close">close()</code> |
| 98 |
<pre>Close httplib2 connections.</pre> |
| 99 |
</div> |
| 100 |
|
| 101 |
<div class="method"> |
| 102 |
<code class="details" id="get">get(name, x__xgafv=None)</code> |
| 103 |
<pre>Get a finding by name. The `name` field should have the format: `projects/{project}/findings/{finding}` |
| 104 |
|
| 105 |
Args: |
| 106 |
name: string, Required. Name of the finding to get. (required) |
| 107 |
x__xgafv: string, V1 error format. |
| 108 |
Allowed values |
| 109 |
1 - v1 error format |
| 110 |
2 - v2 error format |
| 111 |
|
| 112 |
Returns: |
| 113 |
An object of the form: |
| 114 |
|
| 115 |
{ # A ‘stateless’ and a point in time event that a check produced a result of interest. |
| 116 |
"aiSummary": "A String", # Optional. AI summary of the finding. |
| 117 |
"alert": "A String", # Optional. Name of the alert that this finding is bound to. |
| 118 |
"audit": { # Tracks basic CRUD facts. # Output only. Audit data about the finding. |
| 119 |
"createTime": "A String", # Output only. Time of creation. |
| 120 |
"creator": "A String", # Output only. Agent that created or updated the record, could be a UserId or a JobId. |
| 121 |
"updateTime": "A String", # Output only. Time of creation or last update. |
| 122 |
"updater": "A String", # Output only. Agent that last updated the record, could be a UserId or a JobId. |
| 123 |
}, |
| 124 |
"configurations": [ # Optional. Configuration names that are bound to this finding. |
| 125 |
"A String", |
| 126 |
], |
| 127 |
"detail": { # Wrapper class that contains the union struct for all the various findings detail specific classes. # Required. Holder of the domain specific details of the finding. |
| 128 |
"dataLeak": { # A detail object for a Data Leak finding. # Data Leak finding detail type. |
| 129 |
"documentId": "A String", # Required. The unique identifier of the document that triggered the Data Leak finding. This ID can be used to retrieve the content of the document for further analysis. |
| 130 |
"matchScore": 3.14, # Required. Reference to the match score of the Data Leak finding. This is a float value greater than 0 and less than or equal to 1 calculated by the matching engine based on the similarity of the document and the user provided configurations. |
| 131 |
"severity": "A String", # Required. The severity of the Data Leak finding. This indicates the potential impact of the threat. |
| 132 |
}, |
| 133 |
"detailType": "A String", # Output only. Name of the detail type. Will be set by the server during creation to the name of the field that is set in the detail union. |
| 134 |
"initialAccessBroker": { # A detail object for an Initial Access Broker (IAB) finding. # Initial Access Broker finding detail type. |
| 135 |
"documentId": "A String", # Required. The unique identifier of the document that triggered the IAB finding. This ID can be used to retrieve the content of the document for further analysis. |
| 136 |
"matchScore": 3.14, # Required. Reference to the match score of the IAB finding. This is a float value between 0 and 1 calculated by the matching engine based on the similarity of the document and the user provided configurations. |
| 137 |
"severity": "A String", # Required. The severity of the IAB finding. This indicates the potential impact of the threat. |
| 138 |
}, |
| 139 |
"insiderThreat": { # A detail object for a InsiderThreat finding. # Insider Threat finding detail type. |
| 140 |
"documentId": "A String", # Required. The unique identifier of the document that triggered the InsiderThreat finding. This ID can be used to retrieve the content of the document for further analysis. |
| 141 |
"matchScore": 3.14, # Required. Reference to the match score of the InsiderThreat finding. This is a float value greater than 0 and less than or equal to 1 calculated by the matching engine based on the similarity of the document and the user provided configurations. |
| 142 |
"severity": "A String", # Required. The severity of the InsiderThreat finding. This indicates the potential impact of the threat. |
| 143 |
}, |
| 144 |
"targetTechnology": { # Contains details for a technology watchlist finding. # Technology Watchlist finding detail type. |
| 145 |
"vulnerabilityMatch": { # Contains details about a vulnerability match. # Optional. The vulnerability match details. |
| 146 |
"associations": [ # Optional. Associated threat actors, malware, etc. This is embedded as a snapshot because the details of the association at the time of the vulnerability match are important for context and reporting. |
| 147 |
{ # Represents an association with a vulnerability. |
| 148 |
"id": "A String", # Required. The ID of the association. |
| 149 |
"type": "A String", # Required. The type of the association. |
| 150 |
}, |
| 151 |
], |
| 152 |
"collectionId": "A String", # Required. The collection ID of the vulnerability. Ex: "vulnerability--cve-2025-9876". |
| 153 |
"cveId": "A String", # Required. The CVE ID of the vulnerability. Ex: "CVE-2025-9876". See https://www.cve.org/ for more information. |
| 154 |
"cvss3Score": 3.14, # Required. The CVSS score of the vulnerability. Evaluates to CVSS v3 when available with a fallback to v2 and v4. Example: 6.4. |
| 155 |
"description": "A String", # Required. A description of the vulnerability. |
| 156 |
"disclosureTime": "A String", # Optional. The disclosure time of the vulnerability. |
| 157 |
"epssScore": 3.14, # Optional. The EPSS score, representing the probability of exploitation. Example: 0.87. |
| 158 |
"exploitationConsequences": [ # Optional. List of exploitation consequences for the vulnerability. |
| 159 |
"A String", |
| 160 |
], |
| 161 |
"exploitationState": "A String", # Required. The exploitation state of the vulnerability. |
| 162 |
"exploitationVectors": [ # Optional. List of exploitation vectors for the vulnerability. |
| 163 |
"A String", |
| 164 |
], |
| 165 |
"matchedTechnologies": [ # Optional. The specific technologies from the configured watchlist that triggered the match. Ex: "Apache Struts". |
| 166 |
"A String", |
| 167 |
], |
| 168 |
"priority": "A String", # Optional. The priority level of the vulnerability data. Ex: "P1". |
| 169 |
"productFixes": [ # Optional. List of product fixes for the vulnerability. |
| 170 |
{ # Contains details about a product fix. |
| 171 |
"displayName": "A String", # Required. The name of the fix. Ex: "Magento". |
| 172 |
"publishTime": "A String", # Optional. The published time of the fix. |
| 173 |
"sourceId": "A String", # Required. The source ID of the fix. Ex: "APPSEC-1420". |
| 174 |
"uri": "A String", # Optional. The URI of the fix. |
| 175 |
}, |
| 176 |
], |
| 177 |
"publicExploits": [ # Optional. List of public exploits. |
| 178 |
{ # Contains details about a public exploit. |
| 179 |
"exploitGrade": "A String", # Optional. The grade of the exploit. Ex: "non-weaponized". |
| 180 |
"exploitName": "A String", # Required. The name of the exploit. Ex: "Magentounauth.php.txt". |
| 181 |
"exploitReliability": "A String", # Optional. The reliability of the exploit. Ex: "Unreviewed". |
| 182 |
"releaseTime": "A String", # Optional. The release time of the exploit. |
| 183 |
"sizeBytes": "A String", # Optional. The size of the exploit. |
| 184 |
"uri": "A String", # Optional. The URI of the exploit. |
| 185 |
}, |
| 186 |
], |
| 187 |
"publiclyAvailableExploit": True or False, # Output only. Whether a publicly available exploit exists. |
| 188 |
"riskRating": "A String", # Required. The risk rating of the vulnerability. |
| 189 |
"technologies": [ # Required. All technologies affected by the vulnerability. Ex: "Apache Struts". |
| 190 |
"A String", |
| 191 |
], |
| 192 |
}, |
| 193 |
}, |
| 194 |
}, |
| 195 |
"displayName": "A String", # Required. A short descriptive title for the finding <= 250 chars. EX: "Actor 'baddy' offering $1000 for credentials of 'goodguy'". |
| 196 |
"name": "A String", # Identifier. Server generated name for the finding (leave clear during creation). Format: projects/{project}/findings/{finding} |
| 197 |
"provider": "A String", # Required. Logical source of this finding (name of the sub-engine). |
| 198 |
"relevanceAnalysis": { # Structured relevance analysis for a threat. # Output only. High-Precision Relevance Analysis verdict for the finding. |
| 199 |
"confidence": "A String", # The level of confidence in the given verdict. |
| 200 |
"evidence": { # Details the evidence used to determine the relevance verdict. # Evidence supporting the verdict, including matched and unmatched items. |
| 201 |
"commonThemes": [ # A list of semantic themes or concepts found to be common, related, or aligned between the sources, supporting the verdict. |
| 202 |
"A String", |
| 203 |
], |
| 204 |
"distinctThemes": [ # A list of semantic themes or descriptions unique to one source or semantically distant. |
| 205 |
"A String", |
| 206 |
], |
| 207 |
}, |
| 208 |
"reasoning": "A String", # Human-readable explanation from the matcher, detailing why a particular result is considered relevant or not relevant. |
| 209 |
"relevanceLevel": "A String", # The level of relevance. |
| 210 |
"relevant": True or False, # Indicates whether the threat is considered relevant. |
| 211 |
}, |
| 212 |
"reoccurrenceTimes": [ # Output only. When identical finding (same labels and same details) has re-occurred. |
| 213 |
"A String", |
| 214 |
], |
| 215 |
"severity": 3.14, # Optional. Deprecated: Use the `severity_analysis` field instead. Base severity score from the finding source. |
| 216 |
"severityAnalysis": { # Structured severity analysis for a threat. # Output only. High-Precision Severity Analysis verdict for the finding. |
| 217 |
"confidence": "A String", # The level of confidence in the given verdict. |
| 218 |
"reasoning": "A String", # Human-readable explanation from the model, detailing why a particular result is considered to have a certain severity. |
| 219 |
"severityLevel": "A String", # The level of severity. |
| 220 |
}, |
| 221 |
}</pre> |
| 222 |
</div> |
| 223 |
|
| 224 |
<div class="method"> |
| 225 |
<code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code> |
| 226 |
<pre>Get a list of findings that meet the filter criteria. The `parent` field in ListFindingsRequest should have the format: projects/{project} |
| 227 |
|
| 228 |
Args: |
| 229 |
parent: string, Required. Parent of the findings. (required) |
| 230 |
filter: string, Optional. Filter criteria. |
| 231 |
orderBy: string, Optional. Order by criteria in the csv format: "field1,field2 desc" or "field1,field2" or "field1 asc, field2". |
| 232 |
pageSize: integer, Optional. Page size. |
| 233 |
pageToken: string, Optional. Page token. |
| 234 |
x__xgafv: string, V1 error format. |
| 235 |
Allowed values |
| 236 |
1 - v1 error format |
| 237 |
2 - v2 error format |
| 238 |
|
| 239 |
Returns: |
| 240 |
An object of the form: |
| 241 |
|
| 242 |
{ # Response message for ListFindings. |
| 243 |
"findings": [ # List of findings. |
| 244 |
{ # A ‘stateless’ and a point in time event that a check produced a result of interest. |
| 245 |
"aiSummary": "A String", # Optional. AI summary of the finding. |
| 246 |
"alert": "A String", # Optional. Name of the alert that this finding is bound to. |
| 247 |
"audit": { # Tracks basic CRUD facts. # Output only. Audit data about the finding. |
| 248 |
"createTime": "A String", # Output only. Time of creation. |
| 249 |
"creator": "A String", # Output only. Agent that created or updated the record, could be a UserId or a JobId. |
| 250 |
"updateTime": "A String", # Output only. Time of creation or last update. |
| 251 |
"updater": "A String", # Output only. Agent that last updated the record, could be a UserId or a JobId. |
| 252 |
}, |
| 253 |
"configurations": [ # Optional. Configuration names that are bound to this finding. |
| 254 |
"A String", |
| 255 |
], |
| 256 |
"detail": { # Wrapper class that contains the union struct for all the various findings detail specific classes. # Required. Holder of the domain specific details of the finding. |
| 257 |
"dataLeak": { # A detail object for a Data Leak finding. # Data Leak finding detail type. |
| 258 |
"documentId": "A String", # Required. The unique identifier of the document that triggered the Data Leak finding. This ID can be used to retrieve the content of the document for further analysis. |
| 259 |
"matchScore": 3.14, # Required. Reference to the match score of the Data Leak finding. This is a float value greater than 0 and less than or equal to 1 calculated by the matching engine based on the similarity of the document and the user provided configurations. |
| 260 |
"severity": "A String", # Required. The severity of the Data Leak finding. This indicates the potential impact of the threat. |
| 261 |
}, |
| 262 |
"detailType": "A String", # Output only. Name of the detail type. Will be set by the server during creation to the name of the field that is set in the detail union. |
| 263 |
"initialAccessBroker": { # A detail object for an Initial Access Broker (IAB) finding. # Initial Access Broker finding detail type. |
| 264 |
"documentId": "A String", # Required. The unique identifier of the document that triggered the IAB finding. This ID can be used to retrieve the content of the document for further analysis. |
| 265 |
"matchScore": 3.14, # Required. Reference to the match score of the IAB finding. This is a float value between 0 and 1 calculated by the matching engine based on the similarity of the document and the user provided configurations. |
| 266 |
"severity": "A String", # Required. The severity of the IAB finding. This indicates the potential impact of the threat. |
| 267 |
}, |
| 268 |
"insiderThreat": { # A detail object for a InsiderThreat finding. # Insider Threat finding detail type. |
| 269 |
"documentId": "A String", # Required. The unique identifier of the document that triggered the InsiderThreat finding. This ID can be used to retrieve the content of the document for further analysis. |
| 270 |
"matchScore": 3.14, # Required. Reference to the match score of the InsiderThreat finding. This is a float value greater than 0 and less than or equal to 1 calculated by the matching engine based on the similarity of the document and the user provided configurations. |
| 271 |
"severity": "A String", # Required. The severity of the InsiderThreat finding. This indicates the potential impact of the threat. |
| 272 |
}, |
| 273 |
"targetTechnology": { # Contains details for a technology watchlist finding. # Technology Watchlist finding detail type. |
| 274 |
"vulnerabilityMatch": { # Contains details about a vulnerability match. # Optional. The vulnerability match details. |
| 275 |
"associations": [ # Optional. Associated threat actors, malware, etc. This is embedded as a snapshot because the details of the association at the time of the vulnerability match are important for context and reporting. |
| 276 |
{ # Represents an association with a vulnerability. |
| 277 |
"id": "A String", # Required. The ID of the association. |
| 278 |
"type": "A String", # Required. The type of the association. |
| 279 |
}, |
| 280 |
], |
| 281 |
"collectionId": "A String", # Required. The collection ID of the vulnerability. Ex: "vulnerability--cve-2025-9876". |
| 282 |
"cveId": "A String", # Required. The CVE ID of the vulnerability. Ex: "CVE-2025-9876". See https://www.cve.org/ for more information. |
| 283 |
"cvss3Score": 3.14, # Required. The CVSS score of the vulnerability. Evaluates to CVSS v3 when available with a fallback to v2 and v4. Example: 6.4. |
| 284 |
"description": "A String", # Required. A description of the vulnerability. |
| 285 |
"disclosureTime": "A String", # Optional. The disclosure time of the vulnerability. |
| 286 |
"epssScore": 3.14, # Optional. The EPSS score, representing the probability of exploitation. Example: 0.87. |
| 287 |
"exploitationConsequences": [ # Optional. List of exploitation consequences for the vulnerability. |
| 288 |
"A String", |
| 289 |
], |
| 290 |
"exploitationState": "A String", # Required. The exploitation state of the vulnerability. |
| 291 |
"exploitationVectors": [ # Optional. List of exploitation vectors for the vulnerability. |
| 292 |
"A String", |
| 293 |
], |
| 294 |
"matchedTechnologies": [ # Optional. The specific technologies from the configured watchlist that triggered the match. Ex: "Apache Struts". |
| 295 |
"A String", |
| 296 |
], |
| 297 |
"priority": "A String", # Optional. The priority level of the vulnerability data. Ex: "P1". |
| 298 |
"productFixes": [ # Optional. List of product fixes for the vulnerability. |
| 299 |
{ # Contains details about a product fix. |
| 300 |
"displayName": "A String", # Required. The name of the fix. Ex: "Magento". |
| 301 |
"publishTime": "A String", # Optional. The published time of the fix. |
| 302 |
"sourceId": "A String", # Required. The source ID of the fix. Ex: "APPSEC-1420". |
| 303 |
"uri": "A String", # Optional. The URI of the fix. |
| 304 |
}, |
| 305 |
], |
| 306 |
"publicExploits": [ # Optional. List of public exploits. |
| 307 |
{ # Contains details about a public exploit. |
| 308 |
"exploitGrade": "A String", # Optional. The grade of the exploit. Ex: "non-weaponized". |
| 309 |
"exploitName": "A String", # Required. The name of the exploit. Ex: "Magentounauth.php.txt". |
| 310 |
"exploitReliability": "A String", # Optional. The reliability of the exploit. Ex: "Unreviewed". |
| 311 |
"releaseTime": "A String", # Optional. The release time of the exploit. |
| 312 |
"sizeBytes": "A String", # Optional. The size of the exploit. |
| 313 |
"uri": "A String", # Optional. The URI of the exploit. |
| 314 |
}, |
| 315 |
], |
| 316 |
"publiclyAvailableExploit": True or False, # Output only. Whether a publicly available exploit exists. |
| 317 |
"riskRating": "A String", # Required. The risk rating of the vulnerability. |
| 318 |
"technologies": [ # Required. All technologies affected by the vulnerability. Ex: "Apache Struts". |
| 319 |
"A String", |
| 320 |
], |
| 321 |
}, |
| 322 |
}, |
| 323 |
}, |
| 324 |
"displayName": "A String", # Required. A short descriptive title for the finding <= 250 chars. EX: "Actor 'baddy' offering $1000 for credentials of 'goodguy'". |
| 325 |
"name": "A String", # Identifier. Server generated name for the finding (leave clear during creation). Format: projects/{project}/findings/{finding} |
| 326 |
"provider": "A String", # Required. Logical source of this finding (name of the sub-engine). |
| 327 |
"relevanceAnalysis": { # Structured relevance analysis for a threat. # Output only. High-Precision Relevance Analysis verdict for the finding. |
| 328 |
"confidence": "A String", # The level of confidence in the given verdict. |
| 329 |
"evidence": { # Details the evidence used to determine the relevance verdict. # Evidence supporting the verdict, including matched and unmatched items. |
| 330 |
"commonThemes": [ # A list of semantic themes or concepts found to be common, related, or aligned between the sources, supporting the verdict. |
| 331 |
"A String", |
| 332 |
], |
| 333 |
"distinctThemes": [ # A list of semantic themes or descriptions unique to one source or semantically distant. |
| 334 |
"A String", |
| 335 |
], |
| 336 |
}, |
| 337 |
"reasoning": "A String", # Human-readable explanation from the matcher, detailing why a particular result is considered relevant or not relevant. |
| 338 |
"relevanceLevel": "A String", # The level of relevance. |
| 339 |
"relevant": True or False, # Indicates whether the threat is considered relevant. |
| 340 |
}, |
| 341 |
"reoccurrenceTimes": [ # Output only. When identical finding (same labels and same details) has re-occurred. |
| 342 |
"A String", |
| 343 |
], |
| 344 |
"severity": 3.14, # Optional. Deprecated: Use the `severity_analysis` field instead. Base severity score from the finding source. |
| 345 |
"severityAnalysis": { # Structured severity analysis for a threat. # Output only. High-Precision Severity Analysis verdict for the finding. |
| 346 |
"confidence": "A String", # The level of confidence in the given verdict. |
| 347 |
"reasoning": "A String", # Human-readable explanation from the model, detailing why a particular result is considered to have a certain severity. |
| 348 |
"severityLevel": "A String", # The level of severity. |
| 349 |
}, |
| 350 |
}, |
| 351 |
], |
| 352 |
"nextPageToken": "A String", # Page token. |
| 353 |
}</pre> |
| 354 |
</div> |
| 355 |
|
| 356 |
<div class="method"> |
| 357 |
<code class="details" id="list_next">list_next()</code> |
| 358 |
<pre>Retrieves the next page of results. |
| 359 |
|
| 360 |
Args: |
| 361 |
previous_request: The request for the previous page. (required) |
| 362 |
previous_response: The response from the request for the previous page. (required) |
| 363 |
|
| 364 |
Returns: |
| 365 |
A request object that you can call 'execute()' on to request the next |
| 366 |
page. Returns None if there are no more items in the collection. |
| 367 |
</pre> |
| 368 |
</div> |
| 369 |
|
| 370 |
<div class="method"> |
| 371 |
<code class="details" id="search">search(parent, orderBy=None, pageSize=None, pageToken=None, query=None, x__xgafv=None)</code> |
| 372 |
<pre>SearchFindings is a more powerful version of ListFindings that supports complex queries like "findings for alerts" using functions such as `has_alert` in the query string. The `parent` field in SearchFindingsRequest should have the format: projects/{project} Example to search for findings for a specific issue: `has_alert("name=\"projects/gti-12345/alerts/alert-12345\"")` |
| 373 |
|
| 374 |
Args: |
| 375 |
parent: string, Required. Parent of the findings. Format: vaults/{vault} (required) |
| 376 |
orderBy: string, Optional. Order by criteria in the csv format: "field1,field2 desc" or "field1,field2" or "field1 asc, field2". |
| 377 |
pageSize: integer, Optional. Page size. |
| 378 |
pageToken: string, Optional. Page token. |
| 379 |
query: string, Optional. Query on what findings will be returned. This supports the same filter criteria as FindingService.ListFindings as well as the following relationship query `has_alert`. Example: - `has_alert("name=\"projects/gti-12345/alerts/alert-12345\"")` |
| 380 |
x__xgafv: string, V1 error format. |
| 381 |
Allowed values |
| 382 |
1 - v1 error format |
| 383 |
2 - v2 error format |
| 384 |
|
| 385 |
Returns: |
| 386 |
An object of the form: |
| 387 |
|
| 388 |
{ # Response message for SearchFindings. |
| 389 |
"findings": [ # List of findings. |
| 390 |
{ # A ‘stateless’ and a point in time event that a check produced a result of interest. |
| 391 |
"aiSummary": "A String", # Optional. AI summary of the finding. |
| 392 |
"alert": "A String", # Optional. Name of the alert that this finding is bound to. |
| 393 |
"audit": { # Tracks basic CRUD facts. # Output only. Audit data about the finding. |
| 394 |
"createTime": "A String", # Output only. Time of creation. |
| 395 |
"creator": "A String", # Output only. Agent that created or updated the record, could be a UserId or a JobId. |
| 396 |
"updateTime": "A String", # Output only. Time of creation or last update. |
| 397 |
"updater": "A String", # Output only. Agent that last updated the record, could be a UserId or a JobId. |
| 398 |
}, |
| 399 |
"configurations": [ # Optional. Configuration names that are bound to this finding. |
| 400 |
"A String", |
| 401 |
], |
| 402 |
"detail": { # Wrapper class that contains the union struct for all the various findings detail specific classes. # Required. Holder of the domain specific details of the finding. |
| 403 |
"dataLeak": { # A detail object for a Data Leak finding. # Data Leak finding detail type. |
| 404 |
"documentId": "A String", # Required. The unique identifier of the document that triggered the Data Leak finding. This ID can be used to retrieve the content of the document for further analysis. |
| 405 |
"matchScore": 3.14, # Required. Reference to the match score of the Data Leak finding. This is a float value greater than 0 and less than or equal to 1 calculated by the matching engine based on the similarity of the document and the user provided configurations. |
| 406 |
"severity": "A String", # Required. The severity of the Data Leak finding. This indicates the potential impact of the threat. |
| 407 |
}, |
| 408 |
"detailType": "A String", # Output only. Name of the detail type. Will be set by the server during creation to the name of the field that is set in the detail union. |
| 409 |
"initialAccessBroker": { # A detail object for an Initial Access Broker (IAB) finding. # Initial Access Broker finding detail type. |
| 410 |
"documentId": "A String", # Required. The unique identifier of the document that triggered the IAB finding. This ID can be used to retrieve the content of the document for further analysis. |
| 411 |
"matchScore": 3.14, # Required. Reference to the match score of the IAB finding. This is a float value between 0 and 1 calculated by the matching engine based on the similarity of the document and the user provided configurations. |
| 412 |
"severity": "A String", # Required. The severity of the IAB finding. This indicates the potential impact of the threat. |
| 413 |
}, |
| 414 |
"insiderThreat": { # A detail object for a InsiderThreat finding. # Insider Threat finding detail type. |
| 415 |
"documentId": "A String", # Required. The unique identifier of the document that triggered the InsiderThreat finding. This ID can be used to retrieve the content of the document for further analysis. |
| 416 |
"matchScore": 3.14, # Required. Reference to the match score of the InsiderThreat finding. This is a float value greater than 0 and less than or equal to 1 calculated by the matching engine based on the similarity of the document and the user provided configurations. |
| 417 |
"severity": "A String", # Required. The severity of the InsiderThreat finding. This indicates the potential impact of the threat. |
| 418 |
}, |
| 419 |
"targetTechnology": { # Contains details for a technology watchlist finding. # Technology Watchlist finding detail type. |
| 420 |
"vulnerabilityMatch": { # Contains details about a vulnerability match. # Optional. The vulnerability match details. |
| 421 |
"associations": [ # Optional. Associated threat actors, malware, etc. This is embedded as a snapshot because the details of the association at the time of the vulnerability match are important for context and reporting. |
| 422 |
{ # Represents an association with a vulnerability. |
| 423 |
"id": "A String", # Required. The ID of the association. |
| 424 |
"type": "A String", # Required. The type of the association. |
| 425 |
}, |
| 426 |
], |
| 427 |
"collectionId": "A String", # Required. The collection ID of the vulnerability. Ex: "vulnerability--cve-2025-9876". |
| 428 |
"cveId": "A String", # Required. The CVE ID of the vulnerability. Ex: "CVE-2025-9876". See https://www.cve.org/ for more information. |
| 429 |
"cvss3Score": 3.14, # Required. The CVSS score of the vulnerability. Evaluates to CVSS v3 when available with a fallback to v2 and v4. Example: 6.4. |
| 430 |
"description": "A String", # Required. A description of the vulnerability. |
| 431 |
"disclosureTime": "A String", # Optional. The disclosure time of the vulnerability. |
| 432 |
"epssScore": 3.14, # Optional. The EPSS score, representing the probability of exploitation. Example: 0.87. |
| 433 |
"exploitationConsequences": [ # Optional. List of exploitation consequences for the vulnerability. |
| 434 |
"A String", |
| 435 |
], |
| 436 |
"exploitationState": "A String", # Required. The exploitation state of the vulnerability. |
| 437 |
"exploitationVectors": [ # Optional. List of exploitation vectors for the vulnerability. |
| 438 |
"A String", |
| 439 |
], |
| 440 |
"matchedTechnologies": [ # Optional. The specific technologies from the configured watchlist that triggered the match. Ex: "Apache Struts". |
| 441 |
"A String", |
| 442 |
], |
| 443 |
"priority": "A String", # Optional. The priority level of the vulnerability data. Ex: "P1". |
| 444 |
"productFixes": [ # Optional. List of product fixes for the vulnerability. |
| 445 |
{ # Contains details about a product fix. |
| 446 |
"displayName": "A String", # Required. The name of the fix. Ex: "Magento". |
| 447 |
"publishTime": "A String", # Optional. The published time of the fix. |
| 448 |
"sourceId": "A String", # Required. The source ID of the fix. Ex: "APPSEC-1420". |
| 449 |
"uri": "A String", # Optional. The URI of the fix. |
| 450 |
}, |
| 451 |
], |
| 452 |
"publicExploits": [ # Optional. List of public exploits. |
| 453 |
{ # Contains details about a public exploit. |
| 454 |
"exploitGrade": "A String", # Optional. The grade of the exploit. Ex: "non-weaponized". |
| 455 |
"exploitName": "A String", # Required. The name of the exploit. Ex: "Magentounauth.php.txt". |
| 456 |
"exploitReliability": "A String", # Optional. The reliability of the exploit. Ex: "Unreviewed". |
| 457 |
"releaseTime": "A String", # Optional. The release time of the exploit. |
| 458 |
"sizeBytes": "A String", # Optional. The size of the exploit. |
| 459 |
"uri": "A String", # Optional. The URI of the exploit. |
| 460 |
}, |
| 461 |
], |
| 462 |
"publiclyAvailableExploit": True or False, # Output only. Whether a publicly available exploit exists. |
| 463 |
"riskRating": "A String", # Required. The risk rating of the vulnerability. |
| 464 |
"technologies": [ # Required. All technologies affected by the vulnerability. Ex: "Apache Struts". |
| 465 |
"A String", |
| 466 |
], |
| 467 |
}, |
| 468 |
}, |
| 469 |
}, |
| 470 |
"displayName": "A String", # Required. A short descriptive title for the finding <= 250 chars. EX: "Actor 'baddy' offering $1000 for credentials of 'goodguy'". |
| 471 |
"name": "A String", # Identifier. Server generated name for the finding (leave clear during creation). Format: projects/{project}/findings/{finding} |
| 472 |
"provider": "A String", # Required. Logical source of this finding (name of the sub-engine). |
| 473 |
"relevanceAnalysis": { # Structured relevance analysis for a threat. # Output only. High-Precision Relevance Analysis verdict for the finding. |
| 474 |
"confidence": "A String", # The level of confidence in the given verdict. |
| 475 |
"evidence": { # Details the evidence used to determine the relevance verdict. # Evidence supporting the verdict, including matched and unmatched items. |
| 476 |
"commonThemes": [ # A list of semantic themes or concepts found to be common, related, or aligned between the sources, supporting the verdict. |
| 477 |
"A String", |
| 478 |
], |
| 479 |
"distinctThemes": [ # A list of semantic themes or descriptions unique to one source or semantically distant. |
| 480 |
"A String", |
| 481 |
], |
| 482 |
}, |
| 483 |
"reasoning": "A String", # Human-readable explanation from the matcher, detailing why a particular result is considered relevant or not relevant. |
| 484 |
"relevanceLevel": "A String", # The level of relevance. |
| 485 |
"relevant": True or False, # Indicates whether the threat is considered relevant. |
| 486 |
}, |
| 487 |
"reoccurrenceTimes": [ # Output only. When identical finding (same labels and same details) has re-occurred. |
| 488 |
"A String", |
| 489 |
], |
| 490 |
"severity": 3.14, # Optional. Deprecated: Use the `severity_analysis` field instead. Base severity score from the finding source. |
| 491 |
"severityAnalysis": { # Structured severity analysis for a threat. # Output only. High-Precision Severity Analysis verdict for the finding. |
| 492 |
"confidence": "A String", # The level of confidence in the given verdict. |
| 493 |
"reasoning": "A String", # Human-readable explanation from the model, detailing why a particular result is considered to have a certain severity. |
| 494 |
"severityLevel": "A String", # The level of severity. |
| 495 |
}, |
| 496 |
}, |
| 497 |
], |
| 498 |
"nextPageToken": "A String", # Page token. |
| 499 |
}</pre> |
| 500 |
</div> |
| 501 |
|
| 502 |
<div class="method"> |
| 503 |
<code class="details" id="search_next">search_next()</code> |
| 504 |
<pre>Retrieves the next page of results. |
| 505 |
|
| 506 |
Args: |
| 507 |
previous_request: The request for the previous page. (required) |
| 508 |
previous_response: The response from the request for the previous page. (required) |
| 509 |
|
| 510 |
Returns: |
| 511 |
A request object that you can call 'execute()' on to request the next |
| 512 |
page. Returns None if there are no more items in the collection. |
| 513 |
</pre> |
| 514 |
</div> |
| 515 |
|
| 516 |
</body></html> |