Teleport Access Plane のログを収集する

以下でサポートされています。

このドキュメントでは、Cloud Storage V2 を使用して Teleport Access Plane ログを Google Security Operations に取り込む方法について説明します。

Teleport Access Plane(現在の Teleport Access Platform)は、SSH サーバー、Kubernetes クラスタ、データベース、ウェブ アプリケーションへの安全なアクセスを提供するゼロトラスト アクセス プラットフォームです。組み込みのセッション記録、ID ベースのアクセス制御、包括的な監査ロギングを備えています。監査イベントは、Teleport Events API を介して収集できます。

始める前に

次の前提条件を満たしていることを確認します。

  • Google SecOps インスタンス
  • Cloud Storage API が有効になっている Google Cloud プロジェクト
  • Cloud Storage バケットを作成、管理する権限
  • Cloud Storage バケットの Identity and Access Management(IAM)ポリシーを管理する権限
  • Cloud Run サービス、Pub/Sub トピック、Cloud Scheduler ジョブを作成する権限
  • 管理者権限を持つ実行中の Teleport クラスタ
  • API アクセス用の Teleport ID ファイルまたはマシン ID 認証情報

Cloud Storage バケットを作成する

  1. Google Cloud コンソールに移動します。
  2. プロジェクトを選択するか、新しいプロジェクトを作成します。
  3. ナビゲーション メニューで、[Cloud Storage] > [バケット] に移動します。
  4. [バケットを作成] をクリックします。
  5. 次の構成情報を提供してください。

    設定 値
    バケットに名前を付ける グローバルに一意の名前(teleport-audit-logs など)を入力します。
    ロケーション タイプ ニーズに応じて選択します(リージョン、デュアルリージョン、マルチリージョン)。
    ロケーション ロケーションを選択します(例: us-central1)。
    ストレージ クラス Standard(頻繁にアクセスされるログに推奨)
    アクセス制御 均一(推奨)
    保護ツール 省略可: オブジェクトのバージョニングまたは保持ポリシーを有効にする
  6. [作成] をクリックします。

Teleport Access Plane API 認証情報を収集する

API アクセス用の ID ファイルを生成する

Teleport は、API アクセスに ID ベースの認証を使用します。ID ファイルを生成するか、自動アクセスにマシン ID を使用します。

オプション A: tctl を使用して ID ファイルを生成する

  1. Teleport クラスタへの tctl アクセス権を持つマシンにログインします。
  2. 統合用の bot ユーザーを作成します。

    tctl bots add secops-collector --roles=auditor --logins=root
    
  3. ID ファイルを生成します。

    tctl auth sign --user=secops-collector --out=secops-collector-identity --ttl=8760h
    
  4. ID ファイル secops-collector-identity には、API 認証に必要な TLS 証明書、鍵、CA 証明書が含まれています。

  1. コレクタを実行するマシンに tbot をインストールします。
  2. マシン ID を構成する:

    tctl bots add secops-collector --roles=auditor
    
  3. bot を起動して、認証情報を継続的に更新します。

    tbot start \
      --destination-dir=/opt/teleport/certs \
      --token=secops-collector-token \
      --auth-server=teleport.yourcompany.com:443
    

Teleport プロキシ アドレスを特定する

  1. Teleport プロキシ アドレス(例: teleport.yourcompany.com:443)をメモします。
  2. API エンドポイントはプロキシ アドレスと同じです。

権限を確認する

bot ユーザーに必要な権限があることを確認するには:

  1. Teleport ウェブ UI にログインします。
  2. [Management] > [Users] に移動します。
  3. bot ユーザー secops-collector が存在し、auditor ロールが付与されていることを確認します。
  4. auditor ロールは、監査イベントとセッション録画に対する読み取りアクセス権を付与します。

テスト API へのアクセス

  • 統合に進む前に、認証情報をテストします。

    # Replace with your actual values
    TELEPORT_PROXY="teleport.yourcompany.com:443"
    IDENTITY_FILE="/path/to/secops-collector-identity"
    
    # Test API access using tsh
    tsh --proxy=${TELEPORT_PROXY} -i ${IDENTITY_FILE} \
      events ls --last=1h --format=json | head -5
    

Cloud Run functions のサービス アカウントを作成する

Cloud Run functions の関数には、Cloud Storage バケットへの書き込み権限と、Pub/Sub による呼び出し権限を持つサービス アカウントが必要です。

サービス アカウントの作成

  1. Google Cloud コンソールで、[IAM と管理] > [サービス アカウント] に移動します。
  2. [サービス アカウントを作成] をクリックします。
  3. 次の構成情報を指定します。
    • サービス アカウント名: 「teleport-logs-collector-sa」と入力します。
    • サービス アカウントの説明: 「Service account for Cloud Run function to collect Teleport Access Plane logs」と入力します。
  4. [作成して続行] をクリックします。
  5. [このサービス アカウントにプロジェクトへのアクセスを許可する] セクションで、次のロールを追加します。
    1. [ロールを選択] をクリックします。
    2. [Storage オブジェクト管理者] を検索して選択します。
    3. [+ 別のロールを追加] をクリックします。
    4. [Cloud Run 起動元] を検索して選択します。
    5. [+ 別のロールを追加] をクリックします。
    6. [Cloud Functions 起動元] を検索して選択します。
  6. [続行] をクリックします。
  7. [完了] をクリックします。

これらのロールは、次の操作に必要です。

  • Storage オブジェクト管理者: Cloud Storage バケットにログを書き込み、状態ファイルを管理します。
  • Cloud Run 起動元: Pub/Sub が関数を呼び出せるようにします。
  • Cloud Functions 起動元: 関数の呼び出しを許可します。

Cloud Storage バケットに対する IAM 権限を付与する

Cloud Storage バケットに対する書き込み権限をサービス アカウントに付与します。

  1. [Cloud Storage] > [バケット] に移動します。
  2. バケット名(例: teleport-audit-logs)をクリックします。
  3. [権限] タブに移動します。
  4. [アクセス権を付与] をクリックします。
  5. 次の構成情報を指定します。
    • プリンシパルを追加: サービス アカウントのメールアドレス(例: teleport-logs-collector-sa@PROJECT_ID.iam.gserviceaccount.com)を入力します。
    • ロールを割り当てる: [Storage オブジェクト管理者] を選択します。
  6. [保存] をクリックします。

Pub/Sub トピックの作成

Cloud Scheduler がパブリッシュし、Cloud Run functions の関数がサブスクライブする Pub/Sub トピックを作成します。

  1. Google Cloud コンソールで、[Pub/Sub] > [トピック] に移動します。
  2. [トピックを作成] をクリックします。
  3. 次の構成情報を指定します。
    • トピック ID: 「teleport-logs-trigger」と入力します。
    • その他の設定はデフォルトのままにします。
  4. [作成] をクリックします。

ログを収集する Cloud Run 関数を作成する

Cloud Run functions の関数は、Cloud Scheduler からの Pub/Sub メッセージによってトリガーされ、Teleport Events API から監査イベントを取得して Cloud Storage に書き込みます。

  1. Google Cloud コンソールで Cloud Run に移動します。
  2. [サービスを作成] をクリックします。
  3. [関数](インライン編集で関数を作成する)を選択します。
  4. [構成] セクションで、次の構成の詳細を入力します。

    設定 値
    サービス名 teleport-logs-collector
    リージョン Cloud Storage バケットに一致するリージョンを選択します(例: us-central1)。
    ランタイム [Python 3.12] 以降を選択します。
  5. [トリガー(省略可)] セクションで、次の操作を行います。

    1. [+ トリガーを追加] をクリックします。
    2. [Cloud Pub/Sub] を選択します。
    3. [Cloud Pub/Sub トピックを選択してください] で、トピック teleport-logs-trigger を選択します。
    4. [保存] をクリックします。
  6. [認証] セクションで、次の操作を行います。

    1. [認証が必要] を選択します。
    2. Identity and Access Management(IAM)を確認します。
  7. 下にスクロールして、[コンテナ、ネットワーキング、セキュリティ] を開きます。

  8. [セキュリティ] タブに移動します。

    • サービス アカウント: サービス アカウント teleport-logs-collector-sa を選択します。
  9. [コンテナ] タブに移動します。

    1. [変数とシークレット] をクリックします。
    2. 環境変数ごとに [+ 変数を追加] をクリックします。
    変数名 値の例 説明
    GCS_BUCKET teleport-audit-logs Cloud Storage バケットの名前
    GCS_PREFIX teleport-logs ログファイルの接頭辞
    STATE_KEY teleport-logs/state.json 状態ファイルのパス
    TELEPORT_PROXY teleport.yourcompany.com:443 Teleport プロキシ アドレス
    TELEPORT_IDENTITY base64-encoded-identity-file Base64 でエンコードされた ID ファイルの内容
    MAX_RECORDS 10000 1 回の実行あたりの最大レコード数
    PAGE_SIZE 1000 1 ページあたりのレコード数
    LOOKBACK_HOURS 24 最初のルックバック期間
  10. [変数とシークレット] セクションで、[リクエスト] まで下にスクロールします。

    • リクエストのタイムアウト: 「600」秒(10 分)と入力します。
  11. [設定] タブに移動します。

    • [リソース] セクションで、次の操作を行います。
      • メモリ: 512 MiB 以上を選択します。
      • CPU: [1] を選択します。
  12. [リビジョン スケーリング] セクションで、次の操作を行います。

    • [インスタンスの最小数]: 「0」と入力します。
    • [インスタンスの最大数]: 「100」と入力します(または、予想される負荷に基づいて調整します)。
  13. [作成] をクリックします。

  14. サービスが作成されるまで待ちます(1 ~ 2 分)。

  15. サービスが作成されると、インライン コードエディタが自動的に開きます。

