You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Policies []Policy`yaml:"policies,omitempty" json:"policies,omitempty" jsonschema:"description=Policies to configure for this account."`
41
-
Groups []Group`yaml:"groups,omitempty" json:"groups,omitempty" jsonschema:"description=Groups to configure for this account."`
42
-
Users []User`yaml:"users,omitempty" json:"users,omitempty" jsonschema:"description=Users to configure for this account."`
44
+
Policies []Policy`yaml:"policies,omitempty" json:"policies,omitempty" jsonschema:"description=Policies to configure for this account."`
45
+
Groups []Group`yaml:"groups,omitempty" json:"groups,omitempty" jsonschema:"description=Groups to configure for this account."`
46
+
Users []User`yaml:"users,omitempty" json:"users,omitempty" jsonschema:"description=Users to configure for this account."`
47
+
ServiceUsers []ServiceUser`yaml:"service-users,omitempty" json:"serviceUsers,omitempty" jsonschema:"description=Service users to configure for this account."`
43
48
}
49
+
44
50
Policystruct {
45
51
IDstring`yaml:"id" json:"id" jsonschema:"required,description=A unique identifier of this policy configuration - this can be freely defined, used by monaco."`
46
52
Namestring`yaml:"name" json:"name" jsonschema:"required,description=The name of this policy."`
OriginObjectIDstring`yaml:"originObjectId,omitempty" json:"originObjectId,omitempty" jsonschema:"description=The identifier of the policy this config originated from - this is filled when downloading, but can also be set to tie a config to a specific object."`
51
57
}
58
+
52
59
PolicyLevelstruct {
53
60
Typestring`yaml:"type" json:"type" jsonschema:"required,enum=account,enum=environment,description=This defines which level this policy applies to - either the whole 'account' or a specific 'environment'. For environment level, the 'environment' field needs to contain the environment ID."`
54
61
Environmentstring`yaml:"environment,omitempty" json:"environment,omitempty" jsonschema:"The ID of the environment this policy applies to. Required if type is 'environment'."`
55
62
}
63
+
56
64
Groupstruct {
57
65
IDstring`yaml:"id" json:"id" jsonschema:"required,description=A unique identifier of this group configuration - this can be freely defined, used by monaco."`
58
66
Namestring`yaml:"name" json:"name" jsonschema:"required,description=The name of this group."`
@@ -66,25 +74,36 @@ type (
66
74
ManagementZone []ManagementZone`yaml:"managementZones,omitempty" json:"managementZones,omitempty" jsonschema:"description=ManagementZone level permissions that apply to users in this group."`
67
75
OriginObjectIDstring`yaml:"originObjectId,omitempty" json:"originObjectId,omitempty" jsonschema:"description=The identifier of the group this config originated from - this is filled when downloading, but can also be set to tie a config to a specific object."`
68
76
}
77
+
69
78
Accountstruct {
70
79
Permissions []string`yaml:"permissions,omitempty" json:"permissions,omitempty" jsonschema:"description=Permissions for the whole account."`
71
80
PoliciesReferenceSlice`yaml:"policies,omitempty" json:"policies,omitempty" jsonschema:"description=Policies for the whole account."`
72
81
}
82
+
73
83
Environmentstruct {
74
84
Namestring`yaml:"environment" json:"environment" jsonschema:"required,description=Name/identifier of the environment."`
75
85
Permissions []string`yaml:"permissions,omitempty" json:"permissions,omitempty" jsonschema:"description=Permissions for this environment."`
76
86
PoliciesReferenceSlice`yaml:"policies,omitempty" json:"policies,omitempty" jsonschema:"description=Policies for this environment."`
77
87
}
88
+
78
89
ManagementZonestruct {
79
90
Environmentstring`yaml:"environment" json:"environment" jsonschema:"required,description=Name/identifier of the environment the management zone is in."`
80
91
ManagementZonestring`yaml:"managementZone" json:"managementZone" jsonschema:"required,description=Identifier of the management zone."`
81
92
Permissions []string`yaml:"permissions" json:"permissions" jsonschema:"required,description=Permissions for this management zone."`
82
93
}
94
+
83
95
Userstruct {
84
96
Email secret.Email`yaml:"email" json:"email" jsonschema:"required,description=Email address of this user."`
85
97
GroupsReferenceSlice`yaml:"groups,omitempty" json:"groups,omitempty" jsonschema:"description=Groups this user is part of - either defined by name directly or as a reference to a group configuration."`
86
98
}
87
99
100
+
ServiceUserstruct {
101
+
Namestring`yaml:"name" json:"name" jsonschema:"required,description=The name of this service user."`
102
+
Descriptionstring`yaml:"description,omitempty" json:"description,omitempty" jsonschema:"A description of this service user."`
103
+
GroupsReferenceSlice`yaml:"groups,omitempty" json:"groups,omitempty" jsonschema:"description=Groups this user is part of - either defined by name directly or as a reference to a group configuration."`
104
+
OriginObjectIDstring`yaml:"originObjectId,omitempty" json:"originObjectId,omitempty" jsonschema:"description=The identifier of the service user this config originated from - this is filled when downloading, but can also be set to tie a config to a specific object."`
0 commit comments