CyberArk Machine Identity Security(旧 Venafi)のログを収集する
このドキュメントでは、Bindplane を使用して CyberArk Machine Identity Security(以前の Venafi)ログを Google Security Operations に取り込む方法について説明します。CyberArk Machine Identity Security は、証明書のライフサイクル管理の自動化、マシン ID の保護、ゼロトラスト PKI サービスを提供します。これにより、組織はインフラストラクチャ全体で TLS/SSL 証明書と暗号鍵のプロビジョニングと更新を検出、管理、自動化できます。
始める前に
次の前提条件を満たしていることを確認してください。
- Google SecOps インスタンス。
- Windows 2016 以降、または systemd を使用する Linux ホスト。
- プロキシの背後で実行している場合は、Bindplane エージェントの要件に従ってファイアウォール ポートが開いていることを確認します。
- Venafi Configuration Console(VCC)への特権アクセス。
Google SecOps の取り込み認証ファイルを取得する
- Google SecOps コンソールにログインします。
- [SIEM Settings] > [Collection Agent] に移動します。
Ingestion Authentication File をダウンロードします。
- Bindplane をインストールするシステムにファイルを安全に保存します。
Google SecOps のお客様 ID を取得する
- Google SecOps コンソールにログインします。
- [SIEM 設定] > [プロファイル] に移動します。
- [組織の詳細情報] セクションから [お客様 ID] をコピーして保存します。
Bindplane エージェントをインストールする
次の手順に沿って、Windows または Linux オペレーティング システムに Bindplane エージェントをインストールします。
Windows のインストール
- 管理者として コマンド プロンプトまたは PowerShell を開きます。
次のコマンドを実行します。
msiexec /i "[https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi](https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi)" /quiet
Linux へのインストール
- root 権限または sudo 権限でターミナルを開きます。
次のコマンドを実行します。
sudo sh -c "$(curl -fsSlL [https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh](https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh))" install_unix.sh
その他のインストール リソース
その他のインストール オプションについては、こちらのインストール ガイドをご覧ください。
Syslog を取り込んで Google SecOps に送信するように Bindplane エージェントを構成する
構成ファイルにアクセスします。
config.yamlファイルを見つけます。通常、Linux では/etc/bindplane-agent/ディレクトリに、Windows ではインストール ディレクトリにあります。- テキスト エディタ(
nano、vi、メモ帳など)を使用してファイルを開きます。
config.yamlファイルを次のように編集します。receivers: tcplog: # Replace the port and IP address as required listen_address: "0.0.0.0:514" exporters: chronicle/chronicle_w_labels: compression: gzip # Adjust the path to the credentials file you downloaded in Step 1 creds_file_path: '/path/to/ingestion-authentication-file.json' # Replace with your actual customer ID from Step 2 customer_id: <your_customer_id> endpoint: malachiteingestion-pa.googleapis.com # Add optional ingestion labels for better organization log_type: 'VENAFI_ZTPKI' raw_log_field: body ingestion_labels: service: pipelines: logs/source0__chronicle_w_labels-0: receivers: - tcplog exporters: - chronicle/chronicle_w_labels
- 自社のインフラストラクチャでの必要性に応じて、ポートと IP アドレスを置き換えます。
<your_customer_id>は、実際の顧客 ID に置き換えます。/path/to/ingestion-authentication-file.jsonの値を、ステップ 1 で認証ファイルを保存したファイルパスに更新します。
Bindplane エージェントを再起動して変更を適用する
Linux で Bindplane エージェントを再起動するには、次のコマンドを実行します。
sudo systemctl restart observiq-otel-collectorWindows で Bindplane エージェントを再起動するには、サービス コンソールを使用するか、次のコマンドを入力します。
net stop observiq-otel-collector && net start observiq-otel-collector
CyberArk Machine Identity Security(旧称 Venafi)で Syslog 転送を構成する
- Venafi Configuration Console(VCC)にログインします。
- [構成> システム設定 > ロギング] に移動します。
[Syslog の設定] セクションで、[Syslog を有効にする] を選択します。
次の構成情報を提供してください。
- Syslog サーバー: Bindplane エージェント ホストの IP アドレスを入力します。
- ポート:
514(または Bindplane エージェントで構成したポート)を入力します。 - プロトコル: [TCP] を選択します。
- Syslog 形式: [RFC 5424](推奨)または [RFC 3164] を選択します。
[ログカテゴリ] セクションで、転送するイベントタイプを選択します。
- 証明書のライフサイクル イベント(発行、更新、取り消し)
- ポリシー違反とコンプライアンス アラート
- 認証と認可のイベント
- 管理操作と構成の変更
- 検出スキャン結果
[保存] をクリックして、構成を適用します。
ホストシステムの Bindplane エージェント ログを確認して、ログが送信されていることを確認します。
バージョン固有の詳細な手順については、Venafi のドキュメントを参照するか、CyberArk サポートにお問い合わせください。
UDM マッピング テーブル
| ログフィールド | UDM マッピング | ロジック |
|---|---|---|
account_list |
additional.fields |
統合済み |
data_name_label |
additional.fields |
統合済み |
data_value_label |
additional.fields |
統合済み |
grouping_name_label |
additional.fields |
統合済み |
grouping_value_label |
additional.fields |
統合済み |
text1_name_label |
additional.fields |
統合済み |
text2_name_label |
additional.fields |
統合済み |
text2_value_label |
additional.fields |
統合済み |
value1_name_label |
additional.fields |
統合済み |
value2_name_label |
additional.fields |
統合済み |
value2_value_label |
additional.fields |
統合済み |
description |
metadata.description |
直接マッピングされます。 |
created_at |
metadata.event_timestamp |
ISO8601 として解析済み |
not_after |
metadata.event_timestamp |
ISO8601 として解析済み |
not_before |
metadata.event_timestamp |
ISO8601 として解析済み |
time_stamp |
metadata.event_timestamp |
yyyy-MM-ddTHH:mm:ssZ として解析済み |
timestamp |
metadata.event_timestamp |
ISO8601 として解析済み |
has_principal |
metadata.event_type |
マッピング: true → NETWORK_CONNECTION、true → STATUS_UPDATE |
has_user |
metadata.event_type |
マッピング: true → USER_UNCATEGORIZED |
name |
metadata.product_event_type |
直接マッピングされます。 |
%{id} |
metadata.product_log_id |
統合済み |
event_id |
metadata.product_log_id |
直接マッピングされます。 |
id |
metadata.product_log_id |
id != `` の場合にマッピングされます |
organization_name |
network.organization_name |
直接マッピングされます。 |
issuer_dn |
network.tls.client.certificate.issuer |
直接マッピングされます。 |
serial |
network.tls.client.certificate.serial |
直接マッピングされます。 |
fingerprint |
network.tls.client.certificate.sha1 |
直接マッピングされます。 |
fingerprint_sha256 |
network.tls.client.certificate.sha256 |
直接マッピングされます。 |
dvc_ip |
principal.asset.ip |
統合済み |
dvc_ip |
principal.ip |
統合済み |
organization_id_label |
principal.user.attribute.labels |
統合済み |
subject_dn_label |
principal.user.attribute.labels |
統合済み |
user_email |
principal.user.email_addresses |
マッピング: ^.+@.+$ → user_email |
common_name |
principal.user.user_display_name |
直接マッピングされます。 |
user_id |
principal.user.userid |
直接マッピングされます。 |
certificate_id_label |
security_result.detection_fields |
統合済み |
certificate_request_id_label |
security_result.detection_fields |
統合済み |
deleted_at_label |
security_result.detection_fields |
統合済み |
imported_label |
security_result.detection_fields |
統合済み |
key_algorithm_label |
security_result.detection_fields |
統合済み |
key_size_label |
security_result.detection_fields |
統合済み |
revocation_reason_label |
security_result.detection_fields |
統合済み |
revocation_status_label |
security_result.detection_fields |
統合済み |
signature_algorithm_label |
security_result.detection_fields |
統合済み |
updated_at_label |
security_result.detection_fields |
統合済み |
policy_id |
security_result.rule_id |
直接マッピングされます。 |
policy_name |
security_result.rule_name |
直接マッピングされます。 |
text1_value |
target.asset.ip |
統合済み |
text1_value |
target.ip |
統合済み |
target_port |
target.port |
直接マッピングされます。 |
subsystem_label |
target.resource.attribute.labels |
統合済み |
object |
target.resource.name |
直接マッピングされます。 |
object_id |
target.resource.product_object_id |
直接マッピングされます。 |
account_name |
target.user.user_display_name |
直接マッピングされます。 |
account_id |
target.user.userid |
直接マッピングされます。 |
| なし | metadata.event_type |
定数: GENERIC_EVENT |
| なし | metadata.product_name |
定数: VENAFI ZTPKI |
| なし | metadata.vendor_name |
定数: VENAFI ZTPKI |
| なし | security_result.severity |
定数: LOW |
さらにサポートが必要な場合 コミュニティ メンバーや Google SecOps のプロフェッショナルから回答を得ることができます。