Skip to content

Commit 7315d0f

Browse files
1 parent 7e761c8 commit 7315d0f

4 files changed

Lines changed: 37 additions & 18 deletions

File tree

src/ThreatIntelligenceService/DataLeakAlertDetail.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ class DataLeakAlertDetail extends \Google\Collection
2727
*/
2828
public $discoveryDocumentIds;
2929
/**
30-
* Required. Data Leak specific severity This will be the string
31-
* representation of the DataLeakFindingDetail.Severityenum. (e.g., "LOW",
32-
* "MEDIUM", "HIGH", "CRITICAL")
30+
* Required. The severity of the Data Leak alert. Allowed values are: * `LOW`
31+
* * `MEDIUM` * `HIGH` * `CRITICAL`
3332
*
3433
* @var string
3534
*/
@@ -52,9 +51,8 @@ public function getDiscoveryDocumentIds()
5251
return $this->discoveryDocumentIds;
5352
}
5453
/**
55-
* Required. Data Leak specific severity This will be the string
56-
* representation of the DataLeakFindingDetail.Severityenum. (e.g., "LOW",
57-
* "MEDIUM", "HIGH", "CRITICAL")
54+
* Required. The severity of the Data Leak alert. Allowed values are: * `LOW`
55+
* * `MEDIUM` * `HIGH` * `CRITICAL`
5856
*
5957
* @param string $severity
6058
*/

src/ThreatIntelligenceService/InitialAccessBrokerAlertDetail.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ class InitialAccessBrokerAlertDetail extends \Google\Collection
2727
*/
2828
public $discoveryDocumentIds;
2929
/**
30-
* Required. IAB specific severity
30+
* Required. The severity of the Initial Access Broker (IAB) alert. Allowed
31+
* values are: * `LOW` * `MEDIUM` * `HIGH` * `CRITICAL`
3132
*
3233
* @var string
3334
*/
@@ -50,7 +51,8 @@ public function getDiscoveryDocumentIds()
5051
return $this->discoveryDocumentIds;
5152
}
5253
/**
53-
* Required. IAB specific severity
54+
* Required. The severity of the Initial Access Broker (IAB) alert. Allowed
55+
* values are: * `LOW` * `MEDIUM` * `HIGH` * `CRITICAL`
5456
*
5557
* @param string $severity
5658
*/

src/ThreatIntelligenceService/InsiderThreatAlertDetail.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ class InsiderThreatAlertDetail extends \Google\Collection
2727
*/
2828
public $discoveryDocumentIds;
2929
/**
30-
* Required. InsiderThreat specific severity This will be the string
31-
* representation of the InsiderThreatFindingDetail.Severityenum. (e.g.,
32-
* "LOW", "MEDIUM", "HIGH", "CRITICAL")
30+
* Required. The severity of the Insider Threat alert. Allowed values are: *
31+
* `LOW` * `MEDIUM` * `HIGH` * `CRITICAL`
3332
*
3433
* @var string
3534
*/
@@ -52,9 +51,8 @@ public function getDiscoveryDocumentIds()
5251
return $this->discoveryDocumentIds;
5352
}
5453
/**
55-
* Required. InsiderThreat specific severity This will be the string
56-
* representation of the InsiderThreatFindingDetail.Severityenum. (e.g.,
57-
* "LOW", "MEDIUM", "HIGH", "CRITICAL")
54+
* Required. The severity of the Insider Threat alert. Allowed values are: *
55+
* `LOW` * `MEDIUM` * `HIGH` * `CRITICAL`
5856
*
5957
* @param string $severity
6058
*/

src/ThreatIntelligenceService/Resource/ProjectsAlerts.php

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,32 @@ public function get($name, $optParams = [])
146146
* projects/{project}
147147
* @param array $optParams Optional parameters.
148148
*
149-
* @opt_param string filter Optional. Filter criteria.
149+
* @opt_param string filter Optional. Filter criteria. Supported fields for
150+
* filtering include: * `audit.create_time` * `audit.creator` *
151+
* `audit.update_time` * `audit.updater` *
152+
* `detail.data_leak.discovery_document_ids` * `detail.data_leak.severity` *
153+
* `detail.detail_type` * `detail.initial_access_broker.discovery_document_ids`
154+
* * `detail.initial_access_broker.severity` *
155+
* `detail.insider_threat.discovery_document_ids` *
156+
* `detail.insider_threat.severity` * `finding_count` *
157+
* `priority_analysis.priority_level` * `relevance_analysis.confidence` *
158+
* `relevance_analysis.relevance_level` * `relevance_analysis.relevant` *
159+
* `severity_analysis.severity_level` * `state` Examples: * `detail.detail_type
160+
* = "initial_access_broker"` * `detail.detail_type != "data_leak"` *
161+
* `detail.insider_threat.severity = "HIGH"` * `audit.create_time >=
162+
* "2026-04-03T00:00:00Z" AND audit.create_time < "2026-04-06T00:00:00Z"` *
163+
* `state = "NEW" OR state = "TRIAGED"` * `severity_analysis.severity_level =
164+
* "SEVERITY_LEVEL_CRITICAL"`
150165
* @opt_param string orderBy Optional. Order by criteria in the csv format:
151-
* "field1,field2 desc" or "field1,field2" or "field1 asc, field2".
152-
* @opt_param int pageSize Optional. Page size.
153-
* @opt_param string pageToken Optional. Page token.
166+
* "field1, field2 desc" or "field1, field2" or "field1 asc, field2". If a field
167+
* is specified without `asc` or `desc`, ascending order is used by default.
168+
* Supported fields for ordering are identical to those supported for filtering.
169+
* Examples: * `audit.create_time desc` * `audit.update_time asc` *
170+
* `audit.create_time desc, severity_analysis.severity_level desc`
171+
* @opt_param int pageSize Optional. Page size. Default to 100 alerts per page.
172+
* Maximum is 1000 alerts per page.
173+
* @opt_param string pageToken Optional. Page token to retrieve the next page of
174+
* results.
154175
* @return ListAlertsResponse
155176
* @throws \Google\Service\Exception
156177
*/

0 commit comments

Comments
 (0)