GoogleCloudPlatform / GoogleCloudPlatform/pubsec-declarative-toolkit

ATO Prep: Add/Verify IAM organization policy - advisory notifications via 2h delay email/iam/logging entries visibility done through kcc

Open
#426 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
36
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Watch securitycontrols.md

Add/Verify the advisory notification feature for organization policy changes - on deployment actions down to tier 4 done through kcc.
Note there is a 2h delay in the email advisory but the log triggers are immediate

email

Screenshot 2023-07-15 at 10 11 32

```
What happened
The activity occurred from July 15, 2023 at 4:00:00 AM UTC to July 15, 2023 at 6:00:00 AM UTC in your ob...v organization. Review the following details:

Sensitive actions at the organization level
Organization policies changed at the organization level
This action was taken 2 times

July 15, 2023 at 4:21:27 AM UTC:
Policy: compute.requireShieldedVm
Policy action: Updated
By: michael@obri...v

July 15, 2023 at 4:22:48 AM UTC:
Policy: compute.vmExternalIpAccess
Policy action: Updated
By: michael@obr...v
```
console

Screenshot 2023-07-15 at 10 12 02

logs
Screenshot 2023-07-15 at 10 14 17

```
{
insertId: "-2hk3lecaof"
jsonPayload: {
access: {6}
actionTime: "2023-07-15T04:22:46.359548Z"
actionType: "change_organization_policy"
affectedResources: [1]
learnMoreUri: "https://cloud.google.com/security-command-center/docs/concepts-sensitive-actions-overview"
sourceLogIds: [1]}
logName: "organizations/583....8/logs/sensitiveaction.googleapis.com%2Faction"
receiveTimestamp: "2023-07-15T04:22:48.916254323Z"
resource: {2}
severity: "NOTICE"
timestamp: "2023-07-15T04:22:46.359548Z"
}
```

example - turn off two of the org policies to allow for the following HPC Nvidia GPU CUDA GKE image

https://console.cloud.google.com/marketplace/product/nvidia/nvidia-rtx-virtual-workstation-windows-server-2022

Screenshot 2023-07-15 at 10 17 46

with the 2 policies off - left L4 GPU on GCP - right 4090 on prem as reference
Screenshot 2023-07-15 at 10 10 23

shadow: https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/issues/252

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.