๊ฐ์‚ฌ ๋กœ๊ทธ ์˜ˆ์‹œ

์ด ํŽ˜์ด์ง€์—์„œ๋Š” Bigtable์— ์“ฐ๊ธฐ ์š”์ฒญ์„ ๋ณด๋‚ผ ๋•Œ ์ƒ์„ฑ๋˜๋Š” ๋ฐ์ดํ„ฐ ์•ก์„ธ์Šค ๊ฐ์‚ฌ ๋กœ๊ทธ ํ•ญ๋ชฉ์˜ ์˜ˆ์‹œ๋ฅผ ๋ณด์—ฌ์ค๋‹ˆ๋‹ค. ๊ฐ์‚ฌ ๋กœ๊ทธ ํ•ญ๋ชฉ์— ๋Œ€ํ•œ ์ž์„ธํ•œ ๋‚ด์šฉ์€ ๊ฐ์‚ฌ ๋กœ๊ทธ ์ดํ•ด๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”. ๋กœ๊น…๋˜๋Š” Bigtable ํ•„๋“œ ๋ชฉ๋ก์€ ๊ฐ์‚ฌ ๋กœ๊ทธ ํ•„๋“œ๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

๊ฐ„๋žตํ•œ ์„ค๋ช…์„ ์œ„ํ•ด ์ผ๋ถ€ ๋กœ๊ทธ ํ•ญ๋ชฉ์€ ์ƒ๋žตํ•˜๊ณ  ์ผ๋ถ€ ํ•„๋“œ๋Š” ๊ฐ•์กฐํ‘œ์‹œํ•˜์˜€์Šต๋‹ˆ๋‹ค.

    {
      protoPayload: {
        @type: "type.googleapis.com/google.cloud.audit.AuditLog",
        status: {},
        authenticationInfo: {
          principalEmail: "user@example.com",
          serviceAccountDelegationInfo: [
            {
              firstPartyPrincipal: {
                principalEmail: "service-123@compute-system.iam.gserviceaccount.com"
              }
            }
          ],
          principalSubject": "serviceAccount:123-compute@developer.gserviceaccount.com"
        },
        requestMetadata: {
          callerIp: "12.586.9.1",
          callerSuppliedUserAgent: "bigtable-1.4.0,jdk-1.8,hbase-1.4.7 grpc-java-netty/1.10.1,gzip(gfe)",
          requestAttributes: {
            time: "2020-12-10T03:22:59.373508362Z",
            auth: {}
          },
          destinationAttributes: {}
        },
        serviceName: "bigtable.googleapis.com",
        methodName: "google.bigtable.v2.Bigtable.MutateRow",
        authorizationInfo: [
          {
            resource: "projects/test-project/instances/test-instance/tables/test-table",
            permission: "bigtable.tables.mutateRows",
            granted: true,
            resourceAttributes: {}
          }
        ],
        resourceName: "projects/test-project/instances/test-instance/tables/test-table",
        request: {
          mutations: [
            {
              setCell: {
                familyName: "cf1",
              }
            }
          ],
          tableName: "projects/test-project/instances/test-instance/tables/test-table",
          @type: "type.googleapis.com/google.bigtable.v2.MutateRowRequest",
          rowKey: "cm93LWtleQ=="
        },
      },
      insertId: "1wt6rdna0",
      resource: {
        type: "audited_resource",
        labels: {
          service: "bigtable.googleapis.com",
          project_id: "test-project",
          method: "google.bigtable.v2.Bigtable.MutateRow"
        }
      },
      timestamp: "2019-05-27T16:24:56.135Z",
      severity: "NOTICE",
      logName: "projects/test-project/logs/cloudaudit.googleapis.com%2Fdata_access",
      receiveTimestamp: "2020-05-27T04:56:47.427539594Z"
    }