收集 Colinet Trotta GAUS SEGUROS 日志

解析器版本: 1.0

支持:

本文档介绍了如何使用 Bindplane 代理将 Colinet Trotta GAUS SEGUROS 日志注入到 Google Security Operations 中。

Colinet Trotta GAUS SEGUROS 是由 Colinet Trotta S.A.(阿根廷)开发的保险管理平台。它会生成用户活动和审核日志,包括用户账号详细信息、登录事件和系统操作。该平台不提供日志导出的公开文档;导出过程取决于您的具体 GAUS 部署,并且需要与 Colinet Trotta 的技术支持团队协调。

准备工作

请确保满足以下前提条件:

  • Google SecOps 实例
  • Windows Server 2016 或更高版本,或者具有 systemd 的 Linux 主机
  • Bindplane 代理与 GAUS SEGUROS 服务器之间的网络连接
  • 如果通过代理运行,请确保防火墙端口根据 Bindplane 代理要求处于开放状态
  • 对 Colinet Trotta GAUS SEGUROS 平台具有管理员权限的特权访问权限
  • 访问 GAUS SEGUROS 数据库或报告模块以导出日志

获取 Google SecOps 注入身份验证文件

  1. 登录 Google SecOps 控制台。
  2. 前往 SIEM 设置 > 收集代理
  3. 下载数据注入身份验证文件
  4. 将该文件安全地保存在将安装 Bindplane 的系统上。

获取 Google SecOps 客户 ID

  1. 登录 Google SecOps 控制台。
  2. 前往 SIEM 设置 > 个人资料
  3. 组织详细信息 部分复制并保存客户 ID

安装 Bindplane 代理

按照以下说明在 Windows 或 Linux 操作系统上安装 Bindplane 代理。

Windows 安装

  1. 以管理员身份打开命令提示符PowerShell
  2. 运行以下命令:

    msiexec /i "https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi" /quiet
    
  3. 等待安装完成。

  4. 运行以下命令,验证安装是否成功:

    sc query observiq-otel-collector
    

    该服务应显示为正在运行

Linux 安装

  1. 使用 root 或 sudo 权限打开终端。
  2. 运行以下命令:

    sudo sh -c "$(curl -fsSlL https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh)" install_unix.sh
    
  3. 等待安装完成。

  4. 运行以下命令,验证安装是否成功:

    sudo systemctl status observiq-otel-collector
    

    该服务应显示为活跃 (正在运行)

其他安装资源

如需了解其他安装选项和问题排查方法,请参阅 Bindplane 代理安装指南

配置 Bindplane 代理以注入 syslog 并发送到 Google SecOps

找到配置文件

  • Linux

    sudo nano /opt/observiq-otel-collector/config.yaml
    
  • Windows

    notepad "C:\Program Files\observIQ OpenTelemetry Collector\config.yaml"
    

