Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessProvider ¶
type AccessProvider struct {
Id string `yaml:"id" json:"id"`
Name string `yaml:"name" json:"name"`
Description string `yaml:"description" json:"description"`
NamingHint string `yaml:"namingHint" json:"namingHint"`
Type *string `yaml:"type" json:"type"`
ExternalId *string `yaml:"externalId" json:"externalId"`
Action types.Action `yaml:"action" json:"action"`
Who WhoItem `yaml:"who" json:"who"`
DeletedWho *WhoItem `yaml:"deletedWho" json:"deletedWho"`
Delete bool `yaml:"delete" json:"delete"`
WhoLocked *bool `yaml:"whoLocked" json:"whoLocked"`
InheritanceLocked *bool `yaml:"inheritanceLocked" json:"inheritanceLocked"`
WhatLocked *bool `yaml:"whatLocked" json:"whatLocked"`
DeleteLocked *bool `yaml:"deleteLocked" json:"deleteLocked"`
// Row level filter properties
PolicyRule *string `yaml:"policyRule,omitempty" json:"policyRule,omitempty"`
FilterCriteria *bexpression.DataComparisonExpression `yaml:"filterCriteria,omitempty" json:"filterCriteria,omitempty"`
ActualName *string `yaml:"actualName" json:"actualName"`
What []WhatItem `yaml:"what" json:"what"`
DeleteWhat []WhatItem `yaml:"deleteWhat" json:"deleteWhat"`
}
type AccessProviderImport ¶
type AccessProviderImport struct {
LastCalculated int64 `yaml:"lastCalculated" json:"lastCalculated"`
AccessProviders []*AccessProvider `yaml:"accessProviders" json:"accessProviders"`
}
func ParseAccessProviderImportFile ¶
func ParseAccessProviderImportFile(config *access_provider.AccessSyncToTarget) (*AccessProviderImport, error)
type AccessProviderImportFileParser ¶ added in v0.23.6
type AccessProviderImportFileParser interface {
ParseAccessProviders() (*AccessProviderImport, error)
}
func NewAccessProviderFileParser ¶ added in v0.23.6
func NewAccessProviderFileParser(config *access_provider.AccessSyncToTarget) (AccessProviderImportFileParser, error)
type AccessProviderSyncFeedback ¶ added in v0.52.0
type AccessProviderSyncFeedback struct {
AccessProvider string `yaml:"accessProvider" json:"accessProvider"`
ActualName string `yaml:"actualName" json:"actualName"`
ExternalId *string `yaml:"externalId" json:"externalId"`
Type *string `yaml:"type" json:"type"`
Errors []string `yaml:"errors" json:"errors"`
Warnings []string `yaml:"warnings" json:"warnings"`
}
type SyncFeedbackFileCreator ¶
type SyncFeedbackFileCreator interface {
AddAccessProviderFeedback(accessProviderFeedback AccessProviderSyncFeedback) error
Close()
GetAccessProviderCount() int
}
func NewFeedbackFileCreator ¶
func NewFeedbackFileCreator(config *access_provider.AccessSyncToTarget) (SyncFeedbackFileCreator, error)
NewFeedbackFileCreator creates a new SyncFeedbackFileCreator based on the configuration coming from the Raito CLI.
type WhatItem ¶
type WhatItem struct {
DataObject *data_source.DataObjectReference `yaml:"dataObject" json:"dataObject"`
Permissions []string `yaml:"permissions" json:"permissions"`
}
type WhoItem ¶
type WhoItem struct {
// Users contains all account names directly assigned to this access provider
Users []string `yaml:"users,omitempty" json:"users,omitempty"`
// Groups contains all group names assigned to this access provider
Groups []string `yaml:"groups,omitempty" json:"groups,omitempty"`
// InheritFrom contains all access providers actual names in WHO part of this access provider
InheritFrom []string `yaml:"inheritFrom,omitempty" json:"inheritFrom,omitempty"`
// Recipients contains all identifiers of data share recipients
Recipients []string `yaml:"recipients,omitempty" json:"recipients,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.