resources_teleport_dev_v5

package
v0.0.0-...-6209148 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: 0BSD Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResourcesTeleportDevTeleportRoleV5Manifest

func NewResourcesTeleportDevTeleportRoleV5Manifest() datasource.DataSource

Types

type ResourcesTeleportDevTeleportRoleV5Manifest

type ResourcesTeleportDevTeleportRoleV5Manifest struct{}

func (*ResourcesTeleportDevTeleportRoleV5Manifest) Metadata

func (*ResourcesTeleportDevTeleportRoleV5Manifest) Read

func (*ResourcesTeleportDevTeleportRoleV5Manifest) Schema

type ResourcesTeleportDevTeleportRoleV5ManifestData

type ResourcesTeleportDevTeleportRoleV5ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Namespace   string            `tfsdk:"namespace" json:"namespace"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		Allow *struct {
			App_labels                *map[string]string `tfsdk:"app_labels" json:"app_labels,omitempty"`
			App_labels_expression     *string            `tfsdk:"app_labels_expression" json:"app_labels_expression,omitempty"`
			Aws_role_arns             *[]string          `tfsdk:"aws_role_arns" json:"aws_role_arns,omitempty"`
			Azure_identities          *[]string          `tfsdk:"azure_identities" json:"azure_identities,omitempty"`
			Cluster_labels            *map[string]string `tfsdk:"cluster_labels" json:"cluster_labels,omitempty"`
			Cluster_labels_expression *string            `tfsdk:"cluster_labels_expression" json:"cluster_labels_expression,omitempty"`
			Db_labels                 *map[string]string `tfsdk:"db_labels" json:"db_labels,omitempty"`
			Db_labels_expression      *string            `tfsdk:"db_labels_expression" json:"db_labels_expression,omitempty"`
			Db_names                  *[]string          `tfsdk:"db_names" json:"db_names,omitempty"`
			Db_permissions            *[]struct {
				Match       *map[string]string `tfsdk:"match" json:"match,omitempty"`
				Permissions *[]string          `tfsdk:"permissions" json:"permissions,omitempty"`
			} `tfsdk:"db_permissions" json:"db_permissions,omitempty"`
			Db_roles                     *[]string          `tfsdk:"db_roles" json:"db_roles,omitempty"`
			Db_service_labels            *map[string]string `tfsdk:"db_service_labels" json:"db_service_labels,omitempty"`
			Db_service_labels_expression *string            `tfsdk:"db_service_labels_expression" json:"db_service_labels_expression,omitempty"`
			Db_users                     *[]string          `tfsdk:"db_users" json:"db_users,omitempty"`
			Desktop_groups               *[]string          `tfsdk:"desktop_groups" json:"desktop_groups,omitempty"`
			Gcp_service_accounts         *[]string          `tfsdk:"gcp_service_accounts" json:"gcp_service_accounts,omitempty"`
			Group_labels                 *map[string]string `tfsdk:"group_labels" json:"group_labels,omitempty"`
			Group_labels_expression      *string            `tfsdk:"group_labels_expression" json:"group_labels_expression,omitempty"`
			Host_groups                  *[]string          `tfsdk:"host_groups" json:"host_groups,omitempty"`
			Host_sudoers                 *[]string          `tfsdk:"host_sudoers" json:"host_sudoers,omitempty"`
			Impersonate                  *struct {
				Roles *[]string `tfsdk:"roles" json:"roles,omitempty"`
				Users *[]string `tfsdk:"users" json:"users,omitempty"`
				Where *string   `tfsdk:"where" json:"where,omitempty"`
			} `tfsdk:"impersonate" json:"impersonate,omitempty"`
			Join_sessions *[]struct {
				Kinds *[]string `tfsdk:"kinds" json:"kinds,omitempty"`
				Modes *[]string `tfsdk:"modes" json:"modes,omitempty"`
				Name  *string   `tfsdk:"name" json:"name,omitempty"`
				Roles *[]string `tfsdk:"roles" json:"roles,omitempty"`
			} `tfsdk:"join_sessions" json:"join_sessions,omitempty"`
			Kubernetes_groups            *[]string          `tfsdk:"kubernetes_groups" json:"kubernetes_groups,omitempty"`
			Kubernetes_labels            *map[string]string `tfsdk:"kubernetes_labels" json:"kubernetes_labels,omitempty"`
			Kubernetes_labels_expression *string            `tfsdk:"kubernetes_labels_expression" json:"kubernetes_labels_expression,omitempty"`
			Kubernetes_resources         *[]struct {
				Kind      *string   `tfsdk:"kind" json:"kind,omitempty"`
				Name      *string   `tfsdk:"name" json:"name,omitempty"`
				Namespace *string   `tfsdk:"namespace" json:"namespace,omitempty"`
				Verbs     *[]string `tfsdk:"verbs" json:"verbs,omitempty"`
			} `tfsdk:"kubernetes_resources" json:"kubernetes_resources,omitempty"`
			Kubernetes_users       *[]string          `tfsdk:"kubernetes_users" json:"kubernetes_users,omitempty"`
			Logins                 *[]string          `tfsdk:"logins" json:"logins,omitempty"`
			Node_labels            *map[string]string `tfsdk:"node_labels" json:"node_labels,omitempty"`
			Node_labels_expression *string            `tfsdk:"node_labels_expression" json:"node_labels_expression,omitempty"`
			Request                *struct {
				Annotations     *map[string][]string `tfsdk:"annotations" json:"annotations,omitempty"`
				Claims_to_roles *[]struct {
					Claim *string   `tfsdk:"claim" json:"claim,omitempty"`
					Roles *[]string `tfsdk:"roles" json:"roles,omitempty"`
					Value *string   `tfsdk:"value" json:"value,omitempty"`
				} `tfsdk:"claims_to_roles" json:"claims_to_roles,omitempty"`
				Max_duration        *string   `tfsdk:"max_duration" json:"max_duration,omitempty"`
				Roles               *[]string `tfsdk:"roles" json:"roles,omitempty"`
				Search_as_roles     *[]string `tfsdk:"search_as_roles" json:"search_as_roles,omitempty"`
				Suggested_reviewers *[]string `tfsdk:"suggested_reviewers" json:"suggested_reviewers,omitempty"`
				Thresholds          *[]struct {
					Approve *int64  `tfsdk:"approve" json:"approve,omitempty"`
					Deny    *int64  `tfsdk:"deny" json:"deny,omitempty"`
					Filter  *string `tfsdk:"filter" json:"filter,omitempty"`
					Name    *string `tfsdk:"name" json:"name,omitempty"`
				} `tfsdk:"thresholds" json:"thresholds,omitempty"`
			} `tfsdk:"request" json:"request,omitempty"`
			Require_session_join *[]struct {
				Count    *int64    `tfsdk:"count" json:"count,omitempty"`
				Filter   *string   `tfsdk:"filter" json:"filter,omitempty"`
				Kinds    *[]string `tfsdk:"kinds" json:"kinds,omitempty"`
				Modes    *[]string `tfsdk:"modes" json:"modes,omitempty"`
				Name     *string   `tfsdk:"name" json:"name,omitempty"`
				On_leave *string   `tfsdk:"on_leave" json:"on_leave,omitempty"`
			} `tfsdk:"require_session_join" json:"require_session_join,omitempty"`
			Review_requests *struct {
				Claims_to_roles *[]struct {
					Claim *string   `tfsdk:"claim" json:"claim,omitempty"`
					Roles *[]string `tfsdk:"roles" json:"roles,omitempty"`
					Value *string   `tfsdk:"value" json:"value,omitempty"`
				} `tfsdk:"claims_to_roles" json:"claims_to_roles,omitempty"`
				Preview_as_roles *[]string `tfsdk:"preview_as_roles" json:"preview_as_roles,omitempty"`
				Roles            *[]string `tfsdk:"roles" json:"roles,omitempty"`
				Where            *string   `tfsdk:"where" json:"where,omitempty"`
			} `tfsdk:"review_requests" json:"review_requests,omitempty"`
			Rules *[]struct {
				Actions   *[]string `tfsdk:"actions" json:"actions,omitempty"`
				Resources *[]string `tfsdk:"resources" json:"resources,omitempty"`
				Verbs     *[]string `tfsdk:"verbs" json:"verbs,omitempty"`
				Where     *string   `tfsdk:"where" json:"where,omitempty"`
			} `tfsdk:"rules" json:"rules,omitempty"`
			Spiffe *[]struct {
				Dns_sans *[]string `tfsdk:"dns_sans" json:"dns_sans,omitempty"`
				Ip_sans  *[]string `tfsdk:"ip_sans" json:"ip_sans,omitempty"`
				Path     *string   `tfsdk:"path" json:"path,omitempty"`
			} `tfsdk:"spiffe" json:"spiffe,omitempty"`
			Windows_desktop_labels            *map[string]string `tfsdk:"windows_desktop_labels" json:"windows_desktop_labels,omitempty"`
			Windows_desktop_labels_expression *string            `tfsdk:"windows_desktop_labels_expression" json:"windows_desktop_labels_expression,omitempty"`
			Windows_desktop_logins            *[]string          `tfsdk:"windows_desktop_logins" json:"windows_desktop_logins,omitempty"`
		} `tfsdk:"allow" json:"allow,omitempty"`
		Deny *struct {
			App_labels                *map[string]string `tfsdk:"app_labels" json:"app_labels,omitempty"`
			App_labels_expression     *string            `tfsdk:"app_labels_expression" json:"app_labels_expression,omitempty"`
			Aws_role_arns             *[]string          `tfsdk:"aws_role_arns" json:"aws_role_arns,omitempty"`
			Azure_identities          *[]string          `tfsdk:"azure_identities" json:"azure_identities,omitempty"`
			Cluster_labels            *map[string]string `tfsdk:"cluster_labels" json:"cluster_labels,omitempty"`
			Cluster_labels_expression *string            `tfsdk:"cluster_labels_expression" json:"cluster_labels_expression,omitempty"`
			Db_labels                 *map[string]string `tfsdk:"db_labels" json:"db_labels,omitempty"`
			Db_labels_expression      *string            `tfsdk:"db_labels_expression" json:"db_labels_expression,omitempty"`
			Db_names                  *[]string          `tfsdk:"db_names" json:"db_names,omitempty"`
			Db_permissions            *[]struct {
				Match       *map[string]string `tfsdk:"match" json:"match,omitempty"`
				Permissions *[]string          `tfsdk:"permissions" json:"permissions,omitempty"`
			} `tfsdk:"db_permissions" json:"db_permissions,omitempty"`
			Db_roles                     *[]string          `tfsdk:"db_roles" json:"db_roles,omitempty"`
			Db_service_labels            *map[string]string `tfsdk:"db_service_labels" json:"db_service_labels,omitempty"`
			Db_service_labels_expression *string            `tfsdk:"db_service_labels_expression" json:"db_service_labels_expression,omitempty"`
			Db_users                     *[]string          `tfsdk:"db_users" json:"db_users,omitempty"`
			Desktop_groups               *[]string          `tfsdk:"desktop_groups" json:"desktop_groups,omitempty"`
			Gcp_service_accounts         *[]string          `tfsdk:"gcp_service_accounts" json:"gcp_service_accounts,omitempty"`
			Group_labels                 *map[string]string `tfsdk:"group_labels" json:"group_labels,omitempty"`
			Group_labels_expression      *string            `tfsdk:"group_labels_expression" json:"group_labels_expression,omitempty"`
			Host_groups                  *[]string          `tfsdk:"host_groups" json:"host_groups,omitempty"`
			Host_sudoers                 *[]string          `tfsdk:"host_sudoers" json:"host_sudoers,omitempty"`
			Impersonate                  *struct {
				Roles *[]string `tfsdk:"roles" json:"roles,omitempty"`
				Users *[]string `tfsdk:"users" json:"users,omitempty"`
				Where *string   `tfsdk:"where" json:"where,omitempty"`
			} `tfsdk:"impersonate" json:"impersonate,omitempty"`
			Join_sessions *[]struct {
				Kinds *[]string `tfsdk:"kinds" json:"kinds,omitempty"`
				Modes *[]string `tfsdk:"modes" json:"modes,omitempty"`
				Name  *string   `tfsdk:"name" json:"name,omitempty"`
				Roles *[]string `tfsdk:"roles" json:"roles,omitempty"`
			} `tfsdk:"join_sessions" json:"join_sessions,omitempty"`
			Kubernetes_groups            *[]string          `tfsdk:"kubernetes_groups" json:"kubernetes_groups,omitempty"`
			Kubernetes_labels            *map[string]string `tfsdk:"kubernetes_labels" json:"kubernetes_labels,omitempty"`
			Kubernetes_labels_expression *string            `tfsdk:"kubernetes_labels_expression" json:"kubernetes_labels_expression,omitempty"`
			Kubernetes_resources         *[]struct {
				Kind      *string   `tfsdk:"kind" json:"kind,omitempty"`
				Name      *string   `tfsdk:"name" json:"name,omitempty"`
				Namespace *string   `tfsdk:"namespace" json:"namespace,omitempty"`
				Verbs     *[]string `tfsdk:"verbs" json:"verbs,omitempty"`
			} `tfsdk:"kubernetes_resources" json:"kubernetes_resources,omitempty"`
			Kubernetes_users       *[]string          `tfsdk:"kubernetes_users" json:"kubernetes_users,omitempty"`
			Logins                 *[]string          `tfsdk:"logins" json:"logins,omitempty"`
			Node_labels            *map[string]string `tfsdk:"node_labels" json:"node_labels,omitempty"`
			Node_labels_expression *string            `tfsdk:"node_labels_expression" json:"node_labels_expression,omitempty"`
			Request                *struct {
				Annotations     *map[string][]string `tfsdk:"annotations" json:"annotations,omitempty"`
				Claims_to_roles *[]struct {
					Claim *string   `tfsdk:"claim" json:"claim,omitempty"`
					Roles *[]string `tfsdk:"roles" json:"roles,omitempty"`
					Value *string   `tfsdk:"value" json:"value,omitempty"`
				} `tfsdk:"claims_to_roles" json:"claims_to_roles,omitempty"`
				Max_duration        *string   `tfsdk:"max_duration" json:"max_duration,omitempty"`
				Roles               *[]string `tfsdk:"roles" json:"roles,omitempty"`
				Search_as_roles     *[]string `tfsdk:"search_as_roles" json:"search_as_roles,omitempty"`
				Suggested_reviewers *[]string `tfsdk:"suggested_reviewers" json:"suggested_reviewers,omitempty"`
				Thresholds          *[]struct {
					Approve *int64  `tfsdk:"approve" json:"approve,omitempty"`
					Deny    *int64  `tfsdk:"deny" json:"deny,omitempty"`
					Filter  *string `tfsdk:"filter" json:"filter,omitempty"`
					Name    *string `tfsdk:"name" json:"name,omitempty"`
				} `tfsdk:"thresholds" json:"thresholds,omitempty"`
			} `tfsdk:"request" json:"request,omitempty"`
			Require_session_join *[]struct {
				Count    *int64    `tfsdk:"count" json:"count,omitempty"`
				Filter   *string   `tfsdk:"filter" json:"filter,omitempty"`
				Kinds    *[]string `tfsdk:"kinds" json:"kinds,omitempty"`
				Modes    *[]string `tfsdk:"modes" json:"modes,omitempty"`
				Name     *string   `tfsdk:"name" json:"name,omitempty"`
				On_leave *string   `tfsdk:"on_leave" json:"on_leave,omitempty"`
			} `tfsdk:"require_session_join" json:"require_session_join,omitempty"`
			Review_requests *struct {
				Claims_to_roles *[]struct {
					Claim *string   `tfsdk:"claim" json:"claim,omitempty"`
					Roles *[]string `tfsdk:"roles" json:"roles,omitempty"`
					Value *string   `tfsdk:"value" json:"value,omitempty"`
				} `tfsdk:"claims_to_roles" json:"claims_to_roles,omitempty"`
				Preview_as_roles *[]string `tfsdk:"preview_as_roles" json:"preview_as_roles,omitempty"`
				Roles            *[]string `tfsdk:"roles" json:"roles,omitempty"`
				Where            *string   `tfsdk:"where" json:"where,omitempty"`
			} `tfsdk:"review_requests" json:"review_requests,omitempty"`
			Rules *[]struct {
				Actions   *[]string `tfsdk:"actions" json:"actions,omitempty"`
				Resources *[]string `tfsdk:"resources" json:"resources,omitempty"`
				Verbs     *[]string `tfsdk:"verbs" json:"verbs,omitempty"`
				Where     *string   `tfsdk:"where" json:"where,omitempty"`
			} `tfsdk:"rules" json:"rules,omitempty"`
			Spiffe *[]struct {
				Dns_sans *[]string `tfsdk:"dns_sans" json:"dns_sans,omitempty"`
				Ip_sans  *[]string `tfsdk:"ip_sans" json:"ip_sans,omitempty"`
				Path     *string   `tfsdk:"path" json:"path,omitempty"`
			} `tfsdk:"spiffe" json:"spiffe,omitempty"`
			Windows_desktop_labels            *map[string]string `tfsdk:"windows_desktop_labels" json:"windows_desktop_labels,omitempty"`
			Windows_desktop_labels_expression *string            `tfsdk:"windows_desktop_labels_expression" json:"windows_desktop_labels_expression,omitempty"`
			Windows_desktop_logins            *[]string          `tfsdk:"windows_desktop_logins" json:"windows_desktop_logins,omitempty"`
		} `tfsdk:"deny" json:"deny,omitempty"`
		Options *struct {
			Cert_extensions *[]struct {
				Mode  *string `tfsdk:"mode" json:"mode,omitempty"`
				Name  *string `tfsdk:"name" json:"name,omitempty"`
				Type  *string `tfsdk:"type" json:"type,omitempty"`
				Value *string `tfsdk:"value" json:"value,omitempty"`
			} `tfsdk:"cert_extensions" json:"cert_extensions,omitempty"`
			Cert_format                    *string   `tfsdk:"cert_format" json:"cert_format,omitempty"`
			Client_idle_timeout            *string   `tfsdk:"client_idle_timeout" json:"client_idle_timeout,omitempty"`
			Create_db_user                 *bool     `tfsdk:"create_db_user" json:"create_db_user,omitempty"`
			Create_db_user_mode            *string   `tfsdk:"create_db_user_mode" json:"create_db_user_mode,omitempty"`
			Create_desktop_user            *bool     `tfsdk:"create_desktop_user" json:"create_desktop_user,omitempty"`
			Create_host_user               *bool     `tfsdk:"create_host_user" json:"create_host_user,omitempty"`
			Create_host_user_default_shell *string   `tfsdk:"create_host_user_default_shell" json:"create_host_user_default_shell,omitempty"`
			Create_host_user_mode          *string   `tfsdk:"create_host_user_mode" json:"create_host_user_mode,omitempty"`
			Desktop_clipboard              *bool     `tfsdk:"desktop_clipboard" json:"desktop_clipboard,omitempty"`
			Desktop_directory_sharing      *bool     `tfsdk:"desktop_directory_sharing" json:"desktop_directory_sharing,omitempty"`
			Device_trust_mode              *string   `tfsdk:"device_trust_mode" json:"device_trust_mode,omitempty"`
			Disconnect_expired_cert        *bool     `tfsdk:"disconnect_expired_cert" json:"disconnect_expired_cert,omitempty"`
			Enhanced_recording             *[]string `tfsdk:"enhanced_recording" json:"enhanced_recording,omitempty"`
			Forward_agent                  *bool     `tfsdk:"forward_agent" json:"forward_agent,omitempty"`
			Idp                            *struct {
				Saml *struct {
					Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"`
				} `tfsdk:"saml" json:"saml,omitempty"`
			} `tfsdk:"idp" json:"idp,omitempty"`
			Lock                       *string `tfsdk:"lock" json:"lock,omitempty"`
			Max_connections            *int64  `tfsdk:"max_connections" json:"max_connections,omitempty"`
			Max_kubernetes_connections *int64  `tfsdk:"max_kubernetes_connections" json:"max_kubernetes_connections,omitempty"`
			Max_session_ttl            *string `tfsdk:"max_session_ttl" json:"max_session_ttl,omitempty"`
			Max_sessions               *int64  `tfsdk:"max_sessions" json:"max_sessions,omitempty"`
			Mfa_verification_interval  *string `tfsdk:"mfa_verification_interval" json:"mfa_verification_interval,omitempty"`
			Permit_x11_forwarding      *bool   `tfsdk:"permit_x11_forwarding" json:"permit_x11_forwarding,omitempty"`
			Pin_source_ip              *bool   `tfsdk:"pin_source_ip" json:"pin_source_ip,omitempty"`
			Port_forwarding            *bool   `tfsdk:"port_forwarding" json:"port_forwarding,omitempty"`
			Record_session             *struct {
				Default *string `tfsdk:"default" json:"default,omitempty"`
				Desktop *bool   `tfsdk:"desktop" json:"desktop,omitempty"`
				Ssh     *string `tfsdk:"ssh" json:"ssh,omitempty"`
			} `tfsdk:"record_session" json:"record_session,omitempty"`
			Request_access      *string `tfsdk:"request_access" json:"request_access,omitempty"`
			Request_prompt      *string `tfsdk:"request_prompt" json:"request_prompt,omitempty"`
			Require_session_mfa *string `tfsdk:"require_session_mfa" json:"require_session_mfa,omitempty"`
			Ssh_file_copy       *bool   `tfsdk:"ssh_file_copy" json:"ssh_file_copy,omitempty"`
		} `tfsdk:"options" json:"options,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL