entitlement

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OwnerSchemeObject = map[string]attr.Type{
	"type": types.StringType,
	"id":   types.StringType,
	"name": types.StringType,
}

Functions

func NewEntitlementDataSource

func NewEntitlementDataSource() datasource.DataSource

func NewEntitlementRequestConfigResource

func NewEntitlementRequestConfigResource() resource.Resource

func NewEntitlementResource

func NewEntitlementResource() resource.Resource

Types

type AccessProfileApprovalScheme

type AccessProfileApprovalScheme struct {
	// Describes the individual or group that is responsible for an approval step. Values are as follows. **APP_OWNER**: The owner of the Application  **OWNER**: Owner of the associated Access Profile or Role  **SOURCE_OWNER**: Owner of the Source associated with an Access Profile  **MANAGER**: Manager of the Identity making the request  **GOVERNANCE_GROUP**: A Governance Group, the ID of which is specified by the **approverId** field
	ApproverType types.String `tfsdk:"approver_type"`
	// Id of the specific approver, used only when approverType is GOVERNANCE_GROUP
	ApproverId types.String `tfsdk:"approver_id"`
}

AccessProfileApprovalScheme struct for AccessProfileApprovalScheme

type Entitlement

type Entitlement struct {
	// The entitlement id
	Id types.String `tfsdk:"id"`
	// The entitlement name
	Name types.String `tfsdk:"name"`
	// Time when the entitlement was created
	Created types.String `tfsdk:"created"`
	// Time when the entitlement was last modified
	Modified types.String `tfsdk:"modified"`
	// The entitlement attribute name
	Attribute types.String `tfsdk:"attribute"`
	// The value of the entitlement
	Value types.String `tfsdk:"value"`
	// The object type of the entitlement from the source schema
	SourceSchemaObjectType types.String `tfsdk:"source_schema_object_type"`
	// True if the entitlement is privileged
	Privileged types.Bool `tfsdk:"privileged"`
	// True if the entitlement is cloud governed
	CloudGoverned types.Bool `tfsdk:"cloud_governed"`
	// The description of the entitlement
	Description types.String `tfsdk:"description"`
	// True if the entitlement is requestable
	Requestable types.Bool `tfsdk:"requestable"`
	// A map of free-form key-value pairs from the source system
	// Attributes map[string]interface{} `tfsdk:"attributes"`
	SourceID types.String `tfsdk:"source_id"`
	// OwnerID  types.String `tfsdk:"owner_id"`
	Owner *OwnerReference `tfsdk:"owner"`
}

Entitlement struct for Entitlement

type EntitlementDataSource

type EntitlementDataSource struct {
	// contains filtered or unexported fields
}

func (*EntitlementDataSource) Configure

func (*EntitlementDataSource) Metadata

func (*EntitlementDataSource) Read

func (*EntitlementDataSource) Schema

type EntitlementRequestConfig

type EntitlementRequestConfig struct {
	// The entitlement id
	Id                  types.String    `tfsdk:"id"`
	AccessRequestConfig *Requestability `tfsdk:"access_request_config"`
}

Entitlement struct for Entitlement

type EntitlementRequestConfigResource

type EntitlementRequestConfigResource struct {
	// contains filtered or unexported fields
}

func (*EntitlementRequestConfigResource) Configure

func (*EntitlementRequestConfigResource) Create

func (*EntitlementRequestConfigResource) Delete

func (*EntitlementRequestConfigResource) ImportState

func (*EntitlementRequestConfigResource) Metadata

func (*EntitlementRequestConfigResource) Read

func (*EntitlementRequestConfigResource) Schema

func (*EntitlementRequestConfigResource) Update

type EntitlementResource

type EntitlementResource struct {
	// contains filtered or unexported fields
}

func (*EntitlementResource) Configure

func (*EntitlementResource) Create

func (*EntitlementResource) Delete

func (*EntitlementResource) ImportState

func (*EntitlementResource) Metadata

func (*EntitlementResource) Read

func (*EntitlementResource) Schema

func (*EntitlementResource) Update

func (EntitlementResource) ValidateConfig

type EntitlementSource

type EntitlementSource struct {
	// The source ID
	Id types.String `tfsdk:"id"`
	// The source type, will always be \"SOURCE\"
	Type types.String `tfsdk:"type"`
	// The source name
	Name types.String `tfsdk:"name"`
}

EntitlementSource struct for EntitlementSource

type OwnerReference

type OwnerReference struct {
	Type types.String `tfsdk:"type"`
	// Identity id
	Id types.String `tfsdk:"id"`
	// Human-readable display name of the owner. It may be left null or omitted in a POST or PATCH. If set, it must match the current value of the owner's display name, otherwise a 400 Bad Request error will result.
	Name types.String `tfsdk:"name"`
}

type OwnerReferenceDto

type OwnerReferenceDto struct {
	// The owner id for the entitlement
	Id types.String `tfsdk:"id"`
	// The owner name for the entitlement
	Name types.String `tfsdk:"name"`
	// The type of the owner. Initially only type IDENTITY is supported
	Type types.String `tfsdk:"type"`
}

OwnerReferenceDto Simplified DTO for the owner object of the entitlement

type Requestability

type Requestability struct {
	// Whether the requester of the containing object must provide comments justifying the request
	CommentsRequired types.Bool `tfsdk:"comments_required"`
	// Whether an approver must provide comments when denying the request
	DenialCommentsRequired types.Bool `tfsdk:"denial_comments_required"`
	// List describing the steps in approving the request
	ApprovalSchemes []AccessProfileApprovalScheme `tfsdk:"approval_schemes"`
}

Requestability struct for Requestability

Jump to

Keyboard shortcuts

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