Documentation
¶
Overview ¶
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Package schema contains the ent schema ¶
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Index ¶
- Constants
- Variables
- func AutoHushMixin(schema ent.Interface) ent.Mixin
- 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 ActionPlanHistory
- 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 AssessmentHistory
- type AssessmentResponse
- func (AssessmentResponse) Annotations() []schema.Annotation
- func (ar AssessmentResponse) Edges() []ent.Edge
- func (AssessmentResponse) Fields() []ent.Field
- func (AssessmentResponse) GetType() any
- func (AssessmentResponse) Indexes() []ent.Index
- func (AssessmentResponse) Interceptors() []ent.Interceptor
- 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 AssessmentResponseHistory
- 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) Indexes() []ent.Index
- 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 AssetHistory
- type AutoHushEncryptionMixin
- 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 ContactHistory
- 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 (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 ControlHistory
- 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 ControlImplementationHistory
- func (ControlImplementationHistory) Annotations() []schema.Annotation
- func (ControlImplementationHistory) Fields() []ent.Field
- func (ControlImplementationHistory) Indexes() []ent.Index
- func (ControlImplementationHistory) Interceptors() []ent.Interceptor
- func (ControlImplementationHistory) 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 ControlObjectiveHistory
- 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 CustomDomainHistory
- 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 (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 DNSVerificationHistory
- 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 DocumentDataHistory
- type DocumentMixin
- type EdgeInfo
- 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) 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 EntityHistory
- 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 EntityTypeHistory
- 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 (e Evidence) Mixin() []ent.Mixin
- func (Evidence) Modules() []models.OrgModule
- func (Evidence) Name() string
- func (Evidence) PluralName() string
- func (Evidence) Policy() ent.Policy
- type EvidenceHistory
- 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 FileHistory
- type Finding
- func (Finding) Annotations() []schema.Annotation
- func (f Finding) Edges() []ent.Edge
- func (Finding) Fields() []ent.Field
- func (Finding) GetType() any
- 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 (FindingControl) Annotations() []schema.Annotation
- func (fc FindingControl) Edges() []ent.Edge
- func (FindingControl) Fields() []ent.Field
- func (FindingControl) GetType() any
- func (FindingControl) Indexes() []ent.Index
- func (FindingControl) Mixin() []ent.Mixin
- func (FindingControl) Modules() []models.OrgModule
- func (FindingControl) Name() string
- func (FindingControl) PluralName() string
- func (FindingControl) Policy() ent.Policy
- type FindingControlHistory
- type FindingHistory
- 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 GroupHistory
- 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 GroupMembershipHistory
- 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 GroupSettingHistory
- type HookFunc
- type Hush
- type HushHistory
- type HushMixin
- 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 (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 IntegrationHistory
- 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) 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 InternalPolicyHistory
- 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 JobResult
- func (j JobResult) Annotations() []schema.Annotation
- func (j JobResult) Edges() []ent.Edge
- func (JobResult) Fields() []ent.Field
- func (JobResult) GetType() any
- func (JobResult) Hooks() []ent.Hook
- func (JobResult) Indexes() []ent.Index
- func (JobResult) Interceptors() []ent.Interceptor
- func (j JobResult) Mixin() []ent.Mixin
- func (JobResult) Modules() []models.OrgModule
- func (JobResult) Name() string
- func (JobResult) PluralName() string
- func (JobResult) Policy() ent.Policy
- type JobRunner
- func (j JobRunner) Annotations() []schema.Annotation
- func (j JobRunner) Edges() []ent.Edge
- func (JobRunner) Fields() []ent.Field
- func (JobRunner) GetType() any
- func (JobRunner) Hooks() []ent.Hook
- func (JobRunner) Indexes() []ent.Index
- func (j JobRunner) Interceptors() []ent.Interceptor
- func (j JobRunner) Mixin() []ent.Mixin
- func (JobRunner) Modules() []models.OrgModule
- func (JobRunner) Name() string
- func (JobRunner) PluralName() string
- func (j JobRunner) Policy() ent.Policy
- type JobRunnerRegistrationToken
- func (j JobRunnerRegistrationToken) Annotations() []schema.Annotation
- func (j JobRunnerRegistrationToken) Edges() []ent.Edge
- func (JobRunnerRegistrationToken) Fields() []ent.Field
- func (JobRunnerRegistrationToken) GetType() any
- func (JobRunnerRegistrationToken) Hooks() []ent.Hook
- func (JobRunnerRegistrationToken) Indexes() []ent.Index
- func (j JobRunnerRegistrationToken) Interceptors() []ent.Interceptor
- func (j JobRunnerRegistrationToken) Mixin() []ent.Mixin
- func (JobRunnerRegistrationToken) Modules() []models.OrgModule
- func (JobRunnerRegistrationToken) Name() string
- func (JobRunnerRegistrationToken) PluralName() string
- func (j JobRunnerRegistrationToken) Policy() ent.Policy
- type JobRunnerToken
- func (j JobRunnerToken) Annotations() []schema.Annotation
- func (j JobRunnerToken) Edges() []ent.Edge
- func (JobRunnerToken) Fields() []ent.Field
- func (JobRunnerToken) GetType() any
- func (JobRunnerToken) Hooks() []ent.Hook
- func (JobRunnerToken) Indexes() []ent.Index
- func (JobRunnerToken) Interceptors() []ent.Interceptor
- func (j JobRunnerToken) Mixin() []ent.Mixin
- func (JobRunnerToken) Modules() []models.OrgModule
- func (JobRunnerToken) Name() string
- func (JobRunnerToken) PluralName() string
- func (j JobRunnerToken) Policy() ent.Policy
- type JobTemplate
- func (JobTemplate) Annotations() []schema.Annotation
- func (j JobTemplate) Edges() []ent.Edge
- func (JobTemplate) Fields() []ent.Field
- func (JobTemplate) GetType() any
- func (JobTemplate) Hooks() []ent.Hook
- func (j JobTemplate) Mixin() []ent.Mixin
- func (JobTemplate) Modules() []models.OrgModule
- func (JobTemplate) Name() string
- func (JobTemplate) PluralName() string
- func (JobTemplate) Policy() ent.Policy
- type JobTemplateHistory
- 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 MappableDomainHistory
- 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 MappedControlHistory
- 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 NarrativeHistory
- 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 NoteHistory
- 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 (n Notification) Mixin() []ent.Mixin
- func (Notification) Modules() []models.OrgModule
- func (Notification) Name() string
- func (Notification) PluralName() string
- func (Notification) Policy() ent.Policy
- type ObjectOwnedMixin
- 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 OrgMembershipHistory
- 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 OrgSubscriptionHistory
- 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 OrganizationHistory
- 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 OrganizationSettingHistory
- 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 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 ProcedureHistory
- 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 (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 ProgramHistory
- 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 ProgramMembershipHistory
- 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 RemediationHistory
- type Review
- func (Review) Annotations() []schema.Annotation
- func (r Review) Edges() []ent.Edge
- func (Review) Fields() []ent.Field
- func (Review) GetType() any
- 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 ReviewHistory
- 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 (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 RiskHistory
- 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 ScanHistory
- type ScheduledJob
- func (ScheduledJob) Annotations() []schema.Annotation
- func (c ScheduledJob) Edges() []ent.Edge
- func (ScheduledJob) Fields() []ent.Field
- func (ScheduledJob) GetType() any
- func (ScheduledJob) Hooks() []ent.Hook
- func (ScheduledJob) Indexes() []ent.Index
- func (ScheduledJob) Interceptors() []ent.Interceptor
- func (c ScheduledJob) Mixin() []ent.Mixin
- func (ScheduledJob) Modules() []models.OrgModule
- func (ScheduledJob) Name() string
- func (ScheduledJob) PluralName() string
- func (ScheduledJob) Policy() ent.Policy
- type ScheduledJobHistory
- type ScheduledJobRun
- func (s ScheduledJobRun) Annotations() []schema.Annotation
- func (s ScheduledJobRun) Edges() []ent.Edge
- func (ScheduledJobRun) Fields() []ent.Field
- func (ScheduledJobRun) GetType() any
- func (ScheduledJobRun) Hooks() []ent.Hook
- func (ScheduledJobRun) Indexes() []ent.Index
- func (s ScheduledJobRun) Mixin() []ent.Mixin
- func (ScheduledJobRun) Modules() []models.OrgModule
- func (ScheduledJobRun) Name() string
- func (ScheduledJobRun) PluralName() string
- func (s ScheduledJobRun) Policy() ent.Policy
- type SchemaFuncs
- type Standard
- 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 StandardHistory
- type Subcontrol
- 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 (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 SubcontrolHistory
- type Subprocessor
- 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 SubprocessorHistory
- 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 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 (t Task) Mixin() []ent.Mixin
- func (Task) Modules() []models.OrgModule
- func (Task) Name() string
- func (Task) PluralName() string
- func (Task) Policy() ent.Policy
- type TaskHistory
- 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 (t Template) Mixin() []ent.Mixin
- func (Template) Name() string
- func (Template) PluralName() string
- func (Template) Policy() ent.Policy
- type TemplateHistory
- 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) Name() string
- func (TrustCenterCompliance) PluralName() string
- func (TrustCenterCompliance) Policy() ent.Policy
- type TrustCenterComplianceHistory
- func (TrustCenterComplianceHistory) Annotations() []schema.Annotation
- func (TrustCenterComplianceHistory) Fields() []ent.Field
- func (TrustCenterComplianceHistory) Indexes() []ent.Index
- func (TrustCenterComplianceHistory) Interceptors() []ent.Interceptor
- func (TrustCenterComplianceHistory) 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 TrustCenterDocHistory
- type TrustCenterHistory
- 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 TrustCenterSettingHistory
- 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 TrustCenterSubprocessorHistory
- func (TrustCenterSubprocessorHistory) Annotations() []schema.Annotation
- func (TrustCenterSubprocessorHistory) Fields() []ent.Field
- func (TrustCenterSubprocessorHistory) Indexes() []ent.Index
- func (TrustCenterSubprocessorHistory) Interceptors() []ent.Interceptor
- func (TrustCenterSubprocessorHistory) 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 TrustCenterWatermarkConfigHistory
- func (TrustCenterWatermarkConfigHistory) Annotations() []schema.Annotation
- func (TrustCenterWatermarkConfigHistory) Fields() []ent.Field
- func (TrustCenterWatermarkConfigHistory) Indexes() []ent.Index
- func (TrustCenterWatermarkConfigHistory) Interceptors() []ent.Interceptor
- func (TrustCenterWatermarkConfigHistory) 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 UserHistory
- 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) 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 UserSettingHistory
- type Vulnerability
- func (Vulnerability) Annotations() []schema.Annotation
- func (v Vulnerability) Edges() []ent.Edge
- func (Vulnerability) Fields() []ent.Field
- func (Vulnerability) GetType() any
- 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 VulnerabilityHistory
- 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
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"
const SchemaAsset = "asset"
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 SchemaDocumentData = "document"
SchemaDocumentData is the name of the DocumentData 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 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 SchemaInternalPolicy = "internal_policy"
SchemaInternalPolicy is the name of the internal policy schema.
const SchemaInvite = "invite"
const SchemaJobResult = "job_result"
SchemaJobResultis the name of the schema in snake case
const SchemaJobRunner = "job_runner"
SchemaJobRunneris the name of the schema in snake case
const SchemaJobRunnerRegistrationToken = "job_runner_registration_token"
SchemaJobRunnerRegistrationTokenis the name of the schema in snake case
const SchemaJobRunnerToken = "job_runner_token"
SchemaJobRunnerTokenis the name of the schema in snake case
const SchemaJobTemplate = "job_template"
SchemaJobTemplate is the name of the schema in snake case
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 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 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 SchemaScan = "scan"
const SchemaScheduledJob = "scheduled_job"
SchemaScheduledJob is the name of the schema in snake case
const SchemaScheduledJobRun = "scheduled_job_run"
SchemaScheduledJobRunis the name of the schema in snake case
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 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 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 SchemaVulnerability = "vulnerability"
SchemaVulnerability is the name of the vulnerability schema.
const SchemaWebauthn = "webauthn"
SchemaWebauthn is the name of the Webauthn schema.
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") )
Functions ¶
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 ¶ added in v0.8.2
PluralName returns the plural name of the APIToken schema.
type ActionPlan ¶ added in v0.3.3
type ActionPlan struct {
SchemaFuncs
ent.Schema
}
ActionPlan defines the action plan schema.
func (ActionPlan) Annotations ¶ added in v0.3.3
func (a ActionPlan) Annotations() []schema.Annotation
Annotations of the ActionPlan
func (ActionPlan) Edges ¶ added in v0.3.3
func (a ActionPlan) Edges() []ent.Edge
Edges of the ActionPlan
func (ActionPlan) Fields ¶ added in v0.3.3
func (ActionPlan) Fields() []ent.Field
Fields returns action plan fields.
func (ActionPlan) GetType ¶ added in v0.8.2
func (ActionPlan) GetType() any
GetType returns the type of the action plan schema.
func (ActionPlan) Mixin ¶ added in v0.3.3
func (a ActionPlan) Mixin() []ent.Mixin
Mixin of the ActionPlan
func (ActionPlan) Modules ¶ added in v0.28.0
func (ActionPlan) Modules() []models.OrgModule
func (ActionPlan) Name ¶ added in v0.8.2
func (ActionPlan) Name() string
Name returns the name of the action plan schema.
func (ActionPlan) PluralName ¶ added in v0.8.2
func (ActionPlan) PluralName() string
PluralName returns the plural name of the action plan schema.
func (ActionPlan) Policy ¶ added in v0.7.5
func (a ActionPlan) Policy() ent.Policy
Policy of the ActionPlan
type ActionPlanHistory ¶ added in v0.3.3
ActionPlanHistory holds the schema definition for the ActionPlanHistory entity.
func (ActionPlanHistory) Annotations ¶ added in v0.3.3
func (ActionPlanHistory) Annotations() []schema.Annotation
Annotations of the ActionPlanHistory.
func (ActionPlanHistory) Fields ¶ added in v0.3.3
func (ActionPlanHistory) Fields() []ent.Field
Fields of the ActionPlanHistory.
func (ActionPlanHistory) Indexes ¶ added in v0.3.3
func (ActionPlanHistory) Indexes() []ent.Index
Indexes of the ActionPlanHistory
func (ActionPlanHistory) Interceptors ¶ added in v0.7.5
func (ActionPlanHistory) Interceptors() []ent.Interceptor
Interceptors of the ActionPlanHistory
func (ActionPlanHistory) Policy ¶ added in v0.23.1
func (ActionPlanHistory) Policy() ent.Policy
Policy of the ActionPlanHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type Assessment ¶ added in v0.42.6
type Assessment struct {
SchemaFuncs
ent.Schema
}
Assessment stores information about an questionnaire filled out
func (Assessment) Annotations ¶ added in v0.42.6
func (Assessment) Annotations() []schema.Annotation
Annotations of the Assessment
func (Assessment) Edges ¶ added in v0.42.6
func (a Assessment) Edges() []ent.Edge
func (Assessment) Fields ¶ added in v0.42.6
func (Assessment) Fields() []ent.Field
func (Assessment) GetType ¶ added in v0.42.6
func (Assessment) GetType() any
func (Assessment) Hooks ¶ added in v0.42.6
func (Assessment) Hooks() []ent.Hook
func (Assessment) Indexes ¶ added in v0.42.6
func (Assessment) Indexes() []ent.Index
Indexes of the Assessment
func (Assessment) Interceptors ¶ added in v0.42.6
func (Assessment) Interceptors() []ent.Interceptor
Interceptors of the Assessment
func (Assessment) Mixin ¶ added in v0.42.6
func (a Assessment) Mixin() []ent.Mixin
func (Assessment) Modules ¶ added in v0.42.6
func (Assessment) Modules() []models.OrgModule
func (Assessment) Name ¶ added in v0.42.6
func (Assessment) Name() string
func (Assessment) PluralName ¶ added in v0.42.6
func (Assessment) PluralName() string
func (Assessment) Policy ¶ added in v0.42.6
func (Assessment) Policy() ent.Policy
type AssessmentHistory ¶ added in v0.42.6
AssessmentHistory holds the schema definition for the AssessmentHistory entity.
func (AssessmentHistory) Annotations ¶ added in v0.42.6
func (AssessmentHistory) Annotations() []schema.Annotation
Annotations of the AssessmentHistory.
func (AssessmentHistory) Fields ¶ added in v0.42.6
func (AssessmentHistory) Fields() []ent.Field
Fields of the AssessmentHistory.
func (AssessmentHistory) Indexes ¶ added in v0.42.6
func (AssessmentHistory) Indexes() []ent.Index
Indexes of the AssessmentHistory
func (AssessmentHistory) Interceptors ¶ added in v0.42.6
func (AssessmentHistory) Interceptors() []ent.Interceptor
Interceptors of the AssessmentHistory
func (AssessmentHistory) Policy ¶ added in v0.42.6
func (AssessmentHistory) Policy() ent.Policy
Policy of the AssessmentHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type AssessmentResponse ¶ added in v0.42.6
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 ¶ added in v0.42.6
func (AssessmentResponse) Annotations() []schema.Annotation
Annotations of the AssessmentResponse
func (AssessmentResponse) Edges ¶ added in v0.42.6
func (ar AssessmentResponse) Edges() []ent.Edge
func (AssessmentResponse) Fields ¶ added in v0.42.6
func (AssessmentResponse) Fields() []ent.Field
func (AssessmentResponse) GetType ¶ added in v0.42.6
func (AssessmentResponse) GetType() any
func (AssessmentResponse) Indexes ¶ added in v0.42.6
func (AssessmentResponse) Indexes() []ent.Index
Indexes of the AssessmentResponse
func (AssessmentResponse) Interceptors ¶ added in v0.42.6
func (AssessmentResponse) Interceptors() []ent.Interceptor
Interceptors of the AssessmentResponse
func (AssessmentResponse) Mixin ¶ added in v0.42.6
func (ar AssessmentResponse) Mixin() []ent.Mixin
func (AssessmentResponse) Modules ¶ added in v0.42.6
func (AssessmentResponse) Modules() []models.OrgModule
func (AssessmentResponse) Name ¶ added in v0.42.6
func (AssessmentResponse) Name() string
func (AssessmentResponse) PluralName ¶ added in v0.42.6
func (AssessmentResponse) PluralName() string
func (AssessmentResponse) Policy ¶ added in v0.42.6
func (AssessmentResponse) Policy() ent.Policy
type AssessmentResponseHistory ¶ added in v0.42.6
AssessmentResponseHistory holds the schema definition for the AssessmentResponseHistory entity.
func (AssessmentResponseHistory) Annotations ¶ added in v0.42.6
func (AssessmentResponseHistory) Annotations() []schema.Annotation
Annotations of the AssessmentResponseHistory.
func (AssessmentResponseHistory) Fields ¶ added in v0.42.6
func (AssessmentResponseHistory) Fields() []ent.Field
Fields of the AssessmentResponseHistory.
func (AssessmentResponseHistory) Indexes ¶ added in v0.42.6
func (AssessmentResponseHistory) Indexes() []ent.Index
Indexes of the AssessmentResponseHistory
func (AssessmentResponseHistory) Interceptors ¶ added in v0.42.6
func (AssessmentResponseHistory) Interceptors() []ent.Interceptor
Interceptors of the AssessmentResponseHistory
func (AssessmentResponseHistory) Policy ¶ added in v0.42.6
func (AssessmentResponseHistory) Policy() ent.Policy
Policy of the AssessmentResponseHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type Asset ¶ added in v0.19.0
type Asset struct {
SchemaFuncs
ent.Schema
}
Asset stores information about a discovered asset such as technology, domain, or device.
func (Asset) Annotations ¶ added in v0.19.0
func (a Asset) Annotations() []schema.Annotation
Annotations of the Asset
func (Asset) PluralName ¶ added in v0.19.0
type AssetHistory ¶ added in v0.19.0
AssetHistory holds the schema definition for the AssetHistory entity.
func (AssetHistory) Annotations ¶ added in v0.19.0
func (AssetHistory) Annotations() []schema.Annotation
Annotations of the AssetHistory.
func (AssetHistory) Fields ¶ added in v0.19.0
func (AssetHistory) Fields() []ent.Field
Fields of the AssetHistory.
func (AssetHistory) Indexes ¶ added in v0.19.0
func (AssetHistory) Indexes() []ent.Index
Indexes of the AssetHistory
func (AssetHistory) Interceptors ¶ added in v0.19.0
func (AssetHistory) Interceptors() []ent.Interceptor
Interceptors of the AssetHistory
func (AssetHistory) Policy ¶ added in v0.23.1
func (AssetHistory) Policy() ent.Policy
Policy of the AssetHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type AutoHushEncryptionMixin ¶ added in v0.24.1
AutoHushEncryptionMixin automatically detects and applies encryption hooks for fields annotated with hush.EncryptField().
This mixin is included by default in all schemas via getMixins(). It only applies encryption to fields explicitly marked with hush.EncryptField() annotations, providing zero overhead for schemas without encrypted fields.
Usage:
Annotate any field with hush.EncryptField(): field.String("secret_value"). Sensitive(). Annotations(hush.EncryptField())
The mixin automatically detects and encrypts the field
No manual configuration required - encryption is handled transparently.
func NewAutoHushEncryptionMixin ¶ added in v0.24.1
func NewAutoHushEncryptionMixin(schema ent.Interface) *AutoHushEncryptionMixin
NewAutoHushEncryptionMixin creates a new auto-encryption mixin for the given schema.
func (AutoHushEncryptionMixin) Fields ¶ added in v0.24.1
func (m AutoHushEncryptionMixin) Fields() []ent.Field
Fields returns no additional fields since this mixin only adds behavior.
func (AutoHushEncryptionMixin) Hooks ¶ added in v0.24.1
func (m AutoHushEncryptionMixin) Hooks() []ent.Hook
Hooks returns encryption hooks for all fields with hush.EncryptField() annotations. If no fields have the annotation, returns a no-op hook with zero overhead.
func (AutoHushEncryptionMixin) Interceptors ¶ added in v0.24.1
func (m AutoHushEncryptionMixin) Interceptors() []ent.Interceptor
Interceptors returns decryption interceptors for all fields with hush.EncryptField() annotations. If no fields have the annotation, returns a no-op interceptor with zero overhead.
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 ¶ added in v0.8.2
PluralName returns the plural name of the Contact schema.
type ContactHistory ¶
ContactHistory holds the schema definition for the ContactHistory entity.
func (ContactHistory) Annotations ¶
func (ContactHistory) Annotations() []schema.Annotation
Annotations of the ContactHistory.
func (ContactHistory) Fields ¶
func (ContactHistory) Fields() []ent.Field
Fields of the ContactHistory.
func (ContactHistory) Indexes ¶
func (ContactHistory) Indexes() []ent.Index
Indexes of the ContactHistory
func (ContactHistory) Interceptors ¶
func (ContactHistory) Interceptors() []ent.Interceptor
Interceptors of the ContactHistory
func (ContactHistory) Policy ¶
func (ContactHistory) Policy() ent.Policy
Policy of the ContactHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type Control ¶ added in v0.3.3
type Control struct {
SchemaFuncs
ent.Schema
}
Control defines the control schema.
func (Control) Annotations ¶ added in v0.3.3
func (c Control) Annotations() []schema.Annotation
Annotations of the Control
func (Control) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the control schema.
type ControlHistory ¶ added in v0.3.3
ControlHistory holds the schema definition for the ControlHistory entity.
func (ControlHistory) Annotations ¶ added in v0.3.3
func (ControlHistory) Annotations() []schema.Annotation
Annotations of the ControlHistory.
func (ControlHistory) Fields ¶ added in v0.3.3
func (ControlHistory) Fields() []ent.Field
Fields of the ControlHistory.
func (ControlHistory) Indexes ¶ added in v0.3.3
func (ControlHistory) Indexes() []ent.Index
Indexes of the ControlHistory
func (ControlHistory) Interceptors ¶ added in v0.5.0
func (ControlHistory) Interceptors() []ent.Interceptor
Interceptors of the ControlHistory
func (ControlHistory) Policy ¶ added in v0.5.0
func (ControlHistory) Policy() ent.Policy
Policy of the ControlHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type ControlImplementation ¶ added in v0.7.3
type ControlImplementation struct {
SchemaFuncs
ent.Schema
}
ControlImplementation holds the schema definition for the ControlImplementation entity
func (ControlImplementation) Annotations ¶ added in v0.7.3
func (c ControlImplementation) Annotations() []schema.Annotation
Annotations of the ControlImplementation
func (ControlImplementation) Edges ¶ added in v0.7.3
func (c ControlImplementation) Edges() []ent.Edge
Edges of the ControlImplementation
func (ControlImplementation) Fields ¶ added in v0.7.3
func (ControlImplementation) Fields() []ent.Field
Fields of the ControlImplementation
func (ControlImplementation) GetType ¶ added in v0.8.2
func (ControlImplementation) GetType() any
GetType returns the type of the ControlImplementation schema.
func (ControlImplementation) Hooks ¶ added in v0.8.10
func (ControlImplementation) Hooks() []ent.Hook
Hooks of the ControlImplementation
func (ControlImplementation) Mixin ¶ added in v0.7.3
func (c ControlImplementation) Mixin() []ent.Mixin
Mixin of the ControlImplementation
func (ControlImplementation) Modules ¶ added in v0.28.0
func (ControlImplementation) Modules() []models.OrgModule
func (ControlImplementation) Name ¶ added in v0.8.2
func (ControlImplementation) Name() string
Name returns the name of the ControlImplementation schema.
func (ControlImplementation) PluralName ¶ added in v0.8.2
func (ControlImplementation) PluralName() string
PluralName returns the plural name of the ControlImplementation schema.
func (ControlImplementation) Policy ¶ added in v0.7.3
func (c ControlImplementation) Policy() ent.Policy
Policy of the ControlImplementation
type ControlImplementationHistory ¶ added in v0.7.3
ControlImplementationHistory holds the schema definition for the ControlImplementationHistory entity.
func (ControlImplementationHistory) Annotations ¶ added in v0.7.3
func (ControlImplementationHistory) Annotations() []schema.Annotation
Annotations of the ControlImplementationHistory.
func (ControlImplementationHistory) Fields ¶ added in v0.7.3
func (ControlImplementationHistory) Fields() []ent.Field
Fields of the ControlImplementationHistory.
func (ControlImplementationHistory) Indexes ¶ added in v0.7.3
func (ControlImplementationHistory) Indexes() []ent.Index
Indexes of the ControlImplementationHistory
func (ControlImplementationHistory) Interceptors ¶ added in v0.7.3
func (ControlImplementationHistory) Interceptors() []ent.Interceptor
Interceptors of the ControlImplementationHistory
func (ControlImplementationHistory) Policy ¶ added in v0.23.1
func (ControlImplementationHistory) Policy() ent.Policy
Policy of the ControlImplementationHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type ControlMixin ¶ added in v0.8.9
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 ¶ added in v0.8.9
func (ControlMixin) Annotations() []schema.Annotation
Annotations of the Control
func (ControlMixin) Edges ¶ added in v0.8.9
func (m ControlMixin) Edges() []ent.Edge
Edges of the ControlMixin.
func (ControlMixin) Fields ¶ added in v0.8.9
func (ControlMixin) Fields() []ent.Field
Fields of the ControlMixin.
func (ControlMixin) Hooks ¶ added in v0.8.9
func (ControlMixin) Hooks() []ent.Hook
Hooks of the ControlMixin
func (ControlMixin) Interceptors ¶ added in v0.34.3
func (ControlMixin) Interceptors() []ent.Interceptor
Interceptors of the ControlMixin
type ControlObjective ¶ added in v0.3.3
type ControlObjective struct {
SchemaFuncs
ent.Schema
}
ControlObjective defines the controlobjective schema.
func (ControlObjective) Annotations ¶ added in v0.3.3
func (c ControlObjective) Annotations() []schema.Annotation
Annotations of the ControlObjective
func (ControlObjective) Edges ¶ added in v0.3.3
func (c ControlObjective) Edges() []ent.Edge
Edges of the ControlObjective
func (ControlObjective) Fields ¶ added in v0.3.3
func (ControlObjective) Fields() []ent.Field
Fields returns controlobjective fields.
func (ControlObjective) GetType ¶ added in v0.8.2
func (ControlObjective) GetType() any
GetType returns the type of the controlobjective schema.
func (ControlObjective) Mixin ¶ added in v0.3.3
func (c ControlObjective) Mixin() []ent.Mixin
Mixin of the ControlObjective
func (ControlObjective) Modules ¶ added in v0.28.0
func (ControlObjective) Modules() []models.OrgModule
func (ControlObjective) Name ¶ added in v0.8.2
func (ControlObjective) Name() string
Name returns the name of the controlobjective schema.
func (ControlObjective) PluralName ¶ added in v0.8.2
func (ControlObjective) PluralName() string
PluralName returns the plural name of the controlobjective schema.
func (ControlObjective) Policy ¶ added in v0.4.4
func (c ControlObjective) Policy() ent.Policy
Policy of the ControlObjective
type ControlObjectiveHistory ¶ added in v0.3.3
ControlObjectiveHistory holds the schema definition for the ControlObjectiveHistory entity.
func (ControlObjectiveHistory) Annotations ¶ added in v0.3.3
func (ControlObjectiveHistory) Annotations() []schema.Annotation
Annotations of the ControlObjectiveHistory.
func (ControlObjectiveHistory) Fields ¶ added in v0.3.3
func (ControlObjectiveHistory) Fields() []ent.Field
Fields of the ControlObjectiveHistory.
func (ControlObjectiveHistory) Indexes ¶ added in v0.3.3
func (ControlObjectiveHistory) Indexes() []ent.Index
Indexes of the ControlObjectiveHistory
func (ControlObjectiveHistory) Interceptors ¶ added in v0.4.4
func (ControlObjectiveHistory) Interceptors() []ent.Interceptor
Interceptors of the ControlObjectiveHistory
func (ControlObjectiveHistory) Policy ¶ added in v0.4.4
func (ControlObjectiveHistory) Policy() ent.Policy
Policy of the ControlObjectiveHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type CustomDomain ¶ added in v0.12.1
type CustomDomain struct {
SchemaFuncs
ent.Schema
}
CustomDomain holds the schema definition for the CustomDomain
func (CustomDomain) Edges ¶ added in v0.12.1
func (e CustomDomain) Edges() []ent.Edge
Edges of the CustomDomain
func (CustomDomain) Fields ¶ added in v0.12.1
func (CustomDomain) Fields() []ent.Field
Fields of the CustomDomain
func (CustomDomain) GetType ¶ added in v0.12.1
func (CustomDomain) GetType() any
GetType returns the type of the CustomDomain schema.
func (CustomDomain) Hooks ¶ added in v0.12.1
func (CustomDomain) Hooks() []ent.Hook
Hooks of the CustomDomain
func (CustomDomain) Indexes ¶ added in v0.12.1
func (CustomDomain) Indexes() []ent.Index
Indexes of the CustomDomain
func (CustomDomain) Mixin ¶ added in v0.12.1
func (e CustomDomain) Mixin() []ent.Mixin
Mixin of the CustomDomain
func (CustomDomain) Modules ¶ added in v0.28.0
func (CustomDomain) Modules() []models.OrgModule
func (CustomDomain) Name ¶ added in v0.12.1
func (CustomDomain) Name() string
Name returns the name of the CustomDomain schema.
func (CustomDomain) PluralName ¶ added in v0.12.1
func (CustomDomain) PluralName() string
PluralName returns the plural name of the CustomDomain schema.
func (CustomDomain) Policy ¶ added in v0.12.1
func (e CustomDomain) Policy() ent.Policy
Policy of the CustomDomain
type CustomDomainHistory ¶ added in v0.12.1
CustomDomainHistory holds the schema definition for the CustomDomainHistory entity.
func (CustomDomainHistory) Annotations ¶ added in v0.12.1
func (CustomDomainHistory) Annotations() []schema.Annotation
Annotations of the CustomDomainHistory.
func (CustomDomainHistory) Fields ¶ added in v0.12.1
func (CustomDomainHistory) Fields() []ent.Field
Fields of the CustomDomainHistory.
func (CustomDomainHistory) Indexes ¶ added in v0.12.1
func (CustomDomainHistory) Indexes() []ent.Index
Indexes of the CustomDomainHistory
func (CustomDomainHistory) Interceptors ¶ added in v0.12.1
func (CustomDomainHistory) Interceptors() []ent.Interceptor
Interceptors of the CustomDomainHistory
func (CustomDomainHistory) Policy ¶ added in v0.23.1
func (CustomDomainHistory) Policy() ent.Policy
Policy of the CustomDomainHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type CustomEnumMixin ¶ added in v0.43.0
CustomEnumMixin holds the schema definition for the custom enums
func (CustomEnumMixin) Edges ¶ added in v0.43.0
func (c CustomEnumMixin) Edges() []ent.Edge
Edges of the CustomEnumMixin
func (CustomEnumMixin) Fields ¶ added in v0.43.0
func (c CustomEnumMixin) Fields() []ent.Field
Fields of the CustomEnumMixin.
func (CustomEnumMixin) Hooks ¶ added in v0.43.0
func (c CustomEnumMixin) Hooks() []ent.Hook
Hooks of the CustomEnumMixin
type CustomTypeEnum ¶ added in v0.43.0
type CustomTypeEnum struct {
SchemaFuncs
ent.Schema
}
CustomTypeEnum holds the schema definition for the CustomTypeEnum entity
func (CustomTypeEnum) Annotations ¶ added in v0.43.0
func (CustomTypeEnum) Annotations() []schema.Annotation
Annotations of the CustomTypeEnum
func (CustomTypeEnum) Edges ¶ added in v0.43.0
func (t CustomTypeEnum) Edges() []ent.Edge
Edges of the CustomTypeEnum
func (CustomTypeEnum) Fields ¶ added in v0.43.0
func (CustomTypeEnum) Fields() []ent.Field
Fields of the CustomTypeEnum
func (CustomTypeEnum) GetType ¶ added in v0.43.0
func (CustomTypeEnum) GetType() any
GetType returns the type of the schema
func (CustomTypeEnum) Hooks ¶ added in v0.43.0
func (CustomTypeEnum) Hooks() []ent.Hook
Hooks of the CustomTypeEnum
func (CustomTypeEnum) Indexes ¶ added in v0.43.0
func (CustomTypeEnum) Indexes() []ent.Index
Indexes of the CustomTypeEnum
func (CustomTypeEnum) Interceptors ¶ added in v0.43.0
func (CustomTypeEnum) Interceptors() []ent.Interceptor
Interceptors of the CustomTypeEnum
func (CustomTypeEnum) Mixin ¶ added in v0.43.0
func (t CustomTypeEnum) Mixin() []ent.Mixin
Mixin of the CustomTypeEnum
func (CustomTypeEnum) Modules ¶ added in v0.43.0
func (CustomTypeEnum) Modules() []models.OrgModule
Modules this schema has access to
func (CustomTypeEnum) Name ¶ added in v0.43.0
func (CustomTypeEnum) Name() string
Name is the name of the schema in snake case
func (CustomTypeEnum) PluralName ¶ added in v0.43.0
func (CustomTypeEnum) PluralName() string
PluralName returns the plural name of the schema
func (CustomTypeEnum) Policy ¶ added in v0.43.0
func (CustomTypeEnum) Policy() ent.Policy
Policy of the CustomTypeEnum
type DNSVerification ¶ added in v0.15.0
type DNSVerification struct {
SchemaFuncs
ent.Schema
}
DNSVerification holds the schema definition for the DNSVerification
func (DNSVerification) Edges ¶ added in v0.15.0
func (e DNSVerification) Edges() []ent.Edge
Edges of the DNSVerification
func (DNSVerification) Fields ¶ added in v0.15.0
func (DNSVerification) Fields() []ent.Field
Fields of the DNSVerification
func (DNSVerification) GetType ¶ added in v0.15.0
func (DNSVerification) GetType() any
GetType returns the type of the DNSVerification schema.
func (DNSVerification) Hooks ¶ added in v0.15.0
func (DNSVerification) Hooks() []ent.Hook
func (DNSVerification) Indexes ¶ added in v0.15.0
func (DNSVerification) Indexes() []ent.Index
Indexes of the DNSVerification
func (DNSVerification) Mixin ¶ added in v0.15.0
func (e DNSVerification) Mixin() []ent.Mixin
Mixin of the DNSVerification
func (DNSVerification) Modules ¶ added in v0.28.0
func (DNSVerification) Modules() []models.OrgModule
func (DNSVerification) Name ¶ added in v0.15.0
func (DNSVerification) Name() string
Name returns the name of the DNSVerification schema.
func (DNSVerification) PluralName ¶ added in v0.15.0
func (DNSVerification) PluralName() string
PluralName returns the plural name of the DNSVerification schema.
func (DNSVerification) Policy ¶ added in v0.15.0
func (DNSVerification) Policy() ent.Policy
Policy of the DNSVerification
type DNSVerificationHistory ¶ added in v0.15.0
DNSVerificationHistory holds the schema definition for the DNSVerificationHistory entity.
func (DNSVerificationHistory) Annotations ¶ added in v0.15.0
func (DNSVerificationHistory) Annotations() []schema.Annotation
Annotations of the DNSVerificationHistory.
func (DNSVerificationHistory) Fields ¶ added in v0.15.0
func (DNSVerificationHistory) Fields() []ent.Field
Fields of the DNSVerificationHistory.
func (DNSVerificationHistory) Indexes ¶ added in v0.15.0
func (DNSVerificationHistory) Indexes() []ent.Index
Indexes of the DNSVerificationHistory
func (DNSVerificationHistory) Interceptors ¶ added in v0.15.0
func (DNSVerificationHistory) Interceptors() []ent.Interceptor
Interceptors of the DNSVerificationHistory
func (DNSVerificationHistory) Policy ¶ added in v0.23.1
func (DNSVerificationHistory) Policy() ent.Policy
Policy of the DNSVerificationHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
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 ¶ added in v0.8.2
func (DocumentData) GetType() any
GetType returns the type of the DocumentData schema.
func (DocumentData) Hooks ¶ added in v0.34.5
func (d DocumentData) Hooks() []ent.Hook
func (DocumentData) Modules ¶ added in v0.28.0
func (DocumentData) Modules() []models.OrgModule
func (DocumentData) Name ¶ added in v0.8.2
func (DocumentData) Name() string
Name returns the name of the DocumentData schema.
func (DocumentData) PluralName ¶ added in v0.8.2
func (DocumentData) PluralName() string
PluralName returns the plural name of the DocumentData schema.
type DocumentDataHistory ¶
DocumentDataHistory holds the schema definition for the DocumentDataHistory entity.
func (DocumentDataHistory) Annotations ¶
func (DocumentDataHistory) Annotations() []schema.Annotation
Annotations of the DocumentDataHistory.
func (DocumentDataHistory) Fields ¶
func (DocumentDataHistory) Fields() []ent.Field
Fields of the DocumentDataHistory.
func (DocumentDataHistory) Indexes ¶
func (DocumentDataHistory) Indexes() []ent.Index
Indexes of the DocumentDataHistory
func (DocumentDataHistory) Interceptors ¶
func (DocumentDataHistory) Interceptors() []ent.Interceptor
Interceptors of the DocumentDataHistory
func (DocumentDataHistory) Policy ¶
func (DocumentDataHistory) Policy() ent.Policy
Policy of the DocumentDataHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type DocumentMixin ¶ added in v0.7.5
DocumentMixin implements the document pattern with approver for schemas.
func NewDocumentMixin ¶ added in v0.8.3
func NewDocumentMixin(schema any) DocumentMixin
NewDocumentMixin creates a new DocumentMixin with the given schema the schema must implement the SchemaFuncs interface
func (DocumentMixin) Edges ¶ added in v0.7.5
func (d DocumentMixin) Edges() []ent.Edge
Edges of the DocumentMixin.
func (DocumentMixin) Fields ¶ added in v0.7.5
func (d DocumentMixin) Fields() []ent.Field
Fields of the DocumentMixin.
func (DocumentMixin) Hooks ¶ added in v0.7.5
func (d DocumentMixin) Hooks() []ent.Hook
Hooks of the DocumentMixin.
type EdgeInfo ¶ added in v0.5.0
EdgeInfo is used to define the edge information for the reverse edges (group 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 ¶ added in v0.8.2
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 ¶ added in v0.28.0
func (EmailVerificationToken) Modules() []models.OrgModule
func (EmailVerificationToken) Name ¶ added in v0.8.2
func (EmailVerificationToken) Name() string
Name returns the name of the EmailVerificationToken schema.
func (EmailVerificationToken) PluralName ¶ added in v0.8.2
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) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the Entity schema.
type EntityHistory ¶
EntityHistory holds the schema definition for the EntityHistory entity.
func (EntityHistory) Annotations ¶
func (EntityHistory) Annotations() []schema.Annotation
Annotations of the EntityHistory.
func (EntityHistory) Fields ¶
func (EntityHistory) Fields() []ent.Field
Fields of the EntityHistory.
func (EntityHistory) Indexes ¶
func (EntityHistory) Indexes() []ent.Index
Indexes of the EntityHistory
func (EntityHistory) Interceptors ¶
func (EntityHistory) Interceptors() []ent.Interceptor
Interceptors of the EntityHistory
func (EntityHistory) Policy ¶
func (EntityHistory) Policy() ent.Policy
Policy of the EntityHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type EntityType ¶
type EntityType struct {
SchemaFuncs
ent.Schema
}
EntityType holds the schema definition for the EntityType entity
func (EntityType) GetType ¶ added in v0.8.2
func (EntityType) GetType() any
GetType returns the type of the EntityType schema.
func (EntityType) Modules ¶ added in v0.28.0
func (EntityType) Modules() []models.OrgModule
func (EntityType) Name ¶ added in v0.8.2
func (EntityType) Name() string
Name returns the name of the EntityType schema.
func (EntityType) PluralName ¶ added in v0.8.2
func (EntityType) PluralName() string
PluralName returns the plural name of the EntityType schema.
type EntityTypeHistory ¶
EntityTypeHistory holds the schema definition for the EntityTypeHistory entity.
func (EntityTypeHistory) Annotations ¶
func (EntityTypeHistory) Annotations() []schema.Annotation
Annotations of the EntityTypeHistory.
func (EntityTypeHistory) Fields ¶
func (EntityTypeHistory) Fields() []ent.Field
Fields of the EntityTypeHistory.
func (EntityTypeHistory) Indexes ¶
func (EntityTypeHistory) Indexes() []ent.Index
Indexes of the EntityTypeHistory
func (EntityTypeHistory) Interceptors ¶
func (EntityTypeHistory) Interceptors() []ent.Interceptor
Interceptors of the EntityTypeHistory
func (EntityTypeHistory) Policy ¶
func (EntityTypeHistory) Policy() ent.Policy
Policy of the EntityTypeHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
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 ¶ added in v0.8.2
PluralName returns the plural name of the Event schema.
type Evidence ¶ added in v0.6.19
type Evidence struct {
SchemaFuncs
ent.Schema
}
Evidence holds the schema definition for the Evidence entity
func (Evidence) Annotations ¶ added in v0.6.19
func (e Evidence) Annotations() []schema.Annotation
Annotations of the Evidence
func (Evidence) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the Evidence schema.
type EvidenceHistory ¶ added in v0.6.19
EvidenceHistory holds the schema definition for the EvidenceHistory entity.
func (EvidenceHistory) Annotations ¶ added in v0.6.19
func (EvidenceHistory) Annotations() []schema.Annotation
Annotations of the EvidenceHistory.
func (EvidenceHistory) Fields ¶ added in v0.6.19
func (EvidenceHistory) Fields() []ent.Field
Fields of the EvidenceHistory.
func (EvidenceHistory) Indexes ¶ added in v0.6.19
func (EvidenceHistory) Indexes() []ent.Index
Indexes of the EvidenceHistory
func (EvidenceHistory) Interceptors ¶ added in v0.6.19
func (EvidenceHistory) Interceptors() []ent.Interceptor
Interceptors of the EvidenceHistory
func (EvidenceHistory) Policy ¶ added in v0.23.1
func (EvidenceHistory) Policy() ent.Policy
Policy of the EvidenceHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type Export ¶ added in v0.22.3
type Export struct {
SchemaFuncs
ent.Schema
}
Export holds the schema definition for export records used for exporting various content types.
func (Export) Annotations ¶ added in v0.22.3
func (e Export) Annotations() []schema.Annotation
Annotations of the Export
func (Export) PluralName ¶ added in v0.22.3
type File ¶
type File struct {
SchemaFuncs
ent.Schema
}
File defines the file schema.
func (File) Interceptors ¶ added in v0.6.10
func (f File) Interceptors() []ent.Interceptor
Interceptors of the File
func (File) PluralName ¶ added in v0.8.2
type FileDownloadToken ¶ added in v0.39.2
type FileDownloadToken struct {
SchemaFuncs
ent.Schema
}
FileDownloadToken holds the schema definition for the FileDownloadToken entity
func (FileDownloadToken) Annotations ¶ added in v0.39.2
func (p FileDownloadToken) Annotations() []schema.Annotation
Annotations of the FileDownloadToken
func (FileDownloadToken) Fields ¶ added in v0.39.2
func (FileDownloadToken) Fields() []ent.Field
Fields of the FileDownloadToken
func (FileDownloadToken) GetType ¶ added in v0.39.2
func (FileDownloadToken) GetType() any
GetType returns the type of the FileDownloadToken schema.
func (FileDownloadToken) Hooks ¶ added in v0.39.2
func (FileDownloadToken) Hooks() []ent.Hook
Hooks of the FileDownloadToken
func (FileDownloadToken) Indexes ¶ added in v0.39.2
func (FileDownloadToken) Indexes() []ent.Index
Indexes of the FileDownloadToken
func (FileDownloadToken) Mixin ¶ added in v0.39.2
func (p FileDownloadToken) Mixin() []ent.Mixin
Mixin of the FileDownloadToken
func (FileDownloadToken) Name ¶ added in v0.39.2
func (FileDownloadToken) Name() string
Name returns the name of the FileDownloadToken schema.
func (FileDownloadToken) PluralName ¶ added in v0.39.2
func (FileDownloadToken) PluralName() string
PluralName returns the plural name of the FileDownloadToken schema.
func (FileDownloadToken) Policy ¶ added in v0.39.2
func (p FileDownloadToken) Policy() ent.Policy
Policy of the FileDownloadToken
type FileHistory ¶
FileHistory holds the schema definition for the FileHistory entity.
func (FileHistory) Annotations ¶
func (FileHistory) Annotations() []schema.Annotation
Annotations of the FileHistory.
func (FileHistory) Interceptors ¶ added in v0.3.1
func (FileHistory) Interceptors() []ent.Interceptor
Interceptors of the FileHistory
func (FileHistory) Policy ¶ added in v0.3.1
func (FileHistory) Policy() ent.Policy
Policy of the FileHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type Finding ¶ added in v0.43.3
type Finding struct {
SchemaFuncs
ent.Schema
}
Finding defines the finding schema.
func (Finding) Annotations ¶ added in v0.43.3
func (Finding) Annotations() []schema.Annotation
Annotations of the Finding
func (Finding) PluralName ¶ added in v0.43.3
PluralName returns the plural name of the finding schema.
type FindingControl ¶ added in v0.43.3
type FindingControl struct {
SchemaFuncs
ent.Schema
}
FindingControl defines the mapping between findings and controls.
func (FindingControl) Annotations ¶ added in v0.43.3
func (FindingControl) Annotations() []schema.Annotation
Annotations of the FindingControl
func (FindingControl) Edges ¶ added in v0.43.3
func (fc FindingControl) Edges() []ent.Edge
Edges of the FindingControl
func (FindingControl) Fields ¶ added in v0.43.3
func (FindingControl) Fields() []ent.Field
Fields returns finding control fields.
func (FindingControl) GetType ¶ added in v0.43.3
func (FindingControl) GetType() any
GetType returns the type of the finding control schema.
func (FindingControl) Indexes ¶ added in v0.43.3
func (FindingControl) Indexes() []ent.Index
Indexes of the FindingControl
func (FindingControl) Mixin ¶ added in v0.43.3
func (FindingControl) Mixin() []ent.Mixin
Mixin of the FindingControl
func (FindingControl) Modules ¶ added in v0.43.3
func (FindingControl) Modules() []models.OrgModule
Modules of the FindingControl
func (FindingControl) Name ¶ added in v0.43.3
func (FindingControl) Name() string
Name returns the name of the finding control schema.
func (FindingControl) PluralName ¶ added in v0.43.3
func (FindingControl) PluralName() string
PluralName returns the plural name of the finding control schema.
func (FindingControl) Policy ¶ added in v0.43.3
func (FindingControl) Policy() ent.Policy
Policy of the FindingControl
type FindingControlHistory ¶ added in v0.43.3
FindingControlHistory holds the schema definition for the FindingControlHistory entity.
func (FindingControlHistory) Annotations ¶ added in v0.43.3
func (FindingControlHistory) Annotations() []schema.Annotation
Annotations of the FindingControlHistory.
func (FindingControlHistory) Fields ¶ added in v0.43.3
func (FindingControlHistory) Fields() []ent.Field
Fields of the FindingControlHistory.
func (FindingControlHistory) Indexes ¶ added in v0.43.3
func (FindingControlHistory) Indexes() []ent.Index
Indexes of the FindingControlHistory
func (FindingControlHistory) Interceptors ¶ added in v0.43.3
func (FindingControlHistory) Interceptors() []ent.Interceptor
Interceptors of the FindingControlHistory
func (FindingControlHistory) Policy ¶ added in v0.43.3
func (FindingControlHistory) Policy() ent.Policy
Policy of the FindingControlHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type FindingHistory ¶ added in v0.43.3
FindingHistory holds the schema definition for the FindingHistory entity.
func (FindingHistory) Annotations ¶ added in v0.43.3
func (FindingHistory) Annotations() []schema.Annotation
Annotations of the FindingHistory.
func (FindingHistory) Fields ¶ added in v0.43.3
func (FindingHistory) Fields() []ent.Field
Fields of the FindingHistory.
func (FindingHistory) Indexes ¶ added in v0.43.3
func (FindingHistory) Indexes() []ent.Index
Indexes of the FindingHistory
func (FindingHistory) Interceptors ¶ added in v0.43.3
func (FindingHistory) Interceptors() []ent.Interceptor
Interceptors of the FindingHistory
func (FindingHistory) Policy ¶ added in v0.43.3
func (FindingHistory) Policy() ent.Policy
Policy of the FindingHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
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 ¶ added in v0.8.2
PluralName returns the plural name of the Group schema.
type GroupBasedCreateAccessMixin ¶ added in v0.5.0
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 ¶ added in v0.5.0
func NewGroupBasedCreateAccessMixin() GroupBasedCreateAccessMixin
NewGroupBasedCreateAccessMixin creates a new GroupBasedCreateAccessMixin with the specified edges
func (GroupBasedCreateAccessMixin) Edges ¶ added in v0.5.0
func (c GroupBasedCreateAccessMixin) Edges() []ent.Edge
Edges of the GroupBasedCreateAccessMixin
func (GroupBasedCreateAccessMixin) Hooks ¶ added in v0.5.0
func (c GroupBasedCreateAccessMixin) Hooks() []ent.Hook
Hooks of the GroupBasedCreateAccessMixin
type GroupHistory ¶
GroupHistory holds the schema definition for the GroupHistory entity.
func (GroupHistory) Annotations ¶
func (GroupHistory) Annotations() []schema.Annotation
Annotations of the GroupHistory.
func (GroupHistory) Interceptors ¶
func (GroupHistory) Interceptors() []ent.Interceptor
Interceptors of the GroupHistory
func (GroupHistory) Policy ¶
func (GroupHistory) Policy() ent.Policy
Policy of the GroupHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
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 ¶ added in v0.8.2
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 ¶ added in v0.7.0
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 ¶ added in v0.28.0
func (GroupMembership) Modules() []models.OrgModule
func (GroupMembership) Name ¶ added in v0.8.2
func (GroupMembership) Name() string
Name returns the name of the GroupMembership schema.
func (GroupMembership) PluralName ¶ added in v0.8.2
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 GroupMembershipHistory ¶
GroupMembershipHistory holds the schema definition for the GroupMembershipHistory entity.
func (GroupMembershipHistory) Annotations ¶
func (GroupMembershipHistory) Annotations() []schema.Annotation
Annotations of the GroupMembershipHistory.
func (GroupMembershipHistory) Fields ¶
func (GroupMembershipHistory) Fields() []ent.Field
Fields of the GroupMembershipHistory.
func (GroupMembershipHistory) Indexes ¶
func (GroupMembershipHistory) Indexes() []ent.Index
Indexes of the GroupMembershipHistory
func (GroupMembershipHistory) Interceptors ¶
func (GroupMembershipHistory) Interceptors() []ent.Interceptor
Interceptors of the GroupMembershipHistory
func (GroupMembershipHistory) Policy ¶
func (GroupMembershipHistory) Policy() ent.Policy
Policy of the GroupMembershipHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type GroupPermissionsEdgesMixin ¶ added in v0.5.0
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) Edges ¶ added in v0.5.0
func (g GroupPermissionsEdgesMixin) Edges() []ent.Edge
Edges of the GroupPermissionsEdgesMixin
func (GroupPermissionsEdgesMixin) Hooks ¶ added in v0.6.21
func (g GroupPermissionsEdgesMixin) Hooks() []ent.Hook
Hooks of the GroupPermissionsEdgesMixin
type GroupPermissionsMixin ¶ added in v0.4.4
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
}
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) Edges ¶ added in v0.4.4
func (g GroupPermissionsMixin) Edges() []ent.Edge
Edges of the GroupPermissionsMixin
func (GroupPermissionsMixin) Hooks ¶ added in v0.4.4
func (g GroupPermissionsMixin) Hooks() (hooks []ent.Hook)
Hooks of the GroupPermissionsMixin
func (GroupPermissionsMixin) Interceptors ¶ added in v0.26.0
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 ¶ added in v0.8.2
func (GroupSetting) GetType() any
func (GroupSetting) Hooks ¶ added in v0.7.0
func (GroupSetting) Hooks() []ent.Hook
Hooks of the GroupSetting
func (GroupSetting) Interceptors ¶ added in v0.7.0
func (g GroupSetting) Interceptors() []ent.Interceptor
Interceptors of the GroupSetting
func (GroupSetting) Modules ¶ added in v0.28.0
func (GroupSetting) Modules() []models.OrgModule
func (GroupSetting) Name ¶ added in v0.8.2
func (GroupSetting) Name() string
func (GroupSetting) PluralName ¶ added in v0.8.2
func (GroupSetting) PluralName() string
type GroupSettingHistory ¶
GroupSettingHistory holds the schema definition for the GroupSettingHistory entity.
func (GroupSettingHistory) Annotations ¶
func (GroupSettingHistory) Annotations() []schema.Annotation
Annotations of the GroupSettingHistory.
func (GroupSettingHistory) Fields ¶
func (GroupSettingHistory) Fields() []ent.Field
Fields of the GroupSettingHistory.
func (GroupSettingHistory) Indexes ¶
func (GroupSettingHistory) Indexes() []ent.Index
Indexes of the GroupSettingHistory
func (GroupSettingHistory) Interceptors ¶
func (GroupSettingHistory) Interceptors() []ent.Interceptor
Interceptors of the GroupSettingHistory
func (GroupSettingHistory) Policy ¶
func (GroupSettingHistory) Policy() ent.Policy
Policy of the GroupSettingHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type HookFunc ¶ added in v0.3.1
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) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the Hush schema.
type HushHistory ¶
HushHistory holds the schema definition for the HushHistory entity.
func (HushHistory) Annotations ¶
func (HushHistory) Annotations() []schema.Annotation
Annotations of the HushHistory.
func (HushHistory) Interceptors ¶ added in v0.24.1
func (HushHistory) Interceptors() []ent.Interceptor
Interceptors of the HushHistory
func (HushHistory) Policy ¶ added in v0.24.1
func (HushHistory) Policy() ent.Policy
Policy of the HushHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type HushMixin ¶ added in v0.24.1
HushMixin automatically detects fields annotated with hush.EncryptField() and adds the necessary hooks and interceptors to handle encryption/decryption.
This mixin should be added to any schema that has encrypted fields. It will automatically scan for hush.EncryptField() annotations and set up encryption without requiring manual field specification.
Usage:
func (MySchema) Mixin() []ent.Mixin {
return []ent.Mixin{
HushMixin{},
}
}
Or even simpler, this could be automatically injected during code generation for any schema that has hush.EncryptField() annotations.
func NewHushMixin ¶ added in v0.24.1
NewHushMixin creates a new automatic encryption mixin for a schema.
func (HushMixin) Fields ¶ added in v0.24.1
Fields returns no additional fields - we only add behavior, not fields.
func (HushMixin) Hooks ¶ added in v0.24.1
Hooks returns automatically generated encryption hooks for all annotated fields.
func (HushMixin) Interceptors ¶ added in v0.24.1
func (m HushMixin) Interceptors() []ent.Interceptor
Interceptors returns automatically generated decryption interceptors for all annotated fields.
type ImpersonationEvent ¶ added in v0.38.1
type ImpersonationEvent struct {
SchemaFuncs
ent.Schema
}
ImpersonationEvent holds the schema definition for the ImpersonationEvent entity
func (ImpersonationEvent) Annotations ¶ added in v0.38.1
func (ImpersonationEvent) Annotations() []schema.Annotation
Annotations of the ImpersonationEvent
func (ImpersonationEvent) Edges ¶ added in v0.38.1
func (i ImpersonationEvent) Edges() []ent.Edge
Edges of the ImpersonationEvent
func (ImpersonationEvent) Fields ¶ added in v0.38.1
func (ImpersonationEvent) Fields() []ent.Field
Fields of the ImpersonationEvent
func (ImpersonationEvent) GetType ¶ added in v0.38.1
func (ImpersonationEvent) GetType() any
GetType returns the type of the schema
func (ImpersonationEvent) Hooks ¶ added in v0.38.1
func (ImpersonationEvent) Hooks() []ent.Hook
Hooks of the ImpersonationEvent
func (ImpersonationEvent) Indexes ¶ added in v0.38.1
func (ImpersonationEvent) Indexes() []ent.Index
Indexes of the ImpersonationEvent
func (ImpersonationEvent) Interceptors ¶ added in v0.38.1
func (ImpersonationEvent) Interceptors() []ent.Interceptor
Interceptors of the ImpersonationEvent
func (ImpersonationEvent) Mixin ¶ added in v0.38.1
func (i ImpersonationEvent) Mixin() []ent.Mixin
Mixin of the ImpersonationEvent
func (ImpersonationEvent) Modules ¶ added in v0.38.1
func (ImpersonationEvent) Modules() []models.OrgModule
Modules this schema has access to
func (ImpersonationEvent) Name ¶ added in v0.38.1
func (ImpersonationEvent) Name() string
Name is the name of the schema in snake case
func (ImpersonationEvent) PluralName ¶ added in v0.38.1
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 ¶ added in v0.8.2
func (Integration) GetType() any
GetType returns the type of the Integration schema.
func (Integration) Modules ¶ added in v0.28.0
func (Integration) Modules() []models.OrgModule
func (Integration) Name ¶ added in v0.8.2
func (Integration) Name() string
Name returns the name of the Integration schema.
func (Integration) PluralName ¶ added in v0.8.2
func (Integration) PluralName() string
PluralName returns the plural name of the Integration schema.
type IntegrationHistory ¶
IntegrationHistory holds the schema definition for the IntegrationHistory entity.
func (IntegrationHistory) Annotations ¶
func (IntegrationHistory) Annotations() []schema.Annotation
Annotations of the IntegrationHistory.
func (IntegrationHistory) Fields ¶
func (IntegrationHistory) Fields() []ent.Field
Fields of the IntegrationHistory.
func (IntegrationHistory) Indexes ¶
func (IntegrationHistory) Indexes() []ent.Index
Indexes of the IntegrationHistory
func (IntegrationHistory) Interceptors ¶
func (IntegrationHistory) Interceptors() []ent.Interceptor
Interceptors of the IntegrationHistory
func (IntegrationHistory) Policy ¶
func (IntegrationHistory) Policy() ent.Policy
Policy of the IntegrationHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type InterceptorFunc ¶ added in v0.3.1
type InterceptorFunc func(o ObjectOwnedMixin) ent.Interceptor
type InternalPolicy ¶ added in v0.3.3
type InternalPolicy struct {
SchemaFuncs
ent.Schema
}
InternalPolicy defines the policy schema.
func (InternalPolicy) Annotations ¶ added in v0.3.3
func (i InternalPolicy) Annotations() []schema.Annotation
Annotations of the InternalPolicy
func (InternalPolicy) Edges ¶ added in v0.3.3
func (i InternalPolicy) Edges() []ent.Edge
Edges of the InternalPolicy
func (InternalPolicy) Fields ¶ added in v0.3.3
func (InternalPolicy) Fields() []ent.Field
Fields returns policy fields.
func (InternalPolicy) GetType ¶ added in v0.8.2
func (InternalPolicy) GetType() any
GetType returns the type of the internal policy schema.
func (InternalPolicy) Hooks ¶ added in v0.4.2
func (InternalPolicy) Hooks() []ent.Hook
Hooks of the InternalPolicy
func (InternalPolicy) Interceptors ¶ added in v0.4.2
func (InternalPolicy) Interceptors() []ent.Interceptor
Interceptors of the InternalPolicy
func (InternalPolicy) Mixin ¶ added in v0.3.3
func (i InternalPolicy) Mixin() []ent.Mixin
Mixin of the InternalPolicy
func (InternalPolicy) Modules ¶ added in v0.28.0
func (InternalPolicy) Modules() []models.OrgModule
func (InternalPolicy) Name ¶ added in v0.8.2
func (InternalPolicy) Name() string
Name returns the name of the internal policy schema.
func (InternalPolicy) PluralName ¶ added in v0.8.2
func (InternalPolicy) PluralName() string
PluralName returns the plural name of the internal policy schema.
func (InternalPolicy) Policy ¶ added in v0.4.2
func (i InternalPolicy) Policy() ent.Policy
Policy of the InternalPolicy
type InternalPolicyHistory ¶ added in v0.3.3
InternalPolicyHistory holds the schema definition for the InternalPolicyHistory entity.
func (InternalPolicyHistory) Annotations ¶ added in v0.3.3
func (InternalPolicyHistory) Annotations() []schema.Annotation
Annotations of the InternalPolicyHistory.
func (InternalPolicyHistory) Fields ¶ added in v0.3.3
func (InternalPolicyHistory) Fields() []ent.Field
Fields of the InternalPolicyHistory.
func (InternalPolicyHistory) Indexes ¶ added in v0.3.3
func (InternalPolicyHistory) Indexes() []ent.Index
Indexes of the InternalPolicyHistory
func (InternalPolicyHistory) Interceptors ¶ added in v0.4.2
func (InternalPolicyHistory) Interceptors() []ent.Interceptor
Interceptors of the InternalPolicyHistory
func (InternalPolicyHistory) Policy ¶ added in v0.4.2
func (InternalPolicyHistory) Policy() ent.Policy
Policy of the InternalPolicyHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
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 ¶ added in v0.8.2
type JobResult ¶ added in v0.15.0
type JobResult struct {
SchemaFuncs
ent.Schema
}
JobResult holds the schema definition for the JobResult entity
func (JobResult) Annotations ¶ added in v0.15.0
func (j JobResult) Annotations() []schema.Annotation
Annotations of the JobResult
func (JobResult) Interceptors ¶ added in v0.15.0
func (JobResult) Interceptors() []ent.Interceptor
Interceptors of the JobResult
func (JobResult) PluralName ¶ added in v0.15.0
PluralName returns the plural name of the schema
type JobRunner ¶ added in v0.14.1
type JobRunner struct {
SchemaFuncs
ent.Schema
}
JobRunner holds the schema definition for the JobRunner entity
func (JobRunner) Annotations ¶ added in v0.14.1
func (j JobRunner) Annotations() []schema.Annotation
Annotations of the JobRunner
func (JobRunner) Interceptors ¶ added in v0.14.1
func (j JobRunner) Interceptors() []ent.Interceptor
Interceptors of the JobRunner
func (JobRunner) PluralName ¶ added in v0.14.1
PluralName returns the plural name of the schema
type JobRunnerRegistrationToken ¶ added in v0.14.1
type JobRunnerRegistrationToken struct {
SchemaFuncs
ent.Schema
}
JobRunnerRegistrationToken holds the schema definition for the JobRunnerRegistrationToken entity
func (JobRunnerRegistrationToken) Annotations ¶ added in v0.14.1
func (j JobRunnerRegistrationToken) Annotations() []schema.Annotation
Annotations of the JobRunnerRegistrationToken
func (JobRunnerRegistrationToken) Edges ¶ added in v0.14.1
func (j JobRunnerRegistrationToken) Edges() []ent.Edge
Edges of the JobRunnerRegistrationToken
func (JobRunnerRegistrationToken) Fields ¶ added in v0.14.1
func (JobRunnerRegistrationToken) Fields() []ent.Field
Fields of the JobRunnerRegistrationToken
func (JobRunnerRegistrationToken) GetType ¶ added in v0.14.1
func (JobRunnerRegistrationToken) GetType() any
GetType returns the type of the schema
func (JobRunnerRegistrationToken) Hooks ¶ added in v0.14.1
func (JobRunnerRegistrationToken) Hooks() []ent.Hook
Hooks of the JobRunnerRegistrationToken
func (JobRunnerRegistrationToken) Indexes ¶ added in v0.14.1
func (JobRunnerRegistrationToken) Indexes() []ent.Index
Indexes of the JobRunnerRegistrationToken
func (JobRunnerRegistrationToken) Interceptors ¶ added in v0.14.1
func (j JobRunnerRegistrationToken) Interceptors() []ent.Interceptor
Interceptors of the JobRunnerRegistrationToken
func (JobRunnerRegistrationToken) Mixin ¶ added in v0.14.1
func (j JobRunnerRegistrationToken) Mixin() []ent.Mixin
Mixin of the JobRunnerRegistrationToken
func (JobRunnerRegistrationToken) Modules ¶ added in v0.28.0
func (JobRunnerRegistrationToken) Modules() []models.OrgModule
func (JobRunnerRegistrationToken) Name ¶ added in v0.14.1
func (JobRunnerRegistrationToken) Name() string
Name is the name of the schema in snake case
func (JobRunnerRegistrationToken) PluralName ¶ added in v0.14.1
func (JobRunnerRegistrationToken) PluralName() string
PluralName returns the plural name of the schema
func (JobRunnerRegistrationToken) Policy ¶ added in v0.14.1
func (j JobRunnerRegistrationToken) Policy() ent.Policy
Policy of the JobRunnerRegistrationToken
type JobRunnerToken ¶ added in v0.14.1
type JobRunnerToken struct {
SchemaFuncs
ent.Schema
}
JobRunnerToken holds the schema definition for the JobRunnerToken entity
func (JobRunnerToken) Annotations ¶ added in v0.14.1
func (j JobRunnerToken) Annotations() []schema.Annotation
Annotations of the JobRunnerToken
func (JobRunnerToken) Edges ¶ added in v0.14.1
func (j JobRunnerToken) Edges() []ent.Edge
Edges of the JobRunnerToken
func (JobRunnerToken) Fields ¶ added in v0.14.1
func (JobRunnerToken) Fields() []ent.Field
Fields of the JobRunnerToken
func (JobRunnerToken) GetType ¶ added in v0.14.1
func (JobRunnerToken) GetType() any
GetType returns the type of the schema
func (JobRunnerToken) Hooks ¶ added in v0.14.1
func (JobRunnerToken) Hooks() []ent.Hook
Hooks of the JobRunnerToken
func (JobRunnerToken) Indexes ¶ added in v0.14.1
func (JobRunnerToken) Indexes() []ent.Index
Indexes of the JobRunnerToken
func (JobRunnerToken) Interceptors ¶ added in v0.14.1
func (JobRunnerToken) Interceptors() []ent.Interceptor
Interceptors of the JobRunnerToken
func (JobRunnerToken) Mixin ¶ added in v0.14.1
func (j JobRunnerToken) Mixin() []ent.Mixin
Mixin of the JobRunnerToken
func (JobRunnerToken) Modules ¶ added in v0.28.0
func (JobRunnerToken) Modules() []models.OrgModule
func (JobRunnerToken) Name ¶ added in v0.14.1
func (JobRunnerToken) Name() string
Name is the name of the schema in snake case
func (JobRunnerToken) PluralName ¶ added in v0.14.1
func (JobRunnerToken) PluralName() string
PluralName returns the plural name of the schema
func (JobRunnerToken) Policy ¶ added in v0.14.1
func (j JobRunnerToken) Policy() ent.Policy
Policy of the JobRunnerToken
type JobTemplate ¶ added in v0.24.0
type JobTemplate struct {
SchemaFuncs
ent.Schema
}
JobTemplate holds the schema definition for the JobTemplate entity
func (JobTemplate) Annotations ¶ added in v0.24.0
func (JobTemplate) Annotations() []schema.Annotation
Annotations of the JobTemplate
func (JobTemplate) Edges ¶ added in v0.24.0
func (j JobTemplate) Edges() []ent.Edge
Edges of the JobTemplate
func (JobTemplate) Fields ¶ added in v0.24.0
func (JobTemplate) Fields() []ent.Field
Fields of the JobTemplate
func (JobTemplate) GetType ¶ added in v0.24.0
func (JobTemplate) GetType() any
func (JobTemplate) Hooks ¶ added in v0.24.0
func (JobTemplate) Hooks() []ent.Hook
Hooks of the JobTemplate
func (JobTemplate) Mixin ¶ added in v0.24.0
func (j JobTemplate) Mixin() []ent.Mixin
Mixin of the JobTemplate
func (JobTemplate) Modules ¶ added in v0.28.0
func (JobTemplate) Modules() []models.OrgModule
func (JobTemplate) Name ¶ added in v0.24.0
func (JobTemplate) Name() string
func (JobTemplate) PluralName ¶ added in v0.24.0
func (JobTemplate) PluralName() string
func (JobTemplate) Policy ¶ added in v0.24.0
func (JobTemplate) Policy() ent.Policy
Policy of the JobTemplate
type JobTemplateHistory ¶ added in v0.24.0
JobTemplateHistory holds the schema definition for the JobTemplateHistory entity.
func (JobTemplateHistory) Annotations ¶ added in v0.24.0
func (JobTemplateHistory) Annotations() []schema.Annotation
Annotations of the JobTemplateHistory.
func (JobTemplateHistory) Fields ¶ added in v0.24.0
func (JobTemplateHistory) Fields() []ent.Field
Fields of the JobTemplateHistory.
func (JobTemplateHistory) Indexes ¶ added in v0.24.0
func (JobTemplateHistory) Indexes() []ent.Index
Indexes of the JobTemplateHistory
func (JobTemplateHistory) Interceptors ¶ added in v0.24.0
func (JobTemplateHistory) Interceptors() []ent.Interceptor
Interceptors of the JobTemplateHistory
func (JobTemplateHistory) Policy ¶ added in v0.24.0
func (JobTemplateHistory) Policy() ent.Policy
Policy of the JobTemplateHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type MappableDomain ¶ added in v0.12.1
type MappableDomain struct {
SchemaFuncs
ent.Schema
}
MappableDomain holds the schema definition for the MappableDomain entity
func (MappableDomain) Edges ¶ added in v0.12.1
func (e MappableDomain) Edges() []ent.Edge
Edges of the MappableDomain
func (MappableDomain) Fields ¶ added in v0.12.1
func (MappableDomain) Fields() []ent.Field
Fields of the MappableDomain
func (MappableDomain) GetType ¶ added in v0.12.1
func (MappableDomain) GetType() any
GetType returns the type of the schema
func (MappableDomain) Hooks ¶ added in v0.12.1
func (MappableDomain) Hooks() []ent.Hook
Hooks of the MappableDomain
func (MappableDomain) Indexes ¶ added in v0.12.1
func (MappableDomain) Indexes() []ent.Index
Indexes of the MappableDomain
func (MappableDomain) Mixin ¶ added in v0.12.1
func (e MappableDomain) Mixin() []ent.Mixin
Mixin of the MappableDomain
func (MappableDomain) Modules ¶ added in v0.28.0
func (MappableDomain) Modules() []models.OrgModule
func (MappableDomain) Name ¶ added in v0.12.1
func (MappableDomain) Name() string
Name returns the name of the schema
func (MappableDomain) PluralName ¶ added in v0.12.1
func (MappableDomain) PluralName() string
PluralName returns the plural name of the schema
func (MappableDomain) Policy ¶ added in v0.12.1
func (e MappableDomain) Policy() ent.Policy
Policy of the MappableDomain
type MappableDomainHistory ¶ added in v0.12.1
MappableDomainHistory holds the schema definition for the MappableDomainHistory entity.
func (MappableDomainHistory) Annotations ¶ added in v0.12.1
func (MappableDomainHistory) Annotations() []schema.Annotation
Annotations of the MappableDomainHistory.
func (MappableDomainHistory) Fields ¶ added in v0.12.1
func (MappableDomainHistory) Fields() []ent.Field
Fields of the MappableDomainHistory.
func (MappableDomainHistory) Indexes ¶ added in v0.12.1
func (MappableDomainHistory) Indexes() []ent.Index
Indexes of the MappableDomainHistory
func (MappableDomainHistory) Interceptors ¶ added in v0.12.1
func (MappableDomainHistory) Interceptors() []ent.Interceptor
Interceptors of the MappableDomainHistory
func (MappableDomainHistory) Policy ¶ added in v0.23.1
func (MappableDomainHistory) Policy() ent.Policy
Policy of the MappableDomainHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type MappedControl ¶ added in v0.7.3
type MappedControl struct {
SchemaFuncs
ent.Schema
}
MappedControl holds the schema definition for the MappedControl entity
func (MappedControl) Annotations ¶ added in v0.7.3
func (MappedControl) Annotations() []schema.Annotation
Annotations of the MappedControl
func (MappedControl) Edges ¶ added in v0.7.3
func (m MappedControl) Edges() []ent.Edge
Edges of the MappedControl
func (MappedControl) Fields ¶ added in v0.7.3
func (MappedControl) Fields() []ent.Field
Fields of the MappedControl
func (MappedControl) GetType ¶ added in v0.8.2
func (MappedControl) GetType() any
func (MappedControl) Hooks ¶ added in v0.7.3
func (MappedControl) Hooks() []ent.Hook
Hooks of the MappedControl
func (MappedControl) Mixin ¶ added in v0.7.3
func (m MappedControl) Mixin() []ent.Mixin
Mixin of the MappedControl
func (MappedControl) Modules ¶ added in v0.28.0
func (MappedControl) Modules() []models.OrgModule
func (MappedControl) Name ¶ added in v0.8.2
func (MappedControl) Name() string
func (MappedControl) PluralName ¶ added in v0.8.2
func (MappedControl) PluralName() string
func (MappedControl) Policy ¶ added in v0.7.3
func (MappedControl) Policy() ent.Policy
Policy of the MappedControl
type MappedControlHistory ¶ added in v0.7.3
MappedControlHistory holds the schema definition for the MappedControlHistory entity.
func (MappedControlHistory) Annotations ¶ added in v0.7.3
func (MappedControlHistory) Annotations() []schema.Annotation
Annotations of the MappedControlHistory.
func (MappedControlHistory) Fields ¶ added in v0.7.3
func (MappedControlHistory) Fields() []ent.Field
Fields of the MappedControlHistory.
func (MappedControlHistory) Indexes ¶ added in v0.7.3
func (MappedControlHistory) Indexes() []ent.Index
Indexes of the MappedControlHistory
func (MappedControlHistory) Interceptors ¶ added in v0.7.3
func (MappedControlHistory) Interceptors() []ent.Interceptor
Interceptors of the MappedControlHistory
func (MappedControlHistory) Policy ¶ added in v0.23.1
func (MappedControlHistory) Policy() ent.Policy
Policy of the MappedControlHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type Narrative ¶ added in v0.3.3
type Narrative struct {
SchemaFuncs
ent.Schema
}
Narrative defines the narrative schema
func (Narrative) Annotations ¶ added in v0.3.3
func (n Narrative) Annotations() []schema.Annotation
Annotations of the Narrative
func (Narrative) PluralName ¶ added in v0.8.2
type NarrativeHistory ¶ added in v0.3.3
NarrativeHistory holds the schema definition for the NarrativeHistory entity.
func (NarrativeHistory) Annotations ¶ added in v0.3.3
func (NarrativeHistory) Annotations() []schema.Annotation
Annotations of the NarrativeHistory.
func (NarrativeHistory) Fields ¶ added in v0.3.3
func (NarrativeHistory) Fields() []ent.Field
Fields of the NarrativeHistory.
func (NarrativeHistory) Indexes ¶ added in v0.3.3
func (NarrativeHistory) Indexes() []ent.Index
Indexes of the NarrativeHistory
func (NarrativeHistory) Interceptors ¶ added in v0.4.4
func (NarrativeHistory) Interceptors() []ent.Interceptor
Interceptors of the NarrativeHistory
func (NarrativeHistory) Policy ¶ added in v0.4.4
func (NarrativeHistory) Policy() ent.Policy
Policy of the NarrativeHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type Note ¶
type Note struct {
SchemaFuncs
ent.Schema
}
Note holds the schema definition for the Note entity
func (Note) PluralName ¶ added in v0.8.2
type NoteHistory ¶
NoteHistory holds the schema definition for the NoteHistory entity.
func (NoteHistory) Annotations ¶
func (NoteHistory) Annotations() []schema.Annotation
Annotations of the NoteHistory.
func (NoteHistory) Interceptors ¶
func (NoteHistory) Interceptors() []ent.Interceptor
Interceptors of the NoteHistory
func (NoteHistory) Policy ¶
func (NoteHistory) Policy() ent.Policy
Policy of the NoteHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type Notification ¶ added in v0.45.13
type Notification struct {
SchemaFuncs
ent.Schema
}
Notification holds the schema definition for the Notification entity
func (Notification) Annotations ¶ added in v0.45.13
func (Notification) Annotations() []schema.Annotation
Annotations of the Notification
func (Notification) Edges ¶ added in v0.45.13
func (n Notification) Edges() []ent.Edge
Edges of the Notification
func (Notification) Fields ¶ added in v0.45.13
func (Notification) Fields() []ent.Field
Fields of the Notification
func (Notification) GetType ¶ added in v0.45.13
func (Notification) GetType() any
func (Notification) Hooks ¶ added in v0.45.13
func (Notification) Hooks() []ent.Hook
Hooks of the Notification
func (Notification) Indexes ¶ added in v0.45.13
func (Notification) Indexes() []ent.Index
Indexes of the Notification
func (Notification) Mixin ¶ added in v0.45.13
func (n Notification) Mixin() []ent.Mixin
Mixin of the Notification
func (Notification) Modules ¶ added in v0.45.13
func (Notification) Modules() []models.OrgModule
Modules of the Notification
func (Notification) Name ¶ added in v0.45.13
func (Notification) Name() string
func (Notification) PluralName ¶ added in v0.45.13
func (Notification) PluralName() string
func (Notification) Policy ¶ added in v0.45.13
func (Notification) Policy() ent.Policy
Policy of the Notification
type ObjectOwnedMixin ¶ added in v0.3.1
type ObjectOwnedMixin struct {
mixin.Schema
// Ref table for the id
Ref 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
// 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
}
ObjectOwnedMixin is a mixin for object owned entities
func (ObjectOwnedMixin) Edges ¶ added in v0.3.1
func (o ObjectOwnedMixin) Edges() []ent.Edge
Edges of the ObjectOwnedMixin
func (ObjectOwnedMixin) Fields ¶ added in v0.3.1
func (o ObjectOwnedMixin) Fields() []ent.Field
Fields of the ObjectOwnedMixin
func (ObjectOwnedMixin) Hooks ¶ added in v0.3.1
func (o ObjectOwnedMixin) Hooks() []ent.Hook
Hooks of the ObjectOwnedMixin
func (ObjectOwnedMixin) Indexes ¶ added in v0.18.3
func (o ObjectOwnedMixin) Indexes() []ent.Index
Indexes of the ObjectOwnedMixin
func (ObjectOwnedMixin) Interceptors ¶ added in v0.3.1
func (o ObjectOwnedMixin) Interceptors() []ent.Interceptor
Interceptors of the ObjectOwnedMixin
func (ObjectOwnedMixin) P ¶ added in v0.3.1
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 ¶ added in v0.7.5
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 ¶ added in v0.6.24
type Onboarding struct {
SchemaFuncs
ent.Schema
}
Onboarding holds the schema definition for the Onboarding entity
func (Onboarding) Annotations ¶ added in v0.6.24
func (o Onboarding) Annotations() []schema.Annotation
Annotations of the Onboarding
func (Onboarding) Edges ¶ added in v0.6.24
func (o Onboarding) Edges() []ent.Edge
Edges of the Onboarding
func (Onboarding) Fields ¶ added in v0.6.24
func (Onboarding) Fields() []ent.Field
Fields of the Onboarding
func (Onboarding) GetType ¶ added in v0.8.2
func (Onboarding) GetType() any
GetType returns the type of the Onboarding schema.
func (Onboarding) Hooks ¶ added in v0.6.24
func (Onboarding) Hooks() []ent.Hook
Hooks of the Onboarding
func (Onboarding) Mixin ¶ added in v0.6.24
func (Onboarding) Mixin() []ent.Mixin
Mixin of the Onboarding
func (Onboarding) Modules ¶ added in v0.28.0
func (Onboarding) Modules() []models.OrgModule
func (Onboarding) Name ¶ added in v0.8.2
func (Onboarding) Name() string
Name returns the name of the Onboarding schema.
func (Onboarding) PluralName ¶ added in v0.8.2
func (Onboarding) PluralName() string
PluralName returns the plural name of the Onboarding schema.
func (Onboarding) Policy ¶ added in v0.6.24
func (o Onboarding) Policy() ent.Policy
Policy of the Onboarding
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 ¶ added in v0.8.2
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 ¶ added in v0.28.0
func (OrgMembership) Modules() []models.OrgModule
func (OrgMembership) Name ¶ added in v0.8.2
func (OrgMembership) Name() string
func (OrgMembership) PluralName ¶ added in v0.8.2
func (OrgMembership) PluralName() string
type OrgMembershipHistory ¶
OrgMembershipHistory holds the schema definition for the OrgMembershipHistory entity.
func (OrgMembershipHistory) Annotations ¶
func (OrgMembershipHistory) Annotations() []schema.Annotation
Annotations of the OrgMembershipHistory.
func (OrgMembershipHistory) Fields ¶
func (OrgMembershipHistory) Fields() []ent.Field
Fields of the OrgMembershipHistory.
func (OrgMembershipHistory) Indexes ¶
func (OrgMembershipHistory) Indexes() []ent.Index
Indexes of the OrgMembershipHistory
func (OrgMembershipHistory) Interceptors ¶
func (OrgMembershipHistory) Interceptors() []ent.Interceptor
Interceptors of the OrgMembershipHistory
func (OrgMembershipHistory) Policy ¶
func (OrgMembershipHistory) Policy() ent.Policy
Policy of the OrgMembershipHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type OrgModule ¶ added in v0.18.4
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 ¶ added in v0.18.4
func (OrgModule) Annotations() []schema.Annotation
Annotations returns the annotations for the OrgModule schema
func (OrgModule) PluralName ¶ added in v0.18.4
PluralName returns the plural name of the OrgModule schema
type OrgPrice ¶ added in v0.18.4
type OrgPrice struct {
SchemaFuncs
ent.Schema
}
OrgPrice represents a price attached to a subscription product
func (OrgPrice) Annotations ¶ added in v0.18.4
func (OrgPrice) Annotations() []schema.Annotation
Annotations returns the annotations for the OrgPrice schema
func (OrgPrice) PluralName ¶ added in v0.18.4
PluralName returns the plural name of the OrgPrice schema
type OrgProduct ¶ added in v0.18.4
type OrgProduct struct {
SchemaFuncs
ent.Schema
}
OrgProduct represents a module product linked to a subscription.
func (OrgProduct) Annotations ¶ added in v0.18.4
func (OrgProduct) Annotations() []schema.Annotation
Annotations returns the annotations for the OrgProduct schema
func (OrgProduct) Edges ¶ added in v0.18.4
func (o OrgProduct) Edges() []ent.Edge
Edges returns the edges for the OrgProduct schema
func (OrgProduct) Fields ¶ added in v0.18.4
func (OrgProduct) Fields() []ent.Field
Fields returns the fields for the OrgProduct schema
func (OrgProduct) GetType ¶ added in v0.18.4
func (OrgProduct) GetType() any
GetType returns the type of the OrgProduct schema
func (OrgProduct) Mixin ¶ added in v0.18.4
func (o OrgProduct) Mixin() []ent.Mixin
Mixin returns the mixins for the OrgProduct schema
func (OrgProduct) Modules ¶ added in v0.28.0
func (OrgProduct) Modules() []models.OrgModule
func (OrgProduct) Name ¶ added in v0.18.4
func (OrgProduct) Name() string
Name returns the name of the OrgProduct schema
func (OrgProduct) PluralName ¶ added in v0.18.4
func (OrgProduct) PluralName() string
PluralName returns the plural name of the OrgProduct schema
type OrgSubscription ¶ added in v0.5.1
type OrgSubscription struct {
SchemaFuncs
ent.Schema
}
OrgSubscription holds the schema definition for the OrgSubscription entity
func (OrgSubscription) Annotations ¶ added in v0.5.1
func (o OrgSubscription) Annotations() []schema.Annotation
Annotations of the OrgSubscription
func (OrgSubscription) Edges ¶ added in v0.5.1
func (o OrgSubscription) Edges() []ent.Edge
Edges of the OrgSubscription
func (OrgSubscription) Fields ¶ added in v0.5.1
func (OrgSubscription) Fields() []ent.Field
Fields of the OrgSubscription
func (OrgSubscription) GetType ¶ added in v0.8.2
func (OrgSubscription) GetType() any
GetType returns the type of the OrgSubscription schema.
func (OrgSubscription) Interceptors ¶ added in v0.5.1
func (o OrgSubscription) Interceptors() []ent.Interceptor
Interceptors of the OrgSubscription
func (OrgSubscription) Mixin ¶ added in v0.5.1
func (o OrgSubscription) Mixin() []ent.Mixin
Mixin of the OrgSubscription
func (OrgSubscription) Name ¶ added in v0.8.2
func (OrgSubscription) Name() string
Name returns the name of the OrgSubscription schema.
func (OrgSubscription) PluralName ¶ added in v0.8.2
func (OrgSubscription) PluralName() string
PluralName returns the plural name of the OrgSubscription schema.
type OrgSubscriptionHistory ¶ added in v0.5.1
OrgSubscriptionHistory holds the schema definition for the OrgSubscriptionHistory entity.
func (OrgSubscriptionHistory) Annotations ¶ added in v0.5.1
func (OrgSubscriptionHistory) Annotations() []schema.Annotation
Annotations of the OrgSubscriptionHistory.
func (OrgSubscriptionHistory) Fields ¶ added in v0.5.1
func (OrgSubscriptionHistory) Fields() []ent.Field
Fields of the OrgSubscriptionHistory.
func (OrgSubscriptionHistory) Indexes ¶ added in v0.5.1
func (OrgSubscriptionHistory) Indexes() []ent.Index
Indexes of the OrgSubscriptionHistory
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 ¶ added in v0.8.2
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 ¶ added in v0.8.2
func (Organization) Name() string
func (Organization) PluralName ¶ added in v0.8.2
func (Organization) PluralName() string
func (Organization) Policy ¶
func (Organization) Policy() ent.Policy
Policy defines the privacy policy of the Organization.
type OrganizationHistory ¶
OrganizationHistory holds the schema definition for the OrganizationHistory entity.
func (OrganizationHistory) Annotations ¶
func (OrganizationHistory) Annotations() []schema.Annotation
Annotations of the OrganizationHistory.
func (OrganizationHistory) Fields ¶
func (OrganizationHistory) Fields() []ent.Field
Fields of the OrganizationHistory.
func (OrganizationHistory) Indexes ¶
func (OrganizationHistory) Indexes() []ent.Index
Indexes of the OrganizationHistory
func (OrganizationHistory) Interceptors ¶
func (OrganizationHistory) Interceptors() []ent.Interceptor
Interceptors of the OrganizationHistory
func (OrganizationHistory) Policy ¶
func (OrganizationHistory) Policy() ent.Policy
Policy of the OrganizationHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
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 ¶ added in v0.8.2
func (OrganizationSetting) GetType() any
GetType returns the type of the OrganizationSetting schema.
func (OrganizationSetting) Hooks ¶ added in v0.7.0
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 ¶ added in v0.28.0
func (OrganizationSetting) Modules() []models.OrgModule
func (OrganizationSetting) Name ¶ added in v0.8.2
func (OrganizationSetting) Name() string
Name returns the name of the OrganizationSetting schema.
func (OrganizationSetting) PluralName ¶ added in v0.8.2
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 OrganizationSettingHistory ¶
OrganizationSettingHistory holds the schema definition for the OrganizationSettingHistory entity.
func (OrganizationSettingHistory) Annotations ¶
func (OrganizationSettingHistory) Annotations() []schema.Annotation
Annotations of the OrganizationSettingHistory.
func (OrganizationSettingHistory) Fields ¶
func (OrganizationSettingHistory) Fields() []ent.Field
Fields of the OrganizationSettingHistory.
func (OrganizationSettingHistory) Indexes ¶
func (OrganizationSettingHistory) Indexes() []ent.Index
Indexes of the OrganizationSettingHistory
func (OrganizationSettingHistory) Interceptors ¶
func (OrganizationSettingHistory) Interceptors() []ent.Interceptor
Interceptors of the OrganizationSettingHistory
func (OrganizationSettingHistory) Policy ¶
func (OrganizationSettingHistory) Policy() ent.Policy
Policy of the OrganizationSettingHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
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 ¶ added in v0.8.2
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 ¶ added in v0.8.2
func (PasswordResetToken) Name() string
Name returns the name of the PasswordResetToken schema.
func (PasswordResetToken) PluralName ¶ added in v0.8.2
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 ¶ added in v0.8.2
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 ¶ added in v0.28.0
func (p PersonalAccessToken) Modules() []models.OrgModule
func (PersonalAccessToken) Name ¶ added in v0.8.2
func (PersonalAccessToken) Name() string
Name returns the name of the PersonalAccessToken schema.
func (PersonalAccessToken) PluralName ¶ added in v0.8.2
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 Procedure ¶ added in v0.3.3
type Procedure struct {
SchemaFuncs
ent.Schema
}
Procedure defines the procedure schema.
func (Procedure) Annotations ¶ added in v0.3.3
func (p Procedure) Annotations() []schema.Annotation
Annotations of the Procedure
func (Procedure) Interceptors ¶ added in v0.4.2
func (p Procedure) Interceptors() []ent.Interceptor
Interceptors of the Procedure
func (Procedure) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the procedure schema.
type ProcedureHistory ¶ added in v0.3.3
ProcedureHistory holds the schema definition for the ProcedureHistory entity.
func (ProcedureHistory) Annotations ¶ added in v0.3.3
func (ProcedureHistory) Annotations() []schema.Annotation
Annotations of the ProcedureHistory.
func (ProcedureHistory) Fields ¶ added in v0.3.3
func (ProcedureHistory) Fields() []ent.Field
Fields of the ProcedureHistory.
func (ProcedureHistory) Indexes ¶ added in v0.3.3
func (ProcedureHistory) Indexes() []ent.Index
Indexes of the ProcedureHistory
func (ProcedureHistory) Interceptors ¶ added in v0.4.2
func (ProcedureHistory) Interceptors() []ent.Interceptor
Interceptors of the ProcedureHistory
func (ProcedureHistory) Policy ¶ added in v0.4.2
func (ProcedureHistory) Policy() ent.Policy
Policy of the ProcedureHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type Program ¶ added in v0.3.5
type Program struct {
SchemaFuncs
ent.Schema
}
Program holds the schema definition for the Program entity
func (Program) Annotations ¶ added in v0.3.5
func (p Program) Annotations() []schema.Annotation
Annotations of the Program
func (Program) Interceptors ¶ added in v0.3.5
func (p Program) Interceptors() []ent.Interceptor
Interceptors of the Program
func (Program) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the Program schema.
type ProgramHistory ¶ added in v0.3.5
ProgramHistory holds the schema definition for the ProgramHistory entity.
func (ProgramHistory) Annotations ¶ added in v0.3.5
func (ProgramHistory) Annotations() []schema.Annotation
Annotations of the ProgramHistory.
func (ProgramHistory) Fields ¶ added in v0.3.5
func (ProgramHistory) Fields() []ent.Field
Fields of the ProgramHistory.
func (ProgramHistory) Indexes ¶ added in v0.3.5
func (ProgramHistory) Indexes() []ent.Index
Indexes of the ProgramHistory
func (ProgramHistory) Interceptors ¶ added in v0.3.5
func (ProgramHistory) Interceptors() []ent.Interceptor
Interceptors of the ProgramHistory
func (ProgramHistory) Policy ¶ added in v0.3.5
func (ProgramHistory) Policy() ent.Policy
Policy of the ProgramHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type ProgramMembership ¶ added in v0.3.5
type ProgramMembership struct {
SchemaFuncs
ent.Schema
}
ProgramMembership holds the schema definition for the ProgramMembership entity
func (ProgramMembership) Annotations ¶ added in v0.3.5
func (ProgramMembership) Annotations() []schema.Annotation
Annotations of the ProgramMembership
func (ProgramMembership) Edges ¶ added in v0.3.5
func (p ProgramMembership) Edges() []ent.Edge
Edges of the ProgramMembership
func (ProgramMembership) Fields ¶ added in v0.3.5
func (ProgramMembership) Fields() []ent.Field
Fields of the ProgramMembership
func (ProgramMembership) GetType ¶ added in v0.8.2
func (ProgramMembership) GetType() any
GetType returns the type of the ProgramMembership schema.
func (ProgramMembership) Hooks ¶ added in v0.3.5
func (ProgramMembership) Hooks() []ent.Hook
Hooks of the ProgramMembership
func (ProgramMembership) Indexes ¶ added in v0.3.5
func (ProgramMembership) Indexes() []ent.Index
Indexes of the ProgramMembership
func (ProgramMembership) Interceptors ¶ added in v0.7.0
func (ProgramMembership) Interceptors() []ent.Interceptor
Interceptors of the ProgramMembership
func (ProgramMembership) Mixin ¶ added in v0.3.5
func (ProgramMembership) Mixin() []ent.Mixin
Mixin of the ProgramMembership
func (ProgramMembership) Modules ¶ added in v0.28.0
func (ProgramMembership) Modules() []models.OrgModule
func (ProgramMembership) Name ¶ added in v0.8.2
func (ProgramMembership) Name() string
Name returns the name of the ProgramMembership schema.
func (ProgramMembership) PluralName ¶ added in v0.8.2
func (ProgramMembership) PluralName() string
PluralName returns the plural name of the ProgramMembership schema.
func (ProgramMembership) Policy ¶ added in v0.3.5
func (ProgramMembership) Policy() ent.Policy
// Policy of the ProgramMembership
type ProgramMembershipHistory ¶ added in v0.3.5
ProgramMembershipHistory holds the schema definition for the ProgramMembershipHistory entity.
func (ProgramMembershipHistory) Annotations ¶ added in v0.3.5
func (ProgramMembershipHistory) Annotations() []schema.Annotation
Annotations of the ProgramMembershipHistory.
func (ProgramMembershipHistory) Fields ¶ added in v0.3.5
func (ProgramMembershipHistory) Fields() []ent.Field
Fields of the ProgramMembershipHistory.
func (ProgramMembershipHistory) Indexes ¶ added in v0.3.5
func (ProgramMembershipHistory) Indexes() []ent.Index
Indexes of the ProgramMembershipHistory
func (ProgramMembershipHistory) Interceptors ¶ added in v0.3.5
func (ProgramMembershipHistory) Interceptors() []ent.Interceptor
Interceptors of the ProgramMembershipHistory
func (ProgramMembershipHistory) Policy ¶ added in v0.3.5
func (ProgramMembershipHistory) Policy() ent.Policy
Policy of the ProgramMembershipHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type Remediation ¶ added in v0.43.3
type Remediation struct {
SchemaFuncs
ent.Schema
}
Remediation defines the remediation schema.
func (Remediation) Annotations ¶ added in v0.43.3
func (Remediation) Annotations() []schema.Annotation
Annotations of the Remediation
func (Remediation) Edges ¶ added in v0.43.3
func (r Remediation) Edges() []ent.Edge
Edges of the Remediation
func (Remediation) Fields ¶ added in v0.43.3
func (Remediation) Fields() []ent.Field
Fields returns remediation fields.
func (Remediation) GetType ¶ added in v0.43.3
func (Remediation) GetType() any
GetType returns the type of the remediation schema.
func (Remediation) Indexes ¶ added in v0.43.3
func (Remediation) Indexes() []ent.Index
Indexes of the Remediation
func (Remediation) Mixin ¶ added in v0.43.3
func (r Remediation) Mixin() []ent.Mixin
Mixin of the Remediation
func (Remediation) Modules ¶ added in v0.43.3
func (Remediation) Modules() []models.OrgModule
func (Remediation) Name ¶ added in v0.43.3
func (Remediation) Name() string
Name returns the name of the remediation schema.
func (Remediation) PluralName ¶ added in v0.43.3
func (Remediation) PluralName() string
PluralName returns the plural name of the remediation schema.
func (Remediation) Policy ¶ added in v0.43.3
func (r Remediation) Policy() ent.Policy
Policy of the Remediation
type RemediationHistory ¶ added in v0.43.3
RemediationHistory holds the schema definition for the RemediationHistory entity.
func (RemediationHistory) Annotations ¶ added in v0.43.3
func (RemediationHistory) Annotations() []schema.Annotation
Annotations of the RemediationHistory.
func (RemediationHistory) Fields ¶ added in v0.43.3
func (RemediationHistory) Fields() []ent.Field
Fields of the RemediationHistory.
func (RemediationHistory) Indexes ¶ added in v0.43.3
func (RemediationHistory) Indexes() []ent.Index
Indexes of the RemediationHistory
func (RemediationHistory) Interceptors ¶ added in v0.43.3
func (RemediationHistory) Interceptors() []ent.Interceptor
Interceptors of the RemediationHistory
func (RemediationHistory) Policy ¶ added in v0.43.3
func (RemediationHistory) Policy() ent.Policy
Policy of the RemediationHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type Review ¶ added in v0.43.3
type Review struct {
SchemaFuncs
ent.Schema
}
Review defines the review schema.
func (Review) Annotations ¶ added in v0.43.3
func (Review) Annotations() []schema.Annotation
Annotations of the Review
func (Review) PluralName ¶ added in v0.43.3
PluralName returns the plural name of the review schema.
type ReviewHistory ¶ added in v0.43.3
ReviewHistory holds the schema definition for the ReviewHistory entity.
func (ReviewHistory) Annotations ¶ added in v0.43.3
func (ReviewHistory) Annotations() []schema.Annotation
Annotations of the ReviewHistory.
func (ReviewHistory) Fields ¶ added in v0.43.3
func (ReviewHistory) Fields() []ent.Field
Fields of the ReviewHistory.
func (ReviewHistory) Indexes ¶ added in v0.43.3
func (ReviewHistory) Indexes() []ent.Index
Indexes of the ReviewHistory
func (ReviewHistory) Interceptors ¶ added in v0.43.3
func (ReviewHistory) Interceptors() []ent.Interceptor
Interceptors of the ReviewHistory
func (ReviewHistory) Policy ¶ added in v0.43.3
func (ReviewHistory) Policy() ent.Policy
Policy of the ReviewHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type Risk ¶ added in v0.3.3
type Risk struct {
SchemaFuncs
ent.Schema
}
Risk defines the risk schema.
func (Risk) Annotations ¶ added in v0.3.3
func (r Risk) Annotations() []schema.Annotation
Annotations of the Risk
func (Risk) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the risk schema.
type RiskHistory ¶ added in v0.3.3
RiskHistory holds the schema definition for the RiskHistory entity.
func (RiskHistory) Annotations ¶ added in v0.3.3
func (RiskHistory) Annotations() []schema.Annotation
Annotations of the RiskHistory.
func (RiskHistory) Fields ¶ added in v0.3.3
func (RiskHistory) Fields() []ent.Field
Fields of the RiskHistory.
func (RiskHistory) Indexes ¶ added in v0.3.3
func (RiskHistory) Indexes() []ent.Index
Indexes of the RiskHistory
func (RiskHistory) Interceptors ¶ added in v0.4.3
func (RiskHistory) Interceptors() []ent.Interceptor
Interceptors of the RiskHistory
func (RiskHistory) Policy ¶ added in v0.4.3
func (RiskHistory) Policy() ent.Policy
Policy of the RiskHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type Scan ¶ added in v0.19.0
type Scan struct {
SchemaFuncs
ent.Schema
}
Scan holds the schema definition for scan records used for domain, vulnerability, or provider scans.
func (Scan) Annotations ¶ added in v0.19.0
func (Scan) Annotations() []schema.Annotation
Annotations of the Scan
func (Scan) PluralName ¶ added in v0.19.0
type ScanHistory ¶ added in v0.19.0
ScanHistory holds the schema definition for the ScanHistory entity.
func (ScanHistory) Annotations ¶ added in v0.19.0
func (ScanHistory) Annotations() []schema.Annotation
Annotations of the ScanHistory.
func (ScanHistory) Fields ¶ added in v0.19.0
func (ScanHistory) Fields() []ent.Field
Fields of the ScanHistory.
func (ScanHistory) Indexes ¶ added in v0.19.0
func (ScanHistory) Indexes() []ent.Index
Indexes of the ScanHistory
func (ScanHistory) Interceptors ¶ added in v0.19.0
func (ScanHistory) Interceptors() []ent.Interceptor
Interceptors of the ScanHistory
func (ScanHistory) Policy ¶ added in v0.23.1
func (ScanHistory) Policy() ent.Policy
Policy of the ScanHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type ScheduledJob ¶ added in v0.15.0
type ScheduledJob struct {
SchemaFuncs
ent.Schema
}
ScheduledJob holds the schema definition for the ScheduledJob entity
func (ScheduledJob) Annotations ¶ added in v0.15.0
func (ScheduledJob) Annotations() []schema.Annotation
Annotations of the ScheduledJob
func (ScheduledJob) Edges ¶ added in v0.15.0
func (c ScheduledJob) Edges() []ent.Edge
Edges of the ScheduledJob
func (ScheduledJob) Fields ¶ added in v0.15.0
func (ScheduledJob) Fields() []ent.Field
Fields of the ScheduledJob
func (ScheduledJob) GetType ¶ added in v0.15.0
func (ScheduledJob) GetType() any
func (ScheduledJob) Hooks ¶ added in v0.15.0
func (ScheduledJob) Hooks() []ent.Hook
Hooks of the ScheduledJob
func (ScheduledJob) Indexes ¶ added in v0.15.0
func (ScheduledJob) Indexes() []ent.Index
Indexes of the ScheduledJob
func (ScheduledJob) Interceptors ¶ added in v0.15.0
func (ScheduledJob) Interceptors() []ent.Interceptor
Interceptors of the ScheduledJob
func (ScheduledJob) Mixin ¶ added in v0.15.0
func (c ScheduledJob) Mixin() []ent.Mixin
Mixin of the ScheduledJob
func (ScheduledJob) Modules ¶ added in v0.28.0
func (ScheduledJob) Modules() []models.OrgModule
func (ScheduledJob) Name ¶ added in v0.15.0
func (ScheduledJob) Name() string
func (ScheduledJob) PluralName ¶ added in v0.15.0
func (ScheduledJob) PluralName() string
func (ScheduledJob) Policy ¶ added in v0.15.0
func (ScheduledJob) Policy() ent.Policy
Policy of the ScheduledJob
type ScheduledJobHistory ¶ added in v0.15.0
ScheduledJobHistory holds the schema definition for the ScheduledJobHistory entity.
func (ScheduledJobHistory) Annotations ¶ added in v0.15.0
func (ScheduledJobHistory) Annotations() []schema.Annotation
Annotations of the ScheduledJobHistory.
func (ScheduledJobHistory) Fields ¶ added in v0.15.0
func (ScheduledJobHistory) Fields() []ent.Field
Fields of the ScheduledJobHistory.
func (ScheduledJobHistory) Indexes ¶ added in v0.15.0
func (ScheduledJobHistory) Indexes() []ent.Index
Indexes of the ScheduledJobHistory
func (ScheduledJobHistory) Interceptors ¶ added in v0.15.0
func (ScheduledJobHistory) Interceptors() []ent.Interceptor
Interceptors of the ScheduledJobHistory
func (ScheduledJobHistory) Policy ¶ added in v0.23.1
func (ScheduledJobHistory) Policy() ent.Policy
Policy of the ScheduledJobHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type ScheduledJobRun ¶ added in v0.15.0
type ScheduledJobRun struct {
SchemaFuncs
ent.Schema
}
ScheduledJobRun holds the schema definition for the ScheduledJobRun entity
func (ScheduledJobRun) Annotations ¶ added in v0.15.0
func (s ScheduledJobRun) Annotations() []schema.Annotation
Annotations of the ScheduledJobRun
func (ScheduledJobRun) Edges ¶ added in v0.15.0
func (s ScheduledJobRun) Edges() []ent.Edge
Edges of the ScheduledJobRun
func (ScheduledJobRun) Fields ¶ added in v0.15.0
func (ScheduledJobRun) Fields() []ent.Field
Fields of the ScheduledJobRun
func (ScheduledJobRun) GetType ¶ added in v0.15.0
func (ScheduledJobRun) GetType() any
GetType returns the type of the schema
func (ScheduledJobRun) Hooks ¶ added in v0.15.0
func (ScheduledJobRun) Hooks() []ent.Hook
Hooks of the ScheduledJobRun
func (ScheduledJobRun) Indexes ¶ added in v0.15.0
func (ScheduledJobRun) Indexes() []ent.Index
Indexes of the ScheduledJobRun
func (ScheduledJobRun) Mixin ¶ added in v0.15.0
func (s ScheduledJobRun) Mixin() []ent.Mixin
Mixin of the ScheduledJobRun
func (ScheduledJobRun) Modules ¶ added in v0.28.0
func (ScheduledJobRun) Modules() []models.OrgModule
func (ScheduledJobRun) Name ¶ added in v0.15.0
func (ScheduledJobRun) Name() string
Name is the name of the schema in snake case
func (ScheduledJobRun) PluralName ¶ added in v0.15.0
func (ScheduledJobRun) PluralName() string
PluralName returns the plural name of the schema
func (ScheduledJobRun) Policy ¶ added in v0.15.0
func (s ScheduledJobRun) Policy() ent.Policy
Policy of the ScheduledJobRun
type SchemaFuncs ¶ added in v0.8.2
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 Standard ¶ added in v0.3.3
type Standard struct {
SchemaFuncs
ent.Schema
}
Standard defines the standard schema.
func (Standard) Interceptors ¶ added in v0.7.3
func (s Standard) Interceptors() []ent.Interceptor
Interceptors of the Standard
func (Standard) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the standard schema.
type StandardHistory ¶ added in v0.3.3
StandardHistory holds the schema definition for the StandardHistory entity.
func (StandardHistory) Annotations ¶ added in v0.3.3
func (StandardHistory) Annotations() []schema.Annotation
Annotations of the StandardHistory.
func (StandardHistory) Fields ¶ added in v0.3.3
func (StandardHistory) Fields() []ent.Field
Fields of the StandardHistory.
func (StandardHistory) Indexes ¶ added in v0.3.3
func (StandardHistory) Indexes() []ent.Index
Indexes of the StandardHistory
func (StandardHistory) Interceptors ¶ added in v0.7.3
func (StandardHistory) Interceptors() []ent.Interceptor
Interceptors of the StandardHistory
func (StandardHistory) Policy ¶ added in v0.23.1
func (StandardHistory) Policy() ent.Policy
Policy of the StandardHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type Subcontrol ¶ added in v0.3.3
type Subcontrol struct {
SchemaFuncs
ent.Schema
}
Subcontrol defines the file schema.
func (Subcontrol) Edges ¶ added in v0.3.3
func (s Subcontrol) Edges() []ent.Edge
Edges of the Subcontrol
func (Subcontrol) Fields ¶ added in v0.3.3
func (Subcontrol) Fields() []ent.Field
Fields returns file fields.
func (Subcontrol) GetType ¶ added in v0.8.2
func (Subcontrol) GetType() any
GetType returns the type of the Subcontrol schema.
func (Subcontrol) Hooks ¶ added in v0.5.0
func (Subcontrol) Hooks() []ent.Hook
Hooks of the Subcontrol
func (Subcontrol) Indexes ¶ added in v0.7.3
func (Subcontrol) Indexes() []ent.Index
Indexes of the Subcontrol
func (Subcontrol) Mixin ¶ added in v0.3.3
func (s Subcontrol) Mixin() []ent.Mixin
Mixin of the Subcontrol
func (Subcontrol) Modules ¶ added in v0.28.0
func (Subcontrol) Modules() []models.OrgModule
Annotations of the Standard
func (Subcontrol) Name ¶ added in v0.8.2
func (Subcontrol) Name() string
Name returns the name of the Subcontrol schema.
func (Subcontrol) PluralName ¶ added in v0.8.2
func (Subcontrol) PluralName() string
PluralName returns the plural name of the Subcontrol schema.
func (Subcontrol) Policy ¶ added in v0.5.0
func (s Subcontrol) Policy() ent.Policy
Policy of the Subcontrol
type SubcontrolHistory ¶ added in v0.3.3
SubcontrolHistory holds the schema definition for the SubcontrolHistory entity.
func (SubcontrolHistory) Annotations ¶ added in v0.3.3
func (SubcontrolHistory) Annotations() []schema.Annotation
Annotations of the SubcontrolHistory.
func (SubcontrolHistory) Fields ¶ added in v0.3.3
func (SubcontrolHistory) Fields() []ent.Field
Fields of the SubcontrolHistory.
func (SubcontrolHistory) Indexes ¶ added in v0.3.3
func (SubcontrolHistory) Indexes() []ent.Index
Indexes of the SubcontrolHistory
func (SubcontrolHistory) Interceptors ¶ added in v0.5.0
func (SubcontrolHistory) Interceptors() []ent.Interceptor
Interceptors of the SubcontrolHistory
func (SubcontrolHistory) Policy ¶ added in v0.5.0
func (SubcontrolHistory) Policy() ent.Policy
Policy of the SubcontrolHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type Subprocessor ¶ added in v0.22.2
type Subprocessor struct {
SchemaFuncs
ent.Schema
}
Subprocessor holds the schema definition for the Subprocessor entity
func (Subprocessor) Edges ¶ added in v0.22.2
func (t Subprocessor) Edges() []ent.Edge
Edges of the Subprocessor
func (Subprocessor) Fields ¶ added in v0.22.2
func (Subprocessor) Fields() []ent.Field
Fields of the Subprocessor
func (Subprocessor) GetType ¶ added in v0.22.2
func (Subprocessor) GetType() any
GetType returns the type of the Subprocessor schema.
func (Subprocessor) Hooks ¶ added in v0.22.2
func (Subprocessor) Hooks() []ent.Hook
Hooks of the Subprocessor
func (Subprocessor) Indexes ¶ added in v0.22.2
func (Subprocessor) Indexes() []ent.Index
Indexes of the Subprocessor
func (Subprocessor) Interceptors ¶ added in v0.22.2
func (t Subprocessor) Interceptors() []ent.Interceptor
Interceptors of the Subprocessor
func (Subprocessor) Mixin ¶ added in v0.22.2
func (t Subprocessor) Mixin() []ent.Mixin
Mixin of the Subprocessor
func (Subprocessor) Modules ¶ added in v0.28.0
func (Subprocessor) Modules() []models.OrgModule
func (Subprocessor) Name ¶ added in v0.22.2
func (Subprocessor) Name() string
Name returns the name of the Subprocessor schema.
func (Subprocessor) PluralName ¶ added in v0.22.2
func (Subprocessor) PluralName() string
PluralName returns the plural name of the Subprocessor schema.
func (Subprocessor) Policy ¶ added in v0.22.2
func (t Subprocessor) Policy() ent.Policy
Policy of the Subprocessor
type SubprocessorHistory ¶ added in v0.22.2
SubprocessorHistory holds the schema definition for the SubprocessorHistory entity.
func (SubprocessorHistory) Annotations ¶ added in v0.22.2
func (SubprocessorHistory) Annotations() []schema.Annotation
Annotations of the SubprocessorHistory.
func (SubprocessorHistory) Fields ¶ added in v0.22.2
func (SubprocessorHistory) Fields() []ent.Field
Fields of the SubprocessorHistory.
func (SubprocessorHistory) Indexes ¶ added in v0.22.2
func (SubprocessorHistory) Indexes() []ent.Index
Indexes of the SubprocessorHistory
func (SubprocessorHistory) Interceptors ¶ added in v0.22.2
func (SubprocessorHistory) Interceptors() []ent.Interceptor
Interceptors of the SubprocessorHistory
func (SubprocessorHistory) Policy ¶ added in v0.23.1
func (SubprocessorHistory) Policy() ent.Policy
Policy of the SubprocessorHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
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 ¶ added in v0.8.2
func (Subscriber) GetType() any
GetType returns the type of the Subscriber schema.
func (Subscriber) Hooks ¶
func (Subscriber) Hooks() []ent.Hook
func (Subscriber) Modules ¶ added in v0.28.0
func (Subscriber) Modules() []models.OrgModule
func (Subscriber) Name ¶ added in v0.8.2
func (Subscriber) Name() string
Name returns the name of the Subscriber schema.
func (Subscriber) PluralName ¶ added in v0.8.2
func (Subscriber) PluralName() string
PluralName returns the plural name of the Subscriber schema.
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 ¶ added in v0.8.2
func (TFASetting) GetType() any
GetType returns the type of the TFASetting schema.
func (TFASetting) Modules ¶ added in v0.28.0
func (TFASetting) Modules() []models.OrgModule
func (TFASetting) Name ¶ added in v0.8.2
func (TFASetting) Name() string
Name returns the name of the TFASetting schema.
func (TFASetting) PluralName ¶ added in v0.8.2
func (TFASetting) PluralName() string
PluralName returns the plural name of the TFASetting schema.
func (TFASetting) Policy ¶ added in v0.6.11
func (t TFASetting) Policy() ent.Policy
Policy of the TFASetting
type TagDefinition ¶ added in v0.43.0
type TagDefinition struct {
SchemaFuncs
ent.Schema
}
TagDefinition holds the schema definition for the TagDefinition entity
func (TagDefinition) Annotations ¶ added in v0.43.0
func (TagDefinition) Annotations() []schema.Annotation
Annotations of the TagDefinition
func (TagDefinition) Edges ¶ added in v0.43.0
func (t TagDefinition) Edges() []ent.Edge
Edges of the TagDefinition
func (TagDefinition) Fields ¶ added in v0.43.0
func (TagDefinition) Fields() []ent.Field
Fields of the TagDefinition
func (TagDefinition) GetType ¶ added in v0.43.0
func (TagDefinition) GetType() any
GetType returns the type of the schema
func (TagDefinition) Hooks ¶ added in v0.43.0
func (TagDefinition) Hooks() []ent.Hook
Hooks of the TagDefinition
func (TagDefinition) Indexes ¶ added in v0.43.0
func (TagDefinition) Indexes() []ent.Index
Indexes of the TagDefinition
func (TagDefinition) Interceptors ¶ added in v0.43.0
func (TagDefinition) Interceptors() []ent.Interceptor
Interceptors of the TagDefinition
func (TagDefinition) Mixin ¶ added in v0.43.0
func (t TagDefinition) Mixin() []ent.Mixin
Mixin of the TagDefinition
func (TagDefinition) Modules ¶ added in v0.43.0
func (TagDefinition) Modules() []models.OrgModule
Modules this schema has access to
func (TagDefinition) Name ¶ added in v0.43.0
func (TagDefinition) Name() string
Name is the name of the schema in snake case
func (TagDefinition) PluralName ¶ added in v0.43.0
func (TagDefinition) PluralName() string
PluralName returns the plural name of the schema
func (TagDefinition) Policy ¶ added in v0.43.0
func (TagDefinition) Policy() ent.Policy
Policy of the TagDefinition
type Task ¶ added in v0.3.4
type Task struct {
SchemaFuncs
ent.Schema
}
Task holds the schema definition for the Task entity
func (Task) Annotations ¶ added in v0.3.4
func (Task) Annotations() []schema.Annotation
Annotations of the Task
func (Task) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the Task schema.
type TaskHistory ¶ added in v0.3.4
TaskHistory holds the schema definition for the TaskHistory entity.
func (TaskHistory) Annotations ¶ added in v0.3.4
func (TaskHistory) Annotations() []schema.Annotation
Annotations of the TaskHistory.
func (TaskHistory) Fields ¶ added in v0.3.4
func (TaskHistory) Fields() []ent.Field
Fields of the TaskHistory.
func (TaskHistory) Indexes ¶ added in v0.3.4
func (TaskHistory) Indexes() []ent.Index
Indexes of the TaskHistory
func (TaskHistory) Interceptors ¶ added in v0.3.4
func (TaskHistory) Interceptors() []ent.Interceptor
Interceptors of the TaskHistory
func (TaskHistory) Policy ¶ added in v0.3.4
func (TaskHistory) Policy() ent.Policy
Policy of the TaskHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
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) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the Template schema.
type TemplateHistory ¶
TemplateHistory holds the schema definition for the TemplateHistory entity.
func (TemplateHistory) Annotations ¶
func (TemplateHistory) Annotations() []schema.Annotation
Annotations of the TemplateHistory.
func (TemplateHistory) Fields ¶
func (TemplateHistory) Fields() []ent.Field
Fields of the TemplateHistory.
func (TemplateHistory) Indexes ¶
func (TemplateHistory) Indexes() []ent.Index
Indexes of the TemplateHistory
func (TemplateHistory) Interceptors ¶
func (TemplateHistory) Interceptors() []ent.Interceptor
Interceptors of the TemplateHistory
func (TemplateHistory) Policy ¶
func (TemplateHistory) Policy() ent.Policy
Policy of the TemplateHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type TrustCenter ¶ added in v0.19.0
type TrustCenter struct {
SchemaFuncs
ent.Schema
}
TrustCenter holds the schema definition for the TrustCenter entity
func (TrustCenter) Annotations ¶ added in v0.20.1
func (t TrustCenter) Annotations() []schema.Annotation
Annotations of the TrustCenter
func (TrustCenter) Edges ¶ added in v0.19.0
func (t TrustCenter) Edges() []ent.Edge
Edges of the TrustCenter
func (TrustCenter) Fields ¶ added in v0.19.0
func (TrustCenter) Fields() []ent.Field
Fields of the TrustCenter
func (TrustCenter) GetType ¶ added in v0.19.0
func (TrustCenter) GetType() any
GetType returns the type of the TrustCenter schema.
func (TrustCenter) Hooks ¶ added in v0.19.0
func (TrustCenter) Hooks() []ent.Hook
Hooks of the TrustCenter
func (TrustCenter) Indexes ¶ added in v0.19.0
func (TrustCenter) Indexes() []ent.Index
Indexes of the TrustCenter
func (TrustCenter) Interceptors ¶ added in v0.20.5
func (t TrustCenter) Interceptors() []ent.Interceptor
Interceptors of the TrustCenter
func (TrustCenter) Mixin ¶ added in v0.19.0
func (t TrustCenter) Mixin() []ent.Mixin
Mixin of the TrustCenter
func (TrustCenter) Modules ¶ added in v0.28.0
func (TrustCenter) Modules() []models.OrgModule
func (TrustCenter) Name ¶ added in v0.19.0
func (TrustCenter) Name() string
Name returns the name of the TrustCenter schema.
func (TrustCenter) PluralName ¶ added in v0.19.0
func (TrustCenter) PluralName() string
PluralName returns the plural name of the TrustCenter schema.
func (TrustCenter) Policy ¶ added in v0.19.0
func (t TrustCenter) Policy() ent.Policy
Policy of the TrustCenter
type TrustCenterCompliance ¶ added in v0.23.1
type TrustCenterCompliance struct {
SchemaFuncs
ent.Schema
}
TrustCenterCompliance holds the schema definition for the TrustCenterCompliance entity
func (TrustCenterCompliance) Annotations ¶ added in v0.23.1
func (TrustCenterCompliance) Annotations() []schema.Annotation
Annotations of the TrustCenterCompliance
func (TrustCenterCompliance) Edges ¶ added in v0.23.1
func (t TrustCenterCompliance) Edges() []ent.Edge
Edges of the TrustCenterCompliance
func (TrustCenterCompliance) Fields ¶ added in v0.23.1
func (TrustCenterCompliance) Fields() []ent.Field
Fields of the TrustCenterCompliance
func (TrustCenterCompliance) GetType ¶ added in v0.23.1
func (TrustCenterCompliance) GetType() any
GetType returns the type of the TrustCenterCompliance schema.
func (TrustCenterCompliance) Hooks ¶ added in v0.23.1
func (TrustCenterCompliance) Hooks() []ent.Hook
Hooks of the TrustCenterCompliance
func (TrustCenterCompliance) Indexes ¶ added in v0.23.1
func (TrustCenterCompliance) Indexes() []ent.Index
Indexes of the TrustCenterCompliance
func (TrustCenterCompliance) Interceptors ¶ added in v0.23.1
func (TrustCenterCompliance) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterCompliance
func (TrustCenterCompliance) Mixin ¶ added in v0.23.1
func (t TrustCenterCompliance) Mixin() []ent.Mixin
Mixin of the TrustCenterCompliance
func (TrustCenterCompliance) Name ¶ added in v0.23.1
func (TrustCenterCompliance) Name() string
Name returns the name of the TrustCenterCompliance schema.
func (TrustCenterCompliance) PluralName ¶ added in v0.23.1
func (TrustCenterCompliance) PluralName() string
PluralName returns the plural name of the TrustCenterCompliance schema.
func (TrustCenterCompliance) Policy ¶ added in v0.23.1
func (TrustCenterCompliance) Policy() ent.Policy
Policy of the TrustCenterCompliance
type TrustCenterComplianceHistory ¶ added in v0.23.1
TrustCenterComplianceHistory holds the schema definition for the TrustCenterComplianceHistory entity.
func (TrustCenterComplianceHistory) Annotations ¶ added in v0.23.1
func (TrustCenterComplianceHistory) Annotations() []schema.Annotation
Annotations of the TrustCenterComplianceHistory.
func (TrustCenterComplianceHistory) Fields ¶ added in v0.23.1
func (TrustCenterComplianceHistory) Fields() []ent.Field
Fields of the TrustCenterComplianceHistory.
func (TrustCenterComplianceHistory) Indexes ¶ added in v0.23.1
func (TrustCenterComplianceHistory) Indexes() []ent.Index
Indexes of the TrustCenterComplianceHistory
func (TrustCenterComplianceHistory) Interceptors ¶ added in v0.23.1
func (TrustCenterComplianceHistory) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterComplianceHistory
func (TrustCenterComplianceHistory) Policy ¶ added in v0.23.1
func (TrustCenterComplianceHistory) Policy() ent.Policy
Policy of the TrustCenterComplianceHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type TrustCenterDoc ¶ added in v0.33.6
type TrustCenterDoc struct {
SchemaFuncs
ent.Schema
}
TrustCenterDoc holds the schema definition for the TrustCenterDoc entity
func (TrustCenterDoc) Annotations ¶ added in v0.33.6
func (TrustCenterDoc) Annotations() []schema.Annotation
Annotations of the TrustCenterDoc
func (TrustCenterDoc) Edges ¶ added in v0.33.6
func (t TrustCenterDoc) Edges() []ent.Edge
Edges of the TrustCenterDoc
func (TrustCenterDoc) Fields ¶ added in v0.33.6
func (TrustCenterDoc) Fields() []ent.Field
Fields of the TrustCenterDoc
func (TrustCenterDoc) GetType ¶ added in v0.33.6
func (TrustCenterDoc) GetType() any
GetType returns the type of the TrustCenterDoc schema.
func (TrustCenterDoc) Hooks ¶ added in v0.33.6
func (TrustCenterDoc) Hooks() []ent.Hook
Hooks of the TrustCenterDoc
func (TrustCenterDoc) Indexes ¶ added in v0.33.6
func (TrustCenterDoc) Indexes() []ent.Index
Indexes of the TrustCenterDoc
func (TrustCenterDoc) Interceptors ¶ added in v0.33.6
func (TrustCenterDoc) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterDoc
func (TrustCenterDoc) Mixin ¶ added in v0.33.6
func (t TrustCenterDoc) Mixin() []ent.Mixin
Mixin of the TrustCenterDoc
func (TrustCenterDoc) Modules ¶ added in v0.34.0
func (TrustCenterDoc) Modules() []models.OrgModule
func (TrustCenterDoc) Name ¶ added in v0.33.6
func (TrustCenterDoc) Name() string
Name returns the name of the TrustCenterDoc schema.
func (TrustCenterDoc) PluralName ¶ added in v0.33.6
func (TrustCenterDoc) PluralName() string
PluralName returns the plural name of the TrustCenterDoc schema.
func (TrustCenterDoc) Policy ¶ added in v0.33.6
func (TrustCenterDoc) Policy() ent.Policy
Policy of the TrustCenterDoc
type TrustCenterDocHistory ¶ added in v0.33.6
TrustCenterDocHistory holds the schema definition for the TrustCenterDocHistory entity.
func (TrustCenterDocHistory) Annotations ¶ added in v0.33.6
func (TrustCenterDocHistory) Annotations() []schema.Annotation
Annotations of the TrustCenterDocHistory.
func (TrustCenterDocHistory) Fields ¶ added in v0.33.6
func (TrustCenterDocHistory) Fields() []ent.Field
Fields of the TrustCenterDocHistory.
func (TrustCenterDocHistory) Indexes ¶ added in v0.33.6
func (TrustCenterDocHistory) Indexes() []ent.Index
Indexes of the TrustCenterDocHistory
func (TrustCenterDocHistory) Interceptors ¶ added in v0.33.6
func (TrustCenterDocHistory) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterDocHistory
func (TrustCenterDocHistory) Policy ¶ added in v0.33.6
func (TrustCenterDocHistory) Policy() ent.Policy
Policy of the TrustCenterDocHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type TrustCenterHistory ¶ added in v0.19.0
TrustCenterHistory holds the schema definition for the TrustCenterHistory entity.
func (TrustCenterHistory) Annotations ¶ added in v0.19.0
func (TrustCenterHistory) Annotations() []schema.Annotation
Annotations of the TrustCenterHistory.
func (TrustCenterHistory) Fields ¶ added in v0.19.0
func (TrustCenterHistory) Fields() []ent.Field
Fields of the TrustCenterHistory.
func (TrustCenterHistory) Indexes ¶ added in v0.19.0
func (TrustCenterHistory) Indexes() []ent.Index
Indexes of the TrustCenterHistory
func (TrustCenterHistory) Interceptors ¶ added in v0.19.0
func (TrustCenterHistory) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterHistory
func (TrustCenterHistory) Policy ¶ added in v0.23.1
func (TrustCenterHistory) Policy() ent.Policy
Policy of the TrustCenterHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type TrustCenterSetting ¶ added in v0.19.0
type TrustCenterSetting struct {
SchemaFuncs
ent.Schema
}
TrustCenterSetting holds the schema definition for the TrustCenterSetting entity
func (TrustCenterSetting) Annotations ¶ added in v0.19.0
func (t TrustCenterSetting) Annotations() []schema.Annotation
func (TrustCenterSetting) Edges ¶ added in v0.19.0
func (t TrustCenterSetting) Edges() []ent.Edge
Edges of the TrustCenterSetting
func (TrustCenterSetting) Fields ¶ added in v0.19.0
func (TrustCenterSetting) Fields() []ent.Field
Fields of the TrustCenterSetting
func (TrustCenterSetting) GetType ¶ added in v0.19.0
func (TrustCenterSetting) GetType() any
func (TrustCenterSetting) Hooks ¶ added in v0.19.0
func (TrustCenterSetting) Hooks() []ent.Hook
Hooks of the TrustCenterSetting
func (TrustCenterSetting) Indexes ¶ added in v0.19.0
func (TrustCenterSetting) Indexes() []ent.Index
func (TrustCenterSetting) Interceptors ¶ added in v0.19.0
func (t TrustCenterSetting) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterSetting
func (TrustCenterSetting) Mixin ¶ added in v0.19.0
func (t TrustCenterSetting) Mixin() []ent.Mixin
Mixin of the TrustCenterSetting
func (TrustCenterSetting) Modules ¶ added in v0.28.0
func (TrustCenterSetting) Modules() []models.OrgModule
func (TrustCenterSetting) Name ¶ added in v0.19.0
func (TrustCenterSetting) Name() string
func (TrustCenterSetting) PluralName ¶ added in v0.19.0
func (TrustCenterSetting) PluralName() string
func (TrustCenterSetting) Policy ¶ added in v0.19.0
func (t TrustCenterSetting) Policy() ent.Policy
Policy of the TrustCenterSetting
type TrustCenterSettingHistory ¶ added in v0.19.0
TrustCenterSettingHistory holds the schema definition for the TrustCenterSettingHistory entity.
func (TrustCenterSettingHistory) Annotations ¶ added in v0.19.0
func (TrustCenterSettingHistory) Annotations() []schema.Annotation
Annotations of the TrustCenterSettingHistory.
func (TrustCenterSettingHistory) Fields ¶ added in v0.19.0
func (TrustCenterSettingHistory) Fields() []ent.Field
Fields of the TrustCenterSettingHistory.
func (TrustCenterSettingHistory) Indexes ¶ added in v0.19.0
func (TrustCenterSettingHistory) Indexes() []ent.Index
Indexes of the TrustCenterSettingHistory
func (TrustCenterSettingHistory) Interceptors ¶ added in v0.19.0
func (TrustCenterSettingHistory) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterSettingHistory
func (TrustCenterSettingHistory) Policy ¶ added in v0.23.1
func (TrustCenterSettingHistory) Policy() ent.Policy
Policy of the TrustCenterSettingHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type TrustCenterSubprocessor ¶ added in v0.22.2
type TrustCenterSubprocessor struct {
SchemaFuncs
ent.Schema
}
TrustCenterSubprocessor holds the schema definition for the TrustCenterSubprocessor entity
func (TrustCenterSubprocessor) Annotations ¶ added in v0.22.2
func (t TrustCenterSubprocessor) Annotations() []schema.Annotation
Annotations of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) Edges ¶ added in v0.22.2
func (t TrustCenterSubprocessor) Edges() []ent.Edge
Edges of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) Fields ¶ added in v0.22.2
func (TrustCenterSubprocessor) Fields() []ent.Field
Fields of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) GetType ¶ added in v0.22.2
func (TrustCenterSubprocessor) GetType() any
GetType returns the type of the TrustCenterSubprocessor schema.
func (TrustCenterSubprocessor) Hooks ¶ added in v0.22.2
func (TrustCenterSubprocessor) Hooks() []ent.Hook
Hooks of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) Indexes ¶ added in v0.22.2
func (TrustCenterSubprocessor) Indexes() []ent.Index
Indexes of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) Interceptors ¶ added in v0.22.2
func (t TrustCenterSubprocessor) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) Mixin ¶ added in v0.22.2
func (t TrustCenterSubprocessor) Mixin() []ent.Mixin
Mixin of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) Modules ¶ added in v0.28.0
func (TrustCenterSubprocessor) Modules() []models.OrgModule
func (TrustCenterSubprocessor) Name ¶ added in v0.22.2
func (TrustCenterSubprocessor) Name() string
Name returns the name of the TrustCenterSubprocessor schema.
func (TrustCenterSubprocessor) PluralName ¶ added in v0.22.2
func (TrustCenterSubprocessor) PluralName() string
PluralName returns the plural name of the TrustCenterSubprocessor schema.
func (TrustCenterSubprocessor) Policy ¶ added in v0.22.2
func (t TrustCenterSubprocessor) Policy() ent.Policy
Policy of the TrustCenterSubprocessor
type TrustCenterSubprocessorHistory ¶ added in v0.22.2
TrustCenterSubprocessorHistory holds the schema definition for the TrustCenterSubprocessorHistory entity.
func (TrustCenterSubprocessorHistory) Annotations ¶ added in v0.22.2
func (TrustCenterSubprocessorHistory) Annotations() []schema.Annotation
Annotations of the TrustCenterSubprocessorHistory.
func (TrustCenterSubprocessorHistory) Fields ¶ added in v0.22.2
func (TrustCenterSubprocessorHistory) Fields() []ent.Field
Fields of the TrustCenterSubprocessorHistory.
func (TrustCenterSubprocessorHistory) Indexes ¶ added in v0.22.2
func (TrustCenterSubprocessorHistory) Indexes() []ent.Index
Indexes of the TrustCenterSubprocessorHistory
func (TrustCenterSubprocessorHistory) Interceptors ¶ added in v0.22.2
func (TrustCenterSubprocessorHistory) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterSubprocessorHistory
func (TrustCenterSubprocessorHistory) Policy ¶ added in v0.23.1
func (TrustCenterSubprocessorHistory) Policy() ent.Policy
Policy of the TrustCenterSubprocessorHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type TrustCenterWatermarkConfig ¶ added in v0.34.5
type TrustCenterWatermarkConfig struct {
SchemaFuncs
ent.Schema
}
TrustCenterWatermarkConfig holds the schema definition for the TrustCenterWatermarkConfig entity
func (TrustCenterWatermarkConfig) Annotations ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) Annotations() []schema.Annotation
Annotations of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) Edges ¶ added in v0.34.5
func (t TrustCenterWatermarkConfig) Edges() []ent.Edge
Edges of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) Fields ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) Fields() []ent.Field
Fields of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) GetType ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) GetType() any
GetType returns the type of the TrustCenterWatermarkConfig schema.
func (TrustCenterWatermarkConfig) Hooks ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) Hooks() []ent.Hook
Hooks of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) Indexes ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) Indexes() []ent.Index
Indexes of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) Interceptors ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) Mixin ¶ added in v0.34.5
func (t TrustCenterWatermarkConfig) Mixin() []ent.Mixin
Mixin of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) Modules ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) Modules() []models.OrgModule
func (TrustCenterWatermarkConfig) Name ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) Name() string
Name returns the name of the TrustCenterWatermarkConfig schema.
func (TrustCenterWatermarkConfig) PluralName ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) PluralName() string
PluralName returns the plural name of the TrustCenterWatermarkConfig schema.
func (TrustCenterWatermarkConfig) Policy ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) Policy() ent.Policy
Policy of the TrustCenterWatermarkConfig
type TrustCenterWatermarkConfigHistory ¶ added in v0.34.5
TrustCenterWatermarkConfigHistory holds the schema definition for the TrustCenterWatermarkConfigHistory entity.
func (TrustCenterWatermarkConfigHistory) Annotations ¶ added in v0.34.5
func (TrustCenterWatermarkConfigHistory) Annotations() []schema.Annotation
Annotations of the TrustCenterWatermarkConfigHistory.
func (TrustCenterWatermarkConfigHistory) Fields ¶ added in v0.34.5
func (TrustCenterWatermarkConfigHistory) Fields() []ent.Field
Fields of the TrustCenterWatermarkConfigHistory.
func (TrustCenterWatermarkConfigHistory) Indexes ¶ added in v0.34.5
func (TrustCenterWatermarkConfigHistory) Indexes() []ent.Index
Indexes of the TrustCenterWatermarkConfigHistory
func (TrustCenterWatermarkConfigHistory) Interceptors ¶ added in v0.34.5
func (TrustCenterWatermarkConfigHistory) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterWatermarkConfigHistory
func (TrustCenterWatermarkConfigHistory) Policy ¶ added in v0.34.5
func (TrustCenterWatermarkConfigHistory) Policy() ent.Policy
Policy of the TrustCenterWatermarkConfigHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type User ¶
type User struct {
SchemaFuncs
ent.Schema
}
User holds the schema definition for the User entity.
func (User) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the User schema.
type UserHistory ¶
UserHistory holds the schema definition for the UserHistory entity.
func (UserHistory) Annotations ¶
func (UserHistory) Annotations() []schema.Annotation
Annotations of the UserHistory.
func (UserHistory) Interceptors ¶
func (UserHistory) Interceptors() []ent.Interceptor
Interceptors of the UserHistory
func (UserHistory) Policy ¶ added in v0.23.1
func (UserHistory) Policy() ent.Policy
Policy of the UserHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
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) GetType ¶ added in v0.8.2
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 ¶ added in v0.8.2
func (UserSetting) Name() string
Name returns the name of the UserSetting schema.
func (UserSetting) PluralName ¶ added in v0.8.2
func (UserSetting) PluralName() string
PluralName returns the plural name of the UserSetting schema.
func (UserSetting) Policy ¶
func (UserSetting) Policy() ent.Policy
type UserSettingHistory ¶
UserSettingHistory holds the schema definition for the UserSettingHistory entity.
func (UserSettingHistory) Annotations ¶
func (UserSettingHistory) Annotations() []schema.Annotation
Annotations of the UserSettingHistory.
func (UserSettingHistory) Fields ¶
func (UserSettingHistory) Fields() []ent.Field
Fields of the UserSettingHistory.
func (UserSettingHistory) Indexes ¶
func (UserSettingHistory) Indexes() []ent.Index
Indexes of the UserSettingHistory
func (UserSettingHistory) Interceptors ¶
func (UserSettingHistory) Interceptors() []ent.Interceptor
Interceptors of the UserSettingHistory
func (UserSettingHistory) Policy ¶ added in v0.23.1
func (UserSettingHistory) Policy() ent.Policy
Policy of the UserSettingHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
type Vulnerability ¶ added in v0.43.3
type Vulnerability struct {
SchemaFuncs
ent.Schema
}
Vulnerability defines the vulnerability schema.
func (Vulnerability) Annotations ¶ added in v0.43.3
func (Vulnerability) Annotations() []schema.Annotation
Annotations of the Vulnerability
func (Vulnerability) Edges ¶ added in v0.43.3
func (v Vulnerability) Edges() []ent.Edge
Edges of the Vulnerability
func (Vulnerability) Fields ¶ added in v0.43.3
func (Vulnerability) Fields() []ent.Field
Fields returns vulnerability fields.
func (Vulnerability) GetType ¶ added in v0.43.3
func (Vulnerability) GetType() any
GetType returns the type of the vulnerability schema.
func (Vulnerability) Indexes ¶ added in v0.43.3
func (Vulnerability) Indexes() []ent.Index
Indexes of the Vulnerability
func (Vulnerability) Mixin ¶ added in v0.43.3
func (v Vulnerability) Mixin() []ent.Mixin
Mixin of the Vulnerability
func (Vulnerability) Modules ¶ added in v0.43.3
func (Vulnerability) Modules() []models.OrgModule
func (Vulnerability) Name ¶ added in v0.43.3
func (Vulnerability) Name() string
Name returns the name of the vulnerability schema.
func (Vulnerability) PluralName ¶ added in v0.43.3
func (Vulnerability) PluralName() string
PluralName returns the plural name of the vulnerability schema.
func (Vulnerability) Policy ¶ added in v0.43.3
func (v Vulnerability) Policy() ent.Policy
Policy of the Vulnerability
type VulnerabilityHistory ¶ added in v0.43.3
VulnerabilityHistory holds the schema definition for the VulnerabilityHistory entity.
func (VulnerabilityHistory) Annotations ¶ added in v0.43.3
func (VulnerabilityHistory) Annotations() []schema.Annotation
Annotations of the VulnerabilityHistory.
func (VulnerabilityHistory) Fields ¶ added in v0.43.3
func (VulnerabilityHistory) Fields() []ent.Field
Fields of the VulnerabilityHistory.
func (VulnerabilityHistory) Indexes ¶ added in v0.43.3
func (VulnerabilityHistory) Indexes() []ent.Index
Indexes of the VulnerabilityHistory
func (VulnerabilityHistory) Interceptors ¶ added in v0.43.3
func (VulnerabilityHistory) Interceptors() []ent.Interceptor
Interceptors of the VulnerabilityHistory
func (VulnerabilityHistory) Policy ¶ added in v0.43.3
func (VulnerabilityHistory) Policy() ent.Policy
Policy of the VulnerabilityHistory. ensure history.AllowIfHistoryRequest() is already added to the base policy
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 ¶ added in v0.8.2
PluralName returns the plural name of the Webauthn schema.
Source Files
¶
- actionplan.go
- actionplan_history.go
- apitoken.go
- assessment.go
- assessment_history.go
- assessment_response.go
- assessmentresponse_history.go
- asset.go
- asset_history.go
- basecolors.go
- contact.go
- contact_history.go
- control.go
- control_history.go
- controlimplementation.go
- controlimplementation_history.go
- controlobjective.go
- controlobjective_history.go
- customdomain.go
- customdomain_history.go
- customtypeenum.go
- defaults.go
- dnsverification.go
- dnsverification_history.go
- doc.go
- documentdata.go
- documentdata_history.go
- emailverificationtoken.go
- entity.go
- entity_history.go
- entitytype.go
- entitytype_history.go
- errors.go
- event.go
- evidence.go
- evidence_history.go
- export.go
- file.go
- file_history.go
- filedownload.go
- finding.go
- finding_history.go
- findingcontrol.go
- findingcontrol_history.go
- group.go
- group_history.go
- groupmembership.go
- groupmembership_history.go
- groupsetting.go
- groupsetting_history.go
- hush.go
- hush_history.go
- hush_mixin.go
- impersonationevent.go
- integration.go
- integration_history.go
- internalpolicy.go
- internalpolicy_history.go
- invite.go
- jobresult.go
- jobrunner.go
- jobrunner_registration_token.go
- jobrunner_token.go
- jobtemplate.go
- jobtemplate_history.go
- mappable_domain.go
- mappabledomain_history.go
- mappedcontrol.go
- mappedcontrol_history.go
- mixin_auto_encryption.go
- mixin_controls.go
- mixin_createacess.go
- mixin_customenums.go
- mixin_document.go
- mixin_grouppermissions.go
- mixin_objectowned.go
- mixin_orgowned.go
- mixin_userowned.go
- narrative.go
- narrative_history.go
- note.go
- note_history.go
- notification.go
- onboarding.go
- organization.go
- organization_history.go
- organizationsetting.go
- organizationsetting_history.go
- orgmembership.go
- orgmembership_history.go
- orgmodule.go
- orgprice.go
- orgproduct.go
- orgsubscription.go
- orgsubscription_history.go
- passwordresettoken.go
- personalaccesstoken.go
- procedure.go
- procedure_history.go
- program.go
- program_history.go
- programmembership.go
- programmembership_history.go
- remediation.go
- remediation_history.go
- review.go
- review_history.go
- risk.go
- risk_history.go
- scan.go
- scan_history.go
- scheduledjob.go
- scheduledjob_history.go
- scheduledjobrun.go
- standard.go
- standard_history.go
- subcontrol.go
- subcontrol_history.go
- subprocessor.go
- subprocessor_history.go
- subscriber.go
- tagdefinition.go
- task.go
- task_history.go
- template.go
- template_history.go
- tfasetting.go
- trustcenter.go
- trustcenter_compliance.go
- trustcenter_history.go
- trustcenter_settings.go
- trustcenter_subprocessor.go
- trustcentercompliance_history.go
- trustcenterdoc_history.go
- trustcenterdocument.go
- trustcentersetting_history.go
- trustcentersubprocessor_history.go
- trustcenterwatermarkconfig.go
- trustcenterwatermarkconfig_history.go
- user.go
- user_history.go
- usersetting.go
- usersetting_history.go
- vulnerability.go
- vulnerability_history.go
- webauthn.go