修改配置文件

  • config.yaml 的全部内容替换为以下配置:

    receivers:
        filelog:
            include:
                - /path/to/gaus-seguros-logs/*.log
            start_at: beginning
    
    exporters:
        chronicle/ct_gaus_seguros:
            compression: gzip
            creds_file_path: '/etc/bindplane-agent/ingestion-auth.json'
            customer_id: '<customer_id>'
            endpoint: malachiteingestion-pa.googleapis.com
            log_type: CT_GAUS_SEGUROS
            raw_log_field: body
            ingestion_labels:
                env: production
    
    service:
        pipelines:
            logs/ct_gaus_seguros_to_chronicle:
                receivers:
                    - filelog
                exporters:
                    - chronicle/ct_gaus_seguros
    

配置参数

替换以下占位符:

  • 接收器配置

    • filelog:用于从磁盘收集日志文件的接收器类型
    • include:要监控的文件路径或 glob 模式列表:
      • 调整路径以匹配您的 GAUS SEGUROS 日志文件位置
      • 使用 glob 模式(例如 *.log*.csv)匹配多个文件
    • start_at:设置为 beginning 以从头开始读取现有日志文件,或设置为 end 以仅读取新条目
  • 导出器配置

    • ct_gaus_seguros:导出器的描述性名称
    • creds_file_path:注入身份验证文件的完整路径:
      • Linux: /etc/bindplane-agent/ingestion-auth.json
      • Windows: C:\Program Files\observIQ OpenTelemetry Collector\ingestion-auth.json
    • <customer_id>:上一步中的客户 ID
    • endpoint:区域级端点网址:
      • 美国malachiteingestion-pa.googleapis.com
      • 欧洲: europe-malachiteingestion-pa.googleapis.com
      • 亚洲: asia-southeast1-malachiteingestion-pa.googleapis.com
      • 如需查看完整列表,请参阅区域级端点
    • CT_GAUS_SEGUROS:日志类型,与 Chronicle 中显示的内容完全一致
    • ingestion_labels:YAML 格式的可选标签(例如 env: production
  • 流水线配置

    • ct_gaus_seguros_to_chronicle:流水线的描述性名称

保存配置文件

  • 修改后,保存文件:
    • Linux:按 Ctrl+O,然后按 Enter,再按 Ctrl+X
    • Windows:依次点击文件 > 保存

重启 Bindplane 代理以应用更改

  • 如需在 Linux 中重启 Bindplane 代理,请运行以下命令:

    sudo systemctl restart observiq-otel-collector
    
    1. 验证服务正在运行:

      sudo systemctl status observiq-otel-collector
      
    2. 检查日志中的错误:

      sudo journalctl -u observiq-otel-collector -f
      
  • 如需在 Windows 中重启 Bindplane 代理,请选择以下选项之一:

    • 以管理员身份运行命令提示符或 PowerShell:

      net stop observiq-otel-collector && net start observiq-otel-collector
      
    • “服务”控制台:

      1. Win+R,输入 services.msc,然后按 Enter 键。
      2. 找到 observIQ OpenTelemetry Collector
      3. 右键点击并选择重启
      4. 验证服务正在运行:

        sc query observiq-otel-collector
        
      5. 检查日志中的错误:

        type "C:\Program Files\observIQ OpenTelemetry Collector\log\collector.log"
        

导出 GAUS SEGUROS 日志以进行收集

  1. 请与您的 Colinet Trotta 客户代表GAUS SEGUROS 系统管理员 联系,以确定您的部署可用的日志导出方法。
  2. 从 GAUS SEGUROS 导出审核数据的常见方法包括:
    • 数据库导出:GAUS 将用户和审核数据存储在关系型数据库中。您的数据库管理员可以将相关表格(例如,包含用户 ID、显示名称、电子邮件、状态和时间戳的用户账号表格)导出为 CSV 或分隔文本文件。
    • 应用级导出:如果您的 GAUS 部署包含报告或审核模块,请使用该模块生成定期审核报告并将其导出为文件。
  3. 将导出的日志文件保存到 Bindplane 代理监控的目录(例如 /path/to/gaus-seguros-logs/)。
  4. (可选)使用 Cron 作业或 Windows 任务计划程序安排定期导出,以自动生成日志文件。

UDM 映射表

日志字段 UDM 映射 逻辑
column3 metadata.description 直接映射
column7 metadata.description 直接映射
has_user metadata.event_type 已映射:trueUSER_UNCATEGORIZED
column10_label principal.user.attribute.labels 已合并
column11_label principal.user.attribute.labels 已合并
column12_label principal.user.attribute.labels 已合并
column13_label principal.user.attribute.labels 已合并
column14_label principal.user.attribute.labels 已合并
column15_label principal.user.attribute.labels 已合并
column16_label principal.user.attribute.labels 已合并
column17_label principal.user.attribute.labels 已合并
column18_label principal.user.attribute.labels 已合并
column19_label principal.user.attribute.labels 已合并
column20_label principal.user.attribute.labels 已合并
column21_label principal.user.attribute.labels 已合并
column22_label principal.user.attribute.labels 已合并
column23_label principal.user.attribute.labels 已合并
column24_label principal.user.attribute.labels 已合并
column25_label principal.user.attribute.labels 已合并
column26_label principal.user.attribute.labels 已合并
column27_label principal.user.attribute.labels 已合并
column28_label principal.user.attribute.labels 已合并
column29_label principal.user.attribute.labels 已合并
column30_label principal.user.attribute.labels 已合并
column31_label principal.user.attribute.labels 已合并
column32_label principal.user.attribute.labels 已合并
column33_label principal.user.attribute.labels 已合并
column34_label principal.user.attribute.labels 已合并
column35_label principal.user.attribute.labels 已合并
column36_label principal.user.attribute.labels 已合并
column37_label principal.user.attribute.labels 已合并
column38_label principal.user.attribute.labels 已合并
column39_label principal.user.attribute.labels 已合并
column6_label principal.user.attribute.labels 已合并
column7_label principal.user.attribute.labels 已合并
column8_label principal.user.attribute.labels 已合并
column9_label principal.user.attribute.labels 已合并
type_label principal.user.attribute.labels 已合并
column5 principal.user.email_addresses 已映射:^.+@.+$column5
column1 principal.user.product_object_id 直接映射
column3 principal.user.product_object_id 直接映射
column2 principal.user.user_display_name 直接映射
column1 principal.user.userid 直接映射
column4 principal.user.userid 直接映射
不适用 metadata.event_type 常量:USER_UNCATEGORIZED
不适用 metadata.product_name 常量:GAUS SEGUROS
不适用 metadata.vendor_name 常量:Colinet Trotta

更新日志

查看此解析器的更新日志

需要更多帮助?获得社区成员和 Google SecOps 专业人士的解答。