-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathorganization.json
More file actions
176 lines (176 loc) · 5.61 KB
/
organization.json
File metadata and controls
176 lines (176 loc) · 5.61 KB
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "This templates Creates one API key for the specified MongoDB Atlas organization. An organization API key grants programmatic access to an organization.",
"Parameters": {
"OrgName": {
"Type": "String",
"Description": "MongoDB Atlas Organization Name"
},
"OrgOwnerId": {
"Type": "String",
"Description": "MongoDB Atlas Organization Owner ID"
},
"FederatedSettingsId": {
"Type": "String",
"Description": "Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation."
},
"Profile": {
"Type": "String",
"Description": "Your MongoDB Atlas Profile Name created in secret manager"
},
"AwsSecretName": {
"Type": "String",
"Description": "Your MongoDB Atlas Profile Name created in secret manager"
},
"OrgRoles": {
"Type": "List<String>",
"Description": "Role names",
"Default": "ORG_TEAM_MEMBERS_ADMIN,ORG_OWNER",
"ConstraintDescription": "Comma Seperated String with Role names"
},
"Description": {
"Type": "String",
"Description": "Purpose or explanation provided when someone created this organization API key."
},
"ApiAccessListRequired": {
"Type": "String",
"Description": "Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.",
"ConstraintDescription": "boolean",
"AllowedValues": [
"true",
"false"
],
"Default": "false"
},
"MultiFactorAuthRequired": {
"Type": "String",
"Description": "Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.",
"ConstraintDescription": "boolean",
"AllowedValues": [
"true",
"false"
],
"Default": "false"
},
"RestrictEmployeeAccess": {
"Type": "String",
"Description": "Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.",
"ConstraintDescription": "boolean",
"AllowedValues": [
"true",
"false"
],
"Default": "false"
},
"SkipDefaultAlertsSettings": {
"Type": "String",
"ConstraintDescription": "boolean",
"AllowedValues": [
"true",
"false"
],
"Default": "true",
"Description": "SkipDefaultAlertsSettings"
},
"GenAIFeaturesEnabled": {
"Type": "String",
"ConstraintDescription": "boolean",
"AllowedValues": [
"true",
"false"
],
"Default": "true",
"Description": "Flag that indicates whether this organization has access to generative AI features. This setting only applies to Atlas Commercial and defaults to `true`. With this setting on, Project Owners may be able to enable or disable individual AI features at the project level. To learn more, see https://www.mongodb.com/docs/generative-ai-faq/"
},
"SecurityContact": {
"Type": "String",
"Description": "Email address of the security contact for the organization.",
"Default": ""
}
},
"Mappings": {},
"Resources": {
"OrgSecret": {
"Type": "AWS::SecretsManager::Secret",
"Properties": {
"Name": {
"Fn::Sub": [
"cfn/atlas/profile/${SecretName}",
{
"SecretName": {
"Ref": "AwsSecretName"
}
}
]
},
"Description": "APIKeys Profile will store as Secret in AWS Secrets Manager.",
"SecretString": "{\"key\":\"value\"}"
}
},
"Organization": {
"Type": "MongoDB::Atlas::Organization",
"Properties": {
"OrgOwnerId": {
"Ref": "OrgOwnerId"
},
"Name": {
"Ref": "OrgName"
},
"APIKey": {
"Roles": {
"Ref": "OrgRoles"
},
"Description": {
"Ref": "Description"
}
},
"Profile": {
"Ref": "Profile"
},
"AwsSecretName": {
"Ref": "OrgSecret"
},
"ApiAccessListRequired": {
"Ref": "ApiAccessListRequired"
},
"MultiFactorAuthRequired": {
"Ref": "MultiFactorAuthRequired"
},
"RestrictEmployeeAccess": {
"Ref": "RestrictEmployeeAccess"
},
"SkipDefaultAlertsSettings": {
"Ref": "SkipDefaultAlertsSettings"
},
"GenAIFeaturesEnabled": {
"Ref": "GenAIFeaturesEnabled"
},
"SecurityContact": {
"Ref": "SecurityContact"
}
}
}
},
"Outputs": {
"OrgID": {
"Value": {
"Fn::GetAtt": [
"Organization",
"OrgId"
]
}
},
"OrgSecretName": {
"Value": {
"Fn::Sub": [
"cfn/atlas/profile/${SecretName}",
{
"SecretName": {
"Ref": "AwsSecretName"
}
}
]
}
}
}
}