Settings API - Management zones settings schema table
Management zones settings (builtin:management-zones)
Management zones enable defining fine grained access rights to parts of an environment. A Management zone consists of a set of entities like applications, hosts, process groups, or services.
For each Management zone you can define which user groups have access to them. This way you can ensure the confidentiality of certain parts of an environment and still keep an end to end view across all components for the users that need it.
For value suggestions based on entity data and preview functionality, environment-wide "Access environment" permission is required.
Management zone rules are executed periodically in the background, for a limited timeframe. Any entity that matches a management zone rule will receive the specific zone assigned to it, while removing zones from entities that no longer match. Be aware that for any condition that requires the relationship between multiple entities, all entities in this scope need to be present in this timeframe!
Depending on environment-size, rule count (Management zones, as well as tagging and naming rules) and rule complexity, the application of all management zones might be delayed!
Schema ID | Schema groups | Scope |
---|---|---|
builtin:management-zones |
| environment |
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:management-zones |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:management-zones | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:management-zones |
Authentication
To execute this request, you need an access token with Read settings (settings.read
) scope. To learn how to obtain and use it, see Tokens and authentication.
Parameters
Property | Label | Type | Description | Required |
---|---|---|---|---|
name | Management zone name | text | Be careful when renaming - if there are policies that are referencing this Management zone, they will need to be adapted to the new name! | required |
description | Description | text | - | optional |
rules | Rules | set | - | required |
Request body objects
The AttributeCondition
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
key | Property | enum | - | required |
dynamicKeySource | Key source | text | - | required |
dynamicKey | Dynamic key | text | - | required |
operator | Operator | enum | - | required |
enumValue | Value | text | - | required |
stringValue | Value | text | - | required |
caseSensitive | Case sensitive | boolean | - | required |
integerValue | Value | integer | - | required |
entityId | Value | text | - | required |
tag | Tag | text | Format: | required |
The ManagementZoneAttributeRule
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
entityType | Rule applies to | enum | - | required |
conditions | Conditions | set | - | required |
serviceToHostPropagation | Apply to underlying hosts of matching services | boolean | - | required |
serviceToPGPropagation | Apply to underlying process groups of matching services | boolean | - | required |
pgToHostPropagation | Apply to underlying hosts of matching process groups | boolean | - | required |
pgToServicePropagation | Apply to all services provided by the process groups | boolean | - | required |
hostToPGPropagation | Apply to processes running on matching hosts | boolean | - | required |
customDeviceGroupToCustomDevicePropagation | Apply to custom devices in a custom device group | boolean | - | required |
azureToServicePropagation | Apply to services provided by matching Azure entities | boolean | - | required |
azureToPGPropagation | Apply to process groups connected to matching Azure entities | boolean | - | required |
The DimensionCondition
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
conditionType | Type | enum | - | required |
key | Key | text | - | required |
ruleMatcher | Operator | enum | - | required |
value | Value | text | - | required |
The DimensionRule
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
appliesTo | Type | enum | - | required |
conditions | Conditions | set | - | required |
The Rule
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
enabled | Enabled | boolean | - | required |
type | Rule type | enum | - | required |
attributeRule | - | ManagementZoneAttributeRule | - | required |
dimensionRule | - | DimensionRule | - | required |
entitySelector | Entity selector | text | The documentation of the entity selector can be found here. | required |