Salesforce Commerce Cloud のログを収集する

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

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

Salesforce Commerce Cloud は、トランザクション、アクセス、セキュリティ監査ログを生成する e コマース プラットフォームです。Cloud Run functions は、スケジュールに従って Salesforce Commerce Cloud WebDAV エンドポイントに接続し、ログファイルをダウンロードして NDJSON 形式で GCS バケットに書き込みます。Google SecOps は、GCS V2 フィードを介してログファイルを取り込みます。

始める前に

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

  • Google SecOps インスタンス
  • Cloud Storage API が有効になっている GCP プロジェクト
  • GCS バケットを作成および管理する権限
  • GCS バケットの IAM ポリシーを管理する権限
  • Cloud Run サービス、Pub/Sub トピック、Cloud Scheduler ジョブを作成する権限
  • WebDAV アクセス権限を持つ Salesforce Commerce Cloud Business Manager への特権アクセス

Google Cloud Storage バケットを作成する

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

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

Salesforce Commerce Cloud の認証情報を収集する

WebDAV アクセスを構成する

  1. Salesforce Commerce Cloud インスタンスのビジネス マネージャーにログインします。
  2. [Administration] > [Organization] > [Roles & Permissions] に移動します。
  3. ユーザー アカウントで WebDAV ファイル アクセス権限が有効になっていることを確認します。
  4. SFCC インスタンスのホスト名(例: development-yoursite-dw.demandware.net)をメモします。
  5. 次の認証情報を安全な場所に保存します。

    • SFCC ホスト: インスタンスのホスト名(例: development-yoursite-dw.demandware.net)。
    • ユーザー名: ビジネス マネージャーのユーザー名。
    • パスワード: ビジネス マネージャーのパスワード。

権限を確認する

アカウントに必要な権限があることを確認するには:

  1. Salesforce Commerce Cloud インスタンスのビジネス マネージャーにログインします。
  2. [Administration] > [Site Development] > [Development Setup] に移動します。
  3. [WebDAV] セクションの [ログファイル] をクリックします。
  4. ログファイル ディレクトリが表示される場合は、必要な権限が付与されています。
  5. このオプションが表示されない場合は、SFCC 管理者に連絡して WebDAV アクセス権を付与してもらってください。

テスト API へのアクセス

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

    # Replace with your actual credentials
    SFCC_HOST="development-yoursite-dw.demandware.net"
    USERNAME="your-username"
    PASSWORD="your-password"
    
    # Test WebDAV access to log directory
    curl -v -u "${USERNAME}:${PASSWORD}" \
      "https://${SFCC_HOST}/on/demandware.servlet/webdav/Sites/Logs/"
    

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

Cloud Run functions には、GCS バケットへの書き込み権限があり、Pub/Sub によって呼び出されるサービス アカウントが必要です。

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

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

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

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

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

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

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

Pub/Sub トピックの作成

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

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

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

Cloud Run functions の関数は、Cloud Scheduler からの Pub/Sub メッセージによってトリガーされ、Salesforce Commerce Cloud WebDAV からログを取得して GCS に書き込みます。

  1. GCP Console で、[Cloud Run] に移動します。
  2. [サービスを作成] をクリックします。
  3. [関数] を選択します(インライン エディタを使用して関数を作成します)。
  4. [構成] セクションで、次の構成の詳細を指定します。

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

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

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

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

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

    1. [変数とシークレット] をクリックします。
    2. 環境変数ごとに [+ 変数を追加] をクリックします。
    変数名 値の例 説明
    GCS_BUCKET sfcc-logs GCS バケット名
    GCS_PREFIX sfcc ログファイルの接頭辞
    STATE_KEY sfcc/state.json 状態ファイルのパス
    SFCC_HOST development-yoursite-dw.demandware.net SFCC インスタンスのホスト名
    SFCC_USERNAME your-username ビジネス マネージャーのユーザー名
    SFCC_PASSWORD your-password ビジネス マネージャーのパスワード
    LOG_DIRS security,error,warn,customerror カンマ区切りのログ ディレクトリ
    LOOKBACK_HOURS 24 初期ルックバック期間
  10. [変数とシークレット] タブで [リクエスト] まで下にスクロールします。

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

    • [リソース] セクションで、次の操作を行います。
      • メモリ: 512 MiB 以上を選択します。
      • CPU: [1] を選択します。
    • [完了] をクリックします。
  12. [実行環境] まで下にスクロールします。

    • [デフォルト](推奨)を選択します。
  13. [リビジョン スケーリング] セクションで、次の操作を行います。

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

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

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

