Documentation ¶
Index ¶
- Variables
- type AccessBundleModel
- type AccessFlowModel
- type ApproverGroup
- type ApproverPolicy
- type AttributeFilter
- type AwsSecret
- type BundleTarget
- type GcpSecret
- type GranteeFilterGroup
- type HashicorpVaultSecret
- type Identity
- type IntegrationModel
- type IntegrationOwner
- type IntegrationTarget
- type KubernetesSecret
- type ManualWebhookAuthenticationConfigModel
- type ManualWebhookHttpRequestTypeModel
- type ManualWebhookIntegrationTypeModel
- type ManualWebhookModel
- type ManualWebhookResponseValidatorModel
- type ManualWebhookTypeModel
- type ResourceFilter
- type ResourceOwnerMapping
- type Settings
- type Timeframe
- type Trigger
- type WebhookOAuthConfigModel
Constants ¶
This section is empty.
Variables ¶
View Source
var ApproverPolicyGroupObject = map[string]attr.Type{ "conditions_logical_operator": types.StringType, "attribute_conditions": basetypes.SetType{ElemType: basetypes.ObjectType{AttrTypes: AttributeFilterObject}}, }
View Source
var ApproverPolicyObject = map[string]attr.Type{ "approver_groups_relationship": types.StringType, "approver_groups": basetypes.SetType{ElemType: basetypes.ObjectType{AttrTypes: ApproverPolicyGroupObject}}, }
View Source
var AttributeFilterObject = map[string]attr.Type{ "operator": types.StringType, "attribute_type": types.StringType, "attribute_names": basetypes.SetType{ElemType: types.StringType}, "integration_id": types.StringType, }
View Source
var GranteeFilterGroupObject = map[string]attr.Type{ "conditions_logical_operator": types.StringType, "attribute_conditions": basetypes.SetType{ElemType: basetypes.ObjectType{AttrTypes: AttributeFilterObject}}, }
View Source
var IdentityObject = map[string]attr.Type{ "name": types.StringType, "type": types.StringType, }
Functions ¶
This section is empty.
Types ¶
type AccessBundleModel ¶ added in v0.2.3
type AccessBundleModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` IntegrationTargets []IntegrationTarget `tfsdk:"integration_targets"` }
AccessBundleModel describes the resource data model.
type AccessFlowModel ¶ added in v0.2.2
type AccessFlowModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Active types.Bool `tfsdk:"active"` RevokeAfterInSec types.Number `tfsdk:"revoke_after_in_sec"` Trigger *Trigger `tfsdk:"trigger"` Grantees types.Set `tfsdk:"grantees"` GranteesFilterGroup types.Object `tfsdk:"grantees_conditions_group"` IntegrationTargets []IntegrationTarget `tfsdk:"integration_targets"` BundleTargets []BundleTarget `tfsdk:"bundle_targets"` Approvers types.Set `tfsdk:"approvers"` ApproverPolicy types.Object `tfsdk:"approver_policy"` Settings *Settings `tfsdk:"settings"` Labels types.List `tfsdk:"labels"` }
AccessFlowModel describes the resource data model.
type ApproverGroup ¶ added in v1.2.0
type ApproverPolicy ¶ added in v1.2.0
type AttributeFilter ¶ added in v1.0.0
type BundleTarget ¶ added in v0.2.3
type GranteeFilterGroup ¶ added in v1.0.0
type HashicorpVaultSecret ¶ added in v1.3.0
type IntegrationModel ¶
type IntegrationModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Type types.String `tfsdk:"type"` ConnectorID types.String `tfsdk:"connector_id"` ConnectedResourceTypes types.Set `tfsdk:"connected_resource_types"` Metadata types.Map `tfsdk:"metadata"` CustomAccessDetails types.String `tfsdk:"custom_access_details"` AwsSecret *AwsSecret `tfsdk:"aws_secret"` GcpSecret *GcpSecret `tfsdk:"gcp_secret"` KubernetesSecret *KubernetesSecret `tfsdk:"kubernetes_secret"` HashicorpVaultSecret *HashicorpVaultSecret `tfsdk:"hashicorp_vault_secret"` ResourceOwnerMappings []ResourceOwnerMapping `tfsdk:"resource_owner_mappings"` IntegrationOwners []IntegrationOwner `tfsdk:"integration_owners"` }
IntegrationModel describes the resource data model.
type IntegrationOwner ¶ added in v1.1.0
type IntegrationTarget ¶ added in v0.2.2
type IntegrationTarget struct { Name types.String `tfsdk:"name"` ResourceType types.String `tfsdk:"resource_type"` ResourceIncludeFilters []ResourceFilter `tfsdk:"resource_include_filters"` ResourceExcludeFilters []ResourceFilter `tfsdk:"resource_exclude_filters"` Permissions types.Set `tfsdk:"permissions"` }
type KubernetesSecret ¶
type ManualWebhookAuthenticationConfigModel ¶ added in v1.5.0
type ManualWebhookAuthenticationConfigModel struct {
Oauth *WebhookOAuthConfigModel `tfsdk:"oauth"`
}
type ManualWebhookHttpRequestTypeModel ¶ added in v1.5.0
type ManualWebhookIntegrationTypeModel ¶ added in v1.5.0
type ManualWebhookModel ¶ added in v1.5.0
type ManualWebhookModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Active types.Bool `tfsdk:"active"` Type ManualWebhookTypeModel `tfsdk:"type"` BodyTemplate types.String `tfsdk:"body_template"` ResponseValidators []ManualWebhookResponseValidatorModel `tfsdk:"response_validators"` TimeoutInSec types.Int64 `tfsdk:"timeout_in_sec"` AuthenticationConfig *ManualWebhookAuthenticationConfigModel `tfsdk:"authentication_config"` CustomValidationErrorMessage types.String `tfsdk:"custom_validation_error_message"` }
ManualWebhookModel describes the resource data model.
type ManualWebhookResponseValidatorModel ¶ added in v1.5.0
type ManualWebhookTypeModel ¶ added in v1.5.0
type ManualWebhookTypeModel struct { HttpRequest *ManualWebhookHttpRequestTypeModel `tfsdk:"http_request"` Integration *ManualWebhookIntegrationTypeModel `tfsdk:"integration"` }
type ResourceFilter ¶ added in v0.2.2
type ResourceOwnerMapping ¶ added in v1.1.0
type Settings ¶ added in v0.2.2
type Settings struct { RequireJustificationOnRequestAgain types.Bool `tfsdk:"require_justification_on_request_again"` RequireAllApprovers types.Bool `tfsdk:"require_all_approvers"` ApproverCannotSelfApprove types.Bool `tfsdk:"approver_cannot_self_approve"` RequireMFA types.Bool `tfsdk:"require_mfa"` }
Click to show internal directories.
Click to hide internal directories.