関数コードを追加する

  1. [エントリ ポイント] フィールドに「main」と入力します。
  2. インライン コードエディタで、次の 2 つのファイルを作成します。

    • main.py:
    import functions_framework
    from google.cloud import storage
    import json
    import os
    import urllib3
    from datetime import datetime, timezone, timedelta
    import time
    import base64
    import tempfile
    import ssl
    
    # Initialize Storage client
    storage_client = storage.Client()
    
    # Environment variables
    GCS_BUCKET = os.environ.get('GCS_BUCKET')
    GCS_PREFIX = os.environ.get('GCS_PREFIX', 'teleport-logs')
    STATE_KEY = os.environ.get('STATE_KEY', 'teleport-logs/state.json')
    TELEPORT_PROXY = os.environ.get('TELEPORT_PROXY')
    TELEPORT_IDENTITY = os.environ.get('TELEPORT_IDENTITY')
    MAX_RECORDS = int(os.environ.get('MAX_RECORDS', '10000'))
    PAGE_SIZE = int(os.environ.get('PAGE_SIZE', '1000'))
    LOOKBACK_HOURS = int(os.environ.get('LOOKBACK_HOURS', '24'))
    
    def parse_datetime(value: str) -> datetime:
      """Parse ISO datetime string to datetime object."""
      if value.endswith("Z"):
        value = value[:-1] + "+00:00"
      return datetime.fromisoformat(value)
    
    def create_http_client():
      """
      Create an HTTP client with TLS client certificate
      authentication from the Teleport identity file.
      """
      identity_data = base64.b64decode(TELEPORT_IDENTITY).decode('utf-8')
    
      # Parse identity file into cert, key, and CA
      cert_file = tempfile.NamedTemporaryFile(mode='w', suffix='.pem', delete=False)
      key_file = tempfile.NamedTemporaryFile(mode='w', suffix='.pem', delete=False)
      ca_file = tempfile.NamedTemporaryFile(mode='w', suffix='.pem', delete=False)
    
      current_section = None
      cert_data = []
      key_data = []
      ca_data = []
    
      for line in identity_data.split('\n'):
        if 'BEGIN CERTIFICATE' in line and not cert_data:
          current_section = 'cert'
        elif 'BEGIN CERTIFICATE' in line:
          current_section = 'ca'
        elif 'BEGIN' in line and 'KEY' in line:
          current_section = 'key'
        elif 'END CERTIFICATE' in line:
          if current_section == 'cert':
            cert_data.append(line)
          elif current_section == 'ca':
            ca_data.append(line)
          current_section = None
        elif 'END' in line and 'KEY' in line:
          key_data.append(line)
          current_section = None
    
        if current_section == 'cert':
          cert_data.append(line)
        elif current_section == 'key':
          key_data.append(line)
        elif current_section == 'ca':
          ca_data.append(line)
    
      cert_file.write('\n'.join(cert_data))
      cert_file.close()
      key_file.write('\n'.join(key_data))
      key_file.close()
      ca_file.write('\n'.join(ca_data))
      ca_file.close()
    
      http = urllib3.PoolManager(
        cert_file=cert_file.name,
        key_file=key_file.name,
        ca_certs=ca_file.name,
        timeout=urllib3.Timeout(connect=10.0, read=60.0),
        retries=False,
      )
    
      return http
    
    @functions_framework.cloud_event
    def main(cloud_event):
      """
      Cloud Run function triggered by Pub/Sub to fetch Teleport
      audit events and write to GCS.
    
      Args:
        cloud_event: CloudEvent object containing Pub/Sub message
      """
    
      if not all([GCS_BUCKET, TELEPORT_PROXY, TELEPORT_IDENTITY]):
        print('Error: Missing required environment variables')
        return
    
      try:
        bucket = storage_client.bucket(GCS_BUCKET)
    
        # Load state
        state = load_state(bucket, STATE_KEY)
    
        # Determine time window
        now = datetime.now(timezone.utc)
        last_time = None
    
        if isinstance(state, dict) and state.get("last_event_time"):
          try:
            last_time = parse_datetime(state["last_event_time"])
            # Overlap by 2 minutes to catch any delayed events
            last_time = last_time - timedelta(minutes=2)
          except Exception as e:
            print(f"Warning: Could not parse last_event_time: {e}")
    
        if last_time is None:
          last_time = now - timedelta(hours=LOOKBACK_HOURS)
    
        print(f"Fetching logs from {last_time.isoformat()} to {now.isoformat()}")
    
        # Create HTTP client with TLS auth
        http = create_http_client()
    
        # Fetch logs
        records, newest_event_time = fetch_logs(
          http=http,
          start_time=last_time,
          end_time=now,
          page_size=PAGE_SIZE,
          max_records=MAX_RECORDS,
        )
    
        if not records:
          print("No new log records found.")
          save_state(bucket, STATE_KEY, now.isoformat())
          return
    
        # Write to GCS as NDJSON
        timestamp = now.strftime('%Y%m%d_%H%M%S')
        object_key = f"{GCS_PREFIX}/logs_{timestamp}.ndjson"
        blob = bucket.blob(object_key)
    
        ndjson = '\n'.join([json.dumps(record, ensure_ascii=False) for record in records]) + '\n'
        blob.upload_from_string(ndjson, content_type='application/x-ndjson')
    
        print(f"Wrote {len(records)} records to gs://{GCS_BUCKET}/{object_key}")
    
        # Update state with newest event time
        if newest_event_time:
          save_state(bucket, STATE_KEY, newest_event_time)
        else:
          save_state(bucket, STATE_KEY, now.isoformat())
    
        print(f"Successfully processed {len(records)} records")
    
      except Exception as e:
        print(f'Error processing logs: {str(e)}')
        raise
    
    def load_state(bucket, key):
      """Load state from GCS."""
      try:
        blob = bucket.blob(key)
        if blob.exists():
          state_data = blob.download_as_text()
          return json.loads(state_data)
      except Exception as e:
        print(f"Warning: Could not load state: {e}")
    
      return {}
    
    def save_state(bucket, key, last_event_time_iso: str):
      """Save the last event timestamp to GCS state file."""
      try:
        state = {'last_event_time': last_event_time_iso}
        blob = bucket.blob(key)
        blob.upload_from_string(
          json.dumps(state, indent=2),
          content_type='application/json'
        )
        print(f"Saved state: last_event_time={last_event_time_iso}")
      except Exception as e:
        print(f"Warning: Could not save state: {e}")
    
    def fetch_logs(http, start_time: datetime, end_time: datetime, page_size: int, max_records: int):
      """
      Fetch audit events from Teleport Events API with pagination
      and rate limiting.
    
      Args:
        http: urllib3 PoolManager with TLS client certificates
        start_time: Start time for log query
        end_time: End time for log query
        page_size: Number of records per page
        max_records: Maximum total records to fetch
    
      Returns:
        Tuple of (records list, newest_event_time ISO string)
      """
      proxy_host = TELEPORT_PROXY.rstrip('/')
      if not proxy_host.startswith('https://'):
        proxy_host = f"https://{proxy_host}"
    
      endpoint = f"{proxy_host}/v1/events"
    
      records = []
      newest_time = None
      page_num = 0
      backoff = 1.0
      cursor = ""
    
      start_str = start_time.strftime("%Y-%m-%dT%H:%M:%SZ")
      end_str = end_time.strftime("%Y-%m-%dT%H:%M:%SZ")
    
      while True:
        page_num += 1
    
        if len(records) >= max_records:
          print(f"Reached max_records limit ({max_records})")
          break
    
        url = (
          f"{endpoint}"
          f"?from={start_str}"
          f"&to={end_str}"
          f"&limit={min(page_size, max_records - len(records))}"
        )
        if cursor:
          url += f"&startKey={cursor}"
    
        try:
          response = http.request('GET', url)
    
          # Handle rate limiting with exponential backoff
          if response.status == 429:
            retry_after = int(response.headers.get('Retry-After', str(int(backoff))))
            print(f"Rate limited (429). Retrying after {retry_after}s...")
            time.sleep(retry_after)
            backoff = min(backoff * 2, 30.0)
            continue
    
          backoff = 1.0
    
          if response.status != 200:
            print(f"HTTP Error: {response.status}")
            response_text = response.data.decode('utf-8')
            print(f"Response body: {response_text}")
            return [], None
    
          data = json.loads(response.data.decode('utf-8'))
    
          page_results = data.get('items', data.get('events', []))
    
          if not page_results:
            print(f"No more results (empty page)")
            break
    
          print(f"Page {page_num}: Retrieved {len(page_results)} events")
          records.extend(page_results)
    
          # Track newest event time
          for event in page_results:
            try:
              event_time = event.get('time') or event.get('ei', {}).get('time')
              if event_time:
                if newest_time is None or parse_datetime(event_time) > parse_datetime(newest_time):
                  newest_time = event_time
            except Exception as e:
              print(f"Warning: Could not parse event time: {e}")
    
          # Check for more results using cursor
          cursor = data.get('startKey', '')
          if not cursor:
            print("No more pages (no startKey cursor)")
            break
    
        except Exception as e:
          print(f"Error fetching logs: {e}")
          return [], None
    
      print(f"Retrieved {len(records)} total records from {page_num} pages")
      return records, newest_time
    
    • requirements.txt:
    functions-framework==3.*
    google-cloud-storage==2.*
    urllib3>=2.0.0
    
  3. [デプロイ] をクリックして関数を保存し、デプロイします。

  4. デプロイが完了するまで待ちます(2 ~ 3 分)。

