types

package
v0.0.0-...-50d433d Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addresses

type Addresses struct {
	Formatted     string `json:"formatted,omitempty"`
	StreetAddress string `json:"streetAddress,omitempty"`
	Locality      string `json:"locality,omitempty"`
	Region        string `json:"region,omitempty"`
	PostalCode    string `json:"postalCode,omitempty"`
	Country       string `json:"country,omitempty"`
}

type Attributes

type Attributes struct {
	Name          string          `json:"name"`
	Type          string          `json:"type"`
	MultiValued   bool            `json:"multiValued"`
	Required      bool            `json:"required"`
	CaseExact     bool            `json:"caseExact,omitempty"`
	SubAttributes []SubAttributes `json:"subAttributes,omitempty"`
	Mutability    string          `json:"mutability,omitempty"`
	Returned      string          `json:"returned,omitempty"`
}

type AuthenticationSchemes

type AuthenticationSchemes struct {
	Type        string `json:"type"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

type Bulk

type Bulk struct {
	Supported      bool `json:"supported"`
	MaxOperations  int  `json:"maxOperations"`
	MaxPayloadSize int  `json:"maxPayloadSize"`
}

type ChangePassword

type ChangePassword struct {
	Supported bool `json:"supported"`
}

type Container

type Container struct {
	Name                                   string                                 `json:"name"`
	DisplayName                            string                                 `json:"displayName,omitempty"`
	Description                            string                                 `json:"description,omitempty"`
	Type                                   string                                 `json:"type,omitempty"`
	Parent                                 Parent                                 `json:"parent,omitempty"`
	Owner                                  Owner                                  `json:"owner,omitempty"`
	PrivilegedData                         []PrivilegedDataRef                    `json:"privilegedData,omitempty"`
	Schemas                                []string                               `json:"schemas"`
	Id                                     string                                 `json:"id"`
	ExternalId                             string                                 `json:"externalId,omitempty"`
	Meta                                   Meta                                   `json:"meta"`
	UrnIetfParamsScimSchemasCyberark10Safe UrnIetfParamsScimSchemasCyberark10Safe `json:"urn:ietf:params:scim:schemas:cyberark:1.0:Safe"`
}

type ContainerPermission

type ContainerPermission struct {
	Container                                    ContainerRef                                 `json:"container"`
	User                                         UserRef                                      `json:"user,omitempty"`
	Group                                        GroupRef                                     `json:"group,omitempty"`
	Rights                                       []string                                     `json:"rights"`
	Schemas                                      []string                                     `json:"schemas"`
	Id                                           string                                       `json:"id"`
	ExternalId                                   string                                       `json:"externalId,omitempty"`
	Meta                                         Meta                                         `json:"meta"`
	UrnIetfParamsScimSchemasCyberark10SafeMember UrnIetfParamsScimSchemasCyberark10SafeMember `json:"urn:ietf:params:scim:schemas:cyberark:1.0:SafeMember"`
}

type ContainerPermissions

type ContainerPermissions struct {
	Schemas      []string              `json:"schemas"`
	TotalResults int                   `json:"totalResults"`
	ItemsPerPage int                   `json:"itemsPerPage"`
	StartIndex   int                   `json:"startIndex"`
	Resources    []ContainerPermission `json:"Resources"`
}

type ContainerRef

type ContainerRef struct {
	Value   string `json:"value,omitempty"`
	Ref     string `json:"$ref,omitempty"`
	Name    string `json:"name,omitempty"`
	Display string `json:"display,omitempty"`
}

type Containers

type Containers struct {
	Schemas      []string    `json:"schemas"`
	TotalResults int         `json:"totalResults"`
	ItemsPerPage int         `json:"itemsPerPage"`
	StartIndex   int         `json:"startIndex"`
	Resources    []Container `json:"Resources"`
}

type Emails

type Emails struct {
	Type    string `json:"type,omitempty"`
	Primary bool   `json:"primary,omitempty"`
	Value   string `json:"value,omitempty"`
	Display string `json:"display,omitempty"`
	Ref     string `json:"$ref,omitempty"`
}

type Etag

type Etag struct {
	Supported bool `json:"supported"`
}

type Filter

type Filter struct {
	Supported  bool `json:"supported"`
	MaxResults int  `json:"maxResults"`
}

type Group

type Group struct {
	DisplayName                             string                                  `json:"displayName"`
	Members                                 []Members                               `json:"members,omitempty"`
	Schemas                                 []string                                `json:"schemas"`
	Id                                      string                                  `json:"id"`
	Meta                                    Meta                                    `json:"meta"`
	ExternalId                              string                                  `json:"externalId,omitempty"`
	UrnIetfParamsScimSchemasCyberark10Group UrnIetfParamsScimSchemasCyberark10Group `json:"urn:ietf:params:scim:schemas:cyberark:1.0:Group,omitempty"`
}

type GroupRef

type GroupRef struct {
	Value   string `json:"value,omitempty"`
	Ref     string `json:"$ref,omitempty"`
	Display string `json:"display,omitempty"`
}

Used with "ContainerPermissions and PrivilegedDataPermissions"

type Groups

type Groups struct {
	Schemas      []string `json:"schemas"`
	TotalResults int      `json:"totalResults"`
	Resources    []Groups `json:"Resources"`
	StartIndex   int      `json:"startIndex,omitempty"`
	ItemsPerPage int      `json:"itemsPerPage"`
}

type Ims

type Ims struct {
	Type    string `json:"type,omitempty"`
	Primary bool   `json:"primary,omitempty"`
	Value   string `json:"value,omitempty"`
	Display string `json:"display,omitempty"`
	Ref     string `json:"$ref,omitempty"`
}

type Manager

type Manager struct {
	Value       string `json:"value,omitempty"`
	DisplayName string `json:"displayName,omitempty"`
	Ref         string `json:"$ref,omitempty"`
}

type Members

type Members struct {
	Value   string `json:"value,omitempty"`
	Type    string `json:"type,omitempty"`
	Ref     string `json:"$ref,omitempty"`
	Display string `json:"display,omitempty"`
}

type Meta

type Meta struct {
	ResourceType string    `json:"resourceType,omitempty"`
	Created      time.Time `json:"created,omitempty"`
	LastModified time.Time `json:"lastModified,omitempty"`
	Location     string    `json:"location,omitempty"`
	Version      string    `json:"version,omitempty"`
}

Used in all responses

type Name

type Name struct {
	Formatted       string `json:"formatted,omitempty"`
	GivenName       string `json:"givenName,omitempty"`
	FamilyName      string `json:"familyName,omitempty"`
	MiddleName      string `json:"middleName,omitempty"`
	HonorificPrefix string `json:"honorificPrefix,omitempty"`
	HonorificSuffix string `json:"honorificSuffix,omitempty"`
}

type Operations

type Operations struct {
	Op    string  `json:"op"`
	Path  string  `json:"path"`
	Value []Value `json:"value"`
}

Used in Privileged Data PATCH functions

type Owner

type Owner struct {
	Value   string `json:"value,omitempty"`
	Ref     string `json:"$ref,omitempty"`
	Display string `json:"display,omitempty"`
}

type Parent

type Parent struct {
	Value   string `json:"value,omitempty"`
	Ref     string `json:"$ref,omitempty"`
	Display string `json:"display,omitempty"`
}

type Patch

type Patch struct {
	Supported bool `json:"supported"`
}

type PhoneNumbers

type PhoneNumbers struct {
	Type    string `json:"type,omitempty"`
	Primary bool   `json:"primary,omitempty"`
	Value   string `json:"value,omitempty"`
	Display string `json:"display,omitempty"`
	Ref     string `json:"$ref,omitempty"`
}

type Photos

type Photos struct {
	Type    string `json:"type,omitempty"`
	Primary bool   `json:"primary,omitempty"`
	Value   string `json:"value,omitempty"`
	Display string `json:"display,omitempty"`
	Ref     string `json:"$ref,omitempty"`
}

type PrivilegedData

type PrivilegedData struct {
	Name                                             string                                           `json:"name"`
	Description                                      string                                           `json:"description,omitempty"`
	Type                                             string                                           `json:"type"`
	Schemas                                          []string                                         `json:"schemas"`
	Id                                               string                                           `json:"id"`
	ExternalId                                       string                                           `json:"externalId,omitempty"`
	Meta                                             Meta                                             `json:"meta"`
	Operations                                       []Operations                                     `json:"Operations,omitempty"`
	UrnIetfParamsScimSchemasCyberark10PrivilegedData UrnIetfParamsScimSchemasCyberark10PrivilegedData `json:"urn:ietf:params:scim:schemas:cyberark:1.0:PrivilegedData"`
}

type PrivilegedDataRef

type PrivilegedDataRef struct {
	Value   string `json:"value,omitempty"`
	Ref     string `json:"$ref,omitempty"`
	Display string `json:"display,omitempty"`
	Type    string `json:"type,omitempty"`
}

Used with "ContainerPermissions and PrivilegedDataPermissions"

type PrivilegedDatas

type PrivilegedDatas struct {
	Schemas      []string          `json:"schemas"`
	TotalResults int               `json:"totalResults"`
	ItemsPerPage int               `json:"itemsPerPage"`
	StartIndex   int               `json:"startIndex,omitempty"`
	Resources    []PrivilegedDatas `json:"Resources"`
}

type Properties

type Properties struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type ResourceType

type ResourceType struct {
	Name             string             `json:"name"`
	Endpoint         string             `json:"endpoint"`
	Schema           string             `json:"schema"`
	SchemaExtensions []SchemaExtensions `json:"schemaExtensions,omitempty"`
	Schemas          []string           `json:"schemas"`
	Id               string             `json:"id"`
	Meta             Meta               `json:"meta"`
}

type ResourceTypes

type ResourceTypes struct {
	Schemas      []string       `json:"schemas"`
	TotalResults int            `json:"totalResults"`
	ItemsPerPage int            `json:"itemsPerPage"`
	StartIndex   int            `json:"startIndex"`
	Resources    []ResourceType `json:"Resources"`
}

SCIM Resource Types ///////////////////////////////////////////

type Roles

type Roles struct {
	Type    string `json:"type,omitempty"`
	Primary bool   `json:"primary,omitempty"`
	Value   string `json:"value,omitempty"`
	Display string `json:"display,omitempty"`
	Ref     string `json:"$ref,omitempty"`
}

type Schema

type Schema struct {
	Name        string       `json:"name"`
	Description string       `json:"description,omitempty"`
	Attributes  []Attributes `json:"attributes,omitempty"`
	Id          string       `json:"id"`
	Meta        Meta         `json:"meta"`
}

type SchemaExtensions

type SchemaExtensions struct {
	Schema   string `json:"schema"`
	Required bool   `json:"required"`
}

type Schemas

type Schemas struct {
	Schemas      []string `json:"schemas"`
	TotalResults int      `json:"totalResults"`
	ItemsPerPage int      `json:"itemsPerPage"`
	StartIndex   int      `json:"startIndex"`
	Resources    []Schema `json:"Resources"`
}

SCIM Schemas ///////////////////////////////////////////

type ScimConfig

type ScimConfig struct {
	Schemas               []string                `json:"schemas"`
	Patch                 Patch                   `json:"patch"`
	Bulk                  Bulk                    `json:"bulk"`
	Filter                Filter                  `json:"filter"`
	ChangePassword        ChangePassword          `json:"changePassword"`
	Sort                  Sort                    `json:"sort"`
	Etag                  Etag                    `json:"etag"`
	AuthenticationSchemes []AuthenticationSchemes `json:"authenticationSchemes"`
	Meta                  Meta                    `json:"meta"`
}

SCIM Service Provider Config //////////////////////////////////////////////////////////////////

type Sort

type Sort struct {
	Supported bool `json:"supported"`
}

type SubAttributes

type SubAttributes struct {
	Name        string `json:"name"`
	Type        string `json:"type"`
	MultiValued bool   `json:"multiValued"`
	Required    bool   `json:"required"`
	CaseExact   bool   `json:"caseExact"`
}

type UrnIetfParamsScimSchemasCyberark10Group

type UrnIetfParamsScimSchemasCyberark10Group struct {
	DirectoryType string `json:"directoryType,omitempty"`
	DirectoryName string `json:"directoryName,omitempty"`
}

type UrnIetfParamsScimSchemasCyberark10PrivilegedData

type UrnIetfParamsScimSchemasCyberark10PrivilegedData struct {
	Safe       string       `json:"safe,omitempty"`
	Folder     string       `json:"folder,omitempty"`
	Password   string       `json:"password,omitempty"`
	Properties []Properties `json:"properties,omitempty"`
}

type UrnIetfParamsScimSchemasCyberark10Safe

type UrnIetfParamsScimSchemasCyberark10Safe struct {
	NumberOfDaysRetention int    `json:"NumberOfDaysRetention,omitempty"`
	ManagingCPM           string `json:"ManagingCPM,omitempty"`
}

Container Attribute

type UrnIetfParamsScimSchemasCyberark10SafeMember

type UrnIetfParamsScimSchemasCyberark10SafeMember struct {
	MembershipExpirationDate int    `json:"membershipExpirationDate,omitempty"`
	MemberType               string `json:"memberType,omitempty"`
	SearchIn                 string `json:"searchIn,omitempty"`
}

type UrnIetfParamsScimSchemasCyberark10User

type UrnIetfParamsScimSchemasCyberark10User struct {
	AuthenticationMethod  []string `json:"authenticationMethod,omitempty"`
	ExpiryDate            int64    `json:"expiryDate,omitempty"`
	ChangePassOnNextLogon bool     `json:"changePassOnNextLogon,omitempty"`
	PasswordNeverExpires  bool     `json:"passwordNeverExpires,omitempty"`
	DistinguishedName     string   `json:"distinguishedName,omitempty"`
	DirectoryType         string   `json:"directoryType,omitempty"`
}

type UrnIetfParamsScimSchemasExtensionEnterprise20User

type UrnIetfParamsScimSchemasExtensionEnterprise20User struct {
	EmployeeNumber string    `json:"employeeNumber,omitempty"`
	CostCenter     string    `json:"costCenter,omitempty"`
	Organization   string    `json:"organization,omitempty"`
	Division       string    `json:"division,omitempty"`
	Department     string    `json:"department,omitempty"`
	Manager        []Manager `json:"manager,omitempty"`
}

type UrnIetfParamsScimSchemasPam10LinkedObject

type UrnIetfParamsScimSchemasPam10LinkedObject struct {
	Source           string `json:"source,omitempty"`
	NativeIdentifier string `json:"nativeIdentifier,omitempty"`
}

type UrnScimSchemasExtensionCustom20

type UrnScimSchemasExtensionCustom20 struct {
}

type User

type User struct {
	UserName                                          string                                            `json:"userName"`
	Name                                              Name                                              `json:"name,omitempty"`
	DisplayName                                       string                                            `json:"displayName,omitempty"`
	NickName                                          string                                            `json:"nickName,omitempty"`
	ProfileUrl                                        string                                            `json:"profileUrl,omitempty"`
	Title                                             string                                            `json:"title,omitempty"`
	UserType                                          string                                            `json:"userType,omitempty"`
	PreferredLanguage                                 string                                            `json:"preferredLanguage,omitempty"`
	Locale                                            string                                            `json:"locale,omitempty"`
	Timezone                                          string                                            `json:"timezone,omitempty"`
	Active                                            bool                                              `json:"active,omitempty"`
	Password                                          string                                            `json:"-,omitempty"`
	Emails                                            []Emails                                          `json:"emails,omitempty"`
	PhoneNumbers                                      []PhoneNumbers                                    `json:"phoneNumbers,omitempty"`
	Ims                                               []Ims                                             `json:"ims,omitempty"`
	Photos                                            []Photos                                          `json:"photos,omitempty"`
	Addresses                                         []Addresses                                       `json:"addresses,omitempty"`
	Groups                                            []UsersGroups                                     `json:"groups,omitempty"`
	Entitlements                                      []string                                          `json:"entitlements,omitempty"`
	Roles                                             []Roles                                           `json:"roles,omitempty"`
	X509Certificates                                  []X509Certificates                                `json:"x509Certificates,omitempty"`
	Schemas                                           []string                                          `json:"schemas"`
	Id                                                string                                            `json:"id"`
	ExternalId                                        string                                            `json:"externalId,omitempty"`
	Meta                                              Meta                                              `json:"meta"`
	UrnIetfParamsScimSchemasPam10LinkedObject         UrnIetfParamsScimSchemasPam10LinkedObject         `json:"urn:ietf:params:scim:schemas:pam:1.0:LinkedObject,omitempty"`
	UrnIetfParamsScimSchemasExtensionEnterprise20User UrnIetfParamsScimSchemasExtensionEnterprise20User `json:"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User,omitempty"`
	UrnIetfParamsScimSchemasCyberark10User            UrnIetfParamsScimSchemasCyberark10User            `json:"urn:ietf:params:scim:schemas:cyberark:1.0:User,omitempty"`
	UrnScimSchemasExtensionCustom20                   UrnScimSchemasExtensionCustom20                   `json:"urn:scim:schemas:extension:custom:2.0,omitempty"`
}

type UserRef

type UserRef struct {
	Value   string `json:"value,omitempty"`
	Ref     string `json:"$ref,omitempty"`
	Display string `json:"display,omitempty"`
}

Used with "ContainerPermissions and PrivilegedDataPermissions"

type Users

type Users struct {
	Schemas      []string `json:"schemas"`
	TotalResults int      `json:"totalResults"`
	ItemsPerPage int      `json:"itemsPerPage"`
	StartIndex   int      `json:"startIndex"`
	Resources    []User   `json:"Resources"`
}

type UsersGroups

type UsersGroups struct {
	Type    string `json:"type,omitempty"`
	Primary bool   `json:"primary,omitempty"`
	Value   string `json:"value,omitempty"`
	Ref     string `json:"$ref,omitempty"`
	Display string `json:"display,omitempty"`
}

type Value

type Value struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

Used in Privileged Data PATCH functions

type X509Certificates

type X509Certificates struct {
	Type    string `json:"type,omitempty"`
	Primary bool   `json:"primary,omitempty"`
	Value   string `json:"value,omitempty"`
	Display string `json:"display,omitempty"`
	Ref     string `json:"$ref,omitempty"`
}

Jump to

Keyboard shortcuts

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