# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/oci/oci.identitydomains_rule.dataset.md

---
title: Identity Domains Rule
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Identity Domains Rule
---

# Identity Domains Rule

An Identity Domains Rule in Oracle Cloud Infrastructure (OCI) defines conditions and actions that automate identity management tasks within an identity domain. It allows administrators to create rules that trigger specific actions, such as assigning users to groups or updating attributes, based on defined criteria. This helps streamline user lifecycle management and enforce consistent access policies across the organization.

```
oci.identitydomains_rule
```

## Fields

| Title                         | ID   | Type          | Data Type                                                                                                                                                                                                                                                         | Description |
| ----------------------------- | ---- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                          | core | string        |
| active                        | core | bool          | The value to assign to the active property of this Rule.                                                                                                                                                                                                          |
| cloud_account_id              | core | string        | The identifier of the related cloud account. The concept of an account might have different names in different cloud providers. AWS is calling it account, GCP calls it project and Azure uses the term subscription.                                             |
| cloud_account_name            | core | string        | The name of the account this resource belongs to.                                                                                                                                                                                                                 |
| cloud_provider                | core | string        | The name of the cloud provider.                                                                                                                                                                                                                                   |
| cloud_tags                    | core | hstore        |
| compartment_id                | core | string        | Compartment containing the resource. Used for Access control, logical grouping, and authorization boundaries.                                                                                                                                                     |
| compartment_ocid              | core | string        | The value to assign to the compartment_ocid property of this Rule.                                                                                                                                                                                                |
| condition                     | core | string        | The value to assign to the condition property of this Rule.                                                                                                                                                                                                       |
| condition_group               | core | json          | The value to assign to the condition_group property of this Rule.                                                                                                                                                                                                 |
| created_at                    | core | timestamp     | Time when the resource has been created.                                                                                                                                                                                                                          |
| delete_in_progress            | core | bool          | The value to assign to the delete_in_progress property of this Rule.                                                                                                                                                                                              |
| description                   | core | string        | The value to assign to the description property of this Rule.                                                                                                                                                                                                     |
| domain_ocid                   | core | string        | The value to assign to the domain_ocid property of this Rule.                                                                                                                                                                                                     |
| freeform_tags                 | core | hstore        | The value to assign to the freeform_tags property of this Instance.                                                                                                                                                                                               |
| id                            | core | string        | The value to assign to the id property of this Rule.                                                                                                                                                                                                              |
| idcs_created_by               | core | json          | The value to assign to the idcs_created_by property of this Rule.                                                                                                                                                                                                 |
| idcs_last_modified_by         | core | json          | The value to assign to the idcs_last_modified_by property of this Rule.                                                                                                                                                                                           |
| idcs_last_upgraded_in_release | core | string        | The value to assign to the idcs_last_upgraded_in_release property of this Rule.                                                                                                                                                                                   |
| idcs_prevented_operations     | core | array<string> | The value to assign to the idcs_prevented_operations property of this Rule. Allowed values for items in this list are: "replace", "update", "delete", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. |
| locked                        | core | bool          | The value to assign to the locked property of this Rule.                                                                                                                                                                                                          |
| meta                          | core | json          | The value to assign to the meta property of this Rule.                                                                                                                                                                                                            |
| name                          | core | string        | The value to assign to the name property of this Rule.                                                                                                                                                                                                            |
| ocid                          | core | string        | The value to assign to the ocid property of this Rule.                                                                                                                                                                                                            |
| policy_type                   | core | json          | The value to assign to the policy_type property of this Rule.                                                                                                                                                                                                     |
| region_id                     | core | string        | The region this resource resides within.                                                                                                                                                                                                                          |
| resource_type                 | core | string        | The name of the resource type.                                                                                                                                                                                                                                    |
| return                        | core | json          | The value to assign to the _return property of this Rule.                                                                                                                                                                                                         |
| rule_groovy                   | core | string        | The value to assign to the rule_groovy property of this Rule.                                                                                                                                                                                                     |
| schemas                       | core | array<string> | The value to assign to the schemas property of this Rule.                                                                                                                                                                                                         |
| tags                          | core | hstore_csv    | The value to assign to the tags property of this Rule.                                                                                                                                                                                                            |
| tenancy_ocid                  | core | string        | The value to assign to the tenancy_ocid property of this Rule.                                                                                                                                                                                                    |
| time_created                  | core | timestamp     | The value to assign to the time_created property of this Instance.                                                                                                                                                                                                |
| updated_at                    | core | timestamp     | Time when the resource has been updated the last time.                                                                                                                                                                                                            |
| zone_id                       | core | string        | The zone this resource resides within.                                                                                                                                                                                                                            |