Closed christophetd closed 1 year ago
Sources:
gcloud projects get-iam-policy sandbox gcloud organizations get-iam-policy xxxx
Sample log:
{ "resource": { "labels": { "project_id": "sandbox-project" }, "type": "project" }, "severity": "INFO", "receiveTimestamp": "2022-07-28T08:35:45.933806396Z", "insertId": "-fiy70udkd6g", "logName": "projects/sandbox-project/logs/cloudaudit.googleapis.com%2Fdata_access", "timestamp": "2022-07-28T08:35:45.549383Z", "protoPayload": { "authorizationInfo": [ { "granted": true, "resource": "projects/sandbox-project", "resourceAttributes": { "type": "cloudresourcemanager.googleapis.com/Project", "name": "projects/sandbox-project", "service": "cloudresourcemanager.googleapis.com" }, "permission": "resourcemanager.projects.getIamPolicy" } ], "request": { "resource": "sandbox-project", "@type": "type.googleapis.com/google.iam.v1.GetIamPolicyRequest", "options": { "requestedPolicyVersion": 3 } }, "requestMetadata": {}, "resourceName": "projects/sandbox-project", "authenticationInfo": { "principalSubject": "user:user@domain.tld", "principalEmail": "user@domain.tld" }, "@type": "type.googleapis.com/google.cloud.audit.AuditLog", "serviceName": "cloudresourcemanager.googleapis.com" } }
we should include folders in this, too, along with modification
Thanks for your input @jonpulsifer, can you clarify what you mean?
Sounds way too common to be a TTP, on second thoughts
Sources:
Sample log: