--- page_title: "ona_integration_definitions Data Source - ona" subcategory: "Integrations and Automation" description: |- Fetches all integration definitions visible to the configured provider token. Definitions are global templates managed by Ona; Terraform can discover but not mutate them. Experimental definitions are filtered by backend visibility rules. --- # ona_integration_definitions (Data Source) Fetches all integration definitions visible to the configured provider token. Definitions are global templates managed by Ona; Terraform can discover but not mutate them. Experimental definitions are filtered by backend visibility rules. For product context, see [Integrations](https://ona.com/docs/ona/integrations/overview) and [MCP servers](https://ona.com/docs/ona/mcp). ## Example Usage ```terraform data "ona_integration_definitions" "available" {} locals { integration_definitions_by_id = { for definition in data.ona_integration_definitions.available.definitions : definition.id => definition } } ``` ## Schema ### Read-Only - `definitions` (Attributes List) Visible integration definitions sorted by definition ID. Credential values are omitted. (see [below for nested schema](#nestedatt--definitions)) - `id` (String) Terraform data source ID. Always `integration_definitions`. ### Nested Schema for `definitions` Read-Only: - `auth` (Attributes) Non-secret authentication metadata. Credential values are never returned. (see [below for nested schema](#nestedatt--definitions--auth)) - `capabilities` (Attributes) Capabilities supported by this definition. (see [below for nested schema](#nestedatt--definitions--capabilities)) - `categories` (Set of String) Integration categories. - `description` (String) Integration definition description. - `experimental` (Boolean) Whether the definition is experimental. - `host` (String) Integration host. - `icon_url` (String) Integration definition icon URL. - `id` (String) Integration definition ID. - `name` (String) Integration definition name. ### Nested Schema for `definitions.auth` Read-Only: - `api_key` (Attributes) Whether API-key authentication is supported. (see [below for nested schema](#nestedatt--definitions--auth--api_key)) - `oauth` (Attributes) (see [below for nested schema](#nestedatt--definitions--auth--oauth)) - `proprietary_app` (Attributes) (see [below for nested schema](#nestedatt--definitions--auth--proprietary_app)) - `requires_auth` (Boolean) Whether authentication is required. ### Nested Schema for `definitions.auth.api_key` ### Nested Schema for `definitions.auth.oauth` Read-Only: - `auth_params` (Map of String) Additional OAuth authorization parameters. - `auth_url` (String) OAuth authorization endpoint URL. - `client_id` (String) OAuth client ID. - `dynamic_registration` (Boolean) Whether dynamic client registration is enabled. - `redirect_url` (String) OAuth redirect URL. - `scopes` (Set of String) OAuth scopes. - `token_url` (String) OAuth token endpoint URL. ### Nested Schema for `definitions.auth.proprietary_app` Read-Only: - `app_id` (String) Provider-assigned application ID. - `app_scopes` (Set of String) Provider application scopes. - `app_slug` (String) Provider-assigned application slug. - `auth_params` (Map of String) Additional provider authorization parameters. - `client_id` (String) Provider application client ID. - `token_url` (String) Provider application token endpoint URL. ### Nested Schema for `definitions.capabilities` Read-Only: - `agent_client` (Attributes) (see [below for nested schema](#nestedatt--definitions--capabilities--agent_client)) - `context_parsing` (Attributes) Whether context parsing is supported. (see [below for nested schema](#nestedatt--definitions--capabilities--context_parsing)) - `login` (Attributes) Whether login is supported. (see [below for nested schema](#nestedatt--definitions--capabilities--login)) - `mcp` (Attributes) (see [below for nested schema](#nestedatt--definitions--capabilities--mcp)) - `scm_pr_events` (Attributes) Whether SCM pull-request events are supported. (see [below for nested schema](#nestedatt--definitions--capabilities--scm_pr_events)) - `source_code_access` (Attributes) Whether source code access is supported. (see [below for nested schema](#nestedatt--definitions--capabilities--source_code_access)) ### Nested Schema for `definitions.capabilities.agent_client` Read-Only: - `default_project_id` (String) Default Ona project ID. - `severity_threshold` (String) Minimum incident severity. ### Nested Schema for `definitions.capabilities.context_parsing` ### Nested Schema for `definitions.capabilities.login` ### Nested Schema for `definitions.capabilities.mcp` Read-Only: - `url` (String) Remote MCP server URL. ### Nested Schema for `definitions.capabilities.scm_pr_events` ### Nested Schema for `definitions.capabilities.source_code_access`