블록 스토리지 (BLOCK)

Google Distributed Cloud(GDC) 공기 간격의 블록 스토리지(BLOCK) 감사 로그를 사용하면 CLI, REST API 또는 단순 네트워크 관리 프로토콜(SNMP)을 통해 실행하는 만들기, 수정, 삭제 작업을 추적할 수 있습니다. 읽기 전용 요청은 로깅되지 않으며 로깅된 전체 작업 집합은 CLI 및 REST API 참고 문서에 해당합니다. 각 syslog 항목은 볼륨 작업의 호출자 ID, 작업, 타임스탬프, 소스 IP 주소, 응답 상태를 기록합니다.

워크로드 위치

블록 스토리지

감사 로그 소스

블록 스토리지

감사 대상 작업 예시

볼륨 만들기

감사 정보가 포함된 로그 항목의 필드
감사 메타데이터 감사 필드 이름 값
사용자 또는 서비스 ID message.user.identity 예를 들면 다음과 같습니다.

"message":"{"user":{"identity":"root-admin-client-cert"}}

대상

(API를 호출하는 필드 및 값)

message.action 예를 들면 다음과 같습니다.

"message":"{"action":"volume-create"}"

작업

(수행된 작업이 포함된 필드)

action

예를 들면 다음과 같습니다.

"action":"volume-create"

이벤트 타임스탬프 time

예를 들면 다음과 같습니다.

"time":"2022-12-07T13:46:49.133781Z"

조치 소스 message.sourceIPs

예를 들면 다음과 같습니다.

"message":"{"sourceIPs":["10.252.143.2"]}"

결과 message.response

예를 들면 다음과 같습니다.

"message":"{"response":"success"}"

기타 필드 해당 사항 없음

해당 사항 없음

예시 로그

{
  "pri":"14",
  "time":"2022-12-07T13:46:49.133781Z",
  "host":"storage",
  "ident":"storage",
  "pid":"-",
  "msgid":"-",
  "extradata":"-",
  "message":"{"time":"2022-12-07T13:40:18Z","auditID":"90199274229","user":{"identity":"root-admin-client-cert"},"resource":"{"Application":"ontapi","Hostname":"zh-ad-stge02-02","StorageVirtualMachine":"root-admin"}","action":"volume-create","sourceIPs":["10.252.143.2"],"response":"success","_gdch_org":"root-admin"}",
  "_gdch_cluster":"root-admin",
  "_gdch_fluentbit_pod":"anthos-audit-logs-forwarder-vn8f9",
  "_gdch_service_name":"admin-audit-logs"
}

볼륨 크기 설정

감사 정보가 포함된 로그 항목의 필드
감사 메타데이터 감사 필드 이름 값
사용자 또는 서비스 ID message.user.identity 예를 들면 다음과 같습니다.

"message":"{"user":{"identity":"root-admin-client-cert"}}

대상

(API를 호출하는 필드 및 값)

message.action 예를 들면 다음과 같습니다.

"message":"{"action":"volume-size"}"

작업

(수행된 작업이 포함된 필드)

action

예를 들면 다음과 같습니다.

"action":"volume-size"

이벤트 타임스탬프 time

예를 들면 다음과 같습니다.

"time":"2022-12-07T13:46:49.133781Z"

조치 소스 message.sourceIPs

예를 들면 다음과 같습니다.

"message":"{"sourceIPs":["10.252.143.2"]}"

결과 message.response

예를 들면 다음과 같습니다.

"message":"{"response":"success"}"

기타 필드 해당 사항 없음

해당 사항 없음

예시 로그

{
  "pri":"14",
  "time":"2022-12-07T13:46:49.135968Z",
  "host":"storage",
  "ident":"storage",
  "pid":"-",
  "msgid":"-",
  "extradata":"-",
  "message":"{"time":"2022-12-07T13:46:36Z","auditID":"120264072202","user":{"identity":"root-admin-client-cert"},"resource":"{"Application":"ontapi","Hostname":"zh-ad-stge03-01","StorageVirtualMachine":"root-admin"}","action":"volume-size","sourceIPs":["10.252.143.2"],"response":"success","_gdch_org":"root-admin"}",
  "_gdch_cluster":"root-admin",
  "_gdch_fluentbit_pod":"anthos-audit-logs-forwarder-vn8f9",
  "_gdch_service_name":"admin-audit-logs"
}

볼륨 삭제

감사 정보가 포함된 로그 항목의 필드
감사 메타데이터 감사 필드 이름 값
사용자 또는 서비스 ID message.user.identity 예를 들면 다음과 같습니다.

"message":"{"user":{"identity":"root-admin-client-cert"}}

대상

(API를 호출하는 필드 및 값)

message.action 예를 들면 다음과 같습니다.

"message":"{"action":"volume-destroy"}"

작업

(수행된 작업이 포함된 필드)

action

예를 들면 다음과 같습니다.

"action":"volume-destroy"

이벤트 타임스탬프 time

예를 들면 다음과 같습니다.

"time":"2022-12-07T13:46:49.133781Z"

조치 소스 message.sourceIPs

예를 들면 다음과 같습니다.

"message":"{"sourceIPs":["10.252.143.2"]}"

결과 message.response

예를 들면 다음과 같습니다.

"message":"{"response":"success"}"

기타 필드 해당 사항 없음

해당 사항 없음

예시 로그

{
  "pri":"14",
  "time":"2022-12-07T13:46:49.136236Z",
  "host":"storage",
  "ident":"storage",
  "pid":"-",
  "msgid":"-",
  "extradata":"-",
  "message":"{"time":"2022-12-07T13:46:37Z","auditID":"90203137689","user":{"identity":"root-admin-client-cert"},"resource":"{"Application":"ontapi","Hostname":"zh-ad-stge01-02","StorageVirtualMachine":"root-admin"}","action":"volume-destroy","sourceIPs":["10.252.143.2"],"response":"success","_gdch_org":"root-admin"}",
  "_gdch_cluster":"root-admin",
  "_gdch_fluentbit_pod":"anthos-audit-logs-forwarder-vn8f9",
  "_gdch_service_name":"admin-audit-logs"
}