Skip to content

Commit e36d0aa

Browse files
committed
Allow the crates.io team to manage log pipelines
We use Datadog among other reasons for the application logs from crates.io. As new features or services are added, the crates.io team reguarly wants to tweak the pipelines slightly to improve the parsing of logs and extract data into metrics. This requires elevated permissions to the log pipelines and processors. While ideally, we would only grant these permissions for the specific pipeline used by crates.io, this is not possible through the API as far as we know.
1 parent 12be3fc commit e36d0aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

terraform/team-members-datadog/crates-io.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ resource "datadog_role" "crates_io" {
1313
data.datadog_permissions.all.permissions.logs_read_index_data,
1414
data.datadog_permissions.all.permissions.logs_read_data,
1515
data.datadog_permissions.all.permissions.logs_live_tail,
16+
data.datadog_permissions.all.permissions.logs_write_pipelines,
17+
data.datadog_permissions.all.permissions.logs_write_processors,
1618
data.datadog_permissions.all.permissions.logs_read_archives,
1719
data.datadog_permissions.all.permissions.dashboards_write,
1820
])

0 commit comments

Comments
 (0)