Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions src/ThreatIntelligenceService/DataLeakAlertDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ class DataLeakAlertDetail extends \Google\Collection
*/
public $discoveryDocumentIds;
/**
* Required. Data Leak specific severity This will be the string
* representation of the DataLeakFindingDetail.Severityenum. (e.g., "LOW",
* "MEDIUM", "HIGH", "CRITICAL")
* Required. The severity of the Data Leak alert. Allowed values are: * `LOW`
* * `MEDIUM` * `HIGH` * `CRITICAL`
*
* @var string
*/
Expand All @@ -52,9 +51,8 @@ public function getDiscoveryDocumentIds()
return $this->discoveryDocumentIds;
}
/**
* Required. Data Leak specific severity This will be the string
* representation of the DataLeakFindingDetail.Severityenum. (e.g., "LOW",
* "MEDIUM", "HIGH", "CRITICAL")
* Required. The severity of the Data Leak alert. Allowed values are: * `LOW`
* * `MEDIUM` * `HIGH` * `CRITICAL`
*
* @param string $severity
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ class InitialAccessBrokerAlertDetail extends \Google\Collection
*/
public $discoveryDocumentIds;
/**
* Required. IAB specific severity
* Required. The severity of the Initial Access Broker (IAB) alert. Allowed
* values are: * `LOW` * `MEDIUM` * `HIGH` * `CRITICAL`
*
* @var string
*/
Expand All @@ -50,7 +51,8 @@ public function getDiscoveryDocumentIds()
return $this->discoveryDocumentIds;
}
/**
* Required. IAB specific severity
* Required. The severity of the Initial Access Broker (IAB) alert. Allowed
* values are: * `LOW` * `MEDIUM` * `HIGH` * `CRITICAL`
*
* @param string $severity
*/
Expand Down
10 changes: 4 additions & 6 deletions src/ThreatIntelligenceService/InsiderThreatAlertDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ class InsiderThreatAlertDetail extends \Google\Collection
*/
public $discoveryDocumentIds;
/**
* Required. InsiderThreat specific severity This will be the string
* representation of the InsiderThreatFindingDetail.Severityenum. (e.g.,
* "LOW", "MEDIUM", "HIGH", "CRITICAL")
* Required. The severity of the Insider Threat alert. Allowed values are: *
* `LOW` * `MEDIUM` * `HIGH` * `CRITICAL`
*
* @var string
*/
Expand All @@ -52,9 +51,8 @@ public function getDiscoveryDocumentIds()
return $this->discoveryDocumentIds;
}
/**
* Required. InsiderThreat specific severity This will be the string
* representation of the InsiderThreatFindingDetail.Severityenum. (e.g.,
* "LOW", "MEDIUM", "HIGH", "CRITICAL")
* Required. The severity of the Insider Threat alert. Allowed values are: *
* `LOW` * `MEDIUM` * `HIGH` * `CRITICAL`
*
* @param string $severity
*/
Expand Down
29 changes: 25 additions & 4 deletions src/ThreatIntelligenceService/Resource/ProjectsAlerts.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,32 @@ public function get($name, $optParams = [])
* projects/{project}
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filter criteria.
* @opt_param string filter Optional. Filter criteria. Supported fields for
* filtering include: * `audit.create_time` * `audit.creator` *
* `audit.update_time` * `audit.updater` *
* `detail.data_leak.discovery_document_ids` * `detail.data_leak.severity` *
* `detail.detail_type` * `detail.initial_access_broker.discovery_document_ids`
* * `detail.initial_access_broker.severity` *
* `detail.insider_threat.discovery_document_ids` *
* `detail.insider_threat.severity` * `finding_count` *
* `priority_analysis.priority_level` * `relevance_analysis.confidence` *
* `relevance_analysis.relevance_level` * `relevance_analysis.relevant` *
* `severity_analysis.severity_level` * `state` Examples: * `detail.detail_type
* = "initial_access_broker"` * `detail.detail_type != "data_leak"` *
* `detail.insider_threat.severity = "HIGH"` * `audit.create_time >=
* "2026-04-03T00:00:00Z" AND audit.create_time < "2026-04-06T00:00:00Z"` *
* `state = "NEW" OR state = "TRIAGED"` * `severity_analysis.severity_level =
* "SEVERITY_LEVEL_CRITICAL"`
* @opt_param string orderBy Optional. Order by criteria in the csv format:
* "field1,field2 desc" or "field1,field2" or "field1 asc, field2".
* @opt_param int pageSize Optional. Page size.
* @opt_param string pageToken Optional. Page token.
* "field1, field2 desc" or "field1, field2" or "field1 asc, field2". If a field
* is specified without `asc` or `desc`, ascending order is used by default.
* Supported fields for ordering are identical to those supported for filtering.
* Examples: * `audit.create_time desc` * `audit.update_time asc` *
* `audit.create_time desc, severity_analysis.severity_level desc`
* @opt_param int pageSize Optional. Page size. Default to 100 alerts per page.
* Maximum is 1000 alerts per page.
* @opt_param string pageToken Optional. Page token to retrieve the next page of
* results.
* @return ListAlertsResponse
* @throws \Google\Service\Exception
*/
Expand Down
Loading