関数コードを追加する

  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 re
      
      # Initialize HTTP client with timeouts
      http = urllib3.PoolManager(
        timeout=urllib3.Timeout(connect=10.0, read=60.0),
        retries=False,
      )
      
      # Initialize Storage client
      storage_client = storage.Client()
      
      # Environment variables
      GCS_BUCKET = os.environ.get('GCS_BUCKET')
      GCS_PREFIX = os.environ.get('GCS_PREFIX', 'sfcc')
      STATE_KEY = os.environ.get('STATE_KEY', 'sfcc/state.json')
      SFCC_HOST = os.environ.get('SFCC_HOST')
      SFCC_USERNAME = os.environ.get('SFCC_USERNAME')
      SFCC_PASSWORD = os.environ.get('SFCC_PASSWORD')
      LOG_DIRS = [d.strip() for d in os.environ.get('LOG_DIRS', 'security,error,warn,customerror').split(',') if d.strip()]
      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)
      
      @functions_framework.cloud_event
      def main(cloud_event):
        """
        Cloud Run function triggered by Pub/Sub to fetch Salesforce Commerce Cloud
        logs via WebDAV and write to GCS.
      
        Args:
          cloud_event: CloudEvent object containing Pub/Sub message
        """
      
        if not all([GCS_BUCKET, SFCC_HOST, SFCC_USERNAME, SFCC_PASSWORD]):
          print('Error: Missing required environment variables')
          return
      
        try:
          bucket = storage_client.bucket(GCS_BUCKET)
      
          # Load state
          state = load_state(bucket, STATE_KEY)
      
          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"])
            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 since {last_time.isoformat()}")
      
          # Build auth header
          credentials = f"{SFCC_USERNAME}:{SFCC_PASSWORD}"
          encoded_credentials = base64.b64encode(credentials.encode('utf-8')).decode('utf-8')
          headers = {
            'Authorization': f'Basic {encoded_credentials}',
            'User-Agent': 'GoogleSecOps-SFCCCollector/1.0'
          }
      
          total_files = 0
          webdav_base = f"https://{SFCC_HOST}/on/demandware.servlet/webdav/Sites/Logs"
      
          for log_dir in LOG_DIRS:
            print(f"Processing log directory: {log_dir}")
            files_processed = fetch_and_upload_logs(
              bucket=bucket,
              webdav_base=webdav_base,
              log_dir=log_dir,
              headers=headers,
              since=last_time,
              now=now,
            )
            total_files += files_processed
      
          if total_files == 0:
            print("No new log files found.")
          else:
            print(f"Successfully processed {total_files} log files")
      
          save_state(bucket, STATE_KEY, now.isoformat())
      
        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 list_webdav_files(webdav_url: str, headers: dict):
        """List files in a WebDAV directory using PROPFIND."""
        backoff = 1.0
        max_retries = 3
      
        for attempt in range(max_retries):
          response = http.request('PROPFIND', webdav_url, headers={**headers, 'Depth': '1'})
      
          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
      
          if response.status not in (200, 207):
            print(f"HTTP Error listing {webdav_url}: {response.status}")
            return []
      
          content = response.data.decode('utf-8')
          # Parse file names from WebDAV PROPFIND XML response
          files = re.findall(r'<D:href>([^<]+)</D:href>', content)
          return [f for f in files if not f.endswith('/')]
      
        return []
      
      def fetch_and_upload_logs(bucket, webdav_base: str, log_dir: str, headers: dict, since: datetime, now: datetime):
        """
        Fetch log files from a WebDAV directory and upload to GCS.
      
        Args:
          bucket: GCS bucket object
          webdav_base: WebDAV base URL
          log_dir: Log directory name
          headers: HTTP headers with auth
          since: Only process files newer than this
          now: Current time for file naming
      
        Returns:
          Number of files processed
        """
        dir_url = f"{webdav_base}/{log_dir}/"
        files = list_webdav_files(dir_url, headers)
        files_processed = 0
        backoff = 1.0
      
        for file_path in files:
          file_name = file_path.split('/')[-1]
          if not file_name:
            continue
      
          # Download file
          file_url = f"https://{SFCC_HOST}{file_path}"
      
          response = http.request('GET', file_url, headers=headers)
      
          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)
            response = http.request('GET', file_url, headers=headers)
      
          if response.status != 200:
            print(f"Error downloading {file_name}: {response.status}")
            continue
      
          backoff = 1.0
          content = response.data
      
          if not content:
            continue
      
          # Upload to GCS
          timestamp = now.strftime('%Y%m%d_%H%M%S')
          object_key = f"{GCS_PREFIX}/{log_dir}/{file_name}_{timestamp}"
          blob = bucket.blob(object_key)
      
          # Convert log lines to NDJSON
          lines = content.decode('utf-8', errors='replace').splitlines()
          records = []
          for line in lines:
            line = line.strip()
            if line:
              try:
                record = json.loads(line)
              except json.JSONDecodeError:
                record = {'raw_log': line, 'log_dir': log_dir, 'source_file': file_name}
              records.append(record)
      
          if records:
            ndjson = '\n'.join([json.dumps(r, ensure_ascii=False) for r in records]) + '\n'
            blob.upload_from_string(ndjson, content_type='application/x-ndjson')
            print(f"Uploaded {len(records)} records from {file_name} to gs://{GCS_BUCKET}/{object_key}")
            files_processed += 1
      
        return files_processed
      
    • 2 つ目のファイル - 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. GCP Console で、[Cloud Scheduler] に移動します。
  2. [ジョブを作成] をクリックします。
  3. 次の構成情報を提供してください。

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

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

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

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

