Documentation
¶
Overview ¶
Package schema contains the ent schema
Index ¶
- Constants
- Variables
- type APIToken
- func (a APIToken) Annotations() []schema.Annotation
- func (APIToken) Fields() []ent.Field
- func (APIToken) GetType() any
- func (APIToken) Hooks() []ent.Hook
- func (APIToken) Indexes() []ent.Index
- func (a APIToken) Interceptors() []ent.Interceptor
- func (a APIToken) Mixin() []ent.Mixin
- func (APIToken) Modules() []models.OrgModule
- func (APIToken) Name() string
- func (APIToken) PluralName() string
- func (a APIToken) Policy() ent.Policy
- type ActionPlan
- func (a ActionPlan) Annotations() []schema.Annotation
- func (a ActionPlan) Edges() []ent.Edge
- func (ActionPlan) Fields() []ent.Field
- func (ActionPlan) GetType() any
- func (a ActionPlan) Mixin() []ent.Mixin
- func (ActionPlan) Modules() []models.OrgModule
- func (ActionPlan) Name() string
- func (ActionPlan) PluralName() string
- func (a ActionPlan) Policy() ent.Policy
- type Assessment
- func (Assessment) Annotations() []schema.Annotation
- func (a Assessment) Edges() []ent.Edge
- func (Assessment) Fields() []ent.Field
- func (Assessment) GetType() any
- func (Assessment) Hooks() []ent.Hook
- func (Assessment) Indexes() []ent.Index
- func (Assessment) Interceptors() []ent.Interceptor
- func (a Assessment) Mixin() []ent.Mixin
- func (Assessment) Modules() []models.OrgModule
- func (Assessment) Name() string
- func (Assessment) PluralName() string
- func (Assessment) Policy() ent.Policy
- type AssessmentResponse
- func (AssessmentResponse) Annotations() []schema.Annotation
- func (ar AssessmentResponse) Edges() []ent.Edge
- func (AssessmentResponse) Fields() []ent.Field
- func (AssessmentResponse) GetType() any
- func (AssessmentResponse) Hooks() []ent.Hook
- func (AssessmentResponse) Indexes() []ent.Index
- func (ar AssessmentResponse) Mixin() []ent.Mixin
- func (AssessmentResponse) Modules() []models.OrgModule
- func (AssessmentResponse) Name() string
- func (AssessmentResponse) PluralName() string
- func (AssessmentResponse) Policy() ent.Policy
- type Asset
- func (a Asset) Annotations() []schema.Annotation
- func (a Asset) Edges() []ent.Edge
- func (Asset) Fields() []ent.Field
- func (Asset) GetType() any
- func (Asset) Hooks() []ent.Hook
- func (a Asset) Mixin() []ent.Mixin
- func (a Asset) Modules() []models.OrgModule
- func (Asset) Name() string
- func (Asset) PluralName() string
- func (a Asset) Policy() ent.Policy
- type Campaign
- func (Campaign) Annotations() []schema.Annotation
- func (c Campaign) Edges() []ent.Edge
- func (Campaign) Fields() []ent.Field
- func (Campaign) GetType() any
- func (Campaign) Indexes() []ent.Index
- func (c Campaign) Mixin() []ent.Mixin
- func (Campaign) Modules() []models.OrgModule
- func (Campaign) Name() string
- func (Campaign) PluralName() string
- func (Campaign) Policy() ent.Policy
- type CampaignTarget
- func (CampaignTarget) Annotations() []schema.Annotation
- func (c CampaignTarget) Edges() []ent.Edge
- func (CampaignTarget) Fields() []ent.Field
- func (CampaignTarget) GetType() any
- func (CampaignTarget) Hooks() []ent.Hook
- func (CampaignTarget) Indexes() []ent.Index
- func (c CampaignTarget) Mixin() []ent.Mixin
- func (CampaignTarget) Modules() []models.OrgModule
- func (CampaignTarget) Name() string
- func (CampaignTarget) PluralName() string
- func (CampaignTarget) Policy() ent.Policy
- type CheckResult
- func (CheckResult) Annotations() []schema.Annotation
- func (c CheckResult) Edges() []ent.Edge
- func (CheckResult) Fields() []ent.Field
- func (CheckResult) GetType() any
- func (CheckResult) Hooks() []ent.Hook
- func (CheckResult) Indexes() []ent.Index
- func (CheckResult) Interceptors() []ent.Interceptor
- func (c CheckResult) Mixin() []ent.Mixin
- func (CheckResult) Modules() []models.OrgModule
- func (CheckResult) Name() string
- func (CheckResult) PluralName() string
- func (CheckResult) Policy() ent.Policy
- type Contact
- func (c Contact) Annotations() []schema.Annotation
- func (c Contact) Edges() []ent.Edge
- func (Contact) Fields() []ent.Field
- func (Contact) GetType() any
- func (Contact) Hooks() []ent.Hook
- func (c Contact) Mixin() []ent.Mixin
- func (Contact) Modules() []models.OrgModule
- func (Contact) Name() string
- func (Contact) PluralName() string
- func (c Contact) Policy() ent.Policy
- type Control
- func (c Control) Annotations() []schema.Annotation
- func (c Control) Edges() []ent.Edge
- func (Control) Fields() []ent.Field
- func (Control) GetType() any
- func (Control) Hooks() []ent.Hook
- func (Control) Indexes() []ent.Index
- func (Control) Interceptors() []ent.Interceptor
- func (c Control) Mixin() []ent.Mixin
- func (Control) Modules() []models.OrgModule
- func (Control) Name() string
- func (Control) PluralName() string
- func (c Control) Policy() ent.Policy
- type ControlImplementation
- func (c ControlImplementation) Annotations() []schema.Annotation
- func (c ControlImplementation) Edges() []ent.Edge
- func (ControlImplementation) Fields() []ent.Field
- func (ControlImplementation) GetType() any
- func (ControlImplementation) Hooks() []ent.Hook
- func (c ControlImplementation) Mixin() []ent.Mixin
- func (ControlImplementation) Modules() []models.OrgModule
- func (ControlImplementation) Name() string
- func (ControlImplementation) PluralName() string
- func (c ControlImplementation) Policy() ent.Policy
- type ControlMixin
- type ControlObjective
- func (c ControlObjective) Annotations() []schema.Annotation
- func (c ControlObjective) Edges() []ent.Edge
- func (ControlObjective) Fields() []ent.Field
- func (ControlObjective) GetType() any
- func (c ControlObjective) Mixin() []ent.Mixin
- func (ControlObjective) Modules() []models.OrgModule
- func (ControlObjective) Name() string
- func (ControlObjective) PluralName() string
- func (c ControlObjective) Policy() ent.Policy
- type CustomDomain
- func (e CustomDomain) Edges() []ent.Edge
- func (CustomDomain) Fields() []ent.Field
- func (CustomDomain) GetType() any
- func (CustomDomain) Hooks() []ent.Hook
- func (CustomDomain) Indexes() []ent.Index
- func (e CustomDomain) Mixin() []ent.Mixin
- func (CustomDomain) Modules() []models.OrgModule
- func (CustomDomain) Name() string
- func (CustomDomain) PluralName() string
- func (e CustomDomain) Policy() ent.Policy
- type CustomEnumMixin
- type CustomTypeEnum
- func (CustomTypeEnum) Annotations() []schema.Annotation
- func (t CustomTypeEnum) Edges() []ent.Edge
- func (CustomTypeEnum) Fields() []ent.Field
- func (CustomTypeEnum) GetType() any
- func (CustomTypeEnum) Hooks() []ent.Hook
- func (CustomTypeEnum) Indexes() []ent.Index
- func (CustomTypeEnum) Interceptors() []ent.Interceptor
- func (t CustomTypeEnum) Mixin() []ent.Mixin
- func (CustomTypeEnum) Modules() []models.OrgModule
- func (CustomTypeEnum) Name() string
- func (CustomTypeEnum) PluralName() string
- func (CustomTypeEnum) Policy() ent.Policy
- type DNSVerification
- func (DNSVerification) Annotations() []schema.Annotation
- func (e DNSVerification) Edges() []ent.Edge
- func (DNSVerification) Fields() []ent.Field
- func (DNSVerification) GetType() any
- func (DNSVerification) Hooks() []ent.Hook
- func (DNSVerification) Indexes() []ent.Index
- func (e DNSVerification) Mixin() []ent.Mixin
- func (DNSVerification) Modules() []models.OrgModule
- func (DNSVerification) Name() string
- func (DNSVerification) PluralName() string
- func (DNSVerification) Policy() ent.Policy
- type DirectoryAccount
- func (d DirectoryAccount) Annotations() []schema.Annotation
- func (d DirectoryAccount) Edges() []ent.Edge
- func (DirectoryAccount) Fields() []ent.Field
- func (DirectoryAccount) GetType() any
- func (DirectoryAccount) Hooks() []ent.Hook
- func (DirectoryAccount) Indexes() []ent.Index
- func (d DirectoryAccount) Mixin() []ent.Mixin
- func (DirectoryAccount) Name() string
- func (DirectoryAccount) PluralName() string
- func (d DirectoryAccount) Policy() ent.Policy
- type DirectoryGroup
- func (g DirectoryGroup) Annotations() []schema.Annotation
- func (g DirectoryGroup) Edges() []ent.Edge
- func (DirectoryGroup) Fields() []ent.Field
- func (DirectoryGroup) GetType() any
- func (DirectoryGroup) Indexes() []ent.Index
- func (g DirectoryGroup) Mixin() []ent.Mixin
- func (DirectoryGroup) Name() string
- func (DirectoryGroup) PluralName() string
- func (g DirectoryGroup) Policy() ent.Policy
- type DirectoryMembership
- func (DirectoryMembership) Annotations() []schema.Annotation
- func (m DirectoryMembership) Edges() []ent.Edge
- func (DirectoryMembership) Fields() []ent.Field
- func (DirectoryMembership) GetType() any
- func (DirectoryMembership) Indexes() []ent.Index
- func (m DirectoryMembership) Mixin() []ent.Mixin
- func (DirectoryMembership) Name() string
- func (DirectoryMembership) PluralName() string
- func (m DirectoryMembership) Policy() ent.Policy
- type DirectorySyncRun
- func (DirectorySyncRun) Annotations() []schema.Annotation
- func (r DirectorySyncRun) Edges() []ent.Edge
- func (DirectorySyncRun) Fields() []ent.Field
- func (DirectorySyncRun) GetType() any
- func (DirectorySyncRun) Indexes() []ent.Index
- func (r DirectorySyncRun) Mixin() []ent.Mixin
- func (DirectorySyncRun) Name() string
- func (DirectorySyncRun) PluralName() string
- func (r DirectorySyncRun) Policy() ent.Policy
- type Discussion
- func (Discussion) Annotations() []schema.Annotation
- func (d Discussion) Edges() []ent.Edge
- func (Discussion) Fields() []ent.Field
- func (Discussion) GetType() any
- func (Discussion) Hooks() []ent.Hook
- func (Discussion) Indexes() []ent.Index
- func (Discussion) Interceptors() []ent.Interceptor
- func (d Discussion) Mixin() []ent.Mixin
- func (Discussion) Modules() []models.OrgModule
- func (Discussion) Name() string
- func (Discussion) PluralName() string
- func (Discussion) Policy() ent.Policy
- type DocumentData
- func (d DocumentData) Annotations() []schema.Annotation
- func (d DocumentData) Edges() []ent.Edge
- func (DocumentData) Fields() []ent.Field
- func (DocumentData) GetType() any
- func (d DocumentData) Hooks() []ent.Hook
- func (d DocumentData) Mixin() []ent.Mixin
- func (DocumentData) Modules() []models.OrgModule
- func (DocumentData) Name() string
- func (DocumentData) PluralName() string
- func (d DocumentData) Policy() ent.Policy
- type DocumentMixin
- type EdgeIndexMixin
- type EdgeInfo
- type EmailTemplate
- func (EmailTemplate) Annotations() []schema.Annotation
- func (e EmailTemplate) Edges() []ent.Edge
- func (EmailTemplate) Fields() []ent.Field
- func (EmailTemplate) GetType() any
- func (EmailTemplate) Hooks() []ent.Hook
- func (EmailTemplate) Indexes() []ent.Index
- func (e EmailTemplate) Mixin() []ent.Mixin
- func (EmailTemplate) Modules() []models.OrgModule
- func (EmailTemplate) Name() string
- func (EmailTemplate) PluralName() string
- func (EmailTemplate) Policy() ent.Policy
- type EmailVerificationToken
- func (e EmailVerificationToken) Annotations() []schema.Annotation
- func (EmailVerificationToken) Edges() []ent.Edge
- func (EmailVerificationToken) Fields() []ent.Field
- func (EmailVerificationToken) GetType() any
- func (EmailVerificationToken) Hooks() []ent.Hook
- func (EmailVerificationToken) Indexes() []ent.Index
- func (e EmailVerificationToken) Mixin() []ent.Mixin
- func (EmailVerificationToken) Modules() []models.OrgModule
- func (EmailVerificationToken) Name() string
- func (EmailVerificationToken) PluralName() string
- func (e EmailVerificationToken) Policy() ent.Policy
- type Entity
- func (e Entity) Annotations() []schema.Annotation
- func (e Entity) Edges() []ent.Edge
- func (Entity) Fields() []ent.Field
- func (Entity) GetType() any
- func (Entity) Hooks() []ent.Hook
- func (Entity) Indexes() []ent.Index
- func (e Entity) Mixin() []ent.Mixin
- func (Entity) Modules() []models.OrgModule
- func (Entity) Name() string
- func (Entity) PluralName() string
- func (e Entity) Policy() ent.Policy
- type EntityType
- func (e EntityType) Edges() []ent.Edge
- func (EntityType) Fields() []ent.Field
- func (EntityType) GetType() any
- func (EntityType) Indexes() []ent.Index
- func (e EntityType) Mixin() []ent.Mixin
- func (EntityType) Modules() []models.OrgModule
- func (EntityType) Name() string
- func (EntityType) PluralName() string
- func (e EntityType) Policy() ent.Policy
- type Event
- func (e Event) Annotations() []schema.Annotation
- func (e Event) Edges() []ent.Edge
- func (Event) Fields() []ent.Field
- func (Event) GetType() any
- func (Event) Mixin() []ent.Mixin
- func (Event) Modules() []models.OrgModule
- func (Event) Name() string
- func (Event) PluralName() string
- func (e Event) Policy() ent.Policy
- type Evidence
- func (e Evidence) Annotations() []schema.Annotation
- func (e Evidence) Edges() []ent.Edge
- func (Evidence) Fields() []ent.Field
- func (Evidence) GetType() any
- func (Evidence) Hooks() []ent.Hook
- func (Evidence) Indexes() []ent.Index
- func (e Evidence) Mixin() []ent.Mixin
- func (Evidence) Modules() []models.OrgModule
- func (Evidence) Name() string
- func (Evidence) PluralName() string
- func (Evidence) Policy() ent.Policy
- type Export
- func (e Export) Annotations() []schema.Annotation
- func (e Export) Edges() []ent.Edge
- func (Export) Fields() []ent.Field
- func (Export) GetType() any
- func (Export) Hooks() []ent.Hook
- func (e Export) Mixin() []ent.Mixin
- func (Export) Modules() []models.OrgModule
- func (Export) Name() string
- func (Export) PluralName() string
- func (e Export) Policy() ent.Policy
- type File
- func (f File) Annotations() []schema.Annotation
- func (f File) Edges() []ent.Edge
- func (File) Fields() []ent.Field
- func (File) GetType() any
- func (File) Hooks() []ent.Hook
- func (f File) Interceptors() []ent.Interceptor
- func (f File) Mixin() []ent.Mixin
- func (File) Modules() []models.OrgModule
- func (File) Name() string
- func (File) PluralName() string
- func (f File) Policy() ent.Policy
- type FileDownloadToken
- func (p FileDownloadToken) Annotations() []schema.Annotation
- func (FileDownloadToken) Fields() []ent.Field
- func (FileDownloadToken) GetType() any
- func (FileDownloadToken) Hooks() []ent.Hook
- func (FileDownloadToken) Indexes() []ent.Index
- func (p FileDownloadToken) Mixin() []ent.Mixin
- func (FileDownloadToken) Name() string
- func (FileDownloadToken) PluralName() string
- func (p FileDownloadToken) Policy() ent.Policy
- type Finding
- func (Finding) Annotations() []schema.Annotation
- func (f Finding) Edges() []ent.Edge
- func (Finding) Fields() []ent.Field
- func (Finding) GetType() any
- func (Finding) Hooks() []ent.Hook
- func (Finding) Indexes() []ent.Index
- func (f Finding) Mixin() []ent.Mixin
- func (Finding) Modules() []models.OrgModule
- func (Finding) Name() string
- func (Finding) PluralName() string
- func (f Finding) Policy() ent.Policy
- type FindingControl
- func (fc FindingControl) Edges() []ent.Edge
- func (FindingControl) Fields() []ent.Field
- func (FindingControl) GetType() any
- func (FindingControl) Indexes() []ent.Index
- func (fc FindingControl) Mixin() []ent.Mixin
- func (FindingControl) Modules() []models.OrgModule
- func (FindingControl) Name() string
- func (FindingControl) PluralName() string
- func (FindingControl) Policy() ent.Policy
- type Group
- func (g Group) Annotations() []schema.Annotation
- func (g Group) Edges() []ent.Edge
- func (Group) Fields() []ent.Field
- func (Group) GetType() any
- func (Group) Hooks() []ent.Hook
- func (Group) Indexes() []ent.Index
- func (g Group) Interceptors() []ent.Interceptor
- func (g Group) Mixin() []ent.Mixin
- func (Group) Modules() []models.OrgModule
- func (Group) Name() string
- func (Group) PluralName() string
- func (g Group) Policy() ent.Policy
- type GroupBasedCreateAccessMixin
- type GroupMembership
- func (g GroupMembership) Annotations() []schema.Annotation
- func (g GroupMembership) Edges() []ent.Edge
- func (GroupMembership) Fields() []ent.Field
- func (GroupMembership) GetType() any
- func (GroupMembership) Hooks() []ent.Hook
- func (GroupMembership) Indexes() []ent.Index
- func (g GroupMembership) Interceptors() []ent.Interceptor
- func (GroupMembership) Mixin() []ent.Mixin
- func (GroupMembership) Modules() []models.OrgModule
- func (GroupMembership) Name() string
- func (GroupMembership) PluralName() string
- func (GroupMembership) Policy() ent.Policy
- type GroupPermissionsEdgesMixin
- type GroupPermissionsMixin
- type GroupSetting
- func (g GroupSetting) Annotations() []schema.Annotation
- func (g GroupSetting) Edges() []ent.Edge
- func (GroupSetting) Fields() []ent.Field
- func (GroupSetting) GetType() any
- func (GroupSetting) Hooks() []ent.Hook
- func (g GroupSetting) Interceptors() []ent.Interceptor
- func (GroupSetting) Mixin() []ent.Mixin
- func (GroupSetting) Modules() []models.OrgModule
- func (GroupSetting) Name() string
- func (GroupSetting) PluralName() string
- type HookFunc
- type Hush
- func (Hush) Annotations() []schema.Annotation
- func (h Hush) Edges() []ent.Edge
- func (Hush) Fields() []ent.Field
- func (Hush) GetType() any
- func (h Hush) Mixin() []ent.Mixin
- func (Hush) Modules() []models.OrgModule
- func (Hush) Name() string
- func (Hush) PluralName() string
- func (Hush) Policy() ent.Policy
- type IdentityHolder
- func (IdentityHolder) Annotations() []schema.Annotation
- func (p IdentityHolder) Edges() []ent.Edge
- func (IdentityHolder) Fields() []ent.Field
- func (IdentityHolder) GetType() any
- func (IdentityHolder) Hooks() []ent.Hook
- func (IdentityHolder) Indexes() []ent.Index
- func (p IdentityHolder) Mixin() []ent.Mixin
- func (IdentityHolder) Modules() []models.OrgModule
- func (IdentityHolder) Name() string
- func (IdentityHolder) PluralName() string
- func (IdentityHolder) Policy() ent.Policy
- type ImpersonationEvent
- func (ImpersonationEvent) Annotations() []schema.Annotation
- func (i ImpersonationEvent) Edges() []ent.Edge
- func (ImpersonationEvent) Fields() []ent.Field
- func (ImpersonationEvent) GetType() any
- func (ImpersonationEvent) Hooks() []ent.Hook
- func (ImpersonationEvent) Indexes() []ent.Index
- func (ImpersonationEvent) Interceptors() []ent.Interceptor
- func (i ImpersonationEvent) Mixin() []ent.Mixin
- func (ImpersonationEvent) Modules() []models.OrgModule
- func (ImpersonationEvent) Name() string
- func (ImpersonationEvent) PluralName() string
- type Integration
- func (Integration) Annotations() []schema.Annotation
- func (i Integration) Edges() []ent.Edge
- func (Integration) Fields() []ent.Field
- func (Integration) GetType() any
- func (Integration) Hooks() []ent.Hook
- func (i Integration) Mixin() []ent.Mixin
- func (Integration) Modules() []models.OrgModule
- func (Integration) Name() string
- func (Integration) PluralName() string
- func (i Integration) Policy() ent.Policy
- type IntegrationRun
- func (r IntegrationRun) Annotations() []schema.Annotation
- func (r IntegrationRun) Edges() []ent.Edge
- func (IntegrationRun) Fields() []ent.Field
- func (IntegrationRun) GetType() any
- func (IntegrationRun) Indexes() []ent.Index
- func (r IntegrationRun) Mixin() []ent.Mixin
- func (IntegrationRun) Modules() []models.OrgModule
- func (IntegrationRun) Name() string
- func (IntegrationRun) PluralName() string
- func (IntegrationRun) Policy() ent.Policy
- type IntegrationWebhook
- func (w IntegrationWebhook) Annotations() []schema.Annotation
- func (w IntegrationWebhook) Edges() []ent.Edge
- func (IntegrationWebhook) Fields() []ent.Field
- func (IntegrationWebhook) GetType() any
- func (IntegrationWebhook) Indexes() []ent.Index
- func (w IntegrationWebhook) Mixin() []ent.Mixin
- func (IntegrationWebhook) Modules() []models.OrgModule
- func (IntegrationWebhook) Name() string
- func (IntegrationWebhook) PluralName() string
- func (IntegrationWebhook) Policy() ent.Policy
- type InterceptorFunc
- type InternalPolicy
- func (i InternalPolicy) Annotations() []schema.Annotation
- func (i InternalPolicy) Edges() []ent.Edge
- func (InternalPolicy) Fields() []ent.Field
- func (InternalPolicy) GetType() any
- func (InternalPolicy) Hooks() []ent.Hook
- func (InternalPolicy) Indexes() []ent.Index
- func (InternalPolicy) Interceptors() []ent.Interceptor
- func (i InternalPolicy) Mixin() []ent.Mixin
- func (InternalPolicy) Modules() []models.OrgModule
- func (InternalPolicy) Name() string
- func (InternalPolicy) PluralName() string
- func (i InternalPolicy) Policy() ent.Policy
- type Invite
- func (i Invite) Annotations() []schema.Annotation
- func (i Invite) Edges() []ent.Edge
- func (Invite) Fields() []ent.Field
- func (Invite) GetType() any
- func (Invite) Hooks() []ent.Hook
- func (Invite) Indexes() []ent.Index
- func (i Invite) Mixin() []ent.Mixin
- func (Invite) Modules() []models.OrgModule
- func (Invite) Name() string
- func (Invite) PluralName() string
- func (i Invite) Policy() ent.Policy
- type MappableDomain
- func (e MappableDomain) Edges() []ent.Edge
- func (MappableDomain) Fields() []ent.Field
- func (MappableDomain) GetType() any
- func (MappableDomain) Hooks() []ent.Hook
- func (MappableDomain) Indexes() []ent.Index
- func (e MappableDomain) Mixin() []ent.Mixin
- func (MappableDomain) Modules() []models.OrgModule
- func (MappableDomain) Name() string
- func (MappableDomain) PluralName() string
- func (e MappableDomain) Policy() ent.Policy
- type MappedControl
- func (MappedControl) Annotations() []schema.Annotation
- func (m MappedControl) Edges() []ent.Edge
- func (MappedControl) Fields() []ent.Field
- func (MappedControl) GetType() any
- func (MappedControl) Hooks() []ent.Hook
- func (m MappedControl) Mixin() []ent.Mixin
- func (MappedControl) Modules() []models.OrgModule
- func (MappedControl) Name() string
- func (MappedControl) PluralName() string
- func (MappedControl) Policy() ent.Policy
- type Narrative
- func (n Narrative) Annotations() []schema.Annotation
- func (n Narrative) Edges() []ent.Edge
- func (Narrative) Fields() []ent.Field
- func (Narrative) GetType() any
- func (n Narrative) Mixin() []ent.Mixin
- func (Narrative) Modules() []models.OrgModule
- func (Narrative) Name() string
- func (Narrative) PluralName() string
- func (n Narrative) Policy() ent.Policy
- type Note
- func (n Note) Annotations() []schema.Annotation
- func (n Note) Edges() []ent.Edge
- func (Note) Fields() []ent.Field
- func (Note) GetType() any
- func (Note) Hooks() []ent.Hook
- func (n Note) Mixin() []ent.Mixin
- func (Note) Modules() []models.OrgModule
- func (Note) Name() string
- func (Note) PluralName() string
- func (n Note) Policy() ent.Policy
- type Notification
- func (Notification) Annotations() []schema.Annotation
- func (n Notification) Edges() []ent.Edge
- func (Notification) Fields() []ent.Field
- func (Notification) GetType() any
- func (Notification) Hooks() []ent.Hook
- func (Notification) Indexes() []ent.Index
- func (Notification) Interceptors() []ent.Interceptor
- func (n Notification) Mixin() []ent.Mixin
- func (Notification) Modules() []models.OrgModule
- func (Notification) Name() string
- func (Notification) PluralName() string
- func (Notification) Policy() ent.Policy
- type NotificationPreference
- func (n NotificationPreference) Edges() []ent.Edge
- func (NotificationPreference) Fields() []ent.Field
- func (NotificationPreference) GetType() any
- func (NotificationPreference) Indexes() []ent.Index
- func (n NotificationPreference) Mixin() []ent.Mixin
- func (NotificationPreference) Modules() []models.OrgModule
- func (NotificationPreference) Name() string
- func (NotificationPreference) PluralName() string
- func (NotificationPreference) Policy() ent.Policy
- type NotificationTemplate
- func (n NotificationTemplate) Edges() []ent.Edge
- func (NotificationTemplate) Fields() []ent.Field
- func (NotificationTemplate) GetType() any
- func (NotificationTemplate) Hooks() []ent.Hook
- func (NotificationTemplate) Indexes() []ent.Index
- func (n NotificationTemplate) Mixin() []ent.Mixin
- func (NotificationTemplate) Modules() []models.OrgModule
- func (NotificationTemplate) Name() string
- func (NotificationTemplate) PluralName() string
- func (NotificationTemplate) Policy() ent.Policy
- type ObjectOwnedMixin
- func (o ObjectOwnedMixin) Annotations() []schema.Annotation
- func (o ObjectOwnedMixin) Edges() []ent.Edge
- func (o ObjectOwnedMixin) Fields() []ent.Field
- func (o ObjectOwnedMixin) Hooks() []ent.Hook
- func (o ObjectOwnedMixin) Indexes() []ent.Index
- func (o ObjectOwnedMixin) Interceptors() []ent.Interceptor
- func (o ObjectOwnedMixin) P(w interface{ ... }, objectIDs []string)
- func (o ObjectOwnedMixin) PWithField(w interface{ ... }, fieldName string, objectIDs []string)
- type Onboarding
- func (o Onboarding) Annotations() []schema.Annotation
- func (o Onboarding) Edges() []ent.Edge
- func (Onboarding) Fields() []ent.Field
- func (Onboarding) GetType() any
- func (Onboarding) Hooks() []ent.Hook
- func (Onboarding) Mixin() []ent.Mixin
- func (Onboarding) Modules() []models.OrgModule
- func (Onboarding) Name() string
- func (Onboarding) PluralName() string
- func (o Onboarding) Policy() ent.Policy
- type OrgMembership
- func (OrgMembership) Annotations() []schema.Annotation
- func (o OrgMembership) Edges() []ent.Edge
- func (OrgMembership) Fields() []ent.Field
- func (OrgMembership) GetType() any
- func (OrgMembership) Hooks() []ent.Hook
- func (OrgMembership) Indexes() []ent.Index
- func (OrgMembership) Interceptors() []ent.Interceptor
- func (OrgMembership) Mixin() []ent.Mixin
- func (OrgMembership) Modules() []models.OrgModule
- func (OrgMembership) Name() string
- func (OrgMembership) PluralName() string
- func (OrgMembership) Policy() ent.Policy
- type OrgModule
- func (OrgModule) Annotations() []schema.Annotation
- func (o OrgModule) Edges() []ent.Edge
- func (OrgModule) Fields() []ent.Field
- func (OrgModule) GetType() any
- func (OrgModule) Hooks() []ent.Hook
- func (o OrgModule) Mixin() []ent.Mixin
- func (OrgModule) Name() string
- func (OrgModule) PluralName() string
- type OrgPrice
- func (OrgPrice) Annotations() []schema.Annotation
- func (o OrgPrice) Edges() []ent.Edge
- func (OrgPrice) Fields() []ent.Field
- func (OrgPrice) GetType() any
- func (o OrgPrice) Mixin() []ent.Mixin
- func (OrgPrice) Modules() []models.OrgModule
- func (OrgPrice) Name() string
- func (OrgPrice) PluralName() string
- type OrgProduct
- func (OrgProduct) Annotations() []schema.Annotation
- func (o OrgProduct) Edges() []ent.Edge
- func (OrgProduct) Fields() []ent.Field
- func (OrgProduct) GetType() any
- func (o OrgProduct) Mixin() []ent.Mixin
- func (OrgProduct) Modules() []models.OrgModule
- func (OrgProduct) Name() string
- func (OrgProduct) PluralName() string
- type OrgSubscription
- func (o OrgSubscription) Annotations() []schema.Annotation
- func (o OrgSubscription) Edges() []ent.Edge
- func (OrgSubscription) Fields() []ent.Field
- func (OrgSubscription) GetType() any
- func (o OrgSubscription) Interceptors() []ent.Interceptor
- func (o OrgSubscription) Mixin() []ent.Mixin
- func (OrgSubscription) Name() string
- func (OrgSubscription) PluralName() string
- type Organization
- func (o Organization) Annotations() []schema.Annotation
- func (o Organization) Edges() []ent.Edge
- func (Organization) Fields() []ent.Field
- func (Organization) GetType() any
- func (Organization) Hooks() []ent.Hook
- func (Organization) Indexes() []ent.Index
- func (o Organization) Interceptors() []ent.Interceptor
- func (Organization) Mixin() []ent.Mixin
- func (Organization) Name() string
- func (Organization) PluralName() string
- func (Organization) Policy() ent.Policy
- type OrganizationSetting
- func (o OrganizationSetting) Annotations() []schema.Annotation
- func (o OrganizationSetting) Edges() []ent.Edge
- func (OrganizationSetting) Fields() []ent.Field
- func (OrganizationSetting) GetType() any
- func (OrganizationSetting) Hooks() []ent.Hook
- func (o OrganizationSetting) Interceptors() []ent.Interceptor
- func (OrganizationSetting) Mixin() []ent.Mixin
- func (OrganizationSetting) Modules() []models.OrgModule
- func (OrganizationSetting) Name() string
- func (OrganizationSetting) PluralName() string
- func (OrganizationSetting) Policy() ent.Policy
- type PasswordResetToken
- func (p PasswordResetToken) Annotations() []schema.Annotation
- func (PasswordResetToken) Fields() []ent.Field
- func (PasswordResetToken) GetType() any
- func (PasswordResetToken) Hooks() []ent.Hook
- func (PasswordResetToken) Indexes() []ent.Index
- func (p PasswordResetToken) Mixin() []ent.Mixin
- func (PasswordResetToken) Name() string
- func (PasswordResetToken) PluralName() string
- func (p PasswordResetToken) Policy() ent.Policy
- type PersonalAccessToken
- func (p PersonalAccessToken) Annotations() []schema.Annotation
- func (p PersonalAccessToken) Edges() []ent.Edge
- func (PersonalAccessToken) Fields() []ent.Field
- func (PersonalAccessToken) GetType() any
- func (PersonalAccessToken) Hooks() []ent.Hook
- func (PersonalAccessToken) Indexes() []ent.Index
- func (p PersonalAccessToken) Interceptors() []ent.Interceptor
- func (p PersonalAccessToken) Mixin() []ent.Mixin
- func (p PersonalAccessToken) Modules() []models.OrgModule
- func (PersonalAccessToken) Name() string
- func (PersonalAccessToken) PluralName() string
- func (p PersonalAccessToken) Policy() ent.Policy
- type Platform
- func (Platform) Annotations() []schema.Annotation
- func (s Platform) Edges() []ent.Edge
- func (Platform) Fields() []ent.Field
- func (Platform) GetType() any
- func (Platform) Hooks() []ent.Hook
- func (Platform) Indexes() []ent.Index
- func (s Platform) Mixin() []ent.Mixin
- func (Platform) Modules() []models.OrgModule
- func (Platform) Name() string
- func (Platform) PluralName() string
- func (Platform) Policy() ent.Policy
- type Procedure
- func (p Procedure) Annotations() []schema.Annotation
- func (p Procedure) Edges() []ent.Edge
- func (Procedure) Fields() []ent.Field
- func (Procedure) GetType() any
- func (Procedure) Hooks() []ent.Hook
- func (p Procedure) Interceptors() []ent.Interceptor
- func (p Procedure) Mixin() []ent.Mixin
- func (Procedure) Modules() []models.OrgModule
- func (Procedure) Name() string
- func (Procedure) PluralName() string
- func (p Procedure) Policy() ent.Policy
- type Program
- func (p Program) Annotations() []schema.Annotation
- func (p Program) Edges() []ent.Edge
- func (Program) Fields() []ent.Field
- func (Program) GetType() any
- func (Program) Hooks() []ent.Hook
- func (Program) Indexes() []ent.Index
- func (p Program) Interceptors() []ent.Interceptor
- func (p Program) Mixin() []ent.Mixin
- func (Program) Modules() []models.OrgModule
- func (Program) Name() string
- func (Program) PluralName() string
- func (p Program) Policy() ent.Policy
- type ProgramMembership
- func (ProgramMembership) Annotations() []schema.Annotation
- func (p ProgramMembership) Edges() []ent.Edge
- func (ProgramMembership) Fields() []ent.Field
- func (ProgramMembership) GetType() any
- func (ProgramMembership) Hooks() []ent.Hook
- func (ProgramMembership) Indexes() []ent.Index
- func (ProgramMembership) Interceptors() []ent.Interceptor
- func (ProgramMembership) Mixin() []ent.Mixin
- func (ProgramMembership) Modules() []models.OrgModule
- func (ProgramMembership) Name() string
- func (ProgramMembership) PluralName() string
- func (ProgramMembership) Policy() ent.Policy
- type Remediation
- func (Remediation) Annotations() []schema.Annotation
- func (r Remediation) Edges() []ent.Edge
- func (Remediation) Fields() []ent.Field
- func (Remediation) GetType() any
- func (Remediation) Indexes() []ent.Index
- func (r Remediation) Mixin() []ent.Mixin
- func (Remediation) Modules() []models.OrgModule
- func (Remediation) Name() string
- func (Remediation) PluralName() string
- func (r Remediation) Policy() ent.Policy
- type ResponsibilityMixin
- type Review
- func (Review) Annotations() []schema.Annotation
- func (r Review) Edges() []ent.Edge
- func (Review) Fields() []ent.Field
- func (Review) GetType() any
- func (Review) Hooks() []ent.Hook
- func (Review) Indexes() []ent.Index
- func (r Review) Mixin() []ent.Mixin
- func (Review) Modules() []models.OrgModule
- func (Review) Name() string
- func (Review) PluralName() string
- func (r Review) Policy() ent.Policy
- type Risk
- func (r Risk) Annotations() []schema.Annotation
- func (r Risk) Edges() []ent.Edge
- func (Risk) Fields() []ent.Field
- func (Risk) GetType() any
- func (Risk) Hooks() []ent.Hook
- func (Risk) Indexes() []ent.Index
- func (r Risk) Mixin() []ent.Mixin
- func (Risk) Modules() []models.OrgModule
- func (Risk) Name() string
- func (Risk) PluralName() string
- func (r Risk) Policy() ent.Policy
- type SLADefinition
- func (SLADefinition) Annotations() []schema.Annotation
- func (SLADefinition) Edges() []ent.Edge
- func (SLADefinition) Fields() []ent.Field
- func (SLADefinition) GetType() any
- func (SLADefinition) Indexes() []ent.Index
- func (s SLADefinition) Mixin() []ent.Mixin
- func (SLADefinition) Modules() []models.OrgModule
- func (SLADefinition) Name() string
- func (SLADefinition) PluralName() string
- func (SLADefinition) Policy() ent.Policy
- type Scan
- func (Scan) Annotations() []schema.Annotation
- func (s Scan) Edges() []ent.Edge
- func (Scan) Fields() []ent.Field
- func (Scan) GetType() any
- func (s Scan) Mixin() []ent.Mixin
- func (Scan) Modules() []models.OrgModule
- func (Scan) Name() string
- func (Scan) PluralName() string
- func (s Scan) Policy() ent.Policy
- type SchemaFuncs
- type SkipFGAOverfetch
- type Standard
- func (Standard) Annotations() []schema.Annotation
- func (s Standard) Edges() []ent.Edge
- func (Standard) Fields() []ent.Field
- func (Standard) GetType() any
- func (Standard) Hooks() []ent.Hook
- func (s Standard) Interceptors() []ent.Interceptor
- func (s Standard) Mixin() []ent.Mixin
- func (Standard) Modules() []models.OrgModule
- func (Standard) Name() string
- func (Standard) PluralName() string
- func (s Standard) Policy() ent.Policy
- type Subcontrol
- func (Subcontrol) Annotations() []schema.Annotation
- func (s Subcontrol) Edges() []ent.Edge
- func (Subcontrol) Fields() []ent.Field
- func (Subcontrol) GetType() any
- func (Subcontrol) Hooks() []ent.Hook
- func (Subcontrol) Indexes() []ent.Index
- func (Subcontrol) Interceptors() []ent.Interceptor
- func (s Subcontrol) Mixin() []ent.Mixin
- func (Subcontrol) Modules() []models.OrgModule
- func (Subcontrol) Name() string
- func (Subcontrol) PluralName() string
- func (s Subcontrol) Policy() ent.Policy
- type Subprocessor
- func (Subprocessor) Annotations() []schema.Annotation
- func (t Subprocessor) Edges() []ent.Edge
- func (Subprocessor) Fields() []ent.Field
- func (Subprocessor) GetType() any
- func (Subprocessor) Hooks() []ent.Hook
- func (Subprocessor) Indexes() []ent.Index
- func (t Subprocessor) Interceptors() []ent.Interceptor
- func (t Subprocessor) Mixin() []ent.Mixin
- func (Subprocessor) Modules() []models.OrgModule
- func (Subprocessor) Name() string
- func (Subprocessor) PluralName() string
- func (t Subprocessor) Policy() ent.Policy
- type Subscriber
- func (Subscriber) Annotations() []schema.Annotation
- func (s Subscriber) Edges() []ent.Edge
- func (Subscriber) Fields() []ent.Field
- func (Subscriber) GetType() any
- func (Subscriber) Hooks() []ent.Hook
- func (Subscriber) Indexes() []ent.Index
- func (s Subscriber) Mixin() []ent.Mixin
- func (Subscriber) Modules() []models.OrgModule
- func (Subscriber) Name() string
- func (Subscriber) PluralName() string
- func (Subscriber) Policy() ent.Policy
- type SystemDetail
- func (SystemDetail) Annotations() []schema.Annotation
- func (s SystemDetail) Edges() []ent.Edge
- func (SystemDetail) Fields() []ent.Field
- func (SystemDetail) GetType() any
- func (SystemDetail) Indexes() []ent.Index
- func (s SystemDetail) Mixin() []ent.Mixin
- func (SystemDetail) Modules() []models.OrgModule
- func (SystemDetail) Name() string
- func (SystemDetail) PluralName() string
- func (s SystemDetail) Policy() ent.Policy
- type TFASetting
- func (t TFASetting) Annotations() []schema.Annotation
- func (TFASetting) Fields() []ent.Field
- func (TFASetting) GetType() any
- func (TFASetting) Hooks() []ent.Hook
- func (t TFASetting) Mixin() []ent.Mixin
- func (TFASetting) Modules() []models.OrgModule
- func (TFASetting) Name() string
- func (TFASetting) PluralName() string
- func (t TFASetting) Policy() ent.Policy
- type TagDefinition
- func (TagDefinition) Annotations() []schema.Annotation
- func (t TagDefinition) Edges() []ent.Edge
- func (TagDefinition) Fields() []ent.Field
- func (TagDefinition) GetType() any
- func (TagDefinition) Hooks() []ent.Hook
- func (TagDefinition) Indexes() []ent.Index
- func (TagDefinition) Interceptors() []ent.Interceptor
- func (t TagDefinition) Mixin() []ent.Mixin
- func (TagDefinition) Modules() []models.OrgModule
- func (TagDefinition) Name() string
- func (TagDefinition) PluralName() string
- func (TagDefinition) Policy() ent.Policy
- type Task
- func (Task) Annotations() []schema.Annotation
- func (t Task) Edges() []ent.Edge
- func (Task) Fields() []ent.Field
- func (Task) GetType() any
- func (Task) Hooks() []ent.Hook
- func (Task) Indexes() []ent.Index
- func (t Task) Mixin() []ent.Mixin
- func (Task) Modules() []models.OrgModule
- func (Task) Name() string
- func (Task) PluralName() string
- func (Task) Policy() ent.Policy
- type Template
- func (Template) Annotations() []schema.Annotation
- func (t Template) Edges() []ent.Edge
- func (Template) Fields() []ent.Field
- func (Template) GetType() any
- func (Template) Hooks() []ent.Hook
- func (Template) Indexes() []ent.Index
- func (Template) Interceptors() []ent.Interceptor
- func (t Template) Mixin() []ent.Mixin
- func (Template) Name() string
- func (Template) PluralName() string
- func (Template) Policy() ent.Policy
- type TrustCenter
- func (t TrustCenter) Annotations() []schema.Annotation
- func (t TrustCenter) Edges() []ent.Edge
- func (TrustCenter) Fields() []ent.Field
- func (TrustCenter) GetType() any
- func (TrustCenter) Hooks() []ent.Hook
- func (TrustCenter) Indexes() []ent.Index
- func (t TrustCenter) Interceptors() []ent.Interceptor
- func (t TrustCenter) Mixin() []ent.Mixin
- func (TrustCenter) Modules() []models.OrgModule
- func (TrustCenter) Name() string
- func (TrustCenter) PluralName() string
- func (t TrustCenter) Policy() ent.Policy
- type TrustCenterCompliance
- func (TrustCenterCompliance) Annotations() []schema.Annotation
- func (t TrustCenterCompliance) Edges() []ent.Edge
- func (TrustCenterCompliance) Fields() []ent.Field
- func (TrustCenterCompliance) GetType() any
- func (TrustCenterCompliance) Hooks() []ent.Hook
- func (TrustCenterCompliance) Indexes() []ent.Index
- func (TrustCenterCompliance) Interceptors() []ent.Interceptor
- func (t TrustCenterCompliance) Mixin() []ent.Mixin
- func (TrustCenterCompliance) Modules() []models.OrgModule
- func (TrustCenterCompliance) Name() string
- func (TrustCenterCompliance) PluralName() string
- func (TrustCenterCompliance) Policy() ent.Policy
- type TrustCenterDoc
- func (TrustCenterDoc) Annotations() []schema.Annotation
- func (t TrustCenterDoc) Edges() []ent.Edge
- func (TrustCenterDoc) Fields() []ent.Field
- func (TrustCenterDoc) GetType() any
- func (TrustCenterDoc) Hooks() []ent.Hook
- func (TrustCenterDoc) Indexes() []ent.Index
- func (TrustCenterDoc) Interceptors() []ent.Interceptor
- func (t TrustCenterDoc) Mixin() []ent.Mixin
- func (TrustCenterDoc) Modules() []models.OrgModule
- func (TrustCenterDoc) Name() string
- func (TrustCenterDoc) PluralName() string
- func (TrustCenterDoc) Policy() ent.Policy
- type TrustCenterEntity
- func (TrustCenterEntity) Annotations() []schema.Annotation
- func (t TrustCenterEntity) Edges() []ent.Edge
- func (TrustCenterEntity) Fields() []ent.Field
- func (TrustCenterEntity) GetType() any
- func (TrustCenterEntity) Hooks() []ent.Hook
- func (TrustCenterEntity) Indexes() []ent.Index
- func (TrustCenterEntity) Interceptors() []ent.Interceptor
- func (t TrustCenterEntity) Mixin() []ent.Mixin
- func (TrustCenterEntity) Modules() []models.OrgModule
- func (TrustCenterEntity) Name() string
- func (TrustCenterEntity) PluralName() string
- func (TrustCenterEntity) Policy() ent.Policy
- type TrustCenterFAQ
- func (TrustCenterFAQ) Annotations() []schema.Annotation
- func (t TrustCenterFAQ) Edges() []ent.Edge
- func (TrustCenterFAQ) Fields() []ent.Field
- func (TrustCenterFAQ) GetType() any
- func (TrustCenterFAQ) Hooks() []ent.Hook
- func (TrustCenterFAQ) Indexes() []ent.Index
- func (TrustCenterFAQ) Interceptors() []ent.Interceptor
- func (t TrustCenterFAQ) Mixin() []ent.Mixin
- func (TrustCenterFAQ) Modules() []models.OrgModule
- func (TrustCenterFAQ) Name() string
- func (TrustCenterFAQ) PluralName() string
- func (TrustCenterFAQ) Policy() ent.Policy
- type TrustCenterNDARequest
- func (TrustCenterNDARequest) Annotations() []schema.Annotation
- func (t TrustCenterNDARequest) Edges() []ent.Edge
- func (TrustCenterNDARequest) Fields() []ent.Field
- func (TrustCenterNDARequest) GetType() any
- func (TrustCenterNDARequest) Hooks() []ent.Hook
- func (TrustCenterNDARequest) Indexes() []ent.Index
- func (TrustCenterNDARequest) Interceptors() []ent.Interceptor
- func (t TrustCenterNDARequest) Mixin() []ent.Mixin
- func (TrustCenterNDARequest) Modules() []models.OrgModule
- func (TrustCenterNDARequest) Name() string
- func (TrustCenterNDARequest) PluralName() string
- func (TrustCenterNDARequest) Policy() ent.Policy
- type TrustCenterSetting
- func (t TrustCenterSetting) Annotations() []schema.Annotation
- func (t TrustCenterSetting) Edges() []ent.Edge
- func (TrustCenterSetting) Fields() []ent.Field
- func (TrustCenterSetting) GetType() any
- func (TrustCenterSetting) Hooks() []ent.Hook
- func (TrustCenterSetting) Indexes() []ent.Index
- func (t TrustCenterSetting) Interceptors() []ent.Interceptor
- func (t TrustCenterSetting) Mixin() []ent.Mixin
- func (TrustCenterSetting) Modules() []models.OrgModule
- func (TrustCenterSetting) Name() string
- func (TrustCenterSetting) PluralName() string
- func (t TrustCenterSetting) Policy() ent.Policy
- type TrustCenterSubprocessor
- func (t TrustCenterSubprocessor) Annotations() []schema.Annotation
- func (t TrustCenterSubprocessor) Edges() []ent.Edge
- func (TrustCenterSubprocessor) Fields() []ent.Field
- func (TrustCenterSubprocessor) GetType() any
- func (TrustCenterSubprocessor) Hooks() []ent.Hook
- func (TrustCenterSubprocessor) Indexes() []ent.Index
- func (t TrustCenterSubprocessor) Interceptors() []ent.Interceptor
- func (t TrustCenterSubprocessor) Mixin() []ent.Mixin
- func (TrustCenterSubprocessor) Modules() []models.OrgModule
- func (TrustCenterSubprocessor) Name() string
- func (TrustCenterSubprocessor) PluralName() string
- func (t TrustCenterSubprocessor) Policy() ent.Policy
- type TrustCenterWatermarkConfig
- func (TrustCenterWatermarkConfig) Annotations() []schema.Annotation
- func (t TrustCenterWatermarkConfig) Edges() []ent.Edge
- func (TrustCenterWatermarkConfig) Fields() []ent.Field
- func (TrustCenterWatermarkConfig) GetType() any
- func (TrustCenterWatermarkConfig) Hooks() []ent.Hook
- func (TrustCenterWatermarkConfig) Indexes() []ent.Index
- func (TrustCenterWatermarkConfig) Interceptors() []ent.Interceptor
- func (t TrustCenterWatermarkConfig) Mixin() []ent.Mixin
- func (TrustCenterWatermarkConfig) Modules() []models.OrgModule
- func (TrustCenterWatermarkConfig) Name() string
- func (TrustCenterWatermarkConfig) PluralName() string
- func (TrustCenterWatermarkConfig) Policy() ent.Policy
- type User
- func (u User) Annotations() []schema.Annotation
- func (u User) Edges() []ent.Edge
- func (User) Fields() []ent.Field
- func (User) GetType() any
- func (User) Hooks() []ent.Hook
- func (User) Indexes() []ent.Index
- func (u User) Interceptors() []ent.Interceptor
- func (User) Mixin() []ent.Mixin
- func (User) Name() string
- func (User) PluralName() string
- func (User) Policy() ent.Policy
- type UserOwnedMixin
- func (userOwned UserOwnedMixin) Edges() []ent.Edge
- func (userOwned UserOwnedMixin) Fields() []ent.Field
- func (userOwned UserOwnedMixin) Hooks() []ent.Hook
- func (userOwned UserOwnedMixin) Indexes() []ent.Index
- func (userOwned UserOwnedMixin) Interceptors() []ent.Interceptor
- func (userOwned UserOwnedMixin) P(w interface{ ... }, userID string)
- type UserSetting
- func (u UserSetting) Annotations() []schema.Annotation
- func (u UserSetting) Edges() []ent.Edge
- func (UserSetting) Fields() []ent.Field
- func (UserSetting) GetType() any
- func (UserSetting) Hooks() []ent.Hook
- func (UserSetting) Interceptors() []ent.Interceptor
- func (UserSetting) Mixin() []ent.Mixin
- func (UserSetting) Name() string
- func (UserSetting) PluralName() string
- func (UserSetting) Policy() ent.Policy
- type VendorRiskScore
- func (VendorRiskScore) Annotations() []schema.Annotation
- func (v VendorRiskScore) Edges() []ent.Edge
- func (VendorRiskScore) Fields() []ent.Field
- func (VendorRiskScore) GetType() any
- func (VendorRiskScore) Hooks() []ent.Hook
- func (v VendorRiskScore) Mixin() []ent.Mixin
- func (VendorRiskScore) Modules() []models.OrgModule
- func (VendorRiskScore) Name() string
- func (VendorRiskScore) PluralName() string
- func (VendorRiskScore) Policy() ent.Policy
- type VendorScoringConfig
- func (VendorScoringConfig) Annotations() []schema.Annotation
- func (v VendorScoringConfig) Edges() []ent.Edge
- func (VendorScoringConfig) Fields() []ent.Field
- func (VendorScoringConfig) GetType() any
- func (VendorScoringConfig) Hooks() []ent.Hook
- func (v VendorScoringConfig) Mixin() []ent.Mixin
- func (VendorScoringConfig) Modules() []models.OrgModule
- func (VendorScoringConfig) Name() string
- func (VendorScoringConfig) PluralName() string
- func (VendorScoringConfig) Policy() ent.Policy
- type Vulnerability
- func (Vulnerability) Annotations() []schema.Annotation
- func (v Vulnerability) Edges() []ent.Edge
- func (Vulnerability) Fields() []ent.Field
- func (Vulnerability) GetType() any
- func (Vulnerability) Hooks() []ent.Hook
- func (Vulnerability) Indexes() []ent.Index
- func (v Vulnerability) Mixin() []ent.Mixin
- func (Vulnerability) Modules() []models.OrgModule
- func (Vulnerability) Name() string
- func (Vulnerability) PluralName() string
- func (v Vulnerability) Policy() ent.Policy
- type Webauthn
- func (w Webauthn) Annotations() []schema.Annotation
- func (Webauthn) Fields() []ent.Field
- func (Webauthn) GetType() any
- func (Webauthn) Hooks() []ent.Hook
- func (w Webauthn) Mixin() []ent.Mixin
- func (Webauthn) Modules() []models.OrgModule
- func (Webauthn) Name() string
- func (Webauthn) PluralName() string
- func (w Webauthn) Policy() ent.Policy
- type WorkflowApprovalMixin
- type WorkflowAssignment
- func (WorkflowAssignment) Annotations() []schema.Annotation
- func (w WorkflowAssignment) Edges() []ent.Edge
- func (WorkflowAssignment) Fields() []ent.Field
- func (WorkflowAssignment) GetType() any
- func (WorkflowAssignment) Hooks() []ent.Hook
- func (WorkflowAssignment) Indexes() []ent.Index
- func (WorkflowAssignment) Mixin() []ent.Mixin
- func (WorkflowAssignment) Modules() []models.OrgModule
- func (WorkflowAssignment) Name() string
- func (WorkflowAssignment) PluralName() string
- func (WorkflowAssignment) Policy() ent.Policy
- type WorkflowAssignmentTarget
- func (WorkflowAssignmentTarget) Annotations() []schema.Annotation
- func (w WorkflowAssignmentTarget) Edges() []ent.Edge
- func (WorkflowAssignmentTarget) Fields() []ent.Field
- func (WorkflowAssignmentTarget) GetType() any
- func (WorkflowAssignmentTarget) Indexes() []ent.Index
- func (WorkflowAssignmentTarget) Mixin() []ent.Mixin
- func (WorkflowAssignmentTarget) Modules() []models.OrgModule
- func (WorkflowAssignmentTarget) Name() string
- func (WorkflowAssignmentTarget) PluralName() string
- func (WorkflowAssignmentTarget) Policy() ent.Policy
- type WorkflowDefinition
- func (WorkflowDefinition) Annotations() []schema.Annotation
- func (WorkflowDefinition) Edges() []ent.Edge
- func (WorkflowDefinition) Fields() []ent.Field
- func (WorkflowDefinition) GetType() any
- func (WorkflowDefinition) Hooks() []ent.Hook
- func (w WorkflowDefinition) Mixin() []ent.Mixin
- func (WorkflowDefinition) Modules() []models.OrgModule
- func (WorkflowDefinition) Name() string
- func (WorkflowDefinition) PluralName() string
- func (WorkflowDefinition) Policy() ent.Policy
- type WorkflowEvent
- func (WorkflowEvent) Annotations() []schema.Annotation
- func (WorkflowEvent) Edges() []ent.Edge
- func (WorkflowEvent) Fields() []ent.Field
- func (WorkflowEvent) GetType() any
- func (WorkflowEvent) Mixin() []ent.Mixin
- func (WorkflowEvent) Modules() []models.OrgModule
- func (WorkflowEvent) Name() string
- func (WorkflowEvent) PluralName() string
- func (WorkflowEvent) Policy() ent.Policy
- type WorkflowInstance
- func (WorkflowInstance) Annotations() []schema.Annotation
- func (w WorkflowInstance) Edges() []ent.Edge
- func (WorkflowInstance) Fields() []ent.Field
- func (WorkflowInstance) GetType() any
- func (WorkflowInstance) Hooks() []ent.Hook
- func (WorkflowInstance) Indexes() []ent.Index
- func (WorkflowInstance) Mixin() []ent.Mixin
- func (WorkflowInstance) Modules() []models.OrgModule
- func (WorkflowInstance) Name() string
- func (WorkflowInstance) PluralName() string
- func (WorkflowInstance) Policy() ent.Policy
- type WorkflowObjectRef
- func (WorkflowObjectRef) Annotations() []schema.Annotation
- func (w WorkflowObjectRef) Edges() []ent.Edge
- func (WorkflowObjectRef) Fields() []ent.Field
- func (WorkflowObjectRef) GetType() any
- func (WorkflowObjectRef) Indexes() []ent.Index
- func (w WorkflowObjectRef) Mixin() []ent.Mixin
- func (WorkflowObjectRef) Modules() []models.OrgModule
- func (WorkflowObjectRef) Name() string
- func (WorkflowObjectRef) PluralName() string
- func (WorkflowObjectRef) Policy() ent.Policy
- type WorkflowProposal
- func (WorkflowProposal) Annotations() []schema.Annotation
- func (w WorkflowProposal) Edges() []ent.Edge
- func (WorkflowProposal) Fields() []ent.Field
- func (WorkflowProposal) GetType() any
- func (WorkflowProposal) Hooks() []ent.Hook
- func (WorkflowProposal) Indexes() []ent.Index
- func (w WorkflowProposal) Mixin() []ent.Mixin
- func (WorkflowProposal) Modules() []models.OrgModule
- func (WorkflowProposal) Name() string
- func (WorkflowProposal) PluralName() string
- func (WorkflowProposal) Policy() ent.Policy
Constants ¶
const SchemaAPIToken = "api_token"
SchemaAPIToken is the name of the APIToken schema.
const SchemaActionPlan = "action_plan"
SchemaActionPlan is the name of the action plan schema.
const SchemaAssessment = "assessment"
const SchemaAssessmentResponse = "assessment_response"
SchemaAssessmentResponse is the stable schema name for assessment responses.
const SchemaAsset = "asset"
SchemaAsset is the name of the Asset schema
const SchemaCampaign = "campaign"
SchemaCampaign is the name of the Campaign schema
const SchemaCampaignTarget = "campaign_target"
SchemaCampaignTarget is the name of the CampaignTarget schema
const SchemaCheckResult = "check_result"
SchemaCheckResult is the name of the schema in snake case
const SchemaContact = "contact"
SchemaContact is the name of the Contact schema.
const SchemaControl = "control"
SchemaControl is the name of the control schema.
const SchemaControlObjective = "control_objective"
SchemaControlObjective is the name of the controlobjective schema.
const (
// SchemaCustomDomain is the name of the CustomDomain schema.
SchemaCustomDomain = "custom_domain"
)
const SchemaCustomTypeEnum = "custom_type_enum"
SchemaCustomTypeEnum is the name of the schema in snake case
const (
// SchemaDNSVerification is the name of the DNSVerification schema.
SchemaDNSVerification = "dns_verification"
)
const SchemaDirectoryAccount = "directory_account"
SchemaDirectoryAccount is the canonical schema name
const SchemaDirectoryGroup = "directory_group"
SchemaDirectoryGroup is the canonical schema name
const SchemaDirectoryMembership = "directory_membership"
SchemaDirectoryMembership is the canonical schema name
const SchemaDirectorySyncRun = "directory_sync_run"
SchemaDirectorySyncRun is the canonical schema name
const SchemaDiscussion = "discussion"
SchemaDiscussionis the name of the schema in snake case
const SchemaDocumentData = "document"
SchemaDocumentData is the name of the DocumentData schema.
const SchemaEmailTemplate = "email_template"
SchemaEmailTemplate is the name of the EmailTemplate schema.
const SchemaEmailVerificationToken = "email_verification_token" //nolint:gosec
SchemaEmailVerificationToken is the name of the EmailVerificationToken schema.
const SchemaEntity = "entity"
SchemaEntity is the name of the Entity schema.
const SchemaEntityType = "entity_type"
SchemaEntityType is the name of the EntityType schema.
const SchemaEvent = "event"
SchemaEvent is the name of the Event schema.
const SchemaEvidence = "evidence"
SchemaEvidence is the name of the Evidence schema.
const SchemaExport = "export"
const SchemaFile = "file"
const SchemaFileDownloadToken = "file_download_token"
SchemaFileDownloadToken is the name of the FileDownloadToken schema.
const SchemaFinding = "finding"
SchemaFinding is the name of the finding schema.
const SchemaFindingControl = "finding_control"
SchemaFindingControl is the name of the finding control schema.
const SchemaGroup = "group"
SchemaGroup is the name of the Group schema.
const SchemaGroupMembership = "group_membership"
SchemaGroupMembership is the name of the GroupMembership schema.
const SchemaGroupSetting = "group_setting"
const SchemaHush = "secret"
SchemaHush is the name of the Hush schema.
const SchemaIdentityHolder = "identity_holder"
SchemaIdentityHolder is the name of the IdentityHolder schema
const SchemaImpersonationEvent = "impersonation_event"
SchemaImpersonationEventis the name of the schema in snake case
const SchemaImplementation = "control_implementation"
SchemaImplementation is the name of the ControlImplementation schema.
const SchemaIntegration = "integration"
SchemaIntegration is the name of the Integration schema.
const SchemaIntegrationRun = "integration_run"
SchemaIntegrationRun is the name of the IntegrationRun schema.
const SchemaIntegrationWebhook = "integration_webhook"
SchemaIntegrationWebhook is the name of the IntegrationWebhook schema.
const SchemaInternalPolicy = "internal_policy"
SchemaInternalPolicy is the name of the internal policy schema.
const SchemaInvite = "invite"
const (
// SchemaMappableDomain is the name of the MappableDomain schema.
SchemaMappableDomain = "mappable_domain"
)
const SchemaMappedControl = "mapped_control"
const SchemaNarrative = "narrative"
const SchemaNote = "note"
const SchemaNotification = "notification"
const SchemaNotificationPreference = "notification_preference"
SchemaNotificationPreference is the name of the NotificationPreference schema.
const SchemaNotificationTemplate = "notification_template"
SchemaNotificationTemplate is the name of the NotificationTemplate schema.
const SchemaOnboarding = "onboarding"
SchemaOnboarding is the name of the Onboarding schema.
const SchemaOrgMembership = "org_membership"
const SchemaOrgModule = "org_module"
const SchemaOrgPrice = "org_price"
const SchemaOrgProduct = "org_product"
const SchemaOrgSubscription = "org_subscription"
SchemaOrgSubscription is the name of the OrgSubscription schema.
const SchemaOrganization = "organization"
const SchemaOrganizationSetting = "organization_setting"
SchemaOrganizationSetting is the name of the OrganizationSetting schema.
const SchemaPasswordResetToken = "password_reset_token"
SchemaPasswordResetToken is the name of the PasswordResetToken schema.
const SchemaPersonalAccessToken = "personal_access_token"
SchemaPersonalAccessToken is the name of the PersonalAccessToken schema.
const SchemaPlatform = "platform"
SchemaPlatform is the name of the Platform schema
const SchemaProcedure = "procedure"
SchemaProcedure is the name of the procedure schema.
const SchemaProgram = "program"
SchemaProgram is the name of the Program schema.
const SchemaProgramMembership = "program_membership"
SchemaProgramMembership is the name of the ProgramMembership schema.
const SchemaRemediation = "remediation"
SchemaRemediation is the name of the remediation schema.
const SchemaReview = "review"
SchemaReview is the name of the review schema.
const SchemaRisk = "risk"
SchemaRisk is the name of the risk schema.
const SchemaSLADefinition = "sla_definition"
SchemaSLADefinition is the name of the SLA definition schema.
const SchemaScan = "scan"
SchemaScan is the name of the Scan schema
const SchemaStandard = "standard"
SchemaStandard is the name of the standard schema.
const SchemaSubcontrol = "subcontrol"
SchemaSubcontrol is the name of the Subcontrol schema.
const SchemaSubprocessor = "subprocessor"
SchemaSubprocessor is the name of the Subprocessor schema.
const SchemaSubscriber = "subscriber"
SchemaSubscriber is the name of the Subscriber schema.
const SchemaSystemDetail = "system_detail"
SchemaSystemDetail is the canonical schema name
const SchemaTFASetting = "tfa_setting"
SchemaTFASetting is the name of the TFASetting schema.
const SchemaTagDefinition = "tag_definition"
SchemaTagDefinitionis the name of the schema in snake case
const SchemaTask = "task"
SchemaTask is the name of the Task schema.
const SchemaTemplate = "template"
SchemaTemplate is the name of the Template schema.
const SchemaTrustCenter = "trust_center"
SchemaTrustCenter is the name of the TrustCenter schema.
const SchemaTrustCenterCompliance = "trust_center_compliance"
SchemaTrustCenterCompliance is the name of the TrustCenterCompliance schema.
const SchemaTrustCenterDoc = "trust_center_doc"
SchemaTrustCenterDoc is the name of the TrustCenterDoc schema.
const SchemaTrustCenterEntity = "trust_center_entity"
SchemaTrustCenterEntity is the name of the schema in snake case
const SchemaTrustCenterFAQ = "trust_center_faq"
SchemaTrustCenterFAQ is the name of the TrustCenterFAQ schema.
const SchemaTrustCenterNDARequest = "trust_center_nda_request"
SchemaTrustCenterNDARequest is the name of the TrustCenterNDARequest schema.
const SchemaTrustCenterSetting = "trust_center_setting"
const SchemaTrustCenterSubprocessor = "trust_center_subprocessor"
SchemaTrustCenterSubprocessor is the name of the TrustCenterSubprocessor schema.
const SchemaTrustCenterWatermarkConfig = "trust_center_watermark_config"
SchemaTrustCenterWatermarkConfig is the name of the TrustCenterWatermarkConfig schema.
const SchemaUser = "user"
SchemaUser is the name of the User schema.
const SchemaUserSetting = "user_setting"
SchemaUserSetting is the name of the UserSetting schema.
const SchemaVendorRiskScore = "vendor_risk_score"
SchemaVendorRiskScore is the name of the VendorRiskScore schema
const SchemaVendorScoringConfig = "vendor_scoring_config"
SchemaVendorScoringConfig is the name of the VendorScoringConfig schema
const SchemaVulnerability = "vulnerability"
SchemaVulnerability is the name of the vulnerability schema.
const SchemaWebauthn = "webauthn"
SchemaWebauthn is the name of the Webauthn schema.
const SkipFGAOverfetchAnnotationName = "OPENLANE_SKIP_FGA_OVERFETCH"
SkipFGAOverfetchAnnotationName is the annotation key used to signal that list queries use SQL-level filtering (blocked groups) instead of per-object FGA BatchCheck, so pagination should not apply the 10x overfetch multiplier
Variables ¶
var ( // ErrInvalidTokenSize is returned when session token size is invalid ErrInvalidTokenSize = errors.New("invalid token size") // ErrContainsSpaces is returned when field contains spaces ErrContainsSpaces = errors.New("field should not contain spaces") // ErrUnexpectedMutationType is returned when an unexpected mutation type is encountered ErrUnexpectedMutationType = errors.New("unexpected mutation type") // ErrInternalServerError is returned when an error occurs that should not be exposed to the user and is not the user's fault, such as an error writing to the database or authz system ErrInternalServerError = errors.New("internal server error") )
Functions ¶
This section is empty.
Types ¶
type APIToken ¶
type APIToken struct {
SchemaFuncs
ent.Schema
}
APIToken holds the schema definition for the APIToken entity.
func (APIToken) Annotations ¶
func (a APIToken) Annotations() []schema.Annotation
Annotations of the APIToken
func (APIToken) Interceptors ¶
func (a APIToken) Interceptors() []ent.Interceptor
Interceptors of the APIToken
func (APIToken) PluralName ¶
PluralName returns the plural name of the APIToken schema.
type ActionPlan ¶
type ActionPlan struct {
SchemaFuncs
ent.Schema
}
ActionPlan defines the action plan schema.
func (ActionPlan) Annotations ¶
func (a ActionPlan) Annotations() []schema.Annotation
Annotations of the ActionPlan
func (ActionPlan) Fields ¶
func (ActionPlan) Fields() []ent.Field
Fields returns action plan fields.
func (ActionPlan) GetType ¶
func (ActionPlan) GetType() any
GetType returns the type of the action plan schema.
func (ActionPlan) Modules ¶
func (ActionPlan) Modules() []models.OrgModule
func (ActionPlan) Name ¶
func (ActionPlan) Name() string
Name returns the name of the action plan schema.
func (ActionPlan) PluralName ¶
func (ActionPlan) PluralName() string
PluralName returns the plural name of the action plan schema.
type Assessment ¶
type Assessment struct {
SchemaFuncs
ent.Schema
}
Assessment stores information about an questionnaire filled out
func (Assessment) Annotations ¶
func (Assessment) Annotations() []schema.Annotation
Annotations of the Assessment
func (Assessment) Edges ¶
func (a Assessment) Edges() []ent.Edge
func (Assessment) Fields ¶
func (Assessment) Fields() []ent.Field
func (Assessment) GetType ¶
func (Assessment) GetType() any
func (Assessment) Hooks ¶
func (Assessment) Hooks() []ent.Hook
func (Assessment) Interceptors ¶
func (Assessment) Interceptors() []ent.Interceptor
Interceptors of the Assessment
func (Assessment) Mixin ¶
func (a Assessment) Mixin() []ent.Mixin
func (Assessment) Modules ¶
func (Assessment) Modules() []models.OrgModule
func (Assessment) Name ¶
func (Assessment) Name() string
func (Assessment) PluralName ¶
func (Assessment) PluralName() string
func (Assessment) Policy ¶
func (Assessment) Policy() ent.Policy
type AssessmentResponse ¶
type AssessmentResponse struct {
SchemaFuncs
ent.Schema
}
AssessmentResponse stores information about a user's response to an assessment including status, completion, and answers
func (AssessmentResponse) Annotations ¶
func (AssessmentResponse) Annotations() []schema.Annotation
Annotations of the AssessmentResponse
func (AssessmentResponse) Edges ¶
func (ar AssessmentResponse) Edges() []ent.Edge
Edges defines the AssessmentResponse relationships.
func (AssessmentResponse) Fields ¶
func (AssessmentResponse) Fields() []ent.Field
Fields defines the AssessmentResponse fields.
func (AssessmentResponse) GetType ¶
func (AssessmentResponse) GetType() any
GetType returns the schema's Type reference.
func (AssessmentResponse) Hooks ¶
func (AssessmentResponse) Hooks() []ent.Hook
Hooks configures the AssessmentResponse hooks.
func (AssessmentResponse) Indexes ¶
func (AssessmentResponse) Indexes() []ent.Index
Indexes of the AssessmentResponse
func (AssessmentResponse) Mixin ¶
func (ar AssessmentResponse) Mixin() []ent.Mixin
Mixin configures shared mixins for AssessmentResponse.
func (AssessmentResponse) Modules ¶
func (AssessmentResponse) Modules() []models.OrgModule
Modules declares the modules required for AssessmentResponse.
func (AssessmentResponse) Name ¶
func (AssessmentResponse) Name() string
Name returns the schema name for AssessmentResponse.
func (AssessmentResponse) PluralName ¶
func (AssessmentResponse) PluralName() string
PluralName returns the plural schema name for AssessmentResponse.
func (AssessmentResponse) Policy ¶
func (AssessmentResponse) Policy() ent.Policy
Policy configures authorization for AssessmentResponse operations.
type Asset ¶
type Asset struct {
SchemaFuncs
ent.Schema
}
Asset stores information about a discovered asset such as technology, domain, or device.
func (Asset) Annotations ¶
func (a Asset) Annotations() []schema.Annotation
Annotations of the Asset
func (Asset) PluralName ¶
PluralName returns the plural name of the Asset schema
type Campaign ¶
type Campaign struct {
SchemaFuncs
ent.Schema
}
Campaign holds the schema definition for the Campaign entity
func (Campaign) Annotations ¶
func (Campaign) Annotations() []schema.Annotation
Annotations of the Campaign
func (Campaign) PluralName ¶
PluralName returns the plural name of the Campaign schema
type CampaignTarget ¶
type CampaignTarget struct {
SchemaFuncs
ent.Schema
}
CampaignTarget holds the schema definition for the CampaignTarget entity
func (CampaignTarget) Annotations ¶
func (CampaignTarget) Annotations() []schema.Annotation
Annotations of the CampaignTarget
func (CampaignTarget) Edges ¶
func (c CampaignTarget) Edges() []ent.Edge
Edges of the CampaignTarget
func (CampaignTarget) Fields ¶
func (CampaignTarget) Fields() []ent.Field
Fields of the CampaignTarget
func (CampaignTarget) GetType ¶
func (CampaignTarget) GetType() any
GetType returns the type of the CampaignTarget schema
func (CampaignTarget) Indexes ¶
func (CampaignTarget) Indexes() []ent.Index
Indexes of the CampaignTarget
func (CampaignTarget) Mixin ¶
func (c CampaignTarget) Mixin() []ent.Mixin
Mixin of the CampaignTarget
func (CampaignTarget) Modules ¶
func (CampaignTarget) Modules() []models.OrgModule
Modules this schema has access to
func (CampaignTarget) Name ¶
func (CampaignTarget) Name() string
Name returns the name of the CampaignTarget schema
func (CampaignTarget) PluralName ¶
func (CampaignTarget) PluralName() string
PluralName returns the plural name of the CampaignTarget schema
func (CampaignTarget) Policy ¶
func (CampaignTarget) Policy() ent.Policy
Policy of the CampaignTarget
type CheckResult ¶
type CheckResult struct {
SchemaFuncs
ent.Schema
}
CheckResult holds the schema definition for the CheckResult entity
func (CheckResult) Annotations ¶
func (CheckResult) Annotations() []schema.Annotation
Annotations of the CheckResult
func (CheckResult) GetType ¶
func (CheckResult) GetType() any
GetType returns the type of the schema
func (CheckResult) Interceptors ¶
func (CheckResult) Interceptors() []ent.Interceptor
Interceptors of the CheckResult
func (CheckResult) Modules ¶
func (CheckResult) Modules() []models.OrgModule
Modules this schema has access to
func (CheckResult) Name ¶
func (CheckResult) Name() string
Name is the name of the schema in snake case
func (CheckResult) PluralName ¶
func (CheckResult) PluralName() string
PluralName returns the plural name of the schema
type Contact ¶
type Contact struct {
SchemaFuncs
ent.Schema
}
Contact holds the schema definition for the Contact entity
func (Contact) Annotations ¶
func (c Contact) Annotations() []schema.Annotation
Annotations of the Contact
func (Contact) PluralName ¶
PluralName returns the plural name of the Contact schema.
type Control ¶
type Control struct {
SchemaFuncs
ent.Schema
}
Control defines the control schema.
func (Control) Annotations ¶
func (c Control) Annotations() []schema.Annotation
Annotations of the Control
func (Control) Interceptors ¶
func (Control) Interceptors() []ent.Interceptor
Interceptors of the Control
func (Control) PluralName ¶
PluralName returns the plural name of the control schema.
type ControlImplementation ¶
type ControlImplementation struct {
SchemaFuncs
ent.Schema
}
ControlImplementation holds the schema definition for the ControlImplementation entity
func (ControlImplementation) Annotations ¶
func (c ControlImplementation) Annotations() []schema.Annotation
Annotations of the ControlImplementation
func (ControlImplementation) Edges ¶
func (c ControlImplementation) Edges() []ent.Edge
Edges of the ControlImplementation
func (ControlImplementation) Fields ¶
func (ControlImplementation) Fields() []ent.Field
Fields of the ControlImplementation
func (ControlImplementation) GetType ¶
func (ControlImplementation) GetType() any
GetType returns the type of the ControlImplementation schema.
func (ControlImplementation) Hooks ¶
func (ControlImplementation) Hooks() []ent.Hook
Hooks of the ControlImplementation
func (ControlImplementation) Mixin ¶
func (c ControlImplementation) Mixin() []ent.Mixin
Mixin of the ControlImplementation
func (ControlImplementation) Modules ¶
func (ControlImplementation) Modules() []models.OrgModule
func (ControlImplementation) Name ¶
func (ControlImplementation) Name() string
Name returns the name of the ControlImplementation schema.
func (ControlImplementation) PluralName ¶
func (ControlImplementation) PluralName() string
PluralName returns the plural name of the ControlImplementation schema.
func (ControlImplementation) Policy ¶
func (c ControlImplementation) Policy() ent.Policy
Policy of the ControlImplementation
type ControlMixin ¶
type ControlMixin struct {
mixin.Schema
// SchemaType is the schema that implements the SchemaFuncs interface that is using
// this mixin
SchemaType any
}
ControlMixin implements the control pattern fields for different schemas.
func (ControlMixin) Annotations ¶
func (ControlMixin) Annotations() []schema.Annotation
Annotations of the Control
func (ControlMixin) Indexes ¶
func (ControlMixin) Indexes() []ent.Index
Indexes of the Control Mixin
func (ControlMixin) Interceptors ¶
func (ControlMixin) Interceptors() []ent.Interceptor
Interceptors of the ControlMixin
type ControlObjective ¶
type ControlObjective struct {
SchemaFuncs
ent.Schema
}
ControlObjective defines the controlobjective schema.
func (ControlObjective) Annotations ¶
func (c ControlObjective) Annotations() []schema.Annotation
Annotations of the ControlObjective
func (ControlObjective) Edges ¶
func (c ControlObjective) Edges() []ent.Edge
Edges of the ControlObjective
func (ControlObjective) Fields ¶
func (ControlObjective) Fields() []ent.Field
Fields returns controlobjective fields.
func (ControlObjective) GetType ¶
func (ControlObjective) GetType() any
GetType returns the type of the controlobjective schema.
func (ControlObjective) Mixin ¶
func (c ControlObjective) Mixin() []ent.Mixin
Mixin of the ControlObjective
func (ControlObjective) Modules ¶
func (ControlObjective) Modules() []models.OrgModule
func (ControlObjective) Name ¶
func (ControlObjective) Name() string
Name returns the name of the controlobjective schema.
func (ControlObjective) PluralName ¶
func (ControlObjective) PluralName() string
PluralName returns the plural name of the controlobjective schema.
func (ControlObjective) Policy ¶
func (c ControlObjective) Policy() ent.Policy
Policy of the ControlObjective
type CustomDomain ¶
type CustomDomain struct {
SchemaFuncs
ent.Schema
}
CustomDomain holds the schema definition for the CustomDomain
func (CustomDomain) GetType ¶
func (CustomDomain) GetType() any
GetType returns the type of the CustomDomain schema.
func (CustomDomain) Modules ¶
func (CustomDomain) Modules() []models.OrgModule
func (CustomDomain) Name ¶
func (CustomDomain) Name() string
Name returns the name of the CustomDomain schema.
func (CustomDomain) PluralName ¶
func (CustomDomain) PluralName() string
PluralName returns the plural name of the CustomDomain schema.
type CustomEnumMixin ¶
type CustomEnumMixin struct {
mixin.Schema
// WorkflowEdgeEligible marks the enum edge as workflow-eligible
WorkflowEdgeEligible bool
// GlobalEnum marks the enum as a shared set across schemas
GlobalEnum bool
// DisableAutoCreate disables auto-creation of the enum if it doesn't exist
DisableAutoCreate bool
// contains filtered or unexported fields
}
CustomEnumMixin holds the schema definition for the custom enums
func (CustomEnumMixin) Edges ¶
func (c CustomEnumMixin) Edges() []ent.Edge
Edges of the CustomEnumMixin
func (CustomEnumMixin) Fields ¶
func (c CustomEnumMixin) Fields() []ent.Field
Fields of the CustomEnumMixin.
func (CustomEnumMixin) Hooks ¶
func (c CustomEnumMixin) Hooks() []ent.Hook
Hooks of the CustomEnumMixin
type CustomTypeEnum ¶
type CustomTypeEnum struct {
SchemaFuncs
ent.Schema
}
CustomTypeEnum holds the schema definition for the CustomTypeEnum entity
func (CustomTypeEnum) Annotations ¶
func (CustomTypeEnum) Annotations() []schema.Annotation
Annotations of the CustomTypeEnum
func (CustomTypeEnum) Edges ¶
func (t CustomTypeEnum) Edges() []ent.Edge
Edges of the CustomTypeEnum
func (CustomTypeEnum) Fields ¶
func (CustomTypeEnum) Fields() []ent.Field
Fields of the CustomTypeEnum
func (CustomTypeEnum) GetType ¶
func (CustomTypeEnum) GetType() any
GetType returns the type of the schema
func (CustomTypeEnum) Indexes ¶
func (CustomTypeEnum) Indexes() []ent.Index
Indexes of the CustomTypeEnum
func (CustomTypeEnum) Interceptors ¶
func (CustomTypeEnum) Interceptors() []ent.Interceptor
Interceptors of the CustomTypeEnum
func (CustomTypeEnum) Mixin ¶
func (t CustomTypeEnum) Mixin() []ent.Mixin
Mixin of the CustomTypeEnum
func (CustomTypeEnum) Modules ¶
func (CustomTypeEnum) Modules() []models.OrgModule
Modules this schema has access to
func (CustomTypeEnum) Name ¶
func (CustomTypeEnum) Name() string
Name is the name of the schema in snake case
func (CustomTypeEnum) PluralName ¶
func (CustomTypeEnum) PluralName() string
PluralName returns the plural name of the schema
func (CustomTypeEnum) Policy ¶
func (CustomTypeEnum) Policy() ent.Policy
Policy of the CustomTypeEnum
type DNSVerification ¶
type DNSVerification struct {
SchemaFuncs
ent.Schema
}
DNSVerification holds the schema definition for the DNSVerification
func (DNSVerification) Annotations ¶
func (DNSVerification) Annotations() []schema.Annotation
Annotations of the DNSVerification
func (DNSVerification) Edges ¶
func (e DNSVerification) Edges() []ent.Edge
Edges of the DNSVerification
func (DNSVerification) Fields ¶
func (DNSVerification) Fields() []ent.Field
Fields of the DNSVerification
func (DNSVerification) GetType ¶
func (DNSVerification) GetType() any
GetType returns the type of the DNSVerification schema.
func (DNSVerification) Hooks ¶
func (DNSVerification) Hooks() []ent.Hook
Hooks of the DNSVerification
func (DNSVerification) Indexes ¶
func (DNSVerification) Indexes() []ent.Index
Indexes of the DNSVerification
func (DNSVerification) Mixin ¶
func (e DNSVerification) Mixin() []ent.Mixin
Mixin of the DNSVerification
func (DNSVerification) Modules ¶
func (DNSVerification) Modules() []models.OrgModule
Modules of the DNSVerification
func (DNSVerification) Name ¶
func (DNSVerification) Name() string
Name returns the name of the DNSVerification schema.
func (DNSVerification) PluralName ¶
func (DNSVerification) PluralName() string
PluralName returns the plural name of the DNSVerification schema.
func (DNSVerification) Policy ¶
func (DNSVerification) Policy() ent.Policy
Policy of the DNSVerification
type DirectoryAccount ¶
type DirectoryAccount struct {
SchemaFuncs
ent.Schema
}
DirectoryAccount captures one normalized identity fetched from an external directory provider
func (DirectoryAccount) Annotations ¶
func (d DirectoryAccount) Annotations() []schema.Annotation
Annotations of the DirectoryAccount
func (DirectoryAccount) Edges ¶
func (d DirectoryAccount) Edges() []ent.Edge
Edges of the DirectoryAccount
func (DirectoryAccount) Fields ¶
func (DirectoryAccount) Fields() []ent.Field
Fields of the DirectoryAccount
func (DirectoryAccount) GetType ¶
func (DirectoryAccount) GetType() any
GetType returns the ent type for DirectoryAccount
func (DirectoryAccount) Hooks ¶
func (DirectoryAccount) Hooks() []ent.Hook
Hooks of the DirectoryAccount
func (DirectoryAccount) Indexes ¶
func (DirectoryAccount) Indexes() []ent.Index
Indexes of the DirectoryAccount
func (DirectoryAccount) Mixin ¶
func (d DirectoryAccount) Mixin() []ent.Mixin
Mixin of the DirectoryAccount
func (DirectoryAccount) PluralName ¶
func (DirectoryAccount) PluralName() string
PluralName returns the pluralized schema name
func (DirectoryAccount) Policy ¶
func (d DirectoryAccount) Policy() ent.Policy
Policy of the DirectoryAccount
type DirectoryGroup ¶
type DirectoryGroup struct {
SchemaFuncs
ent.Schema
}
DirectoryGroup mirrors group metadata from an external directory provider
func (DirectoryGroup) Annotations ¶
func (g DirectoryGroup) Annotations() []schema.Annotation
Annotations of the DirectoryGroup
func (DirectoryGroup) Edges ¶
func (g DirectoryGroup) Edges() []ent.Edge
Edges of the DirectoryGroup
func (DirectoryGroup) Fields ¶
func (DirectoryGroup) Fields() []ent.Field
Fields of the DirectoryGroup
func (DirectoryGroup) Indexes ¶
func (DirectoryGroup) Indexes() []ent.Index
Indexes of the DirectoryGroup
func (DirectoryGroup) Mixin ¶
func (g DirectoryGroup) Mixin() []ent.Mixin
Mixin of the DirectoryGroup
func (DirectoryGroup) PluralName ¶
func (DirectoryGroup) PluralName() string
PluralName returns the pluralized name
func (DirectoryGroup) Policy ¶
func (g DirectoryGroup) Policy() ent.Policy
Policy of the DirectoryGroup
type DirectoryMembership ¶
type DirectoryMembership struct {
SchemaFuncs
ent.Schema
}
DirectoryMembership associates a DirectoryAccount with a DirectoryGroup snapshot
func (DirectoryMembership) Annotations ¶
func (DirectoryMembership) Annotations() []schema.Annotation
Annotations of the DirectoryMembership
func (DirectoryMembership) Edges ¶
func (m DirectoryMembership) Edges() []ent.Edge
Edges of the DirectoryMembership
func (DirectoryMembership) Fields ¶
func (DirectoryMembership) Fields() []ent.Field
Fields of the DirectoryMembership
func (DirectoryMembership) GetType ¶
func (DirectoryMembership) GetType() any
GetType returns the ent type
func (DirectoryMembership) Indexes ¶
func (DirectoryMembership) Indexes() []ent.Index
Indexes of the DirectoryMembership
func (DirectoryMembership) Mixin ¶
func (m DirectoryMembership) Mixin() []ent.Mixin
Mixin of the DirectoryMembership
func (DirectoryMembership) Name ¶
func (DirectoryMembership) Name() string
Name returns the schema name
func (DirectoryMembership) PluralName ¶
func (DirectoryMembership) PluralName() string
PluralName returns the pluralized schema name
func (DirectoryMembership) Policy ¶
func (m DirectoryMembership) Policy() ent.Policy
Policy of the DirectoryMembership
type DirectorySyncRun ¶
type DirectorySyncRun struct {
SchemaFuncs
ent.Schema
}
DirectorySyncRun captures the execution metadata for a directory ingestion job
func (DirectorySyncRun) Annotations ¶
func (DirectorySyncRun) Annotations() []schema.Annotation
Annotations of the DirectorySyncRun
func (DirectorySyncRun) Edges ¶
func (r DirectorySyncRun) Edges() []ent.Edge
Edges of the DirectorySyncRun
func (DirectorySyncRun) Fields ¶
func (DirectorySyncRun) Fields() []ent.Field
Fields defines the DirectorySyncRun attributes
func (DirectorySyncRun) GetType ¶
func (DirectorySyncRun) GetType() any
GetType returns the ent type
func (DirectorySyncRun) Indexes ¶
func (DirectorySyncRun) Indexes() []ent.Index
Indexes of the DirectorySyncRun
func (DirectorySyncRun) Mixin ¶
func (r DirectorySyncRun) Mixin() []ent.Mixin
Mixin of the DirectorySyncRun
func (DirectorySyncRun) PluralName ¶
func (DirectorySyncRun) PluralName() string
PluralName returns the pluralized name
func (DirectorySyncRun) Policy ¶
func (r DirectorySyncRun) Policy() ent.Policy
Policy constrains access to DirectorySyncRun
type Discussion ¶
type Discussion struct {
SchemaFuncs
ent.Schema
}
Discussion holds the schema definition for the Discussion entity
func (Discussion) Annotations ¶
func (Discussion) Annotations() []schema.Annotation
Annotations of the Discussion
func (Discussion) Interceptors ¶
func (Discussion) Interceptors() []ent.Interceptor
Interceptors of the Discussion
func (Discussion) Modules ¶
func (Discussion) Modules() []models.OrgModule
Modules this schema has access to
func (Discussion) Name ¶
func (Discussion) Name() string
Name is the name of the schema in snake case
func (Discussion) PluralName ¶
func (Discussion) PluralName() string
PluralName returns the plural name of the schema
type DocumentData ¶
type DocumentData struct {
SchemaFuncs
ent.Schema
}
DocumentData holds the schema definition for the DocumentData entity
func (DocumentData) Annotations ¶
func (d DocumentData) Annotations() []schema.Annotation
Annotations of the DocumentData
func (DocumentData) GetType ¶
func (DocumentData) GetType() any
GetType returns the type of the DocumentData schema.
func (DocumentData) Hooks ¶
func (d DocumentData) Hooks() []ent.Hook
func (DocumentData) Modules ¶
func (DocumentData) Modules() []models.OrgModule
func (DocumentData) Name ¶
func (DocumentData) Name() string
Name returns the name of the DocumentData schema.
func (DocumentData) PluralName ¶
func (DocumentData) PluralName() string
PluralName returns the plural name of the DocumentData schema.
type DocumentMixin ¶
DocumentMixin implements the document pattern with approver for schemas.
func NewDocumentMixin ¶
func NewDocumentMixin(schema any) DocumentMixin
NewDocumentMixin creates a new DocumentMixin with the given schema the schema must implement the SchemaFuncs interface
func (DocumentMixin) Fields ¶
func (d DocumentMixin) Fields() []ent.Field
Fields of the DocumentMixin.
type EdgeIndexMixin ¶
EdgeIndexMixin adds an index for every edge on a schema that holds its foreign key in a field on the schema's own table Without one, postgres has to scan the table to enforce the constraint whenever the referenced row is deleted or re-keyed, and traversing the edge in reverse scans it as well
func (EdgeIndexMixin) Indexes ¶
func (m EdgeIndexMixin) Indexes() []ent.Index
Indexes of the EdgeIndexMixin
type EdgeInfo ¶
EdgeInfo is used to define the edge information for the reverse edges (group schema)
type EmailTemplate ¶
type EmailTemplate struct {
SchemaFuncs
ent.Schema
}
EmailTemplate holds the schema definition for email templates.
func (EmailTemplate) Annotations ¶
func (EmailTemplate) Annotations() []schema.Annotation
Annotations of the EmailTemplate
func (EmailTemplate) Fields ¶
func (EmailTemplate) Fields() []ent.Field
Fields of the EmailTemplate.
func (EmailTemplate) GetType ¶
func (EmailTemplate) GetType() any
GetType returns the type of the EmailTemplate schema.
func (EmailTemplate) Indexes ¶
func (EmailTemplate) Indexes() []ent.Index
Indexes of the EmailTemplate.
func (EmailTemplate) Modules ¶
func (EmailTemplate) Modules() []models.OrgModule
Modules of the EmailTemplate.
func (EmailTemplate) Name ¶
func (EmailTemplate) Name() string
Name returns the name of the EmailTemplate schema.
func (EmailTemplate) PluralName ¶
func (EmailTemplate) PluralName() string
PluralName returns the plural name of the EmailTemplate schema.
type EmailVerificationToken ¶
type EmailVerificationToken struct {
SchemaFuncs
ent.Schema
}
EmailVerificationToken holds the schema definition for the EmailVerificationToken entity
func (EmailVerificationToken) Annotations ¶
func (e EmailVerificationToken) Annotations() []schema.Annotation
Annotations of the EmailVerificationToken
func (EmailVerificationToken) Edges ¶
func (EmailVerificationToken) Edges() []ent.Edge
Edges of the EmailVerificationToken
func (EmailVerificationToken) Fields ¶
func (EmailVerificationToken) Fields() []ent.Field
Fields of the EmailVerificationToken
func (EmailVerificationToken) GetType ¶
func (EmailVerificationToken) GetType() any
GetType returns the type of the EmailVerificationToken schema.
func (EmailVerificationToken) Hooks ¶
func (EmailVerificationToken) Hooks() []ent.Hook
Hooks of the EmailVerificationToken
func (EmailVerificationToken) Indexes ¶
func (EmailVerificationToken) Indexes() []ent.Index
Indexes of the EmailVerificationToken
func (EmailVerificationToken) Mixin ¶
func (e EmailVerificationToken) Mixin() []ent.Mixin
Mixin of the EmailVerificationToken
func (EmailVerificationToken) Modules ¶
func (EmailVerificationToken) Modules() []models.OrgModule
func (EmailVerificationToken) Name ¶
func (EmailVerificationToken) Name() string
Name returns the name of the EmailVerificationToken schema.
func (EmailVerificationToken) PluralName ¶
func (EmailVerificationToken) PluralName() string
PluralName returns the plural name of the EmailVerificationToken schema.
func (EmailVerificationToken) Policy ¶
func (e EmailVerificationToken) Policy() ent.Policy
Policy of the EmailVerificationToken
type Entity ¶
type Entity struct {
SchemaFuncs
ent.Schema
}
Entity holds the schema definition for the Entity entity
func (Entity) Annotations ¶
func (e Entity) Annotations() []schema.Annotation
Annotations of the Entity
func (Entity) PluralName ¶
PluralName returns the plural name of the Entity schema.
type EntityType ¶
type EntityType struct {
SchemaFuncs
ent.Schema
}
EntityType holds the schema definition for the EntityType entity
func (EntityType) GetType ¶
func (EntityType) GetType() any
GetType returns the type of the EntityType schema.
func (EntityType) Modules ¶
func (EntityType) Modules() []models.OrgModule
func (EntityType) Name ¶
func (EntityType) Name() string
Name returns the name of the EntityType schema.
func (EntityType) PluralName ¶
func (EntityType) PluralName() string
PluralName returns the plural name of the EntityType schema.
type Event ¶
type Event struct {
SchemaFuncs
ent.Schema
}
Event holds the schema definition for the Event entity
func (Event) Annotations ¶
func (e Event) Annotations() []schema.Annotation
Annotations of the Event
func (Event) PluralName ¶
PluralName returns the plural name of the Event schema.
type Evidence ¶
type Evidence struct {
SchemaFuncs
ent.Schema
}
Evidence holds the schema definition for the Evidence entity
func (Evidence) Annotations ¶
func (e Evidence) Annotations() []schema.Annotation
Annotations of the Evidence
func (Evidence) PluralName ¶
PluralName returns the plural name of the Evidence schema.
type Export ¶
type Export struct {
SchemaFuncs
ent.Schema
}
Export holds the schema definition for export records used for exporting various content types.
func (Export) Annotations ¶
func (e Export) Annotations() []schema.Annotation
Annotations of the Export
func (Export) PluralName ¶
type File ¶
type File struct {
SchemaFuncs
ent.Schema
}
File defines the file schema.
func (File) PluralName ¶
type FileDownloadToken ¶
type FileDownloadToken struct {
SchemaFuncs
ent.Schema
}
FileDownloadToken holds the schema definition for the FileDownloadToken entity
func (FileDownloadToken) Annotations ¶
func (p FileDownloadToken) Annotations() []schema.Annotation
Annotations of the FileDownloadToken
func (FileDownloadToken) Fields ¶
func (FileDownloadToken) Fields() []ent.Field
Fields of the FileDownloadToken
func (FileDownloadToken) GetType ¶
func (FileDownloadToken) GetType() any
GetType returns the type of the FileDownloadToken schema.
func (FileDownloadToken) Hooks ¶
func (FileDownloadToken) Hooks() []ent.Hook
Hooks of the FileDownloadToken
func (FileDownloadToken) Indexes ¶
func (FileDownloadToken) Indexes() []ent.Index
Indexes of the FileDownloadToken
func (FileDownloadToken) Mixin ¶
func (p FileDownloadToken) Mixin() []ent.Mixin
Mixin of the FileDownloadToken
func (FileDownloadToken) Name ¶
func (FileDownloadToken) Name() string
Name returns the name of the FileDownloadToken schema.
func (FileDownloadToken) PluralName ¶
func (FileDownloadToken) PluralName() string
PluralName returns the plural name of the FileDownloadToken schema.
func (FileDownloadToken) Policy ¶
func (p FileDownloadToken) Policy() ent.Policy
Policy of the FileDownloadToken
type Finding ¶
type Finding struct {
SchemaFuncs
ent.Schema
}
Finding defines the finding schema.
func (Finding) Annotations ¶
func (Finding) Annotations() []schema.Annotation
Annotations of the Finding
func (Finding) PluralName ¶
PluralName returns the plural name of the finding schema.
type FindingControl ¶
type FindingControl struct {
SchemaFuncs
ent.Schema
}
FindingControl defines the mapping between findings and controls.
func (FindingControl) Edges ¶
func (fc FindingControl) Edges() []ent.Edge
Edges of the FindingControl
func (FindingControl) Fields ¶
func (FindingControl) Fields() []ent.Field
Fields returns finding control fields.
func (FindingControl) GetType ¶
func (FindingControl) GetType() any
GetType returns the type of the finding control schema.
func (FindingControl) Indexes ¶
func (FindingControl) Indexes() []ent.Index
Indexes of the FindingControl
func (FindingControl) Mixin ¶
func (fc FindingControl) Mixin() []ent.Mixin
Mixin of the FindingControl
func (FindingControl) Modules ¶
func (FindingControl) Modules() []models.OrgModule
Modules of the FindingControl
func (FindingControl) Name ¶
func (FindingControl) Name() string
Name returns the name of the finding control schema.
func (FindingControl) PluralName ¶
func (FindingControl) PluralName() string
PluralName returns the plural name of the finding control schema.
func (FindingControl) Policy ¶
func (FindingControl) Policy() ent.Policy
Policy of the FindingControl
type Group ¶
type Group struct {
SchemaFuncs
ent.Schema
}
Group holds the schema definition for the Group entity
func (Group) Annotations ¶
func (g Group) Annotations() []schema.Annotation
Annotations of the Group
func (Group) Interceptors ¶
func (g Group) Interceptors() []ent.Interceptor
Interceptors of the Group
func (Group) PluralName ¶
PluralName returns the plural name of the Group schema.
type GroupBasedCreateAccessMixin ¶
GroupBasedCreateAccessMixin is a mixin for group permissions for creation of an entity that should be added to both the to schema (Group) and the from schema (Organization) the object type must be included in the fga model for this to work:
# define [object]_creator: [group#member] # define can_create_[object]: can_edit or [object]_creator
once these exist in the model, the object type can be added to the createObjectTypes list above and the mixin will automatically add the edges and hooks to the schema that will create the tuples upon association with the organization
func NewGroupBasedCreateAccessMixin ¶
func NewGroupBasedCreateAccessMixin() GroupBasedCreateAccessMixin
NewGroupBasedCreateAccessMixin creates a new GroupBasedCreateAccessMixin with the specified edges
func (GroupBasedCreateAccessMixin) Edges ¶
func (c GroupBasedCreateAccessMixin) Edges() []ent.Edge
Edges of the GroupBasedCreateAccessMixin
func (GroupBasedCreateAccessMixin) Hooks ¶
func (c GroupBasedCreateAccessMixin) Hooks() []ent.Hook
Hooks of the GroupBasedCreateAccessMixin
type GroupMembership ¶
type GroupMembership struct {
SchemaFuncs
ent.Schema
}
GroupMembership holds the schema definition for the GroupMembership entity
func (GroupMembership) Annotations ¶
func (g GroupMembership) Annotations() []schema.Annotation
Annotations of the GroupMembership
func (GroupMembership) Edges ¶
func (g GroupMembership) Edges() []ent.Edge
Edges of the GroupMembership
func (GroupMembership) Fields ¶
func (GroupMembership) Fields() []ent.Field
Fields of the GroupMembership
func (GroupMembership) GetType ¶
func (GroupMembership) GetType() any
GetType returns the type of the GroupMembership schema.
func (GroupMembership) Hooks ¶
func (GroupMembership) Hooks() []ent.Hook
Hooks of the GroupMembership
func (GroupMembership) Indexes ¶
func (GroupMembership) Indexes() []ent.Index
Indexes of the GroupMembership
func (GroupMembership) Interceptors ¶
func (g GroupMembership) Interceptors() []ent.Interceptor
Interceptors of the GroupMembership
func (GroupMembership) Mixin ¶
func (GroupMembership) Mixin() []ent.Mixin
Mixin of the GroupMembership
func (GroupMembership) Modules ¶
func (GroupMembership) Modules() []models.OrgModule
func (GroupMembership) Name ¶
func (GroupMembership) Name() string
Name returns the name of the GroupMembership schema.
func (GroupMembership) PluralName ¶
func (GroupMembership) PluralName() string
PluralName returns the plural name of the GroupMembership schema.
func (GroupMembership) Policy ¶
func (GroupMembership) Policy() ent.Policy
Policy of the GroupMembership
type GroupPermissionsEdgesMixin ¶
GroupPermissionsEdgesMixin is a mixin for the reverse edges on the group schema this should be used in conjunction with the GroupPermissionsMixin on the entity schema
func (GroupPermissionsEdgesMixin) Annotations ¶
func (g GroupPermissionsEdgesMixin) Annotations() []schema.Annotation
Annotations of the GroupPermissionsMixin
func (GroupPermissionsEdgesMixin) Edges ¶
func (g GroupPermissionsEdgesMixin) Edges() []ent.Edge
Edges of the GroupPermissionsEdgesMixin
func (GroupPermissionsEdgesMixin) Hooks ¶
func (g GroupPermissionsEdgesMixin) Hooks() []ent.Hook
Hooks of the GroupPermissionsEdgesMixin
type GroupPermissionsMixin ¶
type GroupPermissionsMixin struct {
mixin.Schema
// ViewPermissions adds view permission for a group
ViewPermissions bool
// IncludeInterceptorFilter is used to skip the interceptor filter
// this is used for more complex view permissions that are not solely based
// on the group membership
IncludeInterceptorFilter bool
// WorkflowEdgeEligible marks group permission edges as workflow-eligible.
WorkflowEdgeEligible bool
}
GroupPermissionsMixin is a mixin for group permissions on an entity This allows for editor + blocked_groups, and optionally viewer groups to be added as edges to the entity. The hooks are added to create the tuples in FGA for the groups After adding this mixin to a schema, you must also update the EdgeInfo to include the reverse edges on the group schema
func (GroupPermissionsMixin) Annotations ¶
func (g GroupPermissionsMixin) Annotations() []schema.Annotation
Annotations of the GroupPermissionsMixin
func (GroupPermissionsMixin) Edges ¶
func (g GroupPermissionsMixin) Edges() []ent.Edge
Edges of the GroupPermissionsMixin
func (GroupPermissionsMixin) Hooks ¶
func (g GroupPermissionsMixin) Hooks() (hooks []ent.Hook)
Hooks of the GroupPermissionsMixin
func (GroupPermissionsMixin) Interceptors ¶
func (g GroupPermissionsMixin) Interceptors() []ent.Interceptor
Interceptors of the GroupPermissionsMixin
type GroupSetting ¶
type GroupSetting struct {
SchemaFuncs
ent.Schema
}
GroupSetting holds the schema definition for the GroupSetting entity
func (GroupSetting) Annotations ¶
func (g GroupSetting) Annotations() []schema.Annotation
Annotations of the GroupSetting
func (GroupSetting) GetType ¶
func (GroupSetting) GetType() any
func (GroupSetting) Interceptors ¶
func (g GroupSetting) Interceptors() []ent.Interceptor
Interceptors of the GroupSetting
func (GroupSetting) Modules ¶
func (GroupSetting) Modules() []models.OrgModule
func (GroupSetting) Name ¶
func (GroupSetting) Name() string
func (GroupSetting) PluralName ¶
func (GroupSetting) PluralName() string
type HookFunc ¶
type HookFunc func(o ObjectOwnedMixin) ent.Hook
type Hush ¶
type Hush struct {
SchemaFuncs
ent.Schema
}
Hush maps configured integrations (github, slack, etc.) to organizations
func (Hush) Annotations ¶
func (Hush) Annotations() []schema.Annotation
func (Hush) PluralName ¶
PluralName returns the plural name of the Hush schema.
type IdentityHolder ¶
type IdentityHolder struct {
SchemaFuncs
ent.Schema
}
IdentityHolder holds the schema definition for the IdentityHolder entity
func (IdentityHolder) Annotations ¶
func (IdentityHolder) Annotations() []schema.Annotation
Annotations of the IdentityHolder
func (IdentityHolder) Edges ¶
func (p IdentityHolder) Edges() []ent.Edge
Edges of the IdentityHolder
func (IdentityHolder) Fields ¶
func (IdentityHolder) Fields() []ent.Field
Fields of the IdentityHolder
func (IdentityHolder) GetType ¶
func (IdentityHolder) GetType() any
GetType returns the type of the IdentityHolder schema
func (IdentityHolder) Indexes ¶
func (IdentityHolder) Indexes() []ent.Index
Indexes of the IdentityHolder
func (IdentityHolder) Mixin ¶
func (p IdentityHolder) Mixin() []ent.Mixin
Mixin of the IdentityHolder
func (IdentityHolder) Modules ¶
func (IdentityHolder) Modules() []models.OrgModule
Modules this schema has access to
func (IdentityHolder) Name ¶
func (IdentityHolder) Name() string
Name returns the name of the IdentityHolder schema
func (IdentityHolder) PluralName ¶
func (IdentityHolder) PluralName() string
PluralName returns the plural name of the IdentityHolder schema
func (IdentityHolder) Policy ¶
func (IdentityHolder) Policy() ent.Policy
Policy of the IdentityHolder
type ImpersonationEvent ¶
type ImpersonationEvent struct {
SchemaFuncs
ent.Schema
}
ImpersonationEvent holds the schema definition for the ImpersonationEvent entity
func (ImpersonationEvent) Annotations ¶
func (ImpersonationEvent) Annotations() []schema.Annotation
Annotations of the ImpersonationEvent
func (ImpersonationEvent) Edges ¶
func (i ImpersonationEvent) Edges() []ent.Edge
Edges of the ImpersonationEvent
func (ImpersonationEvent) Fields ¶
func (ImpersonationEvent) Fields() []ent.Field
Fields of the ImpersonationEvent
func (ImpersonationEvent) GetType ¶
func (ImpersonationEvent) GetType() any
GetType returns the type of the schema
func (ImpersonationEvent) Hooks ¶
func (ImpersonationEvent) Hooks() []ent.Hook
Hooks of the ImpersonationEvent
func (ImpersonationEvent) Indexes ¶
func (ImpersonationEvent) Indexes() []ent.Index
Indexes of the ImpersonationEvent
func (ImpersonationEvent) Interceptors ¶
func (ImpersonationEvent) Interceptors() []ent.Interceptor
Interceptors of the ImpersonationEvent
func (ImpersonationEvent) Mixin ¶
func (i ImpersonationEvent) Mixin() []ent.Mixin
Mixin of the ImpersonationEvent
func (ImpersonationEvent) Modules ¶
func (ImpersonationEvent) Modules() []models.OrgModule
Modules this schema has access to
func (ImpersonationEvent) Name ¶
func (ImpersonationEvent) Name() string
Name is the name of the schema in snake case
func (ImpersonationEvent) PluralName ¶
func (ImpersonationEvent) PluralName() string
PluralName returns the plural name of the schema
type Integration ¶
type Integration struct {
SchemaFuncs
ent.Schema
}
Integration maps configured integrations (github, slack, etc.) to organizations
func (Integration) Annotations ¶
func (Integration) Annotations() []schema.Annotation
Annotations of the Integration
func (Integration) GetType ¶
func (Integration) GetType() any
GetType returns the type of the Integration schema.
func (Integration) Modules ¶
func (Integration) Modules() []models.OrgModule
func (Integration) Name ¶
func (Integration) Name() string
Name returns the name of the Integration schema.
func (Integration) PluralName ¶
func (Integration) PluralName() string
PluralName returns the plural name of the Integration schema.
type IntegrationRun ¶
type IntegrationRun struct {
SchemaFuncs
ent.Schema
}
IntegrationRun holds the schema definition for integration execution history.
func (IntegrationRun) Annotations ¶
func (r IntegrationRun) Annotations() []schema.Annotation
Annotations of the IntegrationRun.
func (IntegrationRun) Edges ¶
func (r IntegrationRun) Edges() []ent.Edge
Edges of the IntegrationRun.
func (IntegrationRun) Fields ¶
func (IntegrationRun) Fields() []ent.Field
Fields of the IntegrationRun.
func (IntegrationRun) GetType ¶
func (IntegrationRun) GetType() any
GetType returns the type of the IntegrationRun schema.
func (IntegrationRun) Indexes ¶
func (IntegrationRun) Indexes() []ent.Index
Indexes of the IntegrationRun.
func (IntegrationRun) Mixin ¶
func (r IntegrationRun) Mixin() []ent.Mixin
Mixin of the IntegrationRun.
func (IntegrationRun) Modules ¶
func (IntegrationRun) Modules() []models.OrgModule
Modules of the IntegrationRun.
func (IntegrationRun) Name ¶
func (IntegrationRun) Name() string
Name returns the name of the IntegrationRun schema.
func (IntegrationRun) PluralName ¶
func (IntegrationRun) PluralName() string
PluralName returns the plural name of the IntegrationRun schema.
func (IntegrationRun) Policy ¶
func (IntegrationRun) Policy() ent.Policy
Policy of the IntegrationRun.
type IntegrationWebhook ¶
type IntegrationWebhook struct {
SchemaFuncs
ent.Schema
}
IntegrationWebhook holds the schema definition for integration webhooks.
func (IntegrationWebhook) Annotations ¶
func (w IntegrationWebhook) Annotations() []schema.Annotation
Annotations of the IntegrationWebhook.
func (IntegrationWebhook) Edges ¶
func (w IntegrationWebhook) Edges() []ent.Edge
Edges of the IntegrationWebhook.
func (IntegrationWebhook) Fields ¶
func (IntegrationWebhook) Fields() []ent.Field
Fields of the IntegrationWebhook.
func (IntegrationWebhook) GetType ¶
func (IntegrationWebhook) GetType() any
GetType returns the type of the IntegrationWebhook schema.
func (IntegrationWebhook) Indexes ¶
func (IntegrationWebhook) Indexes() []ent.Index
Indexes of the IntegrationWebhook.
func (IntegrationWebhook) Mixin ¶
func (w IntegrationWebhook) Mixin() []ent.Mixin
Mixin of the IntegrationWebhook.
func (IntegrationWebhook) Modules ¶
func (IntegrationWebhook) Modules() []models.OrgModule
Modules of the IntegrationWebhook.
func (IntegrationWebhook) Name ¶
func (IntegrationWebhook) Name() string
Name returns the name of the IntegrationWebhook schema.
func (IntegrationWebhook) PluralName ¶
func (IntegrationWebhook) PluralName() string
PluralName returns the plural name of the IntegrationWebhook schema.
func (IntegrationWebhook) Policy ¶
func (IntegrationWebhook) Policy() ent.Policy
Policy of the IntegrationWebhook.
type InterceptorFunc ¶
type InterceptorFunc func(o ObjectOwnedMixin) ent.Interceptor
type InternalPolicy ¶
type InternalPolicy struct {
SchemaFuncs
ent.Schema
}
InternalPolicy defines the policy schema.
func (InternalPolicy) Annotations ¶
func (i InternalPolicy) Annotations() []schema.Annotation
Annotations of the InternalPolicy
func (InternalPolicy) Edges ¶
func (i InternalPolicy) Edges() []ent.Edge
Edges of the InternalPolicy
func (InternalPolicy) Fields ¶
func (InternalPolicy) Fields() []ent.Field
Fields returns policy fields.
func (InternalPolicy) GetType ¶
func (InternalPolicy) GetType() any
GetType returns the type of the internal policy schema.
func (InternalPolicy) Indexes ¶
func (InternalPolicy) Indexes() []ent.Index
Indexes of the InternalPolicy
func (InternalPolicy) Interceptors ¶
func (InternalPolicy) Interceptors() []ent.Interceptor
Interceptors of the InternalPolicy
func (InternalPolicy) Mixin ¶
func (i InternalPolicy) Mixin() []ent.Mixin
Mixin of the InternalPolicy
func (InternalPolicy) Modules ¶
func (InternalPolicy) Modules() []models.OrgModule
func (InternalPolicy) Name ¶
func (InternalPolicy) Name() string
Name returns the name of the internal policy schema.
func (InternalPolicy) PluralName ¶
func (InternalPolicy) PluralName() string
PluralName returns the plural name of the internal policy schema.
func (InternalPolicy) Policy ¶
func (i InternalPolicy) Policy() ent.Policy
Policy of the InternalPolicy
type Invite ¶
type Invite struct {
SchemaFuncs
ent.Schema
}
Invite holds the schema definition for the Invite entity
func (Invite) Annotations ¶
func (i Invite) Annotations() []schema.Annotation
Annotations of the Invite
func (Invite) PluralName ¶
type MappableDomain ¶
type MappableDomain struct {
SchemaFuncs
ent.Schema
}
MappableDomain holds the schema definition for the MappableDomain entity
func (MappableDomain) Edges ¶
func (e MappableDomain) Edges() []ent.Edge
Edges of the MappableDomain
func (MappableDomain) Fields ¶
func (MappableDomain) Fields() []ent.Field
Fields of the MappableDomain
func (MappableDomain) GetType ¶
func (MappableDomain) GetType() any
GetType returns the type of the schema
func (MappableDomain) Indexes ¶
func (MappableDomain) Indexes() []ent.Index
Indexes of the MappableDomain
func (MappableDomain) Mixin ¶
func (e MappableDomain) Mixin() []ent.Mixin
Mixin of the MappableDomain
func (MappableDomain) Modules ¶
func (MappableDomain) Modules() []models.OrgModule
func (MappableDomain) Name ¶
func (MappableDomain) Name() string
Name returns the name of the schema
func (MappableDomain) PluralName ¶
func (MappableDomain) PluralName() string
PluralName returns the plural name of the schema
func (MappableDomain) Policy ¶
func (e MappableDomain) Policy() ent.Policy
Policy of the MappableDomain
type MappedControl ¶
type MappedControl struct {
SchemaFuncs
ent.Schema
}
MappedControl holds the schema definition for the MappedControl entity
func (MappedControl) Annotations ¶
func (MappedControl) Annotations() []schema.Annotation
Annotations of the MappedControl
func (MappedControl) GetType ¶
func (MappedControl) GetType() any
func (MappedControl) Modules ¶
func (MappedControl) Modules() []models.OrgModule
func (MappedControl) Name ¶
func (MappedControl) Name() string
func (MappedControl) PluralName ¶
func (MappedControl) PluralName() string
type Narrative ¶
type Narrative struct {
SchemaFuncs
ent.Schema
}
Narrative defines the narrative schema
func (Narrative) Annotations ¶
func (n Narrative) Annotations() []schema.Annotation
Annotations of the Narrative
func (Narrative) PluralName ¶
type Note ¶
type Note struct {
SchemaFuncs
ent.Schema
}
Note holds the schema definition for the Note entity
func (Note) PluralName ¶
type Notification ¶
type Notification struct {
SchemaFuncs
ent.Schema
}
Notification holds the schema definition for the Notification entity
func (Notification) Annotations ¶
func (Notification) Annotations() []schema.Annotation
Annotations of the Notification
func (Notification) GetType ¶
func (Notification) GetType() any
func (Notification) Interceptors ¶
func (Notification) Interceptors() []ent.Interceptor
Interceptors of the Notification
func (Notification) Modules ¶
func (Notification) Modules() []models.OrgModule
Modules of the Notification
func (Notification) Name ¶
func (Notification) Name() string
func (Notification) PluralName ¶
func (Notification) PluralName() string
type NotificationPreference ¶
type NotificationPreference struct {
SchemaFuncs
ent.Schema
}
NotificationPreference holds the schema definition for notification preferences.
func (NotificationPreference) Edges ¶
func (n NotificationPreference) Edges() []ent.Edge
Edges of the NotificationPreference.
func (NotificationPreference) Fields ¶
func (NotificationPreference) Fields() []ent.Field
Fields of the NotificationPreference.
func (NotificationPreference) GetType ¶
func (NotificationPreference) GetType() any
GetType returns the type of the NotificationPreference schema.
func (NotificationPreference) Indexes ¶
func (NotificationPreference) Indexes() []ent.Index
Indexes of the NotificationPreference.
func (NotificationPreference) Mixin ¶
func (n NotificationPreference) Mixin() []ent.Mixin
Mixin of the NotificationPreference.
func (NotificationPreference) Modules ¶
func (NotificationPreference) Modules() []models.OrgModule
Modules of the NotificationPreference.
func (NotificationPreference) Name ¶
func (NotificationPreference) Name() string
Name returns the name of the NotificationPreference schema.
func (NotificationPreference) PluralName ¶
func (NotificationPreference) PluralName() string
PluralName returns the plural name of the NotificationPreference schema.
func (NotificationPreference) Policy ¶
func (NotificationPreference) Policy() ent.Policy
Policy of the NotificationPreference.
type NotificationTemplate ¶
type NotificationTemplate struct {
SchemaFuncs
ent.Schema
}
NotificationTemplate holds the schema definition for notification templates.
func (NotificationTemplate) Edges ¶
func (n NotificationTemplate) Edges() []ent.Edge
Edges of the NotificationTemplate.
func (NotificationTemplate) Fields ¶
func (NotificationTemplate) Fields() []ent.Field
Fields of the NotificationTemplate.
func (NotificationTemplate) GetType ¶
func (NotificationTemplate) GetType() any
GetType returns the type of the NotificationTemplate schema.
func (NotificationTemplate) Hooks ¶
func (NotificationTemplate) Hooks() []ent.Hook
Hooks of the NotificationTemplate.
func (NotificationTemplate) Indexes ¶
func (NotificationTemplate) Indexes() []ent.Index
Indexes of the NotificationTemplate.
func (NotificationTemplate) Mixin ¶
func (n NotificationTemplate) Mixin() []ent.Mixin
Mixin of the NotificationTemplate.
func (NotificationTemplate) Modules ¶
func (NotificationTemplate) Modules() []models.OrgModule
Modules of the NotificationTemplate.
func (NotificationTemplate) Name ¶
func (NotificationTemplate) Name() string
Name returns the name of the NotificationTemplate schema.
func (NotificationTemplate) PluralName ¶
func (NotificationTemplate) PluralName() string
PluralName returns the plural name of the NotificationTemplate schema.
func (NotificationTemplate) Policy ¶
func (NotificationTemplate) Policy() ent.Policy
Policy of the NotificationTemplate.
type ObjectOwnedMixin ¶
type ObjectOwnedMixin struct {
mixin.Schema
// Ref table for the id
Ref string
// SchemaName is the singular name of the schema, used to name the indexes
SchemaName string
// Kind of the object, only used for Organization owned flavors, its set by default either
// with the OrgOwnedMixin or using the withOrganizationOwner option
Kind any
// FieldNames are the name of the field in the schema that can own / controls permissions of the object, e.g. "owner_id" or "program_id"
FieldNames []string
// OwnerRelation is the relation of the owner (user or service) that created the object, defaults to "parent"
OwnerRelation string
// AllowEmptyForSystemAdmin allows the owner id field to be empty for system admins
AllowEmptyForSystemAdmin bool
// SkipOrgInterceptorType skips the org interceptor for that schema for all queries, or specific types,
// this is useful for tokens, etc
SkipOrgInterceptorType interceptors.SkipMode
// SkipListFilterInterceptor skips the the filter for list queries, this can be used to bypass fga checks
// when permissions can be determined solely based on the organization filter and group permissions
SkipListFilterInterceptor interceptors.SkipMode
// SkipListFilterInterceptorSkipperFunc is a custom function to determine if the list filter interceptor should be skipped
SkipListFilterInterceptorSkipperFunc func(ctx context.Context) bool
// ForceFilterFn when set, prevents the scope check from short-circuiting the filter
// use this for schemas where org-wide scope does not imply access to all objects of this type
ForceFilterFn func(ctx context.Context) bool
// SkipTokenType skips the traverser or hook if the token type is found in the context
SkipTokenType []token.PrivacyToken
// IncludeOrganizationOwner adds the organization owner_id field and hooks to the schema
IncludeOrganizationOwner bool
// HookFuncs is the hook functions for the object owned mixin
// that will be called on all mutations
HookFuncs []HookFunc
// InterceptorFunc is the interceptor function for the object owned mixin
// that will be called on all queries
InterceptorFuncs []InterceptorFunc
// AllowAnonymousTrustCenterAccess allows anonymous users from the trust center to access the object
AllowAnonymousTrustCenterAccess bool
// UseListObjectsFilter allows to use the list objects filter for the object owned mixin instead of batch checks
// use sparingly, as list objects can be expensive
UseListObjectsFilter bool
// OwnerFieldName is the field name for the owner, defaults to "owner_id"
OwnerFieldName string
// SkipDeletedAt indicates if the schema has not included the soft delete mixin
SkipDeletedAt bool
// WorkflowEdgeEligible marks owner edges as workflow-eligible for trigger detection.
WorkflowEdgeEligible bool
// SkipParentContextTuple skips the parent context tuple creation for schemas that have owner_id but permissions
// are not based on the parent organization, and instead based on other parents
SkipParentContextTuple bool
}
ObjectOwnedMixin is a mixin for object owned entities
func (ObjectOwnedMixin) Annotations ¶
func (o ObjectOwnedMixin) Annotations() []schema.Annotation
func (ObjectOwnedMixin) Edges ¶
func (o ObjectOwnedMixin) Edges() []ent.Edge
Edges of the ObjectOwnedMixin
func (ObjectOwnedMixin) Fields ¶
func (o ObjectOwnedMixin) Fields() []ent.Field
Fields of the ObjectOwnedMixin
func (ObjectOwnedMixin) Hooks ¶
func (o ObjectOwnedMixin) Hooks() []ent.Hook
Hooks of the ObjectOwnedMixin
func (ObjectOwnedMixin) Indexes ¶
func (o ObjectOwnedMixin) Indexes() []ent.Index
Indexes of the ObjectOwnedMixin
func (ObjectOwnedMixin) Interceptors ¶
func (o ObjectOwnedMixin) Interceptors() []ent.Interceptor
Interceptors of the ObjectOwnedMixin
func (ObjectOwnedMixin) P ¶
func (o ObjectOwnedMixin) P(w interface{ WhereP(...func(*sql.Selector)) }, objectIDs []string)
P adds the predicate to the queries, using the "id" field
func (ObjectOwnedMixin) PWithField ¶
func (o ObjectOwnedMixin) PWithField(w interface{ WhereP(...func(*sql.Selector)) }, fieldName string, objectIDs []string)
P adds a storage-level predicate to the queries and mutations for the provided field name
type Onboarding ¶
type Onboarding struct {
SchemaFuncs
ent.Schema
}
Onboarding holds the schema definition for the Onboarding entity
func (Onboarding) Annotations ¶
func (o Onboarding) Annotations() []schema.Annotation
Annotations of the Onboarding
func (Onboarding) GetType ¶
func (Onboarding) GetType() any
GetType returns the type of the Onboarding schema.
func (Onboarding) Modules ¶
func (Onboarding) Modules() []models.OrgModule
func (Onboarding) Name ¶
func (Onboarding) Name() string
Name returns the name of the Onboarding schema.
func (Onboarding) PluralName ¶
func (Onboarding) PluralName() string
PluralName returns the plural name of the Onboarding schema.
type OrgMembership ¶
type OrgMembership struct {
SchemaFuncs
ent.Schema
}
OrgMembership holds the schema definition for the OrgMembership entity
func (OrgMembership) Annotations ¶
func (OrgMembership) Annotations() []schema.Annotation
Annotations of the OrgMembership
func (OrgMembership) GetType ¶
func (OrgMembership) GetType() any
func (OrgMembership) Indexes ¶
func (OrgMembership) Indexes() []ent.Index
func (OrgMembership) Interceptors ¶
func (OrgMembership) Interceptors() []ent.Interceptor
Interceptors of the OrgMembership
func (OrgMembership) Modules ¶
func (OrgMembership) Modules() []models.OrgModule
func (OrgMembership) Name ¶
func (OrgMembership) Name() string
func (OrgMembership) PluralName ¶
func (OrgMembership) PluralName() string
type OrgModule ¶
type OrgModule struct {
SchemaFuncs
ent.Schema
}
OrgModule holds module subscription info for an organization each enabled module is stored as a separate row
func (OrgModule) Annotations ¶
func (OrgModule) Annotations() []schema.Annotation
Annotations returns the annotations for the OrgModule schema
func (OrgModule) PluralName ¶
PluralName returns the plural name of the OrgModule schema
type OrgPrice ¶
type OrgPrice struct {
SchemaFuncs
ent.Schema
}
OrgPrice represents a price attached to a subscription product
func (OrgPrice) Annotations ¶
func (OrgPrice) Annotations() []schema.Annotation
Annotations returns the annotations for the OrgPrice schema
func (OrgPrice) PluralName ¶
PluralName returns the plural name of the OrgPrice schema
type OrgProduct ¶
type OrgProduct struct {
SchemaFuncs
ent.Schema
}
OrgProduct represents a module product linked to a subscription.
func (OrgProduct) Annotations ¶
func (OrgProduct) Annotations() []schema.Annotation
Annotations returns the annotations for the OrgProduct schema
func (OrgProduct) Edges ¶
func (o OrgProduct) Edges() []ent.Edge
Edges returns the edges for the OrgProduct schema
func (OrgProduct) Fields ¶
func (OrgProduct) Fields() []ent.Field
Fields returns the fields for the OrgProduct schema
func (OrgProduct) GetType ¶
func (OrgProduct) GetType() any
GetType returns the type of the OrgProduct schema
func (OrgProduct) Mixin ¶
func (o OrgProduct) Mixin() []ent.Mixin
Mixin returns the mixins for the OrgProduct schema
func (OrgProduct) Modules ¶
func (OrgProduct) Modules() []models.OrgModule
func (OrgProduct) Name ¶
func (OrgProduct) Name() string
Name returns the name of the OrgProduct schema
func (OrgProduct) PluralName ¶
func (OrgProduct) PluralName() string
PluralName returns the plural name of the OrgProduct schema
type OrgSubscription ¶
type OrgSubscription struct {
SchemaFuncs
ent.Schema
}
OrgSubscription holds the schema definition for the OrgSubscription entity
func (OrgSubscription) Annotations ¶
func (o OrgSubscription) Annotations() []schema.Annotation
Annotations of the OrgSubscription
func (OrgSubscription) Edges ¶
func (o OrgSubscription) Edges() []ent.Edge
Edges of the OrgSubscription
func (OrgSubscription) Fields ¶
func (OrgSubscription) Fields() []ent.Field
Fields of the OrgSubscription
func (OrgSubscription) GetType ¶
func (OrgSubscription) GetType() any
GetType returns the type of the OrgSubscription schema.
func (OrgSubscription) Interceptors ¶
func (o OrgSubscription) Interceptors() []ent.Interceptor
Interceptors of the OrgSubscription
func (OrgSubscription) Mixin ¶
func (o OrgSubscription) Mixin() []ent.Mixin
Mixin of the OrgSubscription
func (OrgSubscription) Name ¶
func (OrgSubscription) Name() string
Name returns the name of the OrgSubscription schema.
func (OrgSubscription) PluralName ¶
func (OrgSubscription) PluralName() string
PluralName returns the plural name of the OrgSubscription schema.
type Organization ¶
type Organization struct {
SchemaFuncs
ent.Schema
}
Organization holds the schema definition for the Organization entity - organizations are the top level tenancy construct in the system
func (Organization) Annotations ¶
func (o Organization) Annotations() []schema.Annotation
Annotations of the Organization
func (Organization) GetType ¶
func (Organization) GetType() any
func (Organization) Indexes ¶
func (Organization) Indexes() []ent.Index
func (Organization) Interceptors ¶
func (o Organization) Interceptors() []ent.Interceptor
Interceptors of the Organization
func (Organization) Name ¶
func (Organization) Name() string
func (Organization) PluralName ¶
func (Organization) PluralName() string
func (Organization) Policy ¶
func (Organization) Policy() ent.Policy
Policy defines the privacy policy of the Organization.
type OrganizationSetting ¶
type OrganizationSetting struct {
SchemaFuncs
ent.Schema
}
OrganizationSetting holds the schema definition for the OrganizationSetting entity
func (OrganizationSetting) Annotations ¶
func (o OrganizationSetting) Annotations() []schema.Annotation
Annotations of the OrganizationSetting
func (OrganizationSetting) Edges ¶
func (o OrganizationSetting) Edges() []ent.Edge
Edges of the OrganizationSetting
func (OrganizationSetting) Fields ¶
func (OrganizationSetting) Fields() []ent.Field
Fields of the OrganizationSetting
func (OrganizationSetting) GetType ¶
func (OrganizationSetting) GetType() any
GetType returns the type of the OrganizationSetting schema.
func (OrganizationSetting) Hooks ¶
func (OrganizationSetting) Hooks() []ent.Hook
Hooks of the OrganizationSetting
func (OrganizationSetting) Interceptors ¶
func (o OrganizationSetting) Interceptors() []ent.Interceptor
Interceptors of the OrganizationSetting
func (OrganizationSetting) Mixin ¶
func (OrganizationSetting) Mixin() []ent.Mixin
Mixin of the OrganizationSetting
func (OrganizationSetting) Modules ¶
func (OrganizationSetting) Modules() []models.OrgModule
func (OrganizationSetting) Name ¶
func (OrganizationSetting) Name() string
Name returns the name of the OrganizationSetting schema.
func (OrganizationSetting) PluralName ¶
func (OrganizationSetting) PluralName() string
PluralName returns the plural name of the OrganizationSetting schema.
func (OrganizationSetting) Policy ¶
func (OrganizationSetting) Policy() ent.Policy
Policy defines the privacy policy of the OrganizationSetting
type PasswordResetToken ¶
type PasswordResetToken struct {
SchemaFuncs
ent.Schema
}
PasswordResetToken holds the schema definition for the PasswordResetToken entity
func (PasswordResetToken) Annotations ¶
func (p PasswordResetToken) Annotations() []schema.Annotation
Annotations of the PasswordResetToken
func (PasswordResetToken) Fields ¶
func (PasswordResetToken) Fields() []ent.Field
Fields of the PasswordResetToken
func (PasswordResetToken) GetType ¶
func (PasswordResetToken) GetType() any
GetType returns the type of the PasswordResetToken schema.
func (PasswordResetToken) Hooks ¶
func (PasswordResetToken) Hooks() []ent.Hook
Hooks of the PasswordResetToken
func (PasswordResetToken) Indexes ¶
func (PasswordResetToken) Indexes() []ent.Index
Indexes of the PasswordResetToken
func (PasswordResetToken) Mixin ¶
func (p PasswordResetToken) Mixin() []ent.Mixin
Mixin of the PasswordResetToken
func (PasswordResetToken) Name ¶
func (PasswordResetToken) Name() string
Name returns the name of the PasswordResetToken schema.
func (PasswordResetToken) PluralName ¶
func (PasswordResetToken) PluralName() string
PluralName returns the plural name of the PasswordResetToken schema.
func (PasswordResetToken) Policy ¶
func (p PasswordResetToken) Policy() ent.Policy
Policy of the PasswordResetToken
type PersonalAccessToken ¶
type PersonalAccessToken struct {
SchemaFuncs
ent.Schema
}
PersonalAccessToken holds the schema definition for the PersonalAccessToken entity.
func (PersonalAccessToken) Annotations ¶
func (p PersonalAccessToken) Annotations() []schema.Annotation
Annotations of the PersonalAccessToken
func (PersonalAccessToken) Edges ¶
func (p PersonalAccessToken) Edges() []ent.Edge
Edges of the PersonalAccessToken
func (PersonalAccessToken) Fields ¶
func (PersonalAccessToken) Fields() []ent.Field
Fields of the PersonalAccessToken
func (PersonalAccessToken) GetType ¶
func (PersonalAccessToken) GetType() any
GetType returns the type of the PersonalAccessToken schema.
func (PersonalAccessToken) Hooks ¶
func (PersonalAccessToken) Hooks() []ent.Hook
Hooks of the PersonalAccessToken
func (PersonalAccessToken) Indexes ¶
func (PersonalAccessToken) Indexes() []ent.Index
Indexes of the PersonalAccessToken
func (PersonalAccessToken) Interceptors ¶
func (p PersonalAccessToken) Interceptors() []ent.Interceptor
Interceptors of the PersonalAccessToken
func (PersonalAccessToken) Mixin ¶
func (p PersonalAccessToken) Mixin() []ent.Mixin
Mixin of the PersonalAccessToken
func (PersonalAccessToken) Modules ¶
func (p PersonalAccessToken) Modules() []models.OrgModule
func (PersonalAccessToken) Name ¶
func (PersonalAccessToken) Name() string
Name returns the name of the PersonalAccessToken schema.
func (PersonalAccessToken) PluralName ¶
func (PersonalAccessToken) PluralName() string
PluralName returns the plural name of the PersonalAccessToken schema.
func (PersonalAccessToken) Policy ¶
func (p PersonalAccessToken) Policy() ent.Policy
Policy of the PersonalAccessToken
type Platform ¶
type Platform struct {
SchemaFuncs
ent.Schema
}
Platform holds the schema definition for the Platform entity
func (Platform) Annotations ¶
func (Platform) Annotations() []schema.Annotation
Annotations of the Platform
func (Platform) PluralName ¶
PluralName returns the plural name of the Platform schema
type Procedure ¶
type Procedure struct {
SchemaFuncs
ent.Schema
}
Procedure defines the procedure schema.
func (Procedure) Annotations ¶
func (p Procedure) Annotations() []schema.Annotation
Annotations of the Procedure
func (Procedure) Interceptors ¶
func (p Procedure) Interceptors() []ent.Interceptor
Interceptors of the Procedure
func (Procedure) PluralName ¶
PluralName returns the plural name of the procedure schema.
type Program ¶
type Program struct {
SchemaFuncs
ent.Schema
}
Program holds the schema definition for the Program entity
func (Program) Annotations ¶
func (p Program) Annotations() []schema.Annotation
Annotations of the Program
func (Program) Interceptors ¶
func (p Program) Interceptors() []ent.Interceptor
Interceptors of the Program
func (Program) PluralName ¶
PluralName returns the plural name of the Program schema.
type ProgramMembership ¶
type ProgramMembership struct {
SchemaFuncs
ent.Schema
}
ProgramMembership holds the schema definition for the ProgramMembership entity
func (ProgramMembership) Annotations ¶
func (ProgramMembership) Annotations() []schema.Annotation
Annotations of the ProgramMembership
func (ProgramMembership) Edges ¶
func (p ProgramMembership) Edges() []ent.Edge
Edges of the ProgramMembership
func (ProgramMembership) Fields ¶
func (ProgramMembership) Fields() []ent.Field
Fields of the ProgramMembership
func (ProgramMembership) GetType ¶
func (ProgramMembership) GetType() any
GetType returns the type of the ProgramMembership schema.
func (ProgramMembership) Hooks ¶
func (ProgramMembership) Hooks() []ent.Hook
Hooks of the ProgramMembership
func (ProgramMembership) Indexes ¶
func (ProgramMembership) Indexes() []ent.Index
Indexes of the ProgramMembership
func (ProgramMembership) Interceptors ¶
func (ProgramMembership) Interceptors() []ent.Interceptor
Interceptors of the ProgramMembership
func (ProgramMembership) Mixin ¶
func (ProgramMembership) Mixin() []ent.Mixin
Mixin of the ProgramMembership
func (ProgramMembership) Modules ¶
func (ProgramMembership) Modules() []models.OrgModule
func (ProgramMembership) Name ¶
func (ProgramMembership) Name() string
Name returns the name of the ProgramMembership schema.
func (ProgramMembership) PluralName ¶
func (ProgramMembership) PluralName() string
PluralName returns the plural name of the ProgramMembership schema.
func (ProgramMembership) Policy ¶
func (ProgramMembership) Policy() ent.Policy
// Policy of the ProgramMembership
type Remediation ¶
type Remediation struct {
SchemaFuncs
ent.Schema
}
Remediation defines the remediation schema.
func (Remediation) Annotations ¶
func (Remediation) Annotations() []schema.Annotation
Annotations of the Remediation
func (Remediation) Fields ¶
func (Remediation) Fields() []ent.Field
Fields returns remediation fields.
func (Remediation) GetType ¶
func (Remediation) GetType() any
GetType returns the type of the remediation schema.
func (Remediation) Modules ¶
func (Remediation) Modules() []models.OrgModule
func (Remediation) Name ¶
func (Remediation) Name() string
Name returns the name of the remediation schema.
func (Remediation) PluralName ¶
func (Remediation) PluralName() string
PluralName returns the plural name of the remediation schema.
type ResponsibilityMixin ¶
ResponsibilityMixin provides ownership, assignment, review, and delegation fields for schemas
func (ResponsibilityMixin) Edges ¶
func (r ResponsibilityMixin) Edges() []ent.Edge
Edges of the ResponsibilityMixin.
func (ResponsibilityMixin) Fields ¶
func (r ResponsibilityMixin) Fields() []ent.Field
Fields of the ResponsibilityMixin.
type Review ¶
type Review struct {
SchemaFuncs
ent.Schema
}
Review defines the review schema.
func (Review) Annotations ¶
func (Review) Annotations() []schema.Annotation
Annotations of the Review
func (Review) PluralName ¶
PluralName returns the plural name of the review schema.
type Risk ¶
type Risk struct {
SchemaFuncs
ent.Schema
}
Risk defines the risk schema.
func (Risk) PluralName ¶
PluralName returns the plural name of the risk schema.
type SLADefinition ¶
type SLADefinition struct {
SchemaFuncs
ent.Schema
}
SLADefinition defines the SLA definition schema.
func (SLADefinition) Annotations ¶
func (SLADefinition) Annotations() []schema.Annotation
Annotations of the SLADefinition
func (SLADefinition) Fields ¶
func (SLADefinition) Fields() []ent.Field
Fields returns SLA definition fields.
func (SLADefinition) GetType ¶
func (SLADefinition) GetType() any
GetType returns the type of the SLA definition schema.
func (SLADefinition) Indexes ¶
func (SLADefinition) Indexes() []ent.Index
Indexes of the SLADefinition
func (SLADefinition) Modules ¶
func (SLADefinition) Modules() []models.OrgModule
func (SLADefinition) Name ¶
func (SLADefinition) Name() string
Name returns the name of the SLA definition schema.
func (SLADefinition) PluralName ¶
func (SLADefinition) PluralName() string
PluralName returns the plural name of the SLA definition schema.
type Scan ¶
type Scan struct {
SchemaFuncs
ent.Schema
}
Scan holds the schema definition for scan records used for domain, vulnerability, or provider scans.
func (Scan) PluralName ¶
PluralName returns the plural name of the Scan schema
type SchemaFuncs ¶
SchemaFuncs defines the methods that a custom schema must implement in order to use the helper functions provided by this file including Name(), PluralName(), and GetType()
type SkipFGAOverfetch ¶
type SkipFGAOverfetch struct {
Enabled bool `json:"enabled"`
}
SkipFGAOverfetch marks a schema as not needing the FGA overfetch multiplier because SQL-level filtering handles result restriction at query time
func (SkipFGAOverfetch) Name ¶
func (SkipFGAOverfetch) Name() string
Name returns the annotation name
type Standard ¶
type Standard struct {
SchemaFuncs
ent.Schema
}
Standard defines the standard schema.
func (Standard) Annotations ¶
func (Standard) Annotations() []schema.Annotation
func (Standard) Interceptors ¶
func (s Standard) Interceptors() []ent.Interceptor
Interceptors of the Standard
func (Standard) PluralName ¶
PluralName returns the plural name of the standard schema.
type Subcontrol ¶
type Subcontrol struct {
SchemaFuncs
ent.Schema
}
Subcontrol defines the file schema.
func (Subcontrol) Annotations ¶
func (Subcontrol) Annotations() []schema.Annotation
Annotations of the Subcontrol
func (Subcontrol) GetType ¶
func (Subcontrol) GetType() any
GetType returns the type of the Subcontrol schema.
func (Subcontrol) Interceptors ¶
func (Subcontrol) Interceptors() []ent.Interceptor
Interceptors of the Subcontrol
func (Subcontrol) Modules ¶
func (Subcontrol) Modules() []models.OrgModule
Annotations of the Standard
func (Subcontrol) Name ¶
func (Subcontrol) Name() string
Name returns the name of the Subcontrol schema.
func (Subcontrol) PluralName ¶
func (Subcontrol) PluralName() string
PluralName returns the plural name of the Subcontrol schema.
type Subprocessor ¶
type Subprocessor struct {
SchemaFuncs
ent.Schema
}
Subprocessor holds the schema definition for the Subprocessor entity
func (Subprocessor) Annotations ¶
func (Subprocessor) Annotations() []schema.Annotation
Annotations of the Subprocessor
func (Subprocessor) GetType ¶
func (Subprocessor) GetType() any
GetType returns the type of the Subprocessor schema.
func (Subprocessor) Interceptors ¶
func (t Subprocessor) Interceptors() []ent.Interceptor
Interceptors of the Subprocessor
func (Subprocessor) Modules ¶
func (Subprocessor) Modules() []models.OrgModule
func (Subprocessor) Name ¶
func (Subprocessor) Name() string
Name returns the name of the Subprocessor schema.
func (Subprocessor) PluralName ¶
func (Subprocessor) PluralName() string
PluralName returns the plural name of the Subprocessor schema.
type Subscriber ¶
type Subscriber struct {
SchemaFuncs
ent.Schema
}
Subscriber holds the schema definition for the Subscriber entity
func (Subscriber) Annotations ¶
func (Subscriber) Annotations() []schema.Annotation
Annotations of the Subscriber
func (Subscriber) GetType ¶
func (Subscriber) GetType() any
GetType returns the type of the Subscriber schema.
func (Subscriber) Hooks ¶
func (Subscriber) Hooks() []ent.Hook
func (Subscriber) Modules ¶
func (Subscriber) Modules() []models.OrgModule
func (Subscriber) Name ¶
func (Subscriber) Name() string
Name returns the name of the Subscriber schema.
func (Subscriber) PluralName ¶
func (Subscriber) PluralName() string
PluralName returns the plural name of the Subscriber schema.
type SystemDetail ¶
type SystemDetail struct {
SchemaFuncs
ent.Schema
}
SystemDetail defines OSCAL-centric system metadata anchors
func (SystemDetail) Annotations ¶
func (SystemDetail) Annotations() []schema.Annotation
Annotations of the SystemDetail
func (SystemDetail) Modules ¶
func (SystemDetail) Modules() []models.OrgModule
Modules returns modules required for this schema
func (SystemDetail) PluralName ¶
func (SystemDetail) PluralName() string
PluralName returns the plural schema name
type TFASetting ¶
type TFASetting struct {
SchemaFuncs
ent.Schema
}
TFASetting holds the schema definition for the TFASetting entity
func (TFASetting) Annotations ¶
func (t TFASetting) Annotations() []schema.Annotation
Annotations of the TFASetting
func (TFASetting) GetType ¶
func (TFASetting) GetType() any
GetType returns the type of the TFASetting schema.
func (TFASetting) Modules ¶
func (TFASetting) Modules() []models.OrgModule
func (TFASetting) Name ¶
func (TFASetting) Name() string
Name returns the name of the TFASetting schema.
func (TFASetting) PluralName ¶
func (TFASetting) PluralName() string
PluralName returns the plural name of the TFASetting schema.
type TagDefinition ¶
type TagDefinition struct {
SchemaFuncs
ent.Schema
}
TagDefinition holds the schema definition for the TagDefinition entity
func (TagDefinition) Annotations ¶
func (TagDefinition) Annotations() []schema.Annotation
Annotations of the TagDefinition
func (TagDefinition) GetType ¶
func (TagDefinition) GetType() any
GetType returns the type of the schema
func (TagDefinition) Indexes ¶
func (TagDefinition) Indexes() []ent.Index
Indexes of the TagDefinition
func (TagDefinition) Interceptors ¶
func (TagDefinition) Interceptors() []ent.Interceptor
Interceptors of the TagDefinition
func (TagDefinition) Modules ¶
func (TagDefinition) Modules() []models.OrgModule
Modules this schema has access to
func (TagDefinition) Name ¶
func (TagDefinition) Name() string
Name is the name of the schema in snake case
func (TagDefinition) PluralName ¶
func (TagDefinition) PluralName() string
PluralName returns the plural name of the schema
type Task ¶
type Task struct {
SchemaFuncs
ent.Schema
}
Task holds the schema definition for the Task entity
func (Task) PluralName ¶
PluralName returns the plural name of the Task schema.
type Template ¶
type Template struct {
SchemaFuncs
ent.Schema
}
Template holds the schema definition for the Template entity
func (Template) Annotations ¶
func (Template) Annotations() []schema.Annotation
func (Template) Interceptors ¶
func (Template) Interceptors() []ent.Interceptor
Interceptors of the Template
func (Template) PluralName ¶
PluralName returns the plural name of the Template schema.
type TrustCenter ¶
type TrustCenter struct {
SchemaFuncs
ent.Schema
}
TrustCenter holds the schema definition for the TrustCenter entity
func (TrustCenter) Annotations ¶
func (t TrustCenter) Annotations() []schema.Annotation
Annotations of the TrustCenter
func (TrustCenter) GetType ¶
func (TrustCenter) GetType() any
GetType returns the type of the TrustCenter schema.
func (TrustCenter) Interceptors ¶
func (t TrustCenter) Interceptors() []ent.Interceptor
Interceptors of the TrustCenter
func (TrustCenter) Modules ¶
func (TrustCenter) Modules() []models.OrgModule
func (TrustCenter) Name ¶
func (TrustCenter) Name() string
Name returns the name of the TrustCenter schema.
func (TrustCenter) PluralName ¶
func (TrustCenter) PluralName() string
PluralName returns the plural name of the TrustCenter schema.
type TrustCenterCompliance ¶
type TrustCenterCompliance struct {
SchemaFuncs
ent.Schema
}
TrustCenterCompliance holds the schema definition for the TrustCenterCompliance entity
func (TrustCenterCompliance) Annotations ¶
func (TrustCenterCompliance) Annotations() []schema.Annotation
Annotations of the TrustCenterCompliance
func (TrustCenterCompliance) Edges ¶
func (t TrustCenterCompliance) Edges() []ent.Edge
Edges of the TrustCenterCompliance
func (TrustCenterCompliance) Fields ¶
func (TrustCenterCompliance) Fields() []ent.Field
Fields of the TrustCenterCompliance
func (TrustCenterCompliance) GetType ¶
func (TrustCenterCompliance) GetType() any
GetType returns the type of the TrustCenterCompliance schema.
func (TrustCenterCompliance) Hooks ¶
func (TrustCenterCompliance) Hooks() []ent.Hook
Hooks of the TrustCenterCompliance
func (TrustCenterCompliance) Indexes ¶
func (TrustCenterCompliance) Indexes() []ent.Index
Indexes of the TrustCenterCompliance
func (TrustCenterCompliance) Interceptors ¶
func (TrustCenterCompliance) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterCompliance
func (TrustCenterCompliance) Mixin ¶
func (t TrustCenterCompliance) Mixin() []ent.Mixin
Mixin of the TrustCenterCompliance
func (TrustCenterCompliance) Modules ¶
func (TrustCenterCompliance) Modules() []models.OrgModule
Modules this schema has access to
func (TrustCenterCompliance) Name ¶
func (TrustCenterCompliance) Name() string
Name returns the name of the TrustCenterCompliance schema.
func (TrustCenterCompliance) PluralName ¶
func (TrustCenterCompliance) PluralName() string
PluralName returns the plural name of the TrustCenterCompliance schema.
func (TrustCenterCompliance) Policy ¶
func (TrustCenterCompliance) Policy() ent.Policy
Policy of the TrustCenterCompliance
type TrustCenterDoc ¶
type TrustCenterDoc struct {
SchemaFuncs
ent.Schema
}
TrustCenterDoc holds the schema definition for the TrustCenterDoc entity
func (TrustCenterDoc) Annotations ¶
func (TrustCenterDoc) Annotations() []schema.Annotation
Annotations of the TrustCenterDoc
func (TrustCenterDoc) Edges ¶
func (t TrustCenterDoc) Edges() []ent.Edge
Edges of the TrustCenterDoc
func (TrustCenterDoc) Fields ¶
func (TrustCenterDoc) Fields() []ent.Field
Fields of the TrustCenterDoc
func (TrustCenterDoc) GetType ¶
func (TrustCenterDoc) GetType() any
GetType returns the type of the TrustCenterDoc schema.
func (TrustCenterDoc) Indexes ¶
func (TrustCenterDoc) Indexes() []ent.Index
Indexes of the TrustCenterDoc
func (TrustCenterDoc) Interceptors ¶
func (TrustCenterDoc) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterDoc
func (TrustCenterDoc) Mixin ¶
func (t TrustCenterDoc) Mixin() []ent.Mixin
Mixin of the TrustCenterDoc
func (TrustCenterDoc) Modules ¶
func (TrustCenterDoc) Modules() []models.OrgModule
func (TrustCenterDoc) Name ¶
func (TrustCenterDoc) Name() string
Name returns the name of the TrustCenterDoc schema.
func (TrustCenterDoc) PluralName ¶
func (TrustCenterDoc) PluralName() string
PluralName returns the plural name of the TrustCenterDoc schema.
func (TrustCenterDoc) Policy ¶
func (TrustCenterDoc) Policy() ent.Policy
Policy of the TrustCenterDoc
type TrustCenterEntity ¶
type TrustCenterEntity struct {
SchemaFuncs
ent.Schema
}
TrustCenterEntity holds the schema definition for the TrustCenterEntity entity
func (TrustCenterEntity) Annotations ¶
func (TrustCenterEntity) Annotations() []schema.Annotation
Annotations of the TrustCenterEntity
func (TrustCenterEntity) Edges ¶
func (t TrustCenterEntity) Edges() []ent.Edge
Edges of the TrustCenterEntity
func (TrustCenterEntity) Fields ¶
func (TrustCenterEntity) Fields() []ent.Field
Fields of the TrustCenterEntity
func (TrustCenterEntity) GetType ¶
func (TrustCenterEntity) GetType() any
GetType returns the type of the schema
func (TrustCenterEntity) Hooks ¶
func (TrustCenterEntity) Hooks() []ent.Hook
Hooks of the TrustCenterEntity
func (TrustCenterEntity) Indexes ¶
func (TrustCenterEntity) Indexes() []ent.Index
Indexes of the TrustCenterEntity
func (TrustCenterEntity) Interceptors ¶
func (TrustCenterEntity) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterEntity
func (TrustCenterEntity) Mixin ¶
func (t TrustCenterEntity) Mixin() []ent.Mixin
Mixin of the TrustCenterEntity
func (TrustCenterEntity) Modules ¶
func (TrustCenterEntity) Modules() []models.OrgModule
Modules this schema has access to
func (TrustCenterEntity) Name ¶
func (TrustCenterEntity) Name() string
Name is the name of the schema in snake case
func (TrustCenterEntity) PluralName ¶
func (TrustCenterEntity) PluralName() string
PluralName returns the plural name of the schema
func (TrustCenterEntity) Policy ¶
func (TrustCenterEntity) Policy() ent.Policy
Policy of the TrustCenterEntity
type TrustCenterFAQ ¶
type TrustCenterFAQ struct {
SchemaFuncs
ent.Schema
}
TrustCenterFAQ holds the schema definition for the TrustCenterFAQ entity
func (TrustCenterFAQ) Annotations ¶
func (TrustCenterFAQ) Annotations() []schema.Annotation
Annotations of the TrustCenterFAQ
func (TrustCenterFAQ) Edges ¶
func (t TrustCenterFAQ) Edges() []ent.Edge
Edges of the TrustCenterFAQ
func (TrustCenterFAQ) Fields ¶
func (TrustCenterFAQ) Fields() []ent.Field
Fields of the TrustCenterFAQ
func (TrustCenterFAQ) GetType ¶
func (TrustCenterFAQ) GetType() any
GetType returns the type of the TrustCenterFAQ schema.
func (TrustCenterFAQ) Hooks ¶
func (TrustCenterFAQ) Hooks() []ent.Hook
func (TrustCenterFAQ) Indexes ¶
func (TrustCenterFAQ) Indexes() []ent.Index
Indexes of the TrustCenterFAQ
func (TrustCenterFAQ) Interceptors ¶
func (TrustCenterFAQ) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterFAQ
func (TrustCenterFAQ) Mixin ¶
func (t TrustCenterFAQ) Mixin() []ent.Mixin
Mixin of the TrustCenterFAQ
func (TrustCenterFAQ) Modules ¶
func (TrustCenterFAQ) Modules() []models.OrgModule
func (TrustCenterFAQ) Name ¶
func (TrustCenterFAQ) Name() string
Name returns the name of the TrustCenterFAQ schema.
func (TrustCenterFAQ) PluralName ¶
func (TrustCenterFAQ) PluralName() string
PluralName returns the plural name of the TrustCenterFAQ schema.
func (TrustCenterFAQ) Policy ¶
func (TrustCenterFAQ) Policy() ent.Policy
Policy of the TrustCenterFAQ
type TrustCenterNDARequest ¶
type TrustCenterNDARequest struct {
SchemaFuncs
ent.Schema
}
TrustCenterNDARequest holds the schema definition for the TrustCenterNDARequest entity
func (TrustCenterNDARequest) Annotations ¶
func (TrustCenterNDARequest) Annotations() []schema.Annotation
Annotations of the TrustCenterNDARequest
func (TrustCenterNDARequest) Edges ¶
func (t TrustCenterNDARequest) Edges() []ent.Edge
Edges of the TrustCenterNDARequest
func (TrustCenterNDARequest) Fields ¶
func (TrustCenterNDARequest) Fields() []ent.Field
Fields of the TrustCenterNDARequest
func (TrustCenterNDARequest) GetType ¶
func (TrustCenterNDARequest) GetType() any
GetType returns the type of the TrustCenterNDARequest schema.
func (TrustCenterNDARequest) Hooks ¶
func (TrustCenterNDARequest) Hooks() []ent.Hook
Hooks of the TrustCenterNDARequest
func (TrustCenterNDARequest) Indexes ¶
func (TrustCenterNDARequest) Indexes() []ent.Index
Indexes of the TrustCenterNDARequest
func (TrustCenterNDARequest) Interceptors ¶
func (TrustCenterNDARequest) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterNDARequest
func (TrustCenterNDARequest) Mixin ¶
func (t TrustCenterNDARequest) Mixin() []ent.Mixin
Mixin of the TrustCenterNDARequest
func (TrustCenterNDARequest) Modules ¶
func (TrustCenterNDARequest) Modules() []models.OrgModule
func (TrustCenterNDARequest) Name ¶
func (TrustCenterNDARequest) Name() string
Name returns the name of the TrustCenterNDARequest schema.
func (TrustCenterNDARequest) PluralName ¶
func (TrustCenterNDARequest) PluralName() string
PluralName returns the plural name of the TrustCenterNDARequest schema.
func (TrustCenterNDARequest) Policy ¶
func (TrustCenterNDARequest) Policy() ent.Policy
Policy of the TrustCenterNDARequest
type TrustCenterSetting ¶
type TrustCenterSetting struct {
SchemaFuncs
ent.Schema
}
TrustCenterSetting holds the schema definition for the TrustCenterSetting entity
func (TrustCenterSetting) Annotations ¶
func (t TrustCenterSetting) Annotations() []schema.Annotation
func (TrustCenterSetting) Edges ¶
func (t TrustCenterSetting) Edges() []ent.Edge
Edges of the TrustCenterSetting
func (TrustCenterSetting) Fields ¶
func (TrustCenterSetting) Fields() []ent.Field
Fields of the TrustCenterSetting
func (TrustCenterSetting) GetType ¶
func (TrustCenterSetting) GetType() any
func (TrustCenterSetting) Hooks ¶
func (TrustCenterSetting) Hooks() []ent.Hook
Hooks of the TrustCenterSetting
func (TrustCenterSetting) Indexes ¶
func (TrustCenterSetting) Indexes() []ent.Index
func (TrustCenterSetting) Interceptors ¶
func (t TrustCenterSetting) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterSetting
func (TrustCenterSetting) Mixin ¶
func (t TrustCenterSetting) Mixin() []ent.Mixin
Mixin of the TrustCenterSetting
func (TrustCenterSetting) Modules ¶
func (TrustCenterSetting) Modules() []models.OrgModule
func (TrustCenterSetting) Name ¶
func (TrustCenterSetting) Name() string
func (TrustCenterSetting) PluralName ¶
func (TrustCenterSetting) PluralName() string
func (TrustCenterSetting) Policy ¶
func (t TrustCenterSetting) Policy() ent.Policy
Policy of the TrustCenterSetting
type TrustCenterSubprocessor ¶
type TrustCenterSubprocessor struct {
SchemaFuncs
ent.Schema
}
TrustCenterSubprocessor holds the schema definition for the TrustCenterSubprocessor entity
func (TrustCenterSubprocessor) Annotations ¶
func (t TrustCenterSubprocessor) Annotations() []schema.Annotation
Annotations of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) Edges ¶
func (t TrustCenterSubprocessor) Edges() []ent.Edge
Edges of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) Fields ¶
func (TrustCenterSubprocessor) Fields() []ent.Field
Fields of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) GetType ¶
func (TrustCenterSubprocessor) GetType() any
GetType returns the type of the TrustCenterSubprocessor schema.
func (TrustCenterSubprocessor) Hooks ¶
func (TrustCenterSubprocessor) Hooks() []ent.Hook
Hooks of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) Indexes ¶
func (TrustCenterSubprocessor) Indexes() []ent.Index
Indexes of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) Interceptors ¶
func (t TrustCenterSubprocessor) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) Mixin ¶
func (t TrustCenterSubprocessor) Mixin() []ent.Mixin
Mixin of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) Modules ¶
func (TrustCenterSubprocessor) Modules() []models.OrgModule
func (TrustCenterSubprocessor) Name ¶
func (TrustCenterSubprocessor) Name() string
Name returns the name of the TrustCenterSubprocessor schema.
func (TrustCenterSubprocessor) PluralName ¶
func (TrustCenterSubprocessor) PluralName() string
PluralName returns the plural name of the TrustCenterSubprocessor schema.
func (TrustCenterSubprocessor) Policy ¶
func (t TrustCenterSubprocessor) Policy() ent.Policy
Policy of the TrustCenterSubprocessor
type TrustCenterWatermarkConfig ¶
type TrustCenterWatermarkConfig struct {
SchemaFuncs
ent.Schema
}
TrustCenterWatermarkConfig holds the schema definition for the TrustCenterWatermarkConfig entity
func (TrustCenterWatermarkConfig) Annotations ¶
func (TrustCenterWatermarkConfig) Annotations() []schema.Annotation
Annotations of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) Edges ¶
func (t TrustCenterWatermarkConfig) Edges() []ent.Edge
Edges of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) Fields ¶
func (TrustCenterWatermarkConfig) Fields() []ent.Field
Fields of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) GetType ¶
func (TrustCenterWatermarkConfig) GetType() any
GetType returns the type of the TrustCenterWatermarkConfig schema.
func (TrustCenterWatermarkConfig) Hooks ¶
func (TrustCenterWatermarkConfig) Hooks() []ent.Hook
Hooks of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) Indexes ¶
func (TrustCenterWatermarkConfig) Indexes() []ent.Index
Indexes of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) Interceptors ¶
func (TrustCenterWatermarkConfig) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) Mixin ¶
func (t TrustCenterWatermarkConfig) Mixin() []ent.Mixin
Mixin of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) Modules ¶
func (TrustCenterWatermarkConfig) Modules() []models.OrgModule
func (TrustCenterWatermarkConfig) Name ¶
func (TrustCenterWatermarkConfig) Name() string
Name returns the name of the TrustCenterWatermarkConfig schema.
func (TrustCenterWatermarkConfig) PluralName ¶
func (TrustCenterWatermarkConfig) PluralName() string
PluralName returns the plural name of the TrustCenterWatermarkConfig schema.
func (TrustCenterWatermarkConfig) Policy ¶
func (TrustCenterWatermarkConfig) Policy() ent.Policy
Policy of the TrustCenterWatermarkConfig
type User ¶
type User struct {
SchemaFuncs
ent.Schema
}
User holds the schema definition for the User entity.
func (User) PluralName ¶
PluralName returns the plural name of the User schema.
type UserOwnedMixin ¶
type UserOwnedMixin struct {
mixin.Schema
// Ref table for the id
Ref string
// Optional makes the owner id field not required
Optional bool
// SoftDeleteIndex creates a unique index on the owner id field where deleted_at is null
SoftDeleteIndex bool
// SkipInterceptor skips the interceptor for that schema for all queries, or specific types,
// this is useful for tokens, etc
SkipInterceptor interceptors.SkipMode
// SkipTokenType skips the traverser or hook if the token type is found in the context
SkipTokenType []token.PrivacyToken
}
UserOwnedMixin defines a mixin for user-owned entities.
func (UserOwnedMixin) Edges ¶
func (userOwned UserOwnedMixin) Edges() []ent.Edge
Edges of the UserOwnedMixin
func (UserOwnedMixin) Fields ¶
func (userOwned UserOwnedMixin) Fields() []ent.Field
Fields of the UserOwnedMixin
func (UserOwnedMixin) Hooks ¶
func (userOwned UserOwnedMixin) Hooks() []ent.Hook
Hooks of the UserOwnedMixin
func (UserOwnedMixin) Indexes ¶
func (userOwned UserOwnedMixin) Indexes() []ent.Index
Indexes of the UserOwnedMixin
func (UserOwnedMixin) Interceptors ¶
func (userOwned UserOwnedMixin) Interceptors() []ent.Interceptor
Interceptors of the UserOwnedMixin
type UserSetting ¶
type UserSetting struct {
SchemaFuncs
ent.Schema
}
UserSetting holds the schema definition for the User entity.
func (UserSetting) Annotations ¶
func (u UserSetting) Annotations() []schema.Annotation
Annotations of the UserSetting
func (UserSetting) GetType ¶
func (UserSetting) GetType() any
GetType returns the type of the UserSetting schema.
func (UserSetting) Interceptors ¶
func (UserSetting) Interceptors() []ent.Interceptor
Interceptors of the UserSetting.
func (UserSetting) Name ¶
func (UserSetting) Name() string
Name returns the name of the UserSetting schema.
func (UserSetting) PluralName ¶
func (UserSetting) PluralName() string
PluralName returns the plural name of the UserSetting schema.
func (UserSetting) Policy ¶
func (UserSetting) Policy() ent.Policy
type VendorRiskScore ¶
type VendorRiskScore struct {
SchemaFuncs
ent.Schema
}
VendorRiskScore holds the schema definition for a per-vendor per-question risk assessment
func (VendorRiskScore) Annotations ¶
func (VendorRiskScore) Annotations() []schema.Annotation
Annotations of the VendorRiskScore
func (VendorRiskScore) Edges ¶
func (v VendorRiskScore) Edges() []ent.Edge
Edges of the VendorRiskScore
func (VendorRiskScore) Fields ¶
func (VendorRiskScore) Fields() []ent.Field
Fields of the VendorRiskScore
func (VendorRiskScore) GetType ¶
func (VendorRiskScore) GetType() any
GetType returns the type of the VendorRiskScore schema
func (VendorRiskScore) Hooks ¶
func (VendorRiskScore) Hooks() []ent.Hook
Hooks of the VendorRiskScore
func (VendorRiskScore) Mixin ¶
func (v VendorRiskScore) Mixin() []ent.Mixin
Mixin of the VendorRiskScore
func (VendorRiskScore) Modules ¶
func (VendorRiskScore) Modules() []models.OrgModule
Modules of the VendorRiskScore
func (VendorRiskScore) Name ¶
func (VendorRiskScore) Name() string
Name returns the name of the VendorRiskScore schema
func (VendorRiskScore) PluralName ¶
func (VendorRiskScore) PluralName() string
PluralName returns the plural name of the VendorRiskScore schema
func (VendorRiskScore) Policy ¶
func (VendorRiskScore) Policy() ent.Policy
Policy of the VendorRiskScore
type VendorScoringConfig ¶
type VendorScoringConfig struct {
SchemaFuncs
ent.Schema
}
VendorScoringConfig holds the schema definition for the VendorScoringConfig entity
func (VendorScoringConfig) Annotations ¶
func (VendorScoringConfig) Annotations() []schema.Annotation
Annotations of the VendorScoringConfig
func (VendorScoringConfig) Edges ¶
func (v VendorScoringConfig) Edges() []ent.Edge
Edges of the VendorScoringConfig
func (VendorScoringConfig) Fields ¶
func (VendorScoringConfig) Fields() []ent.Field
Fields of the VendorScoringConfig
func (VendorScoringConfig) GetType ¶
func (VendorScoringConfig) GetType() any
GetType returns the type of the VendorScoringConfig schema
func (VendorScoringConfig) Hooks ¶
func (VendorScoringConfig) Hooks() []ent.Hook
Hooks of the VendorScoringConfig
func (VendorScoringConfig) Mixin ¶
func (v VendorScoringConfig) Mixin() []ent.Mixin
Mixin of the VendorScoringConfig
func (VendorScoringConfig) Modules ¶
func (VendorScoringConfig) Modules() []models.OrgModule
Modules of the VendorScoringConfig
func (VendorScoringConfig) Name ¶
func (VendorScoringConfig) Name() string
Name returns the name of the VendorScoringConfig schema
func (VendorScoringConfig) PluralName ¶
func (VendorScoringConfig) PluralName() string
PluralName returns the plural name of the VendorScoringConfig schema
func (VendorScoringConfig) Policy ¶
func (VendorScoringConfig) Policy() ent.Policy
Policy of the VendorScoringConfig
type Vulnerability ¶
type Vulnerability struct {
SchemaFuncs
ent.Schema
}
Vulnerability defines the vulnerability schema.
func (Vulnerability) Annotations ¶
func (Vulnerability) Annotations() []schema.Annotation
Annotations of the Vulnerability
func (Vulnerability) Fields ¶
func (Vulnerability) Fields() []ent.Field
Fields returns vulnerability fields.
func (Vulnerability) GetType ¶
func (Vulnerability) GetType() any
GetType returns the type of the vulnerability schema.
func (Vulnerability) Indexes ¶
func (Vulnerability) Indexes() []ent.Index
Indexes of the Vulnerability
func (Vulnerability) Modules ¶
func (Vulnerability) Modules() []models.OrgModule
func (Vulnerability) Name ¶
func (Vulnerability) Name() string
Name returns the name of the vulnerability schema.
func (Vulnerability) PluralName ¶
func (Vulnerability) PluralName() string
PluralName returns the plural name of the vulnerability schema.
func (Vulnerability) Policy ¶
func (v Vulnerability) Policy() ent.Policy
Policy of the Vulnerability
type Webauthn ¶
type Webauthn struct {
SchemaFuncs
ent.Schema
}
Webauthn holds the schema definition for the Webauthn entity
func (Webauthn) Annotations ¶
func (w Webauthn) Annotations() []schema.Annotation
Annotations of the Webauthn
func (Webauthn) PluralName ¶
PluralName returns the plural name of the Webauthn schema.
type WorkflowApprovalMixin ¶
WorkflowApprovalMixin adds fields for storing proposed changes that require approval. This enables the "proposed changes" pattern where mutations are intercepted and stored for workflow approval before being applied to the actual entity.
func (WorkflowApprovalMixin) Fields ¶
func (WorkflowApprovalMixin) Fields() []ent.Field
Fields of the WorkflowApprovalMixin
func (WorkflowApprovalMixin) Hooks ¶
func (WorkflowApprovalMixin) Hooks() []ent.Hook
Hooks of the WorkflowApprovalMixin
type WorkflowAssignment ¶
type WorkflowAssignment struct {
SchemaFuncs
ent.Schema
}
WorkflowAssignment stores approval assignment records for workflow instances
func (WorkflowAssignment) Annotations ¶
func (WorkflowAssignment) Annotations() []schema.Annotation
Annotations of the WorkflowAssignment
func (WorkflowAssignment) Edges ¶
func (w WorkflowAssignment) Edges() []ent.Edge
Edges of the WorkflowAssignment
func (WorkflowAssignment) Fields ¶
func (WorkflowAssignment) Fields() []ent.Field
Fields of the WorkflowAssignment
func (WorkflowAssignment) GetType ¶
func (WorkflowAssignment) GetType() any
GetType returns the type of the WorkflowAssignment schema
func (WorkflowAssignment) Hooks ¶
func (WorkflowAssignment) Hooks() []ent.Hook
Hooks of the WorkflowAssignment
func (WorkflowAssignment) Indexes ¶
func (WorkflowAssignment) Indexes() []ent.Index
Indexes of the WorkflowAssignment
func (WorkflowAssignment) Mixin ¶
func (WorkflowAssignment) Mixin() []ent.Mixin
Mixin of the WorkflowAssignment
func (WorkflowAssignment) Modules ¶
func (WorkflowAssignment) Modules() []models.OrgModule
Modules this schema has access to
func (WorkflowAssignment) Name ¶
func (WorkflowAssignment) Name() string
Name returns the name of the WorkflowAssignment schema
func (WorkflowAssignment) PluralName ¶
func (WorkflowAssignment) PluralName() string
PluralName returns the plural name of the WorkflowAssignment schema
func (WorkflowAssignment) Policy ¶
func (WorkflowAssignment) Policy() ent.Policy
Policy of the WorkflowAssignment
type WorkflowAssignmentTarget ¶
type WorkflowAssignmentTarget struct {
SchemaFuncs
ent.Schema
}
WorkflowAssignmentTarget links an assignment to specific targets (user/group/resolver)
func (WorkflowAssignmentTarget) Annotations ¶
func (WorkflowAssignmentTarget) Annotations() []schema.Annotation
Annotations of the WorkflowAssignmentTarget
func (WorkflowAssignmentTarget) Edges ¶
func (w WorkflowAssignmentTarget) Edges() []ent.Edge
Edges of the WorkflowAssignmentTarget
func (WorkflowAssignmentTarget) Fields ¶
func (WorkflowAssignmentTarget) Fields() []ent.Field
Fields of the WorkflowAssignmentTarget
func (WorkflowAssignmentTarget) GetType ¶
func (WorkflowAssignmentTarget) GetType() any
GetType returns the type of the WorkflowAssignmentTarget schema
func (WorkflowAssignmentTarget) Indexes ¶
func (WorkflowAssignmentTarget) Indexes() []ent.Index
Indexes of the WorkflowAssignmentTarget
func (WorkflowAssignmentTarget) Mixin ¶
func (WorkflowAssignmentTarget) Mixin() []ent.Mixin
Mixin of the WorkflowAssignmentTarget
func (WorkflowAssignmentTarget) Modules ¶
func (WorkflowAssignmentTarget) Modules() []models.OrgModule
Modules this schema has access to
func (WorkflowAssignmentTarget) Name ¶
func (WorkflowAssignmentTarget) Name() string
Name returns the name of the WorkflowAssignmentTarget schema
func (WorkflowAssignmentTarget) PluralName ¶
func (WorkflowAssignmentTarget) PluralName() string
PluralName returns the plural name of the WorkflowAssignmentTarget schema
func (WorkflowAssignmentTarget) Policy ¶
func (WorkflowAssignmentTarget) Policy() ent.Policy
Policy of the WorkflowAssignmentTarget
type WorkflowDefinition ¶
type WorkflowDefinition struct {
SchemaFuncs
ent.Schema
}
WorkflowDefinition stores workflow configurations, both system-provided templates and organization-specific instances
func (WorkflowDefinition) Annotations ¶
func (WorkflowDefinition) Annotations() []schema.Annotation
Annotations of the WorkflowDefinition
func (WorkflowDefinition) Edges ¶
func (WorkflowDefinition) Edges() []ent.Edge
Edges of the WorkflowDefinition
func (WorkflowDefinition) Fields ¶
func (WorkflowDefinition) Fields() []ent.Field
Fields of the WorkflowDefinition
func (WorkflowDefinition) GetType ¶
func (WorkflowDefinition) GetType() any
GetType returns the type of the WorkflowDefinition schema
func (WorkflowDefinition) Hooks ¶
func (WorkflowDefinition) Hooks() []ent.Hook
Hooks of the WorkflowDefinition
func (WorkflowDefinition) Mixin ¶
func (w WorkflowDefinition) Mixin() []ent.Mixin
Mixin of the WorkflowDefinition.
func (WorkflowDefinition) Modules ¶
func (WorkflowDefinition) Modules() []models.OrgModule
Modules this schema has access to.
func (WorkflowDefinition) Name ¶
func (WorkflowDefinition) Name() string
Name returns the name of the WorkflowDefinition schema
func (WorkflowDefinition) PluralName ¶
func (WorkflowDefinition) PluralName() string
PluralName returns the plural name of the WorkflowDefinition schema
func (WorkflowDefinition) Policy ¶
func (WorkflowDefinition) Policy() ent.Policy
Policy of the WorkflowDefinition.
type WorkflowEvent ¶
type WorkflowEvent struct {
SchemaFuncs
ent.Schema
}
WorkflowEvent stores events executed within a workflow instance
func (WorkflowEvent) Annotations ¶
func (WorkflowEvent) Annotations() []schema.Annotation
Annotations of the WorkflowEvent
func (WorkflowEvent) GetType ¶
func (WorkflowEvent) GetType() any
GetType returns the type of the WorkflowEvent schema
func (WorkflowEvent) Modules ¶
func (WorkflowEvent) Modules() []models.OrgModule
Modules this schema has access to
func (WorkflowEvent) Name ¶
func (WorkflowEvent) Name() string
Name returns the name of the WorkflowEvent schema
func (WorkflowEvent) PluralName ¶
func (WorkflowEvent) PluralName() string
PluralName returns the plural name of the WorkflowEvent schema
type WorkflowInstance ¶
type WorkflowInstance struct {
SchemaFuncs
ent.Schema
}
WorkflowInstance tracks execution of a workflow definition for a specific object
func (WorkflowInstance) Annotations ¶
func (WorkflowInstance) Annotations() []schema.Annotation
Annotations of the WorkflowInstance
func (WorkflowInstance) Edges ¶
func (w WorkflowInstance) Edges() []ent.Edge
Edges of the WorkflowInstance
func (WorkflowInstance) Fields ¶
func (WorkflowInstance) Fields() []ent.Field
Fields of the WorkflowInstance
func (WorkflowInstance) GetType ¶
func (WorkflowInstance) GetType() any
GetType returns the type of the WorkflowInstance schema
func (WorkflowInstance) Hooks ¶
func (WorkflowInstance) Hooks() []ent.Hook
Hooks of the WorkflowInstance
func (WorkflowInstance) Indexes ¶
func (WorkflowInstance) Indexes() []ent.Index
Indexes of the WorkflowInstance
func (WorkflowInstance) Mixin ¶
func (WorkflowInstance) Mixin() []ent.Mixin
Mixin of the WorkflowInstance
func (WorkflowInstance) Modules ¶
func (WorkflowInstance) Modules() []models.OrgModule
Modules this schema has access to
func (WorkflowInstance) Name ¶
func (WorkflowInstance) Name() string
Name returns the name of the WorkflowInstance schema
func (WorkflowInstance) PluralName ¶
func (WorkflowInstance) PluralName() string
PluralName returns the plural name of the WorkflowInstance schema
func (WorkflowInstance) Policy ¶
func (WorkflowInstance) Policy() ent.Policy
Policy of the WorkflowInstance
type WorkflowObjectRef ¶
type WorkflowObjectRef struct {
SchemaFuncs
ent.Schema
}
WorkflowObjectRef is a through table linking workflow instances to workflow-addressable objects.
func (WorkflowObjectRef) Annotations ¶
func (WorkflowObjectRef) Annotations() []schema.Annotation
Annotations of the WorkflowObjectRef
func (WorkflowObjectRef) Edges ¶
func (w WorkflowObjectRef) Edges() []ent.Edge
Edges of the WorkflowObjectRef
func (WorkflowObjectRef) Fields ¶
func (WorkflowObjectRef) Fields() []ent.Field
Fields of the WorkflowObjectRef
func (WorkflowObjectRef) GetType ¶
func (WorkflowObjectRef) GetType() any
GetType returns the type of the WorkflowObjectRef schema
func (WorkflowObjectRef) Indexes ¶
func (WorkflowObjectRef) Indexes() []ent.Index
Indexes of the WorkflowObjectRef
func (WorkflowObjectRef) Mixin ¶
func (w WorkflowObjectRef) Mixin() []ent.Mixin
Mixin of the WorkflowObjectRef
func (WorkflowObjectRef) Modules ¶
func (WorkflowObjectRef) Modules() []models.OrgModule
Modules this schema has access to
func (WorkflowObjectRef) Name ¶
func (WorkflowObjectRef) Name() string
Name returns the name of the WorkflowObjectRef schema
func (WorkflowObjectRef) PluralName ¶
func (WorkflowObjectRef) PluralName() string
PluralName returns the plural name of the WorkflowObjectRef schema
func (WorkflowObjectRef) Policy ¶
func (WorkflowObjectRef) Policy() ent.Policy
Policy of the WorkflowObjectRef
type WorkflowProposal ¶
type WorkflowProposal struct {
SchemaFuncs
ent.Schema
}
WorkflowProposal stores staged changes for a single object+domain that require approvals.
func (WorkflowProposal) Annotations ¶
func (WorkflowProposal) Annotations() []schema.Annotation
Annotations returns the annotations for the WorkflowProposal schema
func (WorkflowProposal) Edges ¶
func (w WorkflowProposal) Edges() []ent.Edge
Edges of the WorkflowProposal.
func (WorkflowProposal) Fields ¶
func (WorkflowProposal) Fields() []ent.Field
Fields of the WorkflowProposal.
func (WorkflowProposal) GetType ¶
func (WorkflowProposal) GetType() any
GetType returns the type of the WorkflowProposal schema.
func (WorkflowProposal) Hooks ¶
func (WorkflowProposal) Hooks() []ent.Hook
Hooks returns the hooks for the WorkflowProposal schema
func (WorkflowProposal) Indexes ¶
func (WorkflowProposal) Indexes() []ent.Index
Indexes of the WorkflowProposal.
func (WorkflowProposal) Mixin ¶
func (w WorkflowProposal) Mixin() []ent.Mixin
Mixin of the Integration
func (WorkflowProposal) Modules ¶
func (WorkflowProposal) Modules() []models.OrgModule
Modules this schema has access to.
func (WorkflowProposal) Name ¶
func (WorkflowProposal) Name() string
Name returns the name of the WorkflowProposal schema.
func (WorkflowProposal) PluralName ¶
func (WorkflowProposal) PluralName() string
PluralName returns the plural name of the WorkflowProposal schema.
func (WorkflowProposal) Policy ¶
func (WorkflowProposal) Policy() ent.Policy
Policy of the WorkflowProposal
Source Files
¶
- actionplan.go
- apitoken.go
- assessment.go
- assessment_response.go
- asset.go
- basecolors.go
- campaign.go
- campaign_target.go
- checkresult.go
- contact.go
- control.go
- controlimplementation.go
- controlobjective.go
- customdomain.go
- customtypeenum.go
- defaults.go
- directoryaccount.go
- directorygroup.go
- directorymembership.go
- directorysyncrun.go
- discussion.go
- dnsverification.go
- doc.go
- documentdata.go
- emailtemplate.go
- emailverificationtoken.go
- entity.go
- entitytype.go
- errors.go
- event.go
- evidence.go
- export.go
- file.go
- filedownload.go
- finding.go
- findingcontrol.go
- group.go
- groupmembership.go
- groupsetting.go
- hush.go
- identity_holder.go
- impersonationevent.go
- integration.go
- integrationrun.go
- integrationwebhook.go
- internalpolicy.go
- invite.go
- mappable_domain.go
- mappedcontrol.go
- mixin_controls.go
- mixin_createacess.go
- mixin_customenums.go
- mixin_document.go
- mixin_edgeindex.go
- mixin_grouppermissions.go
- mixin_objectowned.go
- mixin_orgowned.go
- mixin_responsibility.go
- mixin_userowned.go
- mixin_wf_approval.go
- narrative.go
- note.go
- notification.go
- notificationpreference.go
- notificationtemplate.go
- onboarding.go
- organization.go
- organizationsetting.go
- orgmembership.go
- orgmodule.go
- orgprice.go
- orgproduct.go
- orgsubscription.go
- passwordresettoken.go
- personalaccesstoken.go
- platform.go
- procedure.go
- program.go
- programmembership.go
- remediation.go
- review.go
- risk.go
- scan.go
- sladefinition.go
- standard.go
- subcontrol.go
- subprocessor.go
- subscriber.go
- systemdetail.go
- tagdefinition.go
- task.go
- template.go
- tfasetting.go
- trustcenter.go
- trustcentercompliance.go
- trustcenterdocument.go
- trustcenterentity.go
- trustcenterfaq.go
- trustcenterndarequest.go
- trustcentersetting.go
- trustcentersubprocessor.go
- trustcenterwatermarkconfig.go
- user.go
- usersetting.go
- vendorriskscore.go
- vendorscoringconfig.go
- vulnerability.go
- webauthn.go
- workflowassignment.go
- workflowassignmenttarget.go
- workflowdefinition.go
- workflowevent.go
- workflowinstance.go
- workflowobjectref.go
- workflowproposal.go