- Resource: Watchlist
- EntityPopulationMechanism
- Manual
- EntityCount
- WatchlistUserPreferences
- RiskScoreView
- Methods
Resource: Watchlist
A watchlist is a list of entities that allows for bulk operations over the included entities.
JSON representation |
---|
{ "name": string, "display_name": string, "description": string, "alert_risk_score_weight": number, "multiplying_factor": number, "entity_population_mechanism": { object ( |
Fields | |
---|---|
name |
Identifier. Resource name of the watchlist. Format: projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist} |
display_name |
Optional. Display name of the watchlist. Note that it must be less than 63 characters (https://google.aip.dev/148). |
description |
Optional. Description of the watchlist. |
alert_risk_score_weight |
Optional. Weight applied to the risk score of alerts for entities in this watchlist. The default is 1.0 if it is not specified. |
multiplying_factor |
Optional. Weight applied to the risk score for entities in this watchlist. The default is 1.0 if it is not specified. |
entity_population_mechanism |
Required. Mechanism to populate entities in the watchlist. |
entity_count |
Output only. Entity count in the watchlist. |
create_time |
Output only. Time the watchlist was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update_time |
Output only. Time the watchlist was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
watchlist_user_preferences |
Optional. User preferences for watchlist configuration. |
EntityPopulationMechanism
Mechanism to populate entities in the watchlist.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field mechanism . Ways to populate entities in watchlist. Currently, only manual is supported. mechanism can be only one of the following: |
|
manual |
Optional. Entities are added manually. |
Manual
This type has no fields.
Entities are added manually.
EntityCount
Count of different types of entities in the watchlist.
JSON representation |
---|
{ "user": integer, "asset": integer } |
Fields | |
---|---|
user |
Output only. Count of user type entities in the watchlist. |
asset |
Output only. Count of asset type entities in the watchlist. |
WatchlistUserPreferences
A collection of user preferences for watchlist UI configuration.
JSON representation |
---|
{
"pinned": boolean,
"risk_score_view": enum ( |
Fields | |
---|---|
pinned |
Optional. Whether the watchlist is pinned on the dashboard. |
risk_score_view |
Optional. What type of risk score to display for entity in watchlist. Note that the risk score view across all watchlists for the same user is the same. Therefore, new |
RiskScoreView
Options for different types of risk scores to display.
Enums | |
---|---|
RISK_SCORE_VIEW_UNSPECIFIED |
The default / unset value. The option will default to NORMALIZED. |
RAW |
Show raw risk score. |
NORMALIZED |
Show normalized risk score. |
Methods |
|
---|---|
|
Creates a watchlist for the given instance. |
|
Deletes the watchlist for the given instance. |
|
Gets watchlist details for the given watchlist ID. |
|
Lists all watchlists for the given instance. |
|
Lists all entities for the given watchlist. |
|
Updates the watchlist for the given instance. |