統合をテストする

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

    Fetching logs since YYYY-MM-DDTHH:MM:SS+00:00
    Processing log directory: security
    Uploaded X records from filename.log to gs://sfcc-logs/sfcc/security/filename.log_YYYYMMDD_HHMMSS
    Successfully processed X log files
    
  5. GCS バケット(sfcc-logs)を調べて、ログが書き込まれたことを確認します。

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

  • HTTP 401: 環境変数で SFCC 認証情報を確認する
  • HTTP 403: アカウントにビジネス マネージャーの WebDAV ファイル アクセス権限があることを確認する
  • HTTP 429: レート制限 - 関数はバックオフを使用して自動的に再試行します
  • 環境変数が不足している: 必要な変数がすべて設定されていることを確認します。

Salesforce Commerce Cloud のログを取り込むように Google SecOps でフィードを構成する

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

    chronicle-12345678@chronicle-gcp-prod.iam.gserviceaccount.com
    
  8. このメールアドレスをコピーします。次のステップでこれを使用します。

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

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

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

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

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

    • ファイルの最大経過日数: 過去の日数以内に変更されたファイルを含めます(デフォルトは 180 日)。

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

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

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

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

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

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

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

UDM マッピング テーブル

ログフィールド UDM マッピング ロジック
auth.mechanism extensions.auth.mechanism 統合済み
csv_format extensions.auth.mechanism マッピング: false → auth.mechanism
event_id extensions.auth.mechanism マッピング: Login: Success → auth.mechanism
mechanism extensions.auth.mechanism 統合済み
LoginType extensions.auth.type マッピング: Application → AUTHTYPE_UNSPECIFIED
csv_format extensions.auth.type マッピング: false → AUTHTYPE_UNSPECIFIED
event_id extensions.auth.type マッピングされた値(合計 6 個。例: 「Login」、「LoginAsEvent」、「IdentityVerificationEvent」、「LoginE...
eventType.name metadata.description 直接マッピングされます。
metadata_description metadata.description 直接マッピングされます。
collected_timestamp metadata.event_timestamp yyyyMMddHHmmss として解析済み
createdAt metadata.event_timestamp UNIX_MS として解析
createdDate metadata.event_timestamp yyyy-MM-ddTHH:mm:ss.SSS として解析
timestamp metadata.event_timestamp yyyyMMddHHmmss として解析
ts_date metadata.event_timestamp yyyy-MM-dd HH:mm:ss.SSSZ として解析済み
csv_format metadata.event_type マッピング済み: false → USER_LOGIN、false → USER_LOGOUT、false → `USER_RESOURCE_UPDATE_CON...
event_id metadata.event_type マッピング: Login: Success → USER_LOGIN、Logout → USER_LOGOUT
event_type metadata.event_type 直接マッピングされます。
label metadata.ingestion_labels 統合済み
resource_name metadata.ingestion_labels マッピング: `"ReportEvent","SessionHijackingEventStore","BulkApiResultEventStore","CredentialStu...
attrs.cat metadata.product_event_type 名前変更済み/マッピング済み
eventType.id metadata.product_event_type 直接マッピングされます。
event_id metadata.product_event_type 直接マッピングされます。
event_identifier metadata.product_log_id 直接マッピングされます。
id metadata.product_log_id 直接マッピングされます。
protocol network.application_protocol 直接マッピングされます。
transaction_id network.dhcp.transaction_id 直接マッピングされます。
referral_url network.http.referral_url 直接マッピングされます。
request_status network.http.response_code 直接マッピングされます。
attrs.Application principal.application 名前変更/マッピング
enterpriseId principal.group.product_object_id 直接マッピングされます。
attrs.src principal.ip 統合済み
csv_format principal.ip マッピング済み: false → attrs.src
event_id principal.ip マッピング: Login: Success → attrs.src
Status_LK principal.labels 統合済み
Status_LK principal.resource.attribute.labels 統合済み
browser_name principal.resource.name 直接マッピングされます。
memberId principal.resource.product_object_id 直接マッピングされます。
principal_resource_type principal.resource.type 直接マッピングされます。
attrs.usrName principal.user.email_addresses 統合済み
csv_format principal.user.email_addresses マッピング: false → attrs.usrName
src_email principal.user.email_addresses 統合済み
attrs.USER_ID_DERIVED principal.user.product_object_id 名前変更/マッピング
employee.employeeName principal.user.user_display_name 直接マッピングされます。
user_display_name principal.user.user_display_name 直接マッピングされます。
attrs.usrName principal.user.userid 直接マッピングされます。
employee.userName principal.user.userid 直接マッピングされます。
login_key principal.user.userid 直接マッピングされます。
user_id principal.user.userid 直接マッピングされます。
csv_format security_result マッピング済み: false → sec_result
event_id security_result マッピング: Login: Success → sec_result
sec_result security_result 統合済み
sr security_result 統合済み
action security_result.action 統合済み
eventSource.name src.resource.name 直接マッピングされます。
eventSource.id src.resource.product_object_id 直接マッピングされます。
organization_id target.administrative_domain 直接マッピングされます。
target_hostname target.asset.hostname 直接マッピングされます。
device_id target.asset_id 直接マッピングされます。
target_hostname target.hostname 直接マッピングされます。
call_time target.resource.attribute.labels 統合済み
cpu target.resource.attribute.labels 統合済み
db_cpu target.resource.attribute.labels 統合済み
db_type target.resource.attribute.labels 統合済み
duration_time target.resource.attribute.labels 統合済み
entry_p target.resource.attribute.labels 統合済み
exe_time target.resource.attribute.labels 統合済み
no_sql_que target.resource.attribute.labels 統合済み
ope target.resource.attribute.labels 統合済み
rows_proc target.resource.attribute.labels 統合済み
run target.resource.attribute.labels 統合済み
ses_level target.resource.attribute.labels 統合済み
ss_type target.resource.attribute.labels 統合済み
total_time target.resource.attribute.labels 統合済み
user_ty target.resource.attribute.labels 統合済み
verify_method target.resource.attribute.labels 統合済み
attrs.AccountId target.resource.id 名前変更/マッピング
attrs.CaseId target.resource.id 名前変更済み/マッピング済み
attrs.ContactId target.resource.id 名前変更済み/マッピング済み
eventSource.id target.resource.id 直接マッピングされます。
request_id target.resource.id 直接マッピングされます。
eventSource.name target.resource.name 直接マッピングされます。
object.name target.resource.name 直接マッピングされます。
resource_name target.resource.name 直接マッピングされます。
object.id target.resource.product_object_id 直接マッピングされます。
event_id target.resource.resource_type マッピング: PlatformEncryption → ACCESS_POLICY、ApexCallout → ACCESS_POLICY、`ApexTrigge...
target_resource_type target.resource.resource_type 直接マッピングされます。
event_id target.resource.type マッピング: (QueuedExecution/ApexExecution) → BATCH、ApexTrigger → DATABASE_TRIGGER、`Co...
attrs.LoginUrl target.url 名前変更/マッピング
attrs.attributes.url target.url 名前変更済み/マッピング済み
uri target.url 直接マッピングされます。
attrs.usrName target.user.email_addresses 統合済み
csv_format target.user.email_addresses マッピング済み: false → attrs.usrName
event_id target.user.email_addresses マッピング: Logout → attrs.usrName
target_user_display_name target.user.user_display_name 直接マッピングされます。
target_user_name target.user.userid 直接マッピングされます。
なし extensions.auth.auth_details 定数: ACTIVE
なし extensions.auth.type 定数: SSO
なし metadata.event_type 定数: GENERIC_EVENT
なし metadata.product_name 定数: SALESFORCE
なし metadata.vendor_name 定数: SALESFORCE
なし target.resource.resource_type 定数: ACCESS_POLICY
なし target.resource.type 定数: BATCH

変更ログ

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

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