InfoGrab Docs

teleport_access_monitoring_rule Terraform 리소스 참조

이 페이지는 Teleport Terraform 프로바이더의 teleport_access_monitoring_rule 리소스에서 지원되는 값을 설명합니다.

이 페이지는 Teleport Terraform 프로바이더의 teleport_access_monitoring_rule 리소스에서 지원되는 값을 설명합니다. 사용 예시 # # Teleport Access Monitoring Rule enables notification routing or automatic # review rules based on specific conditions. # # This example automatically approves access requests for the role `your_role_name` # on Mondays and Tuesdays, and sends notifications to `#your-slack-channel`. resource "teleport_access_monitoring_rule" "test" { version = "v1" metadata = { name = "test" } spec = { subjects = ["access_request"] condition = "access_request.spec.roles.contains(\"your_role_name\")" desired_state = "reviewed" notification = { name = "slack" recipients = ["#your-slack-channel"] } automatic_review = { integration = "builtin" decision = "APPROVED" } schedules = { default = { time = { timezone = "America/Los_Angeles" shifts = [ { weekday : "Monday" start : "00:00" end : "23:59" }, { weekday : "Tuesday" start : "00:00" end : "23:59" }, ] } } } } } 스키마 # 필수 # spec (Attributes) Spec은 AccessMonitoringRule 사양입니다 ( 아래 중첩 스키마 참조 ) version (String) version은 버전입니다 선택 # metadata (Attributes) metadata는 규칙의 메타데이터입니다. ( 아래 중첩 스키마 참조 ) sub_kind (String) sub_kind는 일부 리소스에서 사용되는 선택적 리소스 하위 종류입니다 spec 에 대한 중첩 스키마 # 필수: subjects (List of String) subjects는 규칙이 작동하는 대상으로, 리소스 종류 또는 특정 리소스 속성일 수 있습니다. 선택: automatic_review (Attributes) automatic_review는 Access Request에 대한 자동 리뷰 구성을 정의합니다. notification과 automatic_review 모두 동일한 access_monitoring_rule 내에 설정할 수 있습니다. 두 필드가 모두 설정된 경우, 규칙은 동일한 액세스 이벤트 집합에 대해 알림과 자동