Cloud Scheduler ジョブの作成

Cloud Scheduler は、定期的に Pub/Sub トピックにメッセージをパブリッシュし、Cloud Run 関数をトリガーします。

  1. Google Cloud コンソールで、[Cloud Scheduler] に移動します。
  2. [ジョブを作成] をクリックします。
  3. 次の構成情報を提供してください。

    設定 値
    名前 teleport-logs-collector-hourly
    リージョン Cloud Run functions の関数と同じリージョンを選択します。
    周波数 0 * * * *(1 時間ごと、毎正時)
    タイムゾーン タイムゾーンを選択(UTC を推奨)
    ターゲット タイプ Pub/Sub
    トピック トピック teleport-logs-trigger を選択します。
    メッセージ本文 {}(空の JSON オブジェクト)
  4. [作成] をクリックします。

スケジュール頻度のオプション

ログの量とレイテンシの要件に基づいて頻度を選択します。

頻度 CRON 式 ユースケース
5 分おき */5 * * * * 大容量、低レイテンシ
15 分ごと */15 * * * * 検索量が普通
1 時間ごと 0 * * * * 標準(推奨)
6 時間ごと 0 */6 * * * 少量のバッチ処理
毎日 0 0 * * * 過去のデータの収集

統合をテストする

  1. Cloud Scheduler コンソールで、ジョブを見つけます。
  2. [強制実行] をクリックして、ジョブを手動でトリガーします。
  3. 数秒待ちます。
  4. [Cloud Run] > [サービス] に移動します。
  5. teleport-logs-collector をクリックします。
  6. [ログ] タブをクリックします。
  7. 関数が正常に実行されたことを確認します。以下のものを探します。

    Fetching logs from YYYY-MM-DDTHH:MM:SS+00:00 to YYYY-MM-DDTHH:MM:SS+00:00
    Page 1: Retrieved X events
    Wrote X records to gs://teleport-audit-logs/teleport-logs/logs_YYYYMMDD_HHMMSS.ndjson
    Successfully processed X records
    
  8. [Cloud Storage] > [バケット] に移動します。

  9. バケット名(teleport-audit-logs)をクリックします。

  10. teleport-logs/ フォルダに移動します。

  11. 現在のタイムスタンプで新しい .ndjson ファイルが作成されたことを確認します。

