accessprofile

package
v0.0.0-...-0c40f91 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAccessProfileDataSource

func NewAccessProfileDataSource() datasource.DataSource

func NewAccessProfileResource

func NewAccessProfileResource() resource.Resource

Types

type AccessProfile

type AccessProfile struct {
	// The ID of the Access Profile
	Id types.String `tfsdk:"id"`
	// Name of the Access Profile
	Name types.String `tfsdk:"name" json:"name"`
	// Information about the Access Profile
	Description types.String `json:"description" tfsdk:"description"`
	// Date the Access Profile was created
	Created types.String `tfsdk:"created"`
	// Date the Access Profile was last modified.
	// Modified types.String `tfsdk:"modified"`
	// Whether the Access Profile is enabled. If the Access Profile is enabled then you must include at least one Entitlement.
	Enabled types.Bool `tfsdk:"enabled"`
	// SourceID types.String `tfsdk:"source_id"`
	// OwnerID types.String `tfsdk:"owner_id"`
	Owner  *OwnerReference         `tfsdk:"owner"`
	Source *AccessProfileSourceRef `tfsdk:"source"`
	// A list of entitlements associated with the Access Profile. If enabled is false this is allowed to be empty otherwise it needs to contain at least one Entitlement.
	Entitlements []EntitlementRef `tfsdk:"entitlements"`
	// Whether the Access Profile is requestable via access request. Currently, making an Access Profile non-requestable is only supported  for customers enabled with the new Request Center. Otherwise, attempting to create an Access Profile with a value  **false** in this field results in a 400 error.
	Requestable             types.Bool      `tfsdk:"requestable"`
	AccessRequestConfig     *Requestability `tfsdk:"access_request_config"`
	RevocationRequestConfig *Revocability   `tfsdk:"revocation_request_config"`
}

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 AccessProfileDataSource

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

func (*AccessProfileDataSource) Configure

func (*AccessProfileDataSource) Metadata

func (*AccessProfileDataSource) Read

func (*AccessProfileDataSource) Schema

type AccessProfileResource

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

func (*AccessProfileResource) Configure

func (*AccessProfileResource) Create

func (*AccessProfileResource) Delete

func (*AccessProfileResource) ImportState

func (*AccessProfileResource) Metadata

func (*AccessProfileResource) Read

func (*AccessProfileResource) Schema

func (*AccessProfileResource) Update

type AccessProfileSourceRef

type AccessProfileSourceRef struct {
	// The ID of the Source with with which the Access Profile is associated
	Id types.String `tfsdk:"id"`
	// The type of the Source, will always be SOURCE
	Type types.String `tfsdk:"type"`
	// The display name of the associated Source
	Name types.String `tfsdk:"name"`
}

AccessProfileSourceRef struct for AccessProfileSourceRef

type AccessProfiles

type AccessProfiles struct {
	AccessProfiles []AccessProfile `tfsdk:"governance_groups"`
}

AccessProfiles -

type EntitlementRef

type EntitlementRef struct {
	// The ID of the Entitlement
	Id types.String `tfsdk:"id"`
	// The type of the Entitlement, will always be ENTITLEMENT
	Type types.String `tfsdk:"type"`
}

EntitlementRef struct for EntitlementRef

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 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

type Revocability

type Revocability 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 revocation request
	ApprovalSchemes []AccessProfileApprovalScheme `tfsdk:"approval_schemes"`
}

Revocability struct for Revocability

Jump to

Keyboard shortcuts

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