philloooo / github-tests

just for testing various github features/bugs
Apache License 2.0
0 stars 0 forks source link

PXD-288 ⁃ create fence script to enable access logs in google project #282

Open skattar1406 opened 6 years ago

skattar1406 commented 6 years ago

https://cloud.google.com/logging/docs/audit/configure-data-access

Need to modify project IAM policy and add:

"auditConfigs": [
      {
        "service": "allServices",
        "auditLogConfigs": [
          { "logType": "ADMIN_READ" },
          { "logType": "DATA_READ"  },
          { "logType": "DATA_WRITE" },
        ]
      },
    ]