ログにエラーが表示される場合:

  • HTTP 401/403: ID ファイルが有効で、有効期限が切れていないことを確認します。bot ユーザーに auditor ロールがあることを確認します。
  • HTTP 429: レート制限 - 関数はバックオフを使用して自動的に再試行します。
  • TLS エラー: ID ファイルが正しく base64 でエンコードされ、証明書、鍵、CA が含まれていることを確認します。
  • 環境変数が設定されていない: 必要な変数がすべて設定されていることを確認します。

Teleport Access Plane のログを取り込むように Google SecOps でフィードを構成する

  1. [設定] > [データ マネジメント] > [フィード] に移動します。SIEM のみのプラットフォームを使用している場合は、[設定] > [フィード] に移動します。
  2. [Add New Feed] をクリックします。
  3. [単一フィードを設定] をクリックします。
  4. [フィード名] フィールドに、フィードの名前を入力します(例: Teleport Access Plane Logs)。
  5. [ソースタイプ] として [Google Cloud Storage V2] を選択します。
  6. [ログタイプ] として [Teleport Access Plane] を選択します。
  7. [サービス アカウントを取得する] をクリックします。一意のサービス アカウントのメールアドレスが表示されます。例:

    chronicle-12345678@chronicle-gcp-prod.iam.gserviceaccount.com
    
  8. このメールアドレスをコピーします。

  9. [次へ] をクリックします。

  10. 次の入力パラメータの値を指定します。

    • ストレージ バケットの URL: 接頭辞パスを含む Cloud Storage バケット URI を入力します。

      gs://teleport-audit-logs/teleport-logs/
      
      • 次のように置き換えます。
        • teleport-audit-logs: Cloud Storage バケット名。
        • teleport-logs: ログが保存されるオプションの接頭辞 / フォルダパス(ルートの場合は空のままにします)。
    • Source deletion option: 必要に応じて削除オプションを選択します。

      • なし: 転送後にファイルを削除しません(テストにおすすめ)。
      • 転送されたファイルを削除する: 転送が完了した後にファイルを削除します。
      • 転送されたファイルと空のディレクトリを削除する: 転送が成功した後にファイルと空のディレクトリを削除します。

    • ファイルの最長存続期間: 過去数日間に変更されたファイルを含めます(デフォルトは 180 日)。

    • Asset namespace: アセットの名前空間。

    • Ingestion labels: このフィードのイベントに適用されるラベル。

  11. [次へ] をクリックします。

  12. [Finalize] 画面で新しいフィードの設定を確認し、[送信] をクリックします。

