YARA-L 2.0 を使用した UDM 検索の指標
検索の指標関数を使用すると、検索結果で過去の行動データの集計を分析できます。これらの関数は、UDM 検索クエリの結果セクションに含めることができます。
関数のパラメータ
指標関数を使用すると、検索内でエンティティの行動分析を実行できます。たとえば、特定の IP アドレスが過去 1 か月間に送信した 1 日あたりの最大バイト数を特定する検索クエリを作成できます。特定の IP アドレスを表すには、プレースホルダ変数を使用する代わりに、検索クエリに IP 値を直接入力します。
これらの関数では多数の引数が使用されるため、名前付きパラメータが使用されます。名前付きパラメータは任意の順序で指定できます。パラメータは以下のとおりです。
期間
個々のログイベントが単一の観測情報に統合される期間。使用できる値は 1h
と 1d
のみです。
ウィンドウ
個々の観測情報が単一の値(平均値や最大値など)に集計される期間。ウィンドウに指定できる値は、指標の期間に基づきます。有効なマッピングは次のとおりです。
period:1h
: window:today
period:1d
: window:30d
例: 次のクエリは、過去 30 日間の特定の日におけるユーザーの初回ログインと最終ログインの成功時刻を返します。
$u1.principal.asset.ip = $ip
$ip = "10.138.0.4"
$user = $u1.target.user.userid
match:
$ip, $user
outcome:
// First and last time a user logged in successfully
$first_seen = max(metrics.auth_attempts_success(
period:1d, window:30d,
metric:first_seen,
agg:min,
target.user.userid:$user))
$last_seen = max(metrics.auth_attempts_success(
period:1d, window:30d,
metric:last_seen,
agg:max,
target.user.userid:$user))
指標
各期間内で、各観測情報に複数の指標が関連付けられます。ウィンドウ全体の集計には、これらのいずれかを選択する必要があります。サポートされている指標のタイプは次のとおりです。
event_count_sum
- 各期間内の一意のログイベントの数。first_seen
- 各期間内で一致するログイベントの最初のタイムスタンプ。last_seen
- 各期間内で一致するログイベントの最終のタイムスタンプ。value_sum
- 期間内のすべてのログイベントのバイト数の合計。この値は、名前にバイトを含む指標関数でのみ使用できます。num_unique_filter_values
- Google SecOps によって事前計算されないが、検索クエリの実行中に計算できる指標。詳細と要件については、一意の指標をカウントするをご覧ください。
集約
集計はウィンドウ全体で適用されます(たとえば、過去 30 日間の 1 日あたりの最大値)。使用できる値は次のとおりです。
avg
- 期間あたりの平均値。これは、ゼロ値を含まない統計平均です。max
- 期間あたりの最大値。min
- 期間ごとの最小値。num_metric_periods
- 指標値が 0 以外の期間の数。stddev
- 期間あたりの値の標準偏差。これは、ゼロ値を含まない統計標準偏差です。sum
- ウィンドウ全体で、期間ごとの各値の合計。earliest
- マイクロ秒単位の解像度で最初の(最も古い)イベントのタイムスタンプ。latest
- マイクロ秒単位の解像度で、最後の(最新の)イベントのタイムスタンプ。
例については、YARA-L 2.0 を使用した UDM 検索の統計情報と集計をご覧ください。
フィルタ
フィルタを使用すると、事前に計算された指標の値によって、集計前の指標をフィルタリングできます(指標の値をご覧ください)。フィルタには、イベント フィールドやプレースホルダを含まない有効なイベント式(イベント セクションの 1 行)を指定できます。この条件に含めることができる変数は、指標のタイプのみです。
例: 次のクエリの結果セクションは、特定の IP アドレスが過去 1 か月間に送信した 1 日あたりの最大バイト数を返します。
$ip = principal.asset.ip
match:
$ip
outcome:
$max_bytes_per_day = max(metrics.network_bytes_outbound(
period: 1d, window: 30d,
metric: value_sum,
agg:max,
principal.asset.ip: $ip,
filter:value_sum > 10 AND event_count_sum > 2))
UDM フィールド
関数に応じて 1 ~ 3 個の UDM フィールドによって指標がフィルタリングされます。関数については、関数をご覧ください。
指標関数には、次のタイプの UDM フィールドが使用されます。
- ディメンション(必須): さまざまな組み合わせがこのページに記載されています。デフォルト値(文字列の場合は
""
、整数の場合は0
)を持つ指標を結合することはできません。 - 名前空間(省略可): 名前空間は、ディメンションで指定したエンティティにのみ使用できます。たとえば、
principal.asset.hostname
フィルタを使用する場合は、principal.namespace
フィルタも使用できます。名前空間フィルタを指定しない場合、すべての名前空間のデータが集約されます。デフォルト値を名前空間フィルタとして使用できます。
時間枠の計算
Google SecOps は、1 日単位または 1 時間単位の指標ウィンドウを使用して指標を計算します。
1 日ごとの時間枠
30d
などのすべての 1 日単位のウィンドウは、同じ方法で決まります。
Google SecOps は、検索クエリの期間と重複しない、生成された最新の利用可能な指標データを使用します。1 日単位の指標の計算には最大 6 時間かかることがあります。また、計算は UTC の日付の終了時刻まで開始されません。前日の指標データは、毎日午前 6 時(UTC)までに利用可能になります。
たとえば、2023 年 10 月 31 日 4:00 UTC から 2023 年 10 月 31 日 7:00 UTC までのイベントデータに対して実行されている検索クエリの場合、2023 年 10 月 30 日の日次指標が生成されたため、指標計算では 2023 年 10 月 1 日から 2023 年 10 月 30 日までのデータが使用されます。2023 年 10 月 31 日 1 時 UTC から 2023 年 10 月 31 日 3 時 UTC までのイベントデータに対して実行されている検索クエリの場合、2023 年 10 月 30 日の日次指標が生成されないため、指標の計算には 2023 年 9 月 30 日から 2023 年 10 月 29 日までのデータが使用されます。
1 時間単位の today
時間枠
1 時間単位の指標のウィンドウは、1 日単位の指標のウィンドウとは異なる方法で計算されます。today
の 1 時間単位の指標ウィンドウは、1 日単位の指標の 30d
ウィンドウのような静的なサイズではありません。1 時間単位の指標ウィンドウ today
には、1 日単位のウィンドウの終了から検索クエリ時間ウィンドウの開始までの期間にできるだけ多くのデータが入力されます。
たとえば、2023 年 10 月 31 日 4:00:00 UTC から 2023 年 10 月 31 日 7:00:00 UTC までのイベントデータに対して実行される検索クエリの場合、毎日の指標の計算では 2023 年 10 月 1 日から 2023 年 10 月 30 日までのデータが使用され、時間単位の指標ウィンドウでは 2023 年 10 月 31 日 00:00:00 UTC から 2023 年 10 月 31 日 4:00:00 UTC までのデータが使用されます。
ユニーク指標の数をカウントする
指標 num_unique_filter_values
は Google SecOps によって事前計算されません。これは、検索クエリの実行時に計算されます。これは、事前に計算された指標の既存のディメンションを集計することで行われます。たとえば、「ユーザーが認証を試みた個別の国の 1 日あたりの合計数」という指標は、ディメンション target.user.userid
と principal.ip_geo_artifact.location.country_or_region
の事前計算された auth_attempts_total
指標から、後者のディメンションに対して一意のカウント集計を行うことで導出できます。
例:
$userid = target.user.userid
match:
$userid
outcome:
$outcome_variable = max(metrics.auth_attempts_total(
period: 1d,
window: 30d,
// This metric type indicates any filter with a wildcard value should be
// aggregated over each day to produce a new metric dynamically
metric: num_unique_filter_values,
agg: max,
target.user.userid: $userid,
// Filter whose value should be counted over each day to produce the
// num_unique_filter_values metric.
principal.ip_geo_artifact.location.country_or_region: *
))
制限事項: 一意の指標を計算する場合、集計できるのは 1 つのフィルタ ディメンションのみです。これは、フィルタ値としてワイルドカード トークン *
を使用することで示されます。
関数
このセクションでは、Google SecOps でサポートされている特定の指標関数に関するドキュメントについて説明します。
アラート イベント
metrics.alert_event_name_count
は、Carbon Black、CrowdStrike Falcon、Microsoft Graph API Alerts、Microsoft Sentinel によってアラートが生成された UDM イベントの履歴値を事前計算します。
フィルタとして使用できる UDM フィールドの完全なリスト
principal.asset.asset_id, principal.process.file.full_path, principal.user.email_addresses, security_result.rule_name
principal.asset.asset_id, principal.process.file.full_path, principal.user.employee_id, security_result.rule_name
principal.asset.asset_id, principal.process.file.full_path, principal.user.product_object_id, security_result.rule_name
principal.asset.asset_id, principal.process.file.full_path, principal.user.userid, security_result.rule_name
principal.asset.asset_id, principal.process.file.full_path, principal.user.windows_sid, security_result.rule_name
principal.asset.asset_id, principal.process.file.full_path, security_result.rule_name
principal.asset.asset_id, principal.process.file.sha256, principal.user.email_addresses, security_result.rule_name
principal.asset.asset_id, principal.process.file.sha256, principal.user.employee_id, security_result.rule_name
principal.asset.asset_id, principal.process.file.sha256, principal.user.product_object_id, security_result.rule_name
principal.asset.asset_id, principal.process.file.sha256, principal.user.userid, security_result.rule_name
principal.asset.asset_id, principal.process.file.sha256, principal.user.windows_sid, security_result.rule_name
principal.asset.asset_id, security_result.rule_name
principal.asset.hostname, principal.process.file.full_path, principal.user.email_addresses, security_result.rule_name
principal.asset.hostname, principal.process.file.full_path, principal.user.employee_id, security_result.rule_name
principal.asset.hostname, principal.process.file.full_path, principal.user.product_object_id, security_result.rule_name
principal.asset.hostname, principal.process.file.full_path, principal.user.userid, security_result.rule_name
principal.asset.hostname, principal.process.file.full_path, principal.user.windows_sid, security_result.rule_name
principal.asset.hostname, principal.process.file.full_path, security_result.rule_name
principal.asset.hostname, principal.process.file.sha256, principal.user.email_addresses, security_result.rule_name
principal.asset.hostname, principal.process.file.sha256, principal.user.employee_id, security_result.rule_name
principal.asset.hostname, principal.process.file.sha256, principal.user.product_object_id, security_result.rule_name
principal.asset.hostname, principal.process.file.sha256, principal.user.userid, security_result.rule_name
principal.asset.hostname, principal.process.file.sha256, principal.user.windows_sid, security_result.rule_name
principal.asset.hostname, security_result.rule_name
principal.asset.ip, principal.process.file.full_path, principal.user.email_addresses, security_result.rule_name
principal.asset.ip, principal.process.file.full_path, principal.user.employee_id, security_result.rule_name
principal.asset.ip, principal.process.file.full_path, principal.user.product_object_id, security_result.rule_name
principal.asset.ip, principal.process.file.full_path, principal.user.userid, security_result.rule_name
principal.asset.ip, principal.process.file.full_path, principal.user.windows_sid, security_result.rule_name
principal.asset.ip, principal.process.file.full_path, security_result.rule_name
principal.asset.ip, principal.process.file.sha256, principal.user.email_addresses, security_result.rule_name
principal.asset.ip, principal.process.file.sha256, principal.user.employee_id, security_result.rule_name
principal.asset.ip, principal.process.file.sha256, principal.user.product_object_id, security_result.rule_name
principal.asset.ip, principal.process.file.sha256, principal.user.userid, security_result.rule_name
principal.asset.ip, principal.process.file.sha256, principal.user.windows_sid, security_result.rule_name
principal.asset.ip, security_result.rule_name
principal.asset.mac, principal.process.file.full_path, principal.user.email_addresses, security_result.rule_name
principal.asset.mac, principal.process.file.full_path, principal.user.employee_id, security_result.rule_name
principal.asset.mac, principal.process.file.full_path, principal.user.product_object_id, security_result.rule_name
principal.asset.mac, principal.process.file.full_path, principal.user.userid, security_result.rule_name
principal.asset.mac, principal.process.file.full_path, principal.user.windows_sid, security_result.rule_name
principal.asset.mac, principal.process.file.full_path, security_result.rule_name
principal.asset.mac, principal.process.file.sha256, principal.user.email_addresses, security_result.rule_name
principal.asset.mac, principal.process.file.sha256, principal.user.employee_id, security_result.rule_name
principal.asset.mac, principal.process.file.sha256, principal.user.product_object_id, security_result.rule_name
principal.asset.mac, principal.process.file.sha256, principal.user.userid, security_result.rule_name
principal.asset.mac, principal.process.file.sha256, principal.user.windows_sid, security_result.rule_name
principal.asset.mac, security_result.rule_name
principal.asset.product_object_id, principal.process.file.full_path, principal.user.email_addresses, security_result.rule_name
principal.asset.product_object_id, principal.process.file.full_path, principal.user.employee_id, security_result.rule_name
principal.asset.product_object_id, principal.process.file.full_path, principal.user.product_object_id, security_result.rule_name
principal.asset.product_object_id, principal.process.file.full_path, principal.user.userid, security_result.rule_name
principal.asset.product_object_id, principal.process.file.full_path, principal.user.windows_sid, security_result.rule_name
principal.asset.product_object_id, principal.process.file.full_path, security_result.rule_name
principal.asset.product_object_id, principal.process.file.sha256, principal.user.email_addresses, security_result.rule_name
principal.asset.product_object_id, principal.process.file.sha256, principal.user.employee_id, security_result.rule_name
principal.asset.product_object_id, principal.process.file.sha256, principal.user.product_object_id, security_result.rule_name
principal.asset.product_object_id, principal.process.file.sha256, principal.user.userid, security_result.rule_name
principal.asset.product_object_id, principal.process.file.sha256, principal.user.windows_sid, security_result.rule_name
principal.asset.product_object_id, security_result.rule_name
認証試行
metrics.auth_attempts_total
は、USER_LOGIN
event
type
の UDM イベントの履歴値を事前計算します。
metrics.auth_attempts_success
ではさらに、イベントに ALLOW
の SecurityResult.Action
が少なくとも 1 つ必要です。
metrics.auth_attempts_fail
では、SecurityResult.Actions
のいずれも ALLOW
でないことが必要です。
フィルタとして使用できる UDM フィールドの完全なリスト
principal.asset.asset_id
principal.asset.asset_id
、target.asset.asset_id
principal.asset.asset_id
、target.asset.hostname
principal.asset.asset_id
、target.asset.ip
principal.asset.asset_id
、target.asset.mac
principal.asset.asset_id
、target.asset.product_object_id
principal.asset.hostname
principal.asset.hostname
、target.asset.asset_id
principal.asset.hostname
、target.asset.hostname
principal.asset.hostname
、target.asset.ip
principal.asset.hostname
、target.asset.mac
principal.asset.hostname
、target.asset.product_object_id
principal.asset.ip
principal.asset.ip
、target.asset.asset_id
principal.asset.ip
、target.asset.hostname
principal.asset.ip
、target.asset.ip
principal.asset.ip
、target.asset.mac
principal.asset.ip
、target.asset.product_object_id
principal.asset.mac
principal.asset.mac
、target.asset.asset_id
principal.asset.mac
、target.asset.hostname
principal.asset.mac
、target.asset.ip
principal.asset.mac
、target.asset.mac
principal.asset.mac
、target.asset.product_object_id
principal.asset.product_object_id
principal.asset.product_object_id
、target.asset.asset_id
principal.asset.product_object_id
、target.asset.hostname
principal.asset.product_object_id
、target.asset.ip
principal.asset.product_object_id
、target.asset.mac
principal.asset.product_object_id
、target.asset.product_object_id
principal.user.email_addresses
principal.user.email_addresses
、target.asset.asset_id
principal.user.email_addresses
、target.asset.hostname
principal.user.email_addresses
、target.asset.ip
principal.user.email_addresses
、target.asset.mac
principal.user.email_addresses
、target.asset.product_object_id
principal.user.employee_id
principal.user.employee_id
、target.asset.asset_id
principal.user.employee_id
、target.asset.hostname
principal.user.employee_id
、target.asset.ip
principal.user.employee_id
、target.asset.mac
principal.user.employee_id
、target.asset.product_object_id
principal.user.product_object_id
principal.user.product_object_id
、target.asset.asset_id
principal.user.product_object_id
、target.asset.hostname
principal.user.product_object_id
、target.asset.ip
principal.user.product_object_id
、target.asset.mac
principal.user.product_object_id
、target.asset.product_object_id
principal.user.userid
principal.user.userid
、target.asset.asset_id
principal.user.userid
、target.asset.hostname
principal.user.userid
、target.asset.ip
principal.user.userid
、target.asset.mac
principal.user.userid
、target.asset.product_object_id
principal.user.windows_sid
principal.user.windows_sid
、target.asset.asset_id
principal.user.windows_sid
、target.asset.hostname
principal.user.windows_sid
、target.asset.ip
principal.user.windows_sid
、target.asset.mac
principal.user.windows_sid
、target.asset.product_object_id
target.application
target.user.email_addresses
target.user.email_addresses
、network.tls.client.certificate.sha256
target.user.email_addresses
、principal.ip_geo_artifact.location.country_or_region
target.user.email_addresses
、principal.ip_geo_artifact.network.organization_name
target.user.email_addresses
、target.application
target.user.employee_id
target.user.employee_id
、network.tls.client.certificate.sha256
target.user.employee_id
、principal.ip_geo_artifact.location.country_or_region
target.user.employee_id
、principal.ip_geo_artifact.network.organization_name
target.user.employee_id
、target.application
target.user.product_object_id
target.user.product_object_id
、network.tls.client.certificate.sha256
target.user.product_object_id
、principal.ip_geo_artifact.location.country_or_region
target.user.product_object_id
、principal.ip_geo_artifact.network.organization_name
target.user.product_object_id
、target.application
target.user.userid
target.user.userid
、network.tls.client.certificate.sha256
target.user.userid
、principal.ip_geo_artifact.location.country_or_region
target.user.userid
、principal.ip_geo_artifact.network.organization_name
target.user.userid
、target.application
target.user.windows_sid
target.user.windows_sid
、network.tls.client.certificate.sha256
target.user.windows_sid
、principal.ip_geo_artifact.location.country_or_region
target.user.windows_sid
、principal.ip_geo_artifact.network.organization_name
target.user.windows_sid
、target.application
metrics.auth_attempts_total
には、フィルタとして使用できる追加の UDM フィールドがあります
target.application
、target.asset.asset_id
target.application
、target.asset.hostname
target.application
、target.asset.ip
target.application
、target.asset.mac
target.application
、target.asset.product_object_id
metrics.auth_attempts_success
には、フィルタとして使用できる追加の UDM フィールドがあります
network.http.user_agent
principal.asset.asset_id
、metadata.event_type
principal.asset.hostname
、metadata.event_type
principal.asset.ip
、metadata.event_type
principal.asset.mac
、metadata.event_type
principal.asset.product_object_id
、metadata.event_type
送信 DNS バイト数
metrics.dns_bytes_outbound
は、network
.sent_bytes
が 0 より大きい場合、およびターゲット ポートが 53/udp
、53/tcp
、または 3000/tcp
である UDM イベントの履歴値を事前計算します。
network
.sent_bytes
は value_sum
として使用できます。
フィルタとして使用できる UDM フィールドの完全なリスト
principal.asset.asset_id
principal.asset.asset_id
、target.ip
principal.asset.hostname
principal.asset.hostname
、target.ip
principal.asset.ip
principal.asset.ip
、target.ip
principal.asset.mac
principal.asset.mac
、target.ip
principal.asset.product_object_id
principal.asset.product_object_id
、target.ip
principal.user.email_addresses
principal.user.email_addresses
、target.ip
principal.user.employee_id
principal.user.employee_id
、target.ip
principal.user.product_object_id
principal.user.product_object_id
、target.ip
principal.user.userid
principal.user.userid
、target.ip
principal.user.windows_sid
principal.user.windows_sid
、target.ip
target.ip
DNS クエリ
metrics.dns_queries_total
は、network
.dns.id
に値がある UDM イベントの履歴値を事前計算します。
metrics.dns_queries_success
ではさらに、network
が必要です。dns.response_code
が 0
(NoError
)であった。
metrics.dns_queries_fail
では、network
を持つイベントのみが考慮されます。dns.response_code
が 0
より大きい。
フィルタとして使用できる UDM フィールドの完全なリスト
principal.asset.asset_id
principal.asset.asset_id
、network.dns_domain
principal.asset.asset_id
、network.dns.questions.type
principal.asset.hostname
principal.asset.hostname
、network.dns_domain
principal.asset.hostname
、network.dns.questions.type
principal.asset.ip
principal.asset.ip
、network.dns_domain
principal.asset.ip
、network.dns.questions.type
principal.asset.mac
principal.asset.mac
、network.dns_domain
principal.asset.mac
、network.dns.questions.type
principal.asset.product_object_id
principal.asset.product_object_id
、network.dns_domain
principal.asset.product_object_id
、network.dns.questions.type
principal.user.email_addresses
principal.user.email_addresses
、network.dns_domain
principal.user.email_addresses
、network.dns.questions.type
principal.user.employee_id
principal.user.employee_id
、network.dns_domain
principal.user.employee_id
、network.dns.questions.type
principal.user.product_object_id
principal.user.product_object_id
、network.dns_domain
principal.user.product_object_id
、network.dns.questions.type
principal.user.userid
principal.user.userid
、network.dns_domain
principal.user.userid
、network.dns.questions.type
principal.user.windows_sid
principal.user.windows_sid
、network.dns_domain
principal.user.windows_sid
、network.dns.questions.type
ファイル実行
metrics.file_executions_total
は、PROCESS_LAUNCH
event
type
の UDM イベントの履歴値を事前計算します。
metrics.file_executions_success
ではさらに、イベントに ALLOW
の SecurityResult.Action
が少なくとも 1 つ必要です。
metrics.file_executions_fail
では、SecurityResult.Actions
のいずれも ALLOW
でないことが必要です。
フィルタとして使用できる UDM フィールドの完全なリスト
metadata.event_type
、principal.process.file.sha256
metadata.event_type
、principal.asset.asset_id
、principal.process.file.sha256
metadata.event_type
、principal.asset.hostname
、principal.process.file.sha256
metadata.event_type
、principal.asset.ip
、principal.process.file.sha256
metadata.event_type
、principal.asset.mac
、principal.process.file.sha256
metadata.event_type
、principal.asset.product_object_id
、principal.process.file.sha256
metadata.event_type
、principal.user.email_addresses
、principal.process.file.sha256
metadata.event_type
、principal.user.employee_id
、principal.process.file.sha256
metadata.event_type
、principal.user.product_object_id
、principal.process.file.sha256
metadata.event_type
、principal.user.userid
、principal.process.file.sha256
metadata.event_type
、principal.user.windows_sid
、principal.process.file.sha256
HTTP クエリ
metrics.http_queries_total
は、network
.http.method
に値がある UDM イベントの履歴値を事前計算します。
metrics.http_queries_success
ではさらに、network
が必要です。http.response_code
が 400 より小さい。
metrics.http_queries_fail
では、network
を持つイベントのみが考慮されます。http.response_code
が 400 以上である。
フィルタとして使用できる UDM フィールドの完全なリスト
principal.asset.asset_id
principal.asset.asset_id
、network.http.user_agent
principal.asset.hostname
principal.asset.hostname
、network.http.user_agent
principal.asset.ip
principal.asset.ip
、network.http.user_agent
principal.asset.mac
principal.asset.mac
、network.http.user_agent
principal.asset.product_object_id
principal.asset.product_object_id
、network.http.user_agent
principal.user.email_addresses
principal.user.email_addresses
、network.http.user_agent
principal.user.employee_id
principal.user.employee_id
、network.http.user_agent
principal.user.product_object_id
principal.user.product_object_id
、network.http.user_agent
principal.user.userid
principal.user.userid
、network.http.user_agent
principal.user.windows_sid
principal.user.windows_sid
、network.http.user_agent
ネットワーク バイト
metrics.network_bytes_inbound
は、network
.received_bytes
にゼロ以外の値がある UDM イベントの履歴値を事前計算し、このフィールドを value_sum
として使用できるようにします。
metrics.network_bytes_outbound
では、network
.sent_bytes
にゼロ以外の値が必要で、このフィールドを value_sum
として使用できるようにします。
metrics.network_bytes_total
は、network
.received_bytes
または network
.sent_bytes
(または両方)にゼロ以外の値があるイベントを考慮し、これらの 2 つのフィールドの合計を value_sum
として使用できるようにします。
フィルタとして使用できる UDM フィールドの完全なリスト
principal.asset.asset_id
principal.asset.asset_id
、principal.ip_geo_artifact.location.country_or_region
principal.asset.asset_id
、security_result.category
principal.asset.asset_id
、target.ip_geo_artifact.network.organization_name
principal.asset.hostname
principal.asset.hostname
、principal.ip_geo_artifact.location.country_or_region
principal.asset.hostname
、security_result.category
principal.asset.hostname
、target.ip_geo_artifact.network.organization_name
principal.asset.ip
principal.asset.ip
、principal.ip_geo_artifact.location.country_or_region
principal.asset.ip
、security_result.category
principal.asset.ip
、target.ip_geo_artifact.network.organization_name
principal.asset.mac
principal.asset.mac
、principal.ip_geo_artifact.location.country_or_region
principal.asset.mac
、security_result.category
principal.asset.mac
、target.ip_geo_artifact.network.organization_name
principal.asset.product_object_id
principal.asset.product_object_id
、principal.ip_geo_artifact.location.country_or_region
principal.asset.product_object_id
、security_result.category
principal.asset.product_object_id
、target.ip_geo_artifact.network.organization_name
principal.user.email_addresses
principal.user.email_addresses
、principal.ip_geo_artifact.location.country_or_region
principal.user.email_addresses
、security_result.category
principal.user.email_addresses
、target.ip_geo_artifact.network.organization_name
principal.user.employee_id
principal.user.employee_id
、principal.ip_geo_artifact.location.country_or_region
principal.user.employee_id
、security_result.category
principal.user.employee_id
、target.ip_geo_artifact.network.organization_name
principal.user.product_object_id
principal.user.product_object_id
、principal.ip_geo_artifact.location.country_or_region
principal.user.product_object_id
、security_result.category
principal.user.product_object_id
、target.ip_geo_artifact.network.organization_name
principal.user.userid
principal.user.userid
、principal.ip_geo_artifact.location.country_or_region
principal.user.userid
、security_result.category
principal.user.userid
、target.ip_geo_artifact.network.organization_name
principal.user.windows_sid
principal.user.windows_sid
、principal.ip_geo_artifact.location.country_or_region
principal.user.windows_sid
、security_result.category
principal.user.windows_sid
、target.ip_geo_artifact.network.organization_name
リソースの作成
metrics.resource_creation_total
は、RESOURCE_CREATION
event
type
または USER_RESOURCE_CREATION
event
type
の UDM イベントの履歴値を事前計算します。
同等のイベントタイプのリストについては、メタデータ イベントタイプをご覧ください。
metrics.resource_creation_success
ではさらに、イベントに ALLOW
の SecurityResult.Action
が少なくとも 1 つ必要です。
フィルタとして使用できる UDM フィールドの完全なリスト
principal.user.email_addresses
、metadata.vendor_name
、metadata.product_name
principal.user.employee_id
、metadata.vendor_name
、metadata.product_name
principal.user.product_object_id
、metadata.vendor_name
、metadata.product_name
principal.user.userid
、metadata.vendor_name
、metadata.product_name
principal.user.windows_sid
、metadata.vendor_name
、metadata.product_name
principal.user.email_addresses
、principal.ip
、metadata.vendor_name
、metadata.product_name
principal.user.employee_id
、principal.ip
、metadata.vendor_name
、metadata.product_name
principal.user.product_object_id
、principal.ip
、metadata.vendor_name
、metadata.product_name
principal.user.userid
、principal.ip
、metadata.vendor_name
、metadata.product_name
principal.user.windows_sid
、principal.ip
、metadata.vendor_name
、metadata.product_name
principal.user.email_addresses
、target.application
、metadata.vendor_name
、metadata.product_name
principal.user.employee_id
、target.application
、metadata.vendor_name
、metadata.product_name
principal.user.product_object_id
、target.application
、metadata.vendor_name
、metadata.product_name
principal.user.userid
、target.application
、metadata.vendor_name
、metadata.product_name
principal.user.windows_sid
、target.application
、metadata.vendor_name
、metadata.product_name
principal.user.email_addresses
、target.application
、target.location.name
、metadata.vendor_name
、metadata.product_name
principal.user.employee_id
、target.application
、target.location.name
、metadata.vendor_name
、metadata.product_name
principal.user.product_object_id
、target.application
、target.location.name
、metadata.vendor_name
、metadata.product_name
principal.user.userid
、target.application
、target.location.name
、metadata.vendor_name
、metadata.product_name
principal.user.windows_sid
、target.application
、target.location.name
、metadata.vendor_name
、metadata.product_name
principal.user.email_addresses
、target.resource.name
、metadata.vendor_name
、metadata.product_name
principal.user.employee_id
、target.resource.name
、metadata.vendor_name
、metadata.product_name
principal.user.product_object_id
、target.resource.name
、metadata.vendor_name
、metadata.product_name
principal.user.userid
、target.resource.name
、metadata.vendor_name
、metadata.product_name
principal.user.windows_sid
、target.resource.name
、metadata.vendor_name
、metadata.product_name
principal.user.email_addresses
、target.resource.name
、target.resource_type
、metadata.vendor_name
、metadata.product_name
principal.user.employee_id
、target.resource.name
、target.resource_type
、metadata.vendor_name
、metadata.product_name
principal.user.product_object_id
、target.resource.name
、target.resource_type
、metadata.vendor_name
、metadata.product_name
principal.user.userid
、target.resource.name
、target.resource_type
、metadata.vendor_name
、metadata.product_name
principal.user.windows_sid
、target.resource.name
、target.resource_type
、metadata.vendor_name
、metadata.product_name
target.user.email_addresses
、metadata.vendor_name
、metadata.product_name
target.user.employee_id
、metadata.vendor_name
、metadata.product_name
target.user.product_object_id
、metadata.vendor_name
、metadata.product_name
target.user.userid
、metadata.vendor_name
、metadata.product_name
target.user.windows_sid
、metadata.vendor_name
、metadata.product_name
リソースの削除
metrics.resource_deletion_success
は、RESOURCE_DELETION
event
type
の UDM イベントの履歴値を事前計算します。さらに、イベントに ALLOW
の SecurityResult.Actions
が少なくとも 1 つ必要です。
フィルタとして使用できる UDM フィールドの完全なリスト
principal.user.email_addresses
、metadata.vendor_name
、metadata.product_name
principal.user.employee_id
、metadata.vendor_name
、metadata.product_name
principal.user.product_object_id
、metadata.vendor_name
、metadata.product_name
principal.user.userid
、metadata.vendor_name
、metadata.product_name
principal.user.windows_sid
、metadata.vendor_name
、metadata.product_name
principal.user.email_addresses
、principal.ip
、metadata.vendor_name
、metadata.product_name
principal.user.employee_id
、principal.ip
、metadata.vendor_name
、metadata.product_name
principal.user.product_object_id
、principal.ip
、metadata.vendor_name
、metadata.product_name
principal.user.userid
、principal.ip
、metadata.vendor_name
、metadata.product_name
principal.user.windows_sid
、principal.ip
、metadata.vendor_name
、metadata.product_name
principal.user.email_addresses
、target.application
、metadata.vendor_name
、metadata.product_name
principal.user.employee_id
、target.application
、metadata.vendor_name
、metadata.product_name
principal.user.product_object_id
、target.application
、metadata.vendor_name
、metadata.product_name
principal.user.userid
、target.application
、metadata.vendor_name
、metadata.product_name
principal.user.windows_sid
、target.application
、metadata.vendor_name
、metadata.product_name
principal.user.email_addresses
、target.application
、target.location.name
、metadata.vendor_name
、metadata.product_name
principal.user.employee_id
、target.application
、target.location.name
、metadata.vendor_name
、metadata.product_name
principal.user.product_object_id
、target.application
、target.location.name
、metadata.vendor_name
、metadata.product_name
principal.user.userid
、target.application
、target.location.name
、metadata.vendor_name
、metadata.product_name
principal.user.windows_sid
、target.application
、target.location.name
、metadata.vendor_name
、metadata.product_name
principal.user.email_addresses
、target.resource.name
、metadata.vendor_name
、metadata.product_name
principal.user.employee_id
、target.resource.name
、metadata.vendor_name
、metadata.product_name
principal.user.product_object_id
、target.resource.name
、metadata.vendor_name
、metadata.product_name
principal.user.userid
、target.resource.name
、metadata.vendor_name
、metadata.product_name
principal.user.windows_sid
、target.resource.name
、metadata.vendor_name
、metadata.product_name
principal.user.email_addresses
、target.resource.name
、target.resource_type
、metadata.vendor_name
、metadata.product_name
principal.user.employee_id
、target.resource.name
、target.resource_type
、metadata.vendor_name
、metadata.product_name
principal.user.product_object_id
、target.resource.name
、target.resource_type
、metadata.vendor_name
、metadata.product_name
principal.user.userid
、target.resource.name
、target.resource_type
、metadata.vendor_name
、metadata.product_name
principal.user.windows_sid
、target.resource.name
、target.resource_type
、metadata.vendor_name
、metadata.product_name
target.user.email_addresses
、metadata.vendor_name
、metadata.product_name
target.user.employee_id
、metadata.vendor_name
、metadata.product_name
target.user.product_object_id
、metadata.vendor_name
、metadata.product_name
target.user.userid
、metadata.vendor_name
、metadata.product_name
target.user.windows_sid
、metadata.vendor_name
、metadata.product_name
リソースの読み取り
metrics.resource_read_success
は、RESOURCE_READ
event
type
の UDM イベントの履歴値を事前計算します。さらに、イベントに ALLOW
の SecurityResult.Action
が少なくとも 1 つ必要です。
metrics.resource_read_fail
では、SecurityResult.Actions
のいずれも ALLOW
でないことが必要です。
フィルタとして使用できる UDM フィールドの完全なリスト
principal.user.email_addresses
、metadata.vendor_name
、metadata.product_name
principal.user.employee_id
、metadata.vendor_name
、metadata.product_name
principal.user.product_object_id
、metadata.vendor_name
、metadata.product_name
principal.user.userid
、metadata.vendor_name
、metadata.product_name
principal.user.windows_sid
、metadata.vendor_name
、metadata.product_name
principal.user.email_addresses
、principal.ip
、metadata.vendor_name
、metadata.product_name
principal.user.employee_id
、principal.ip
、metadata.vendor_name
、metadata.product_name
principal.user.product_object_id
、principal.ip
、metadata.vendor_name
、metadata.product_name
principal.user.userid
、principal.ip
、metadata.vendor_name
、metadata.product_name
principal.user.windows_sid
、principal.ip
、metadata.vendor_name
、metadata.product_name
principal.user.email_addresses
、target.application
、metadata.vendor_name
、metadata.product_name
principal.user.employee_id
、target.application
、metadata.vendor_name
、metadata.product_name
principal.user.product_object_id
、target.application
、metadata.vendor_name
、metadata.product_name
principal.user.userid
、target.application
、metadata.vendor_name
、metadata.product_name
principal.user.windows_sid
、target.application
、metadata.vendor_name
、metadata.product_name
principal.user.email_addresses
、target.application
、target.location.name
、metadata.vendor_name
、metadata.product_name
principal.user.employee_id
、target.application
、target.location.name
、metadata.vendor_name
、metadata.product_name
principal.user.product_object_id
、target.application
、target.location.name
、metadata.vendor_name
、metadata.product_name
principal.user.userid
、target.application
、target.location.name
、metadata.vendor_name
、metadata.product_name
principal.user.windows_sid
、target.application
、target.location.name
、metadata.vendor_name
、metadata.product_name
principal.user.email_addresses
、target.resource.name
、metadata.vendor_name
、metadata.product_name
principal.user.employee_id
、target.resource.name
、metadata.vendor_name
、metadata.product_name
principal.user.product_object_id
、target.resource.name
、metadata.vendor_name
、metadata.product_name
principal.user.userid
、target.resource.name
、metadata.vendor_name
、metadata.product_name
principal.user.windows_sid
、target.resource.name
、metadata.vendor_name
、metadata.product_name
principal.user.email_addresses
、target.resource.name
、target.resource_type
、metadata.vendor_name
、metadata.product_name
principal.user.employee_id
、target.resource.name
、target.resource_type
、metadata.vendor_name
、metadata.product_name
principal.user.product_object_id
、target.resource.name
、target.resource_type
、metadata.vendor_name
、metadata.product_name
principal.user.userid
、target.resource.name
、target.resource_type
、metadata.vendor_name
、metadata.product_name
principal.user.windows_sid
、target.resource.name
、target.resource_type
、metadata.vendor_name
、metadata.product_name
target.user.email_addresses
、metadata.vendor_name
、metadata.product_name
target.user.employee_id
、metadata.vendor_name
、metadata.product_name
target.user.product_object_id
、metadata.vendor_name
、metadata.product_name
target.user.userid
、metadata.vendor_name
、metadata.product_name
target.user.windows_sid
、metadata.vendor_name
、metadata.product_name
制限事項
指標を使用して YARA-L 検索クエリを作成する場合、次の制限が適用されます。
- デフォルト値(文字列の場合は
""
、整数の場合は0
)を持つ指標を結合することはできません。- をデフォルト値
- イベントに対応する指標データがない場合、指標関数から返される値は
0
です。 - 指標データのないイベントがある場合、
min
を使用して関数を集計すると、0
が返されることがあります。
- イベントに対応する指標データがない場合、指標関数から返される値は
- をデフォルト値
- 指標関数は結果セクションでのみ使用できます。一致セクションを含む検索クエリで集計する必要があります。
さらにサポートが必要な場合 コミュニティ メンバーや Google SecOps のプロフェッショナルから回答を得ることができます。