diff --git a/modules/enterprise-organization/README.md b/modules/enterprise-organization/README.md
index def9bc5..ed6ff43 100644
--- a/modules/enterprise-organization/README.md
+++ b/modules/enterprise-organization/README.md
@@ -12,7 +12,7 @@ This module creates following resources.
| ---- | ------- |
| [terraform](#requirement\_terraform) | >= 1.12 |
| [github](#requirement\_github) | >= 6.2 |
-| [telemetry](#requirement\_telemetry) | >= 0.1.1 |
+| [telemetry](#requirement\_telemetry) | >= 0.2.0 |
## Providers
@@ -41,7 +41,7 @@ No modules.
| [description](#input\_description) | (Optional) The description of the organization. | `string` | `"Managed by Terraform."` | no |
| [display\_name](#input\_display\_name) | (Optional) The display name of the organization. If not set, the `name` will be used as the `display_name`. | `string` | `""` | no |
| [owners](#input\_owners) | (Optional) A list of usernames to add users as `owner` role. | `set(string)` | `[]` | no |
-| [telemetry](#input\_telemetry) | (Optional) A configuration to collect telemetry data for the module. This is used to improve the module and its features. The data collected is anonymous and does not contain any sensitive information. The default configuration enables telemetry collection for machine, network, git, github, github actions, terraform, and toolchain. You can disable telemetry collection by setting `enabled` to `false`. `telemetry` block as defined below.
(Optional) `enabled` - Whether to enable telemetry collection. Default is `true`.
(Optional) `capture_machine` - Whether to capture machine information. Default is `true`.
(Optional) `capture_network` - Whether to capture network information. Default is `true`.
(Optional) `capture_git` - Whether to capture git information. Default is `true`.
(Optional) `capture_github` - Whether to capture GitHub information. Default is `true`.
(Optional) `capture_github_actions` - Whether to capture GitHub Actions information. Default is `true`.
(Optional) `capture_terraform` - Whether to capture Terraform information. Default is `true`.
(Optional) `capture_toolchain` - Whether to capture toolchain information. Default is `true`. |
object({
enabled = optional(bool, true)
capture_machine = optional(bool, true)
capture_network = optional(bool, true)
capture_git = optional(bool, true)
capture_github = optional(bool, true)
capture_github_actions = optional(bool, true)
capture_terraform = optional(bool, true)
capture_toolchain = optional(bool, true)
}) | `{}` | no |
+| [telemetry](#input\_telemetry) | (Optional) A configuration to collect telemetry data for the module. This is used to improve the module and its features. To send pseudonyms instead of identifying values such as the hostname and the Git remote, set `pseudonymization_enabled` to `true`. Pseudonyms are not anonymous; to keep data from being sent, disable its collector. The default configuration enables telemetry collection for machine, network, git, github, github actions, HCP Terraform, terraform, and toolchain. You can disable telemetry collection by setting `enabled` to `false`. `telemetry` block as defined below.object({
enabled = optional(bool, true)
capture_machine = optional(bool, true)
capture_network = optional(bool, true)
capture_git = optional(bool, true)
capture_github = optional(bool, true)
capture_github_actions = optional(bool, true)
capture_hcp_terraform = optional(bool, true)
capture_terraform = optional(bool, true)
capture_toolchain = optional(bool, true)
pseudonymization_enabled = optional(bool, false)
}) | `{}` | no |
## Outputs
diff --git a/modules/enterprise-organization/telemetry.tf b/modules/enterprise-organization/telemetry.tf
index 99565cf..c98bf9b 100644
--- a/modules/enterprise-organization/telemetry.tf
+++ b/modules/enterprise-organization/telemetry.tf
@@ -1,14 +1,16 @@
variable "telemetry" {
description = <object({
enabled = optional(bool, true)
capture_machine = optional(bool, true)
capture_network = optional(bool, true)
capture_git = optional(bool, true)
capture_github = optional(bool, true)
capture_github_actions = optional(bool, true)
capture_terraform = optional(bool, true)
capture_toolchain = optional(bool, true)
}) | `{}` | no |
+| [telemetry](#input\_telemetry) | (Optional) A configuration to collect telemetry data for the module. This is used to improve the module and its features. To send pseudonyms instead of identifying values such as the hostname and the Git remote, set `pseudonymization_enabled` to `true`. Pseudonyms are not anonymous; to keep data from being sent, disable its collector. The default configuration enables telemetry collection for machine, network, git, github, github actions, HCP Terraform, terraform, and toolchain. You can disable telemetry collection by setting `enabled` to `false`. `telemetry` block as defined below.object({
enabled = optional(bool, true)
capture_machine = optional(bool, true)
capture_network = optional(bool, true)
capture_git = optional(bool, true)
capture_github = optional(bool, true)
capture_github_actions = optional(bool, true)
capture_hcp_terraform = optional(bool, true)
capture_terraform = optional(bool, true)
capture_toolchain = optional(bool, true)
pseudonymization_enabled = optional(bool, false)
}) | `{}` | no |
## Outputs
diff --git a/modules/org-organization/telemetry.tf b/modules/org-organization/telemetry.tf
index 99565cf..c98bf9b 100644
--- a/modules/org-organization/telemetry.tf
+++ b/modules/org-organization/telemetry.tf
@@ -1,14 +1,16 @@
variable "telemetry" {
description = <object({
creation = optional(bool, false)
update = optional(bool, false)
deletion = optional(bool, false)
required_linear_history = optional(bool, false)
required_signatures = optional(bool, false)
non_fast_forward = optional(bool, false)
pull_request = optional(object({
dismiss_stale_reviews_on_push = optional(bool, false)
require_code_owner_review = optional(bool, false)
require_last_push_approval = optional(bool, false)
required_approving_review_count = optional(number, 0)
required_review_thread_resolution = optional(bool, false)
}))
required_status_checks = optional(object({
checks = optional(list(object({
context = string
integration_id = optional(number, 0)
})), [])
strict_required_status_checks_policy = optional(bool, false)
}))
required_workflows = optional(object({
workflows = list(object({
repository_id = number
path = string
ref = optional(string)
}))
do_not_enforce_on_create = optional(bool, false)
}))
required_code_scanning = optional(object({
tools = list(object({
tool = string
alerts_threshold = string
security_alerts_threshold = string
}))
}))
branch_name_pattern = optional(object({
operator = string
pattern = string
name = optional(string)
negate = optional(bool, false)
}))
tag_name_pattern = optional(object({
operator = string
pattern = string
name = optional(string)
negate = optional(bool, false)
}))
commit_message_pattern = optional(object({
operator = string
pattern = string
name = optional(string)
negate = optional(bool, false)
}))
commit_author_email_pattern = optional(object({
operator = string
pattern = string
name = optional(string)
negate = optional(bool, false)
}))
committer_email_pattern = optional(object({
operator = string
pattern = string
name = optional(string)
negate = optional(bool, false)
}))
}) | `{}` | no |
| [status](#input\_status) | (Optional) The status (enforcement level) of the ruleset. Can be one of `ACTIVE`, `EVALUATE`, or `DISABLED`. Use `EVALUATE` to monitor (dry-run) which actions would be blocked without actually blocking them. Defaults to `ACTIVE`. | `string` | `"ACTIVE"` | no |
| [target](#input\_target) | (Optional) The target of the ruleset. Can be one of `branch`, `tag`, or `push`. Defaults to `branch`. | `string` | `"branch"` | no |
-| [telemetry](#input\_telemetry) | (Optional) A configuration to collect telemetry data for the module. This is used to improve the module and its features. The data collected is anonymous and does not contain any sensitive information. The default configuration enables telemetry collection for machine, network, git, github, github actions, terraform, and toolchain. You can disable telemetry collection by setting `enabled` to `false`. `telemetry` block as defined below.object({
enabled = optional(bool, true)
capture_machine = optional(bool, true)
capture_network = optional(bool, true)
capture_git = optional(bool, true)
capture_github = optional(bool, true)
capture_github_actions = optional(bool, true)
capture_terraform = optional(bool, true)
capture_toolchain = optional(bool, true)
}) | `{}` | no |
+| [telemetry](#input\_telemetry) | (Optional) A configuration to collect telemetry data for the module. This is used to improve the module and its features. To send pseudonyms instead of identifying values such as the hostname and the Git remote, set `pseudonymization_enabled` to `true`. Pseudonyms are not anonymous; to keep data from being sent, disable its collector. The default configuration enables telemetry collection for machine, network, git, github, github actions, HCP Terraform, terraform, and toolchain. You can disable telemetry collection by setting `enabled` to `false`. `telemetry` block as defined below.object({
enabled = optional(bool, true)
capture_machine = optional(bool, true)
capture_network = optional(bool, true)
capture_git = optional(bool, true)
capture_github = optional(bool, true)
capture_github_actions = optional(bool, true)
capture_hcp_terraform = optional(bool, true)
capture_terraform = optional(bool, true)
capture_toolchain = optional(bool, true)
pseudonymization_enabled = optional(bool, false)
}) | `{}` | no |
## Outputs
diff --git a/modules/org-ruleset/telemetry.tf b/modules/org-ruleset/telemetry.tf
index 99565cf..c98bf9b 100644
--- a/modules/org-ruleset/telemetry.tf
+++ b/modules/org-ruleset/telemetry.tf
@@ -1,14 +1,16 @@
variable "telemetry" {
description = <object({
enabled = optional(bool, true)
capture_machine = optional(bool, true)
capture_network = optional(bool, true)
capture_git = optional(bool, true)
capture_github = optional(bool, true)
capture_github_actions = optional(bool, true)
capture_terraform = optional(bool, true)
capture_toolchain = optional(bool, true)
}) | `{}` | no |
+| [telemetry](#input\_telemetry) | (Optional) A configuration to collect telemetry data for the module. This is used to improve the module and its features. To send pseudonyms instead of identifying values such as the hostname and the Git remote, set `pseudonymization_enabled` to `true`. Pseudonyms are not anonymous; to keep data from being sent, disable its collector. The default configuration enables telemetry collection for machine, network, git, github, github actions, HCP Terraform, terraform, and toolchain. You can disable telemetry collection by setting `enabled` to `false`. `telemetry` block as defined below.object({
enabled = optional(bool, true)
capture_machine = optional(bool, true)
capture_network = optional(bool, true)
capture_git = optional(bool, true)
capture_github = optional(bool, true)
capture_github_actions = optional(bool, true)
capture_hcp_terraform = optional(bool, true)
capture_terraform = optional(bool, true)
capture_toolchain = optional(bool, true)
pseudonymization_enabled = optional(bool, false)
}) | `{}` | no |
## Outputs
diff --git a/modules/org-team/telemetry.tf b/modules/org-team/telemetry.tf
index 99565cf..c98bf9b 100644
--- a/modules/org-team/telemetry.tf
+++ b/modules/org-team/telemetry.tf
@@ -1,14 +1,16 @@
variable "telemetry" {
description = <object({
enabled = optional(bool, true)
capture_machine = optional(bool, true)
capture_network = optional(bool, true)
capture_git = optional(bool, true)
capture_github = optional(bool, true)
capture_github_actions = optional(bool, true)
capture_terraform = optional(bool, true)
capture_toolchain = optional(bool, true)
}) | `{}` | no |
+| [telemetry](#input\_telemetry) | (Optional) A configuration to collect telemetry data for the module. This is used to improve the module and its features. To send pseudonyms instead of identifying values such as the hostname and the Git remote, set `pseudonymization_enabled` to `true`. Pseudonyms are not anonymous; to keep data from being sent, disable its collector. The default configuration enables telemetry collection for machine, network, git, github, github actions, HCP Terraform, terraform, and toolchain. You can disable telemetry collection by setting `enabled` to `false`. `telemetry` block as defined below.object({
enabled = optional(bool, true)
capture_machine = optional(bool, true)
capture_network = optional(bool, true)
capture_git = optional(bool, true)
capture_github = optional(bool, true)
capture_github_actions = optional(bool, true)
capture_hcp_terraform = optional(bool, true)
capture_terraform = optional(bool, true)
capture_toolchain = optional(bool, true)
pseudonymization_enabled = optional(bool, false)
}) | `{}` | no |
## Outputs
diff --git a/modules/project/telemetry.tf b/modules/project/telemetry.tf
index 99565cf..c98bf9b 100644
--- a/modules/project/telemetry.tf
+++ b/modules/project/telemetry.tf
@@ -1,14 +1,16 @@
variable "telemetry" {
description = <object({
enabled = optional(bool, true)
capture_machine = optional(bool, true)
capture_network = optional(bool, true)
capture_git = optional(bool, true)
capture_github = optional(bool, true)
capture_github_actions = optional(bool, true)
capture_terraform = optional(bool, true)
capture_toolchain = optional(bool, true)
}) | `{}` | no |
+| [telemetry](#input\_telemetry) | (Optional) A configuration to collect telemetry data for the module. This is used to improve the module and its features. To send pseudonyms instead of identifying values such as the hostname and the Git remote, set `pseudonymization_enabled` to `true`. Pseudonyms are not anonymous; to keep data from being sent, disable its collector. The default configuration enables telemetry collection for machine, network, git, github, github actions, HCP Terraform, terraform, and toolchain. You can disable telemetry collection by setting `enabled` to `false`. `telemetry` block as defined below.object({
enabled = optional(bool, true)
capture_machine = optional(bool, true)
capture_network = optional(bool, true)
capture_git = optional(bool, true)
capture_github = optional(bool, true)
capture_github_actions = optional(bool, true)
capture_hcp_terraform = optional(bool, true)
capture_terraform = optional(bool, true)
capture_toolchain = optional(bool, true)
pseudonymization_enabled = optional(bool, false)
}) | `{}` | no |
| [type](#input\_type) | (Required) The type of the custom property. Can be one of `STRING`, `SINGLE_SELECT`, `MULTI_SELECT`, or `BOOL`. Defaults to `STRING`. | `string` | `"STRING"` | no |
## Outputs
diff --git a/modules/repository-custom-property/telemetry.tf b/modules/repository-custom-property/telemetry.tf
index 99565cf..c98bf9b 100644
--- a/modules/repository-custom-property/telemetry.tf
+++ b/modules/repository-custom-property/telemetry.tf
@@ -1,14 +1,16 @@
variable "telemetry" {
description = <object({
restriction = optional(string, "NONE")
branches = optional(set(string), [])
tags = optional(set(string), [])
}) | `{}` | no |
| [reviewers](#input\_reviewers) | (Optional) A list of reviewers who may review jobs that reference the environment. Up to 6 reviewers can be added to an environment. Each item of `reviewers` block as defined below.list(object({
type = string
name = string
})) | `[]` | no |
| [secrets](#input\_secrets) | (Optional) A map of GitHub Actions secrets to set for the environment. Currently, all values will be ignored and treated as placeholders. You should mange the secrets manually in GitHub after the environment is created. Defaults to `{}`. | `map(string)` | `{}` | no |
-| [telemetry](#input\_telemetry) | (Optional) A configuration to collect telemetry data for the module. This is used to improve the module and its features. The data collected is anonymous and does not contain any sensitive information. The default configuration enables telemetry collection for machine, network, git, github, github actions, terraform, and toolchain. You can disable telemetry collection by setting `enabled` to `false`. `telemetry` block as defined below.object({
enabled = optional(bool, true)
capture_machine = optional(bool, true)
capture_network = optional(bool, true)
capture_git = optional(bool, true)
capture_github = optional(bool, true)
capture_github_actions = optional(bool, true)
capture_terraform = optional(bool, true)
capture_toolchain = optional(bool, true)
}) | `{}` | no |
+| [telemetry](#input\_telemetry) | (Optional) A configuration to collect telemetry data for the module. This is used to improve the module and its features. To send pseudonyms instead of identifying values such as the hostname and the Git remote, set `pseudonymization_enabled` to `true`. Pseudonyms are not anonymous; to keep data from being sent, disable its collector. The default configuration enables telemetry collection for machine, network, git, github, github actions, HCP Terraform, terraform, and toolchain. You can disable telemetry collection by setting `enabled` to `false`. `telemetry` block as defined below.object({
enabled = optional(bool, true)
capture_machine = optional(bool, true)
capture_network = optional(bool, true)
capture_git = optional(bool, true)
capture_github = optional(bool, true)
capture_github_actions = optional(bool, true)
capture_hcp_terraform = optional(bool, true)
capture_terraform = optional(bool, true)
capture_toolchain = optional(bool, true)
pseudonymization_enabled = optional(bool, false)
}) | `{}` | no |
| [variables](#input\_variables) | (Optional) A map of GitHub Actions variables to set for the environment. Defaults to `{}`. | `map(string)` | `{}` | no |
| [wait\_timer](#input\_wait\_timer) | (Optional) The amount of time in minutes to wait before allowing deployments to proceed. The default value is `0`. | `number` | `0` | no |
diff --git a/modules/repository-environment/telemetry.tf b/modules/repository-environment/telemetry.tf
index 99565cf..c98bf9b 100644
--- a/modules/repository-environment/telemetry.tf
+++ b/modules/repository-environment/telemetry.tf
@@ -1,14 +1,16 @@
variable "telemetry" {
description = <set(object({
name = string
color = string
description = optional(string, "Managed by Terraform.")
})) | `[]` | no |
| [pages](#input\_pages) | (Optional) A configuration of GitHub Pages for the repository. `pages` block as defined below.object({
enabled = optional(bool, false)
source = optional(object({
branch = optional(string, "gh-pages")
path = optional(string, "/")
}), {})
cname = optional(string)
}) | `{}` | no |
| [pull\_request](#input\_pull\_request) | (Optional) A configuration for pull requests on the repository. `pull_request` block as defined below.object({
merge_commit = optional(object({
enabled = optional(bool, false)
commit = optional(object({
title = optional(string, "MERGE_MESSAGE")
message = optional(string, "BLANK")
}), {})
}), {})
squash_merge = optional(object({
enabled = optional(bool, true)
commit = optional(object({
title = optional(string, "PR_TITLE")
message = optional(string, "COMMIT_MESSAGES")
}), {})
}), {})
rebase_merge = optional(object({
enabled = optional(bool, true)
}), {})
auto_merge_enabled = optional(bool, false)
delete_branch_on_merge = optional(bool, true)
}) | `{}` | no |
-| [telemetry](#input\_telemetry) | (Optional) A configuration to collect telemetry data for the module. This is used to improve the module and its features. The data collected is anonymous and does not contain any sensitive information. The default configuration enables telemetry collection for machine, network, git, github, github actions, terraform, and toolchain. You can disable telemetry collection by setting `enabled` to `false`. `telemetry` block as defined below.object({
enabled = optional(bool, true)
capture_machine = optional(bool, true)
capture_network = optional(bool, true)
capture_git = optional(bool, true)
capture_github = optional(bool, true)
capture_github_actions = optional(bool, true)
capture_terraform = optional(bool, true)
capture_toolchain = optional(bool, true)
}) | `{}` | no |
+| [telemetry](#input\_telemetry) | (Optional) A configuration to collect telemetry data for the module. This is used to improve the module and its features. To send pseudonyms instead of identifying values such as the hostname and the Git remote, set `pseudonymization_enabled` to `true`. Pseudonyms are not anonymous; to keep data from being sent, disable its collector. The default configuration enables telemetry collection for machine, network, git, github, github actions, HCP Terraform, terraform, and toolchain. You can disable telemetry collection by setting `enabled` to `false`. `telemetry` block as defined below.object({
enabled = optional(bool, true)
capture_machine = optional(bool, true)
capture_network = optional(bool, true)
capture_git = optional(bool, true)
capture_github = optional(bool, true)
capture_github_actions = optional(bool, true)
capture_hcp_terraform = optional(bool, true)
capture_terraform = optional(bool, true)
capture_toolchain = optional(bool, true)
pseudonymization_enabled = optional(bool, false)
}) | `{}` | no |
| [template](#input\_template) | (Optional) Use a template repository, license or gitignore to create the repository.this resource. `template` block as defined below.object({
gitignore = optional(string)
init_readme = optional(bool, false)
license = optional(string)
repository = optional(string)
}) | `{}` | no |
| [topics](#input\_topics) | (Optional) A list of topics for the repository. | `set(string)` | `[]` | no |
| [visibility](#input\_visibility) | (Optional) Can be `public`, `private` or `internal`. `internal` visibility is only available if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. | `string` | `"private"` | no |
diff --git a/modules/repository/telemetry.tf b/modules/repository/telemetry.tf
index 99565cf..c98bf9b 100644
--- a/modules/repository/telemetry.tf
+++ b/modules/repository/telemetry.tf
@@ -1,14 +1,16 @@
variable "telemetry" {
description = <[| no | | [secret](#input\_secret) | (Optional) The shared secret for the webhook. | `string` | `""` | no | | [ssl\_enabled](#input\_ssl\_enabled) | (Optional) Whether to verify SSL certificates when delivering payloads. Default is true. | `bool` | `true` | no | -| [telemetry](#input\_telemetry) | (Optional) A configuration to collect telemetry data for the module. This is used to improve the module and its features. The data collected is anonymous and does not contain any sensitive information. The default configuration enables telemetry collection for machine, network, git, github, github actions, terraform, and toolchain. You can disable telemetry collection by setting `enabled` to `false`. `telemetry` block as defined below.
"*"
]
object({
enabled = optional(bool, true)
capture_machine = optional(bool, true)
capture_network = optional(bool, true)
capture_git = optional(bool, true)
capture_github = optional(bool, true)
capture_github_actions = optional(bool, true)
capture_terraform = optional(bool, true)
capture_toolchain = optional(bool, true)
}) | `{}` | no |
+| [telemetry](#input\_telemetry) | (Optional) A configuration to collect telemetry data for the module. This is used to improve the module and its features. To send pseudonyms instead of identifying values such as the hostname and the Git remote, set `pseudonymization_enabled` to `true`. Pseudonyms are not anonymous; to keep data from being sent, disable its collector. The default configuration enables telemetry collection for machine, network, git, github, github actions, HCP Terraform, terraform, and toolchain. You can disable telemetry collection by setting `enabled` to `false`. `telemetry` block as defined below.object({
enabled = optional(bool, true)
capture_machine = optional(bool, true)
capture_network = optional(bool, true)
capture_git = optional(bool, true)
capture_github = optional(bool, true)
capture_github_actions = optional(bool, true)
capture_hcp_terraform = optional(bool, true)
capture_terraform = optional(bool, true)
capture_toolchain = optional(bool, true)
pseudonymization_enabled = optional(bool, false)
}) | `{}` | no |
## Outputs
diff --git a/modules/webhook/telemetry.tf b/modules/webhook/telemetry.tf
index 99565cf..c98bf9b 100644
--- a/modules/webhook/telemetry.tf
+++ b/modules/webhook/telemetry.tf
@@ -1,14 +1,16 @@
variable "telemetry" {
description = <