Documentation ¶
Index ¶
- Constants
- func V1MembershipEntitlementID(resourceID string) string
- type AWSRoles
- type Binding
- type Config
- type CustomRoles
- type Link
- type Links
- type LinksSelf
- type LinksSelfBinding
- type Members
- type MembersDetails
- type Next
- type Okta
- func (c *Okta) Asset(ctx context.Context, asset *v2.AssetRef) (string, io.ReadCloser, error)
- func (c *Okta) ListResourceTypes(ctx context.Context, request *v2.ResourceTypesServiceListResourceTypesRequest) (*v2.ResourceTypesServiceListResourceTypesResponse, error)
- func (c *Okta) Metadata(ctx context.Context) (*v2.ConnectorMetadata, error)
- func (o *Okta) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncer
- func (c *Okta) Validate(ctx context.Context) (annotations.Annotations, error)
- type OktaAppGroupWrapper
- type ResourceSet
- type ResourceSets
- type ResourceSetsAPIData
- type ResourceSetsBindingsAPIData
- type Role
- type RoleAssignment
- type RoleAssignments
- type Roles
- type Self
Constants ¶
View Source
const ( V1MembershipEntitlementIDTemplate = "membership:%s" V1GrantIDTemplate = "grant:%s:%s" )
View Source
const ( ContentType = "application/json" NF = -1 )
View Source
const AccessDeniedErrorCode = "E0000006"
View Source
const ExpectedGroupNameCaptureGroupsWithGroupFilterForMultipleAWSInstances = 3
View Source
const ExpectedIdentityProviderArnRegexCaptureGroups = 2
View Source
const ResourceNotFoundExceptionErrorCode = "E0000007"
TODO: use isNotFoundError() since E0000008 is also a not found error
Variables ¶
This section is empty.
Functions ¶
func V1MembershipEntitlementID ¶ added in v0.0.6
Types ¶
type Config ¶ added in v0.1.5
type Config struct { Domain string ApiToken string OktaClientId string OktaPrivateKey string OktaPrivateKeyId string SyncInactiveApps bool OktaProvisioning bool Ciam bool CiamEmailDomains []string Cache bool CacheTTI int32 CacheTTL int32 SyncCustomRoles bool SkipSecondaryEmails bool AWSMode bool AWSOktaAppId string }
type CustomRoles ¶ added in v0.1.14
type LinksSelfBinding ¶ added in v0.1.16
type MembersDetails ¶ added in v0.1.16
type Okta ¶
type Okta struct {
// contains filtered or unexported fields
}
func (*Okta) ListResourceTypes ¶
func (c *Okta) ListResourceTypes(ctx context.Context, request *v2.ResourceTypesServiceListResourceTypesRequest) (*v2.ResourceTypesServiceListResourceTypesResponse, error)
func (*Okta) ResourceSyncers ¶
func (o *Okta) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncer
func (*Okta) Validate ¶
func (c *Okta) Validate(ctx context.Context) (annotations.Annotations, error)
type OktaAppGroupWrapper ¶ added in v0.1.13
type OktaAppGroupWrapper struct {
// contains filtered or unexported fields
}
type ResourceSet ¶ added in v0.1.16
type ResourceSet struct {
Href string `json:"href,omitempty"`
}
type ResourceSets ¶ added in v0.1.14
type ResourceSetsAPIData ¶ added in v0.1.14
type ResourceSetsAPIData struct { ResourceSets []ResourceSets `json:"resource-sets,omitempty"` Links Link `json:"_links,omitempty"` }
type ResourceSetsBindingsAPIData ¶ added in v0.1.16
type ResourceSetsBindingsAPIData struct { Roles []Role `json:"roles,omitempty"` Links _Links `json:"_links"` }
type RoleAssignment ¶ added in v0.1.20
type RoleAssignments ¶ added in v0.1.20
type RoleAssignments struct { RoleAssignments []*RoleAssignment `json:"value,omitempty"` Links interface{} `json:"_links,omitempty"` }
type Roles ¶ added in v0.1.16
type Roles struct { Links interface{} `json:"_links,omitempty"` AssignmentType string `json:"assignmentType,omitempty"` Created *time.Time `json:"created,omitempty"` Description string `json:"description,omitempty"` Id string `json:"id,omitempty"` Label string `json:"label,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` Status string `json:"status,omitempty"` Type string `json:"type,omitempty"` ResourceSet string `json:"resource-set,omitempty"` Role string `json:"role,omitempty"` }
Id is the role assignment id Role is the role id.
Click to show internal directories.
Click to hide internal directories.