-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample_finding.json
157 lines (157 loc) · 5 KB
/
sample_finding.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"notificationConfigName":"organizations/723388619511/notificationConfigs/scc-findings-export",
"finding":{
"name":"organizations/723388619511/sources/15544972255997536156/findings/4305a048229e754b533ece8b60ee6e02",
"parent":"organizations/723388619511/sources/15544972255997536156",
"resourceName":"//cloudresourcemanager.googleapis.com/projects/940165680117",
"state":"ACTIVE",
"category":"NON_ORG_IAM_MEMBER",
"externalUri":"https://console.cloud.google.com/iam-admin/iam?project=scc-tf7",
"sourceProperties":{
"Recommendation":"Go to https://console.cloud.google.com/iam-admin/iam?project=scc-tf7 and remove entries for users which are not in your organization (e.g. gmail.com addresses). Invalid accounts: [user:amiacs@gmail.com]",
"ExceptionInstructions":"Add the security mark \"allow_non_org_iam_member\" to the asset with a value of \"true\" to prevent this finding from being activated again.",
"Explanation":"A user outside of your organization has IAM permissions on a project, folder, or organization.",
"ScannerName":"IAM_SCANNER",
"ResourcePath":[
"projects/scc-tf7/",
"organizations/723388619511/"
],
"cli_remediation":[
"gcloud projects remove-iam-policy-binding scc-tf7 --member=user:amiacs@gmail.com --role=roles/editor"
],
"OffendingIamRoles":"{\"invalidRoles\":[{\"user\":\"user:amiacs@gmail.com\",\"roles\":[\"roles/editor\"]}]}",
"OffendingIamRolesList":[
{
"member":"user:amiacs@gmail.com",
"roles":[
"roles/editor"
]
}
],
"compliance_standards":{
"iso":[
{
"ids":[
"A.9.2.3"
]
}
],
"pci":[
{
"ids":[
"7.1.2"
]
}
],
"cis":[
{
"version":"1.0",
"ids":[
"1.1"
]
},
{
"version":"1.1",
"ids":[
"1.1"
]
},
{
"version":"1.2",
"ids":[
"1.1"
]
},
{
"version":"1.3",
"ids":[
"1.1"
]
}
],
"nist":[
{
"ids":[
"AC-3"
]
}
]
},
"ReactivationCount":12.0
},
"securityMarks":{
"name":"organizations/723388619511/sources/15544972255997536156/findings/4305a048229e754b533ece8b60ee6e02/securityMarks"
},
"eventTime":"2023-06-15T23:06:30.261206Z",
"createTime":"2023-06-15T21:13:11.734Z",
"severity":"HIGH",
"canonicalName":"projects/940165680117/sources/15544972255997536156/findings/4305a048229e754b533ece8b60ee6e02",
"mute":"UNDEFINED",
"findingClass":"MISCONFIGURATION",
"compliances":[
{
"standard":"cis",
"version":"1.0",
"ids":[
"1.1"
]
},
{
"standard":"cis",
"version":"1.1",
"ids":[
"1.1"
]
},
{
"standard":"cis",
"version":"1.2",
"ids":[
"1.1"
]
},
{
"standard":"cis",
"version":"1.3",
"ids":[
"1.1"
]
},
{
"standard":"pci",
"ids":[
"7.1.2"
]
},
{
"standard":"nist",
"ids":[
"AC-3"
]
},
{
"standard":"iso",
"ids":[
"A.9.2.3"
]
}
],
"parentDisplayName":"Security Health Analytics",
"description":"A user outside of your organization has IAM permissions on a project, folder, or organization.",
"iamBindings":[
{
"role":"roles/editor",
"member":"user:amiacs@gmail.com"
}
]
},
"resource":{
"name":"//cloudresourcemanager.googleapis.com/projects/940165680117",
"project":"//cloudresourcemanager.googleapis.com/projects/940165680117",
"projectDisplayName":"scc-tf7",
"parent":"//cloudresourcemanager.googleapis.com/organizations/723388619511",
"parentDisplayName":"dirtyhash.com",
"type":"google.cloud.resourcemanager.Project",
"displayName":"scc-tf7"
}
}