NetApp ONTAP SAN 로그 수집

다음에서 지원:

이 문서에서는 Bindplane을 사용하여 NetApp ONTAP SAN 로그를 Google Security Operations로 수집하는 방법을 설명합니다. NetApp ONTAP는 iSCSI, 파이버 채널, NVMe over Fabrics 프로토콜을 사용하는 블록 수준 스토리지를 비롯한 SAN (스토리지 영역 네트워크) 서비스를 제공하는 스토리지 시스템용 데이터 관리 소프트웨어 플랫폼입니다. ONTAP SAN 로그는 LUN 작업, 이니시에이터 그룹 관리, 포트 상태 변경, 스토리지 액세스 활동과 관련된 이벤트를 캡처합니다.

자세한 내용은 NetApp SAN 로그 수집을 참고하세요.

시작하기 전에

다음 기본 요건이 충족되었는지 확인합니다.

  • Google SecOps 인스턴스
  • systemd가 있는 Windows 2016 이상 또는 Linux 호스트
  • 네트워크 연결: 프록시 뒤에서 실행하는 경우 Bindplane 에이전트 요구사항에 따라 방화벽 포트가 열려 있는지 확인합니다.
  • NetApp ONTAP 클러스터 관리 인터페이스 (ONTAP System Manager 또는 CLI)에 대한 권한이 있는 액세스 권한
  • 스토리지 시스템에서 실행되는 ONTAP 9.x 이상

Google SecOps 수집 인증 파일 가져오기

  1. Google SecOps 콘솔 에 로그인합니다.
  2. SIEM 설정 > 수집 에이전트 로 이동합니다.
  3. 데이터 수집 인증 파일 을 다운로드합니다.
    • 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](https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi)" /quiet
    

Linux 설치

  1. 루트 또는 sudo 권한으로 터미널을 엽니다.
  2. 다음 명령어를 실행합니다.

    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 에이전트 구성

  1. 구성 파일에 액세스합니다.

    • config.yaml 파일을 찾습니다. 일반적으로 Linux의 /opt/observiq-otel-collector/ 디렉터리 또는 Windows의 설치 디렉터리에 있습니다.
    • 텍스트 편집기 (예: nano, vi, 메모장)를 사용하여 파일을 엽니다.
  2. 다음과 같이 config.yaml 파일을 수정합니다.

    receivers:
      udplog:
        listen_address: "0.0.0.0:514"
    
    exporters:
      chronicle/netapp_san:
        compression: gzip
        creds_file_path: '/path/to/ingestion-authentication-file.json'
        customer_id: '<CUSTOMER_ID>'
        endpoint: malachiteingestion-pa.googleapis.com
        log_type: NETAPP_SAN
        raw_log_field: body
        ingestion_labels:
    
    service:
      pipelines:
        logs/netapp_san_to_chronicle:
          receivers:
            - udplog
          exporters:
            - chronicle/netapp_san
    
  • 인프라에 필요한 대로 포트IP 주소 를 바꿉니다.
  • <CUSTOMER_ID> 를 실제 고객 ID로 바꿉니다.
  • 인증 파일이 저장된 경로로 /path/to/ingestion-authentication-file.json 을 업데이트합니다.

Bindplane 에이전트를 다시 시작하여 변경사항 적용

  1. Linux에서 Bindplane 에이전트를 다시 시작하려면 다음 명령어를 실행합니다.

    sudo systemctl restart observiq-otel-collector
    
  2. Windows에서 Bindplane 에이전트를 다시 시작하려면 서비스 콘솔을 사용하거나 다음 명령어를 입력하면 됩니다.

    net stop observiq-otel-collector && net start observiq-otel-collector
    

NetApp ONTAP에서 Syslog 전달 구성

ONTAP CLI를 사용하여 Syslog 구성

  1. SSH 를 사용하여 NetApp ONTAP 클러스터 관리 LIF에 연결합니다.
  2. 다음 명령어를 입력하여 현재 이벤트 알림 대상을 확인합니다.

    cluster1::> event notification destination show
    
  3. Bindplane 에이전트를 가리키는 Syslog 알림 대상을 만듭니다.

    cluster1::> event notification destination create -name bindplane-syslog -syslog <BINDPLANE_IP_ADDRESS> -syslog-port 514 -syslog-transport udp-unencrypted
    
    • <BINDPLANE_IP_ADDRESS> 를 Bindplane 에이전트 호스트의 IP 주소로 바꿉니다.
  4. EMS 이벤트를 Syslog 대상으로 전달하는 이벤트 알림을 만듭니다.

    cluster1::> event notification create -filter-name default-trap-events -destinations bindplane-syslog
    
  5. (선택사항) 모든 이벤트를 포함하도록 맞춤 필터를 만듭니다.

    cluster1::> event filter create -filter-name all-events
    cluster1::> event filter rule add -filter-name all-events -type include -message-name * -severity <=NOTICE
    cluster1::> event notification create -filter-name all-events -destinations bindplane-syslog
    
  6. 구성 확인

    cluster1::> event notification destination show
    cluster1::> event notification show
    

ONTAP System Manager를 사용하여 Syslog 구성

  1. ONTAP System Manager 에 로그인합니다.
  2. 이벤트 및 작업 > 이벤트 > EMS 이벤트 알림으로 이동합니다.
  3. 추가 를 클릭하여 알림 대상을 만듭니다.
  4. 다음 구성 세부정보를 제공합니다.
    • 이름: bindplane-syslog을 입력합니다.
    • 유형: Syslog를 선택합니다.
    • Syslog 서버: Bindplane 에이전트 호스트의 IP 주소를 입력합니다.
    • 포트: 514를 입력합니다.
    • 전송 프로토콜: UDP를 선택합니다.
  5. 저장 을 클릭합니다.
  6. 활동 알림 규칙을 만들고 bindplane-syslog 대상과 연결합니다.
  7. 이벤트 필터 (예: default-trap-events 또는 맞춤 필터)를 선택합니다.
  8. 저장 을 클릭합니다.

자세한 내용은 NetApp ONTAP EMS 구성 문서를 참고하세요.

UDM 매핑 표

로그 필드 UDM 매핑 논리
desc metadata.description 직접 매핑됨
datetime metadata.event_timestamp MMM d HH:mm:ss로 파싱됨
ip principal.ip 병합됨
port principal.port 직접 매핑됨
userid principal.user.userid 직접 매핑됨
sr security_result 병합됨
해당 사항 없음 metadata.event_type 상수: STATUS_UPDATE
해당 사항 없음 metadata.product_name 상수: Storage Area Network
해당 사항 없음 metadata.vendor_name 상수: NetApp

변경 로그

이 파서의 변경 로그 보기

도움이 더 필요하신가요? 커뮤니티 회원 및 Google SecOps 전문가에게 문의하여 답변을 받으세요.