Beta - Databricks token has indefinite lifetime
이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우
언제든지 연락주시기 바랍니다.Id: 7d05ca25-91b4-42ee-b6f6-b06611a87ce8
Cloud Provider: Databricks
Platform: Terraform
Severity: Medium
Category: Insecure Defaults
Learn More
Description
The databricks_token resource is missing the lifetime_seconds attribute, resulting in a token with an indefinite lifetime.
This attribute defines the token’s validity period and should be set to enforce expiration.
Compliant Code Examples
resource "databricks_token" "negative" {
provider = databricks.created_workspace
comment = "Terraform Provisioning"
// 100 day token
lifetime_seconds = 8640000
}
Non-Compliant Code Examples
resource "databricks_token" "positive" {
provider = databricks.created_workspace
comment = "Terraform Provisioning"
}