Google SecOps サービス アカウントに IAM 権限を付与する

Google SecOps サービス アカウントには、Cloud Storage バケットに対する Storage オブジェクト閲覧者のロールが必要です。

  1. [Cloud Storage] > [バケット] に移動します。
  2. バケット名をクリックします。
  3. [権限] タブに移動します。
  4. [アクセス権を付与] をクリックします。
  5. 次の構成情報を指定します。
    • プリンシパルを追加: Google SecOps サービス アカウントのメールアドレスを貼り付けます。
    • ロールを割り当てる: [Storage オブジェクト閲覧者] を選択します。
  6. [保存] をクリックします。

UDM マッピング テーブル

ログフィールド UDM マッピング ロジック
addr_local principal.ip, principal.asset.ip 接続の送信元 IP アドレス
addr_remote target.ip 接続の宛先 IP アドレス
addr_remote1 principal.ip, principal.asset.ip 接続の送信元 IP アドレス
argv target.process.command_line プロセスのコマンドライン引数
bot_instance_id principal.asset.product_object_id アセットの商品固有の識別子
bot_name principal.application 関連するアプリケーションの名前
呼び出し元 principal.resource.attribute.labels リソースの属性の Key-Value ペア
cgroup_id metadata.ingestion_labels 取り込みメタデータのラベルの Key-Value ペア
cluster_name, fields.cluster_name target.resource.name ターゲット リソースの名前
コード additional.fields イベントデータの追加の Key-Value ペア
コンポーネント metadata.product_event_type サービス固有のイベントタイプ
dst_ip target.ip 接続の宛先 IP アドレス
dst_port target.port 接続の宛先ポート番号
ei additional.fields イベントデータの追加の Key-Value ペア
イベント metadata.product_event_type サービス固有のイベントタイプ
eventtype principal.resource.attribute.labels リソースの属性の Key-Value ペア
fields.addr.local principal.ip, principal.asset.ip 接続の送信元 IP アドレス
fields.addr.remote principal.ip, principal.asset.ip 接続の送信元 IP アドレス
fields.attributes.Account principal.resource.id リソースの識別子
fields.attributes.Arn principal.resource.attribute.labels リソースの属性の Key-Value ペア
fields.cluster_name target.resource.name ターゲット リソースの名前
fields.code additional.fields イベントデータの追加の Key-Value ペア
fields.host_id target.resource.id ターゲット リソースの識別子
fields.uid principal.user.userid プリンシパルのユーザー ID
id_id metadata.product_log_id プロダクト固有のログ識別子
なりすまし principal.resource.attribute.labels リソースの属性の Key-Value ペア
レベル security_result.severity セキュリティ結果の重大度
ログイン principal.user.user_display_name ユーザーの表示名
名前空間 principal.namespace プリンシパルの名前空間
パス target.file.full_path ターゲット ファイルのフルパス
pid target.process.pid プロセス ID
ppid target.process.parent_process.pid 親プロセス ID
private_key_policy additional.fields イベントデータの追加の Key-Value ペア
プログラム target.application ターゲット アプリケーションの名前
ロール principal.resource.attribute.labels リソースの属性の Key-Value ペア
server_hostname principal.hostname、principal.asset.hostname プリンシパル アセットのホスト名
server_id target.resource.product_object_id, metadata.ingestion_labels リソースのプロダクト固有の識別子
server_labels.Environment target.asset.attribute.labels アセットの属性の Key-Value ペア
server_labels.OS target.asset.attribute.labels アセットの属性の Key-Value ペア
server_labels.Role target.user.attribute.roles ユーザーに関連付けられているロール
server_labels.Uptime additional.fields イベントデータの追加の Key-Value ペア
server_labels.Version target.asset.attribute.labels アセットの属性の Key-Value ペア
server_labels.aws_Name target.asset.attribute.labels アセットの属性の Key-Value ペア
server_labels.aws_application target.application ターゲット アプリケーションの名前
server_labels.aws_backup target.asset.attribute.labels アセットの属性の Key-Value ペア
server_labels.aws_cost_center target.asset.attribute.labels アセットの属性の Key-Value ペア
server_labels.aws_environment target.asset.attribute.labels アセットの属性の Key-Value ペア
server_labels.aws_role target.asset.attribute.labels アセットの属性の Key-Value ペア
server_labels.aws_terraform target.asset.attribute.labels アセットの属性の Key-Value ペア
server_labels.aws_tier target.asset.attribute.labels アセットの属性の Key-Value ペア
server_labels.aws_zone target.asset.attribute.labels アセットの属性の Key-Value ペア
server_version additional.fields イベントデータの追加の Key-Value ペア
session_id network.session_id ネットワーク接続のセッション ID
重要度 security_result.severity セキュリティ結果の重大度
sid network.session_id ネットワーク接続のセッション ID
src_ip principal.ip 接続の送信元 IP アドレス
src_port principal.port 接続の送信元ポート番号
sr_summary security_result.summary セキュリティ結果の概要
systemRoles principal.resource.attribute.labels リソースの属性の Key-Value ペア
type metadata.product_event_type サービス固有のイベントタイプ
type1 metadata.product_event_type サービス固有のイベントタイプ
uid principal.user.userid、target.user.userid プリンシパルまたはターゲット ユーザーのユーザー ID
ユーザー principal.user.attribute.labels、target.user.user_display_name ユーザーの表示名
user_kind additional.fields イベントデータの追加の Key-Value ペア
working_directory metadata.ingestion_labels 取り込みメタデータのラベルの Key-Value ペア
additional.fields イベントデータの追加の Key-Value ペア
metadata.event_type イベントのタイプ(例: USER_LOGIN、NETWORK_CONNECTION)
metadata.ingestion_labels 取り込みメタデータのラベルの Key-Value ペア
metadata.product_name イベントを生成するサービスの名前
metadata.vendor_name プロダクトのベンダーの名前
network.session_id ネットワーク接続のセッション ID
principal.asset.attribute.labels アセットの属性の Key-Value ペア
principal.resource.attribute.labels リソースの属性の Key-Value ペア
principal.user.attribute.labels ユーザーの属性の Key-Value ペア
security_result セキュリティ関連の結果またはアクション
target.asset.attribute.labels アセットの属性の Key-Value ペア
target.process.parent_process.pid 親プロセス ID
target.user.attribute.roles ユーザーに関連付けられているロール
code event.idm.read_only_udm.additional.fields 変更履歴からマッピング
ei event.idm.read_only_udm.additional.fields 変更履歴からマッピング
orig_log_filename event.idm.read_only_udm.additional.fields 変更履歴からマッピング
app_name event.idm.read_only_udm.target.application 変更履歴からマッピング
app_public_addr event.idm.read_only_udm.target.hostname と event.idm.read_only_udm.target.asset.hostname 変更履歴からマッピング
app_uri event.idm.read_only_udm.target.url 変更履歴からマッピング
method event.idm.read_only_udm.network.http.method 変更履歴からマッピング
status_code event.idm.read_only_udm.network.http.response_code 変更履歴からマッピング
path event.idm.read_only_udm.target.file.full_path 変更履歴からマッピング
timestamp event.idm.read_only_udm.metadata.event_timestamp 変更履歴からマッピング
bot_name event.idm.read_only_udm.principal.application 変更履歴からマッピング
cluster_name event.idm.read_only_udm.target.resource.name 変更履歴からマッピング
server_hostname event.idm.read_only_udm.principal.hostname 変更履歴からマッピング
server_hostname event.idm.read_only_udm.principal.asset.hostname 変更履歴からマッピング
server_id event.idm.read_only_udm.target.resource.product_object_id 変更履歴からマッピング
event event.idm.read_only_udm.metadata.product_event_type 変更履歴からマッピング
login event.idm.read_only_udm.principal.user.user_display_name 変更履歴からマッピング
namespace event.idm.read_only_udm.principal.namespace 変更履歴からマッピング
sid event.idm.read_only_udm.network.session_id 変更履歴からマッピング
server_labels.Role event.idm.read_only_udm.target.user.attribute.roles 変更履歴からマッピング
server_labels.aws_application event.idm.read_only_udm.target.application 変更履歴からマッピング
user event.idm.read_only_udm.principal.user.attribute.labels 変更履歴からマッピング
impersonator event.idm.read_only_udm.principal.resource.attribute.labels 変更履歴からマッピング
server_id event.idm.read_only_udm.metadata.ingestion_labels 変更履歴からマッピング
server_labels.Environment event.idm.read_only_udm.target.asset.attribute.labels 変更履歴からマッピング
server_labels.OS event.idm.read_only_udm.target.asset.attribute.labels 変更履歴からマッピング
server_labels.Version event.idm.read_only_udm.target.asset.attribute.labels 変更履歴からマッピング
server_labels.aws_backup event.idm.read_only_udm.target.asset.attribute.labels 変更履歴からマッピング
server_labels.aws_cost_center event.idm.read_only_udm.target.asset.attribute.labels 変更履歴からマッピング
server_labels.aws_environment event.idm.read_only_udm.target.asset.attribute.labels 変更履歴からマッピング
server_labels.aws_role event.idm.read_only_udm.target.asset.attribute.labels 変更履歴からマッピング
server_labels.aws_terraform event.idm.read_only_udm.target.asset.attribute.labels 変更履歴からマッピング
server_labels.aws_tier event.idm.read_only_udm.target.asset.attribute.labels 変更履歴からマッピング
server_labels.aws_zone event.idm.read_only_udm.target.asset.attribute.labels 変更履歴からマッピング
server_labels.aws_name event.idm.read_only_udm.target.asset.attribute.labels 変更履歴からマッピング
private_key_policy event.idm.read_only_udm.additional.fields 変更履歴からマッピング
server_labels.Uptime event.idm.read_only_udm.additional.fields 変更履歴からマッピング
user_kind event.idm.read_only_udm.additional.fields 変更履歴からマッピング
server_version event.idm.read_only_udm.additional.fields 変更履歴からマッピング
remote_addr target.ip 変更履歴からマッピング

変更ログ

このパーサーの変更ログを表示する

さらにサポートが必要な場合 コミュニティ メンバーや Google SecOps のプロフェッショナルから回答を得ることができます。