Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Scan) predicate.Scan
- func AssignedTo(v string) predicate.Scan
- func AssignedToContains(v string) predicate.Scan
- func AssignedToContainsFold(v string) predicate.Scan
- func AssignedToEQ(v string) predicate.Scan
- func AssignedToEqualFold(v string) predicate.Scan
- func AssignedToGT(v string) predicate.Scan
- func AssignedToGTE(v string) predicate.Scan
- func AssignedToGroupID(v string) predicate.Scan
- func AssignedToGroupIDContains(v string) predicate.Scan
- func AssignedToGroupIDContainsFold(v string) predicate.Scan
- func AssignedToGroupIDEQ(v string) predicate.Scan
- func AssignedToGroupIDEqualFold(v string) predicate.Scan
- func AssignedToGroupIDGT(v string) predicate.Scan
- func AssignedToGroupIDGTE(v string) predicate.Scan
- func AssignedToGroupIDHasPrefix(v string) predicate.Scan
- func AssignedToGroupIDHasSuffix(v string) predicate.Scan
- func AssignedToGroupIDIn(vs ...string) predicate.Scan
- func AssignedToGroupIDIsNil() predicate.Scan
- func AssignedToGroupIDLT(v string) predicate.Scan
- func AssignedToGroupIDLTE(v string) predicate.Scan
- func AssignedToGroupIDNEQ(v string) predicate.Scan
- func AssignedToGroupIDNotIn(vs ...string) predicate.Scan
- func AssignedToGroupIDNotNil() predicate.Scan
- func AssignedToHasPrefix(v string) predicate.Scan
- func AssignedToHasSuffix(v string) predicate.Scan
- func AssignedToIn(vs ...string) predicate.Scan
- func AssignedToIsNil() predicate.Scan
- func AssignedToLT(v string) predicate.Scan
- func AssignedToLTE(v string) predicate.Scan
- func AssignedToNEQ(v string) predicate.Scan
- func AssignedToNotIn(vs ...string) predicate.Scan
- func AssignedToNotNil() predicate.Scan
- func AssignedToUserID(v string) predicate.Scan
- func AssignedToUserIDContains(v string) predicate.Scan
- func AssignedToUserIDContainsFold(v string) predicate.Scan
- func AssignedToUserIDEQ(v string) predicate.Scan
- func AssignedToUserIDEqualFold(v string) predicate.Scan
- func AssignedToUserIDGT(v string) predicate.Scan
- func AssignedToUserIDGTE(v string) predicate.Scan
- func AssignedToUserIDHasPrefix(v string) predicate.Scan
- func AssignedToUserIDHasSuffix(v string) predicate.Scan
- func AssignedToUserIDIn(vs ...string) predicate.Scan
- func AssignedToUserIDIsNil() predicate.Scan
- func AssignedToUserIDLT(v string) predicate.Scan
- func AssignedToUserIDLTE(v string) predicate.Scan
- func AssignedToUserIDNEQ(v string) predicate.Scan
- func AssignedToUserIDNotIn(vs ...string) predicate.Scan
- func AssignedToUserIDNotNil() predicate.Scan
- func CreatedAt(v time.Time) predicate.Scan
- func CreatedAtEQ(v time.Time) predicate.Scan
- func CreatedAtGT(v time.Time) predicate.Scan
- func CreatedAtGTE(v time.Time) predicate.Scan
- func CreatedAtIn(vs ...time.Time) predicate.Scan
- func CreatedAtIsNil() predicate.Scan
- func CreatedAtLT(v time.Time) predicate.Scan
- func CreatedAtLTE(v time.Time) predicate.Scan
- func CreatedAtNEQ(v time.Time) predicate.Scan
- func CreatedAtNotIn(vs ...time.Time) predicate.Scan
- func CreatedAtNotNil() predicate.Scan
- func CreatedBy(v string) predicate.Scan
- func CreatedByContains(v string) predicate.Scan
- func CreatedByContainsFold(v string) predicate.Scan
- func CreatedByEQ(v string) predicate.Scan
- func CreatedByEqualFold(v string) predicate.Scan
- func CreatedByGT(v string) predicate.Scan
- func CreatedByGTE(v string) predicate.Scan
- func CreatedByHasPrefix(v string) predicate.Scan
- func CreatedByHasSuffix(v string) predicate.Scan
- func CreatedByIn(vs ...string) predicate.Scan
- func CreatedByIsNil() predicate.Scan
- func CreatedByLT(v string) predicate.Scan
- func CreatedByLTE(v string) predicate.Scan
- func CreatedByNEQ(v string) predicate.Scan
- func CreatedByNotIn(vs ...string) predicate.Scan
- func CreatedByNotNil() predicate.Scan
- func DeletedAt(v time.Time) predicate.Scan
- func DeletedAtEQ(v time.Time) predicate.Scan
- func DeletedAtGT(v time.Time) predicate.Scan
- func DeletedAtGTE(v time.Time) predicate.Scan
- func DeletedAtIn(vs ...time.Time) predicate.Scan
- func DeletedAtIsNil() predicate.Scan
- func DeletedAtLT(v time.Time) predicate.Scan
- func DeletedAtLTE(v time.Time) predicate.Scan
- func DeletedAtNEQ(v time.Time) predicate.Scan
- func DeletedAtNotIn(vs ...time.Time) predicate.Scan
- func DeletedAtNotNil() predicate.Scan
- func DeletedBy(v string) predicate.Scan
- func DeletedByContains(v string) predicate.Scan
- func DeletedByContainsFold(v string) predicate.Scan
- func DeletedByEQ(v string) predicate.Scan
- func DeletedByEqualFold(v string) predicate.Scan
- func DeletedByGT(v string) predicate.Scan
- func DeletedByGTE(v string) predicate.Scan
- func DeletedByHasPrefix(v string) predicate.Scan
- func DeletedByHasSuffix(v string) predicate.Scan
- func DeletedByIn(vs ...string) predicate.Scan
- func DeletedByIsNil() predicate.Scan
- func DeletedByLT(v string) predicate.Scan
- func DeletedByLTE(v string) predicate.Scan
- func DeletedByNEQ(v string) predicate.Scan
- func DeletedByNotIn(vs ...string) predicate.Scan
- func DeletedByNotNil() predicate.Scan
- func EnvironmentID(v string) predicate.Scan
- func EnvironmentIDContains(v string) predicate.Scan
- func EnvironmentIDContainsFold(v string) predicate.Scan
- func EnvironmentIDEQ(v string) predicate.Scan
- func EnvironmentIDEqualFold(v string) predicate.Scan
- func EnvironmentIDGT(v string) predicate.Scan
- func EnvironmentIDGTE(v string) predicate.Scan
- func EnvironmentIDHasPrefix(v string) predicate.Scan
- func EnvironmentIDHasSuffix(v string) predicate.Scan
- func EnvironmentIDIn(vs ...string) predicate.Scan
- func EnvironmentIDIsNil() predicate.Scan
- func EnvironmentIDLT(v string) predicate.Scan
- func EnvironmentIDLTE(v string) predicate.Scan
- func EnvironmentIDNEQ(v string) predicate.Scan
- func EnvironmentIDNotIn(vs ...string) predicate.Scan
- func EnvironmentIDNotNil() predicate.Scan
- func EnvironmentName(v string) predicate.Scan
- func EnvironmentNameContains(v string) predicate.Scan
- func EnvironmentNameContainsFold(v string) predicate.Scan
- func EnvironmentNameEQ(v string) predicate.Scan
- func EnvironmentNameEqualFold(v string) predicate.Scan
- func EnvironmentNameGT(v string) predicate.Scan
- func EnvironmentNameGTE(v string) predicate.Scan
- func EnvironmentNameHasPrefix(v string) predicate.Scan
- func EnvironmentNameHasSuffix(v string) predicate.Scan
- func EnvironmentNameIn(vs ...string) predicate.Scan
- func EnvironmentNameIsNil() predicate.Scan
- func EnvironmentNameLT(v string) predicate.Scan
- func EnvironmentNameLTE(v string) predicate.Scan
- func EnvironmentNameNEQ(v string) predicate.Scan
- func EnvironmentNameNotIn(vs ...string) predicate.Scan
- func EnvironmentNameNotNil() predicate.Scan
- func GeneratedByPlatformID(v string) predicate.Scan
- func GeneratedByPlatformIDContains(v string) predicate.Scan
- func GeneratedByPlatformIDContainsFold(v string) predicate.Scan
- func GeneratedByPlatformIDEQ(v string) predicate.Scan
- func GeneratedByPlatformIDEqualFold(v string) predicate.Scan
- func GeneratedByPlatformIDGT(v string) predicate.Scan
- func GeneratedByPlatformIDGTE(v string) predicate.Scan
- func GeneratedByPlatformIDHasPrefix(v string) predicate.Scan
- func GeneratedByPlatformIDHasSuffix(v string) predicate.Scan
- func GeneratedByPlatformIDIn(vs ...string) predicate.Scan
- func GeneratedByPlatformIDIsNil() predicate.Scan
- func GeneratedByPlatformIDLT(v string) predicate.Scan
- func GeneratedByPlatformIDLTE(v string) predicate.Scan
- func GeneratedByPlatformIDNEQ(v string) predicate.Scan
- func GeneratedByPlatformIDNotIn(vs ...string) predicate.Scan
- func GeneratedByPlatformIDNotNil() predicate.Scan
- func HasActionPlans() predicate.Scan
- func HasActionPlansWith(preds ...predicate.ActionPlan) predicate.Scan
- func HasAssets() predicate.Scan
- func HasAssetsWith(preds ...predicate.Asset) predicate.Scan
- func HasAssignedToGroup() predicate.Scan
- func HasAssignedToGroupWith(preds ...predicate.Group) predicate.Scan
- func HasAssignedToUser() predicate.Scan
- func HasAssignedToUserWith(preds ...predicate.User) predicate.Scan
- func HasBlockedGroups() predicate.Scan
- func HasBlockedGroupsWith(preds ...predicate.Group) predicate.Scan
- func HasControls() predicate.Scan
- func HasControlsWith(preds ...predicate.Control) predicate.Scan
- func HasEditors() predicate.Scan
- func HasEditorsWith(preds ...predicate.Group) predicate.Scan
- func HasEntities() predicate.Scan
- func HasEntitiesWith(preds ...predicate.Entity) predicate.Scan
- func HasEnvironment() predicate.Scan
- func HasEnvironmentWith(preds ...predicate.CustomTypeEnum) predicate.Scan
- func HasEvidence() predicate.Scan
- func HasEvidenceWith(preds ...predicate.Evidence) predicate.Scan
- func HasFiles() predicate.Scan
- func HasFilesWith(preds ...predicate.File) predicate.Scan
- func HasGeneratedByPlatform() predicate.Scan
- func HasGeneratedByPlatformWith(preds ...predicate.Platform) predicate.Scan
- func HasOwner() predicate.Scan
- func HasOwnerWith(preds ...predicate.Organization) predicate.Scan
- func HasPerformedByGroup() predicate.Scan
- func HasPerformedByGroupWith(preds ...predicate.Group) predicate.Scan
- func HasPerformedByUser() predicate.Scan
- func HasPerformedByUserWith(preds ...predicate.User) predicate.Scan
- func HasPlatforms() predicate.Scan
- func HasPlatformsWith(preds ...predicate.Platform) predicate.Scan
- func HasRemediations() predicate.Scan
- func HasRemediationsWith(preds ...predicate.Remediation) predicate.Scan
- func HasReviewedByGroup() predicate.Scan
- func HasReviewedByGroupWith(preds ...predicate.Group) predicate.Scan
- func HasReviewedByUser() predicate.Scan
- func HasReviewedByUserWith(preds ...predicate.User) predicate.Scan
- func HasScope() predicate.Scan
- func HasScopeWith(preds ...predicate.CustomTypeEnum) predicate.Scan
- func HasTasks() predicate.Scan
- func HasTasksWith(preds ...predicate.Task) predicate.Scan
- func HasViewers() predicate.Scan
- func HasViewersWith(preds ...predicate.Group) predicate.Scan
- func HasVulnerabilities() predicate.Scan
- func HasVulnerabilitiesWith(preds ...predicate.Vulnerability) predicate.Scan
- func ID(id string) predicate.Scan
- func IDContainsFold(id string) predicate.Scan
- func IDEQ(id string) predicate.Scan
- func IDEqualFold(id string) predicate.Scan
- func IDGT(id string) predicate.Scan
- func IDGTE(id string) predicate.Scan
- func IDIn(ids ...string) predicate.Scan
- func IDLT(id string) predicate.Scan
- func IDLTE(id string) predicate.Scan
- func IDNEQ(id string) predicate.Scan
- func IDNotIn(ids ...string) predicate.Scan
- func MetadataIsNil() predicate.Scan
- func MetadataNotNil() predicate.Scan
- func NextScanRunAt(v models.DateTime) predicate.Scan
- func NextScanRunAtEQ(v models.DateTime) predicate.Scan
- func NextScanRunAtGT(v models.DateTime) predicate.Scan
- func NextScanRunAtGTE(v models.DateTime) predicate.Scan
- func NextScanRunAtIn(vs ...models.DateTime) predicate.Scan
- func NextScanRunAtIsNil() predicate.Scan
- func NextScanRunAtLT(v models.DateTime) predicate.Scan
- func NextScanRunAtLTE(v models.DateTime) predicate.Scan
- func NextScanRunAtNEQ(v models.DateTime) predicate.Scan
- func NextScanRunAtNotIn(vs ...models.DateTime) predicate.Scan
- func NextScanRunAtNotNil() predicate.Scan
- func Not(p predicate.Scan) predicate.Scan
- func Or(predicates ...predicate.Scan) predicate.Scan
- func OwnerID(v string) predicate.Scan
- func OwnerIDContains(v string) predicate.Scan
- func OwnerIDContainsFold(v string) predicate.Scan
- func OwnerIDEQ(v string) predicate.Scan
- func OwnerIDEqualFold(v string) predicate.Scan
- func OwnerIDGT(v string) predicate.Scan
- func OwnerIDGTE(v string) predicate.Scan
- func OwnerIDHasPrefix(v string) predicate.Scan
- func OwnerIDHasSuffix(v string) predicate.Scan
- func OwnerIDIn(vs ...string) predicate.Scan
- func OwnerIDIsNil() predicate.Scan
- func OwnerIDLT(v string) predicate.Scan
- func OwnerIDLTE(v string) predicate.Scan
- func OwnerIDNEQ(v string) predicate.Scan
- func OwnerIDNotIn(vs ...string) predicate.Scan
- func OwnerIDNotNil() predicate.Scan
- func PerformedBy(v string) predicate.Scan
- func PerformedByContains(v string) predicate.Scan
- func PerformedByContainsFold(v string) predicate.Scan
- func PerformedByEQ(v string) predicate.Scan
- func PerformedByEqualFold(v string) predicate.Scan
- func PerformedByGT(v string) predicate.Scan
- func PerformedByGTE(v string) predicate.Scan
- func PerformedByGroupID(v string) predicate.Scan
- func PerformedByGroupIDContains(v string) predicate.Scan
- func PerformedByGroupIDContainsFold(v string) predicate.Scan
- func PerformedByGroupIDEQ(v string) predicate.Scan
- func PerformedByGroupIDEqualFold(v string) predicate.Scan
- func PerformedByGroupIDGT(v string) predicate.Scan
- func PerformedByGroupIDGTE(v string) predicate.Scan
- func PerformedByGroupIDHasPrefix(v string) predicate.Scan
- func PerformedByGroupIDHasSuffix(v string) predicate.Scan
- func PerformedByGroupIDIn(vs ...string) predicate.Scan
- func PerformedByGroupIDIsNil() predicate.Scan
- func PerformedByGroupIDLT(v string) predicate.Scan
- func PerformedByGroupIDLTE(v string) predicate.Scan
- func PerformedByGroupIDNEQ(v string) predicate.Scan
- func PerformedByGroupIDNotIn(vs ...string) predicate.Scan
- func PerformedByGroupIDNotNil() predicate.Scan
- func PerformedByHasPrefix(v string) predicate.Scan
- func PerformedByHasSuffix(v string) predicate.Scan
- func PerformedByIn(vs ...string) predicate.Scan
- func PerformedByIsNil() predicate.Scan
- func PerformedByLT(v string) predicate.Scan
- func PerformedByLTE(v string) predicate.Scan
- func PerformedByNEQ(v string) predicate.Scan
- func PerformedByNotIn(vs ...string) predicate.Scan
- func PerformedByNotNil() predicate.Scan
- func PerformedByUserID(v string) predicate.Scan
- func PerformedByUserIDContains(v string) predicate.Scan
- func PerformedByUserIDContainsFold(v string) predicate.Scan
- func PerformedByUserIDEQ(v string) predicate.Scan
- func PerformedByUserIDEqualFold(v string) predicate.Scan
- func PerformedByUserIDGT(v string) predicate.Scan
- func PerformedByUserIDGTE(v string) predicate.Scan
- func PerformedByUserIDHasPrefix(v string) predicate.Scan
- func PerformedByUserIDHasSuffix(v string) predicate.Scan
- func PerformedByUserIDIn(vs ...string) predicate.Scan
- func PerformedByUserIDIsNil() predicate.Scan
- func PerformedByUserIDLT(v string) predicate.Scan
- func PerformedByUserIDLTE(v string) predicate.Scan
- func PerformedByUserIDNEQ(v string) predicate.Scan
- func PerformedByUserIDNotIn(vs ...string) predicate.Scan
- func PerformedByUserIDNotNil() predicate.Scan
- func ReviewedBy(v string) predicate.Scan
- func ReviewedByContains(v string) predicate.Scan
- func ReviewedByContainsFold(v string) predicate.Scan
- func ReviewedByEQ(v string) predicate.Scan
- func ReviewedByEqualFold(v string) predicate.Scan
- func ReviewedByGT(v string) predicate.Scan
- func ReviewedByGTE(v string) predicate.Scan
- func ReviewedByGroupID(v string) predicate.Scan
- func ReviewedByGroupIDContains(v string) predicate.Scan
- func ReviewedByGroupIDContainsFold(v string) predicate.Scan
- func ReviewedByGroupIDEQ(v string) predicate.Scan
- func ReviewedByGroupIDEqualFold(v string) predicate.Scan
- func ReviewedByGroupIDGT(v string) predicate.Scan
- func ReviewedByGroupIDGTE(v string) predicate.Scan
- func ReviewedByGroupIDHasPrefix(v string) predicate.Scan
- func ReviewedByGroupIDHasSuffix(v string) predicate.Scan
- func ReviewedByGroupIDIn(vs ...string) predicate.Scan
- func ReviewedByGroupIDIsNil() predicate.Scan
- func ReviewedByGroupIDLT(v string) predicate.Scan
- func ReviewedByGroupIDLTE(v string) predicate.Scan
- func ReviewedByGroupIDNEQ(v string) predicate.Scan
- func ReviewedByGroupIDNotIn(vs ...string) predicate.Scan
- func ReviewedByGroupIDNotNil() predicate.Scan
- func ReviewedByHasPrefix(v string) predicate.Scan
- func ReviewedByHasSuffix(v string) predicate.Scan
- func ReviewedByIn(vs ...string) predicate.Scan
- func ReviewedByIsNil() predicate.Scan
- func ReviewedByLT(v string) predicate.Scan
- func ReviewedByLTE(v string) predicate.Scan
- func ReviewedByNEQ(v string) predicate.Scan
- func ReviewedByNotIn(vs ...string) predicate.Scan
- func ReviewedByNotNil() predicate.Scan
- func ReviewedByUserID(v string) predicate.Scan
- func ReviewedByUserIDContains(v string) predicate.Scan
- func ReviewedByUserIDContainsFold(v string) predicate.Scan
- func ReviewedByUserIDEQ(v string) predicate.Scan
- func ReviewedByUserIDEqualFold(v string) predicate.Scan
- func ReviewedByUserIDGT(v string) predicate.Scan
- func ReviewedByUserIDGTE(v string) predicate.Scan
- func ReviewedByUserIDHasPrefix(v string) predicate.Scan
- func ReviewedByUserIDHasSuffix(v string) predicate.Scan
- func ReviewedByUserIDIn(vs ...string) predicate.Scan
- func ReviewedByUserIDIsNil() predicate.Scan
- func ReviewedByUserIDLT(v string) predicate.Scan
- func ReviewedByUserIDLTE(v string) predicate.Scan
- func ReviewedByUserIDNEQ(v string) predicate.Scan
- func ReviewedByUserIDNotIn(vs ...string) predicate.Scan
- func ReviewedByUserIDNotNil() predicate.Scan
- func ScanDate(v models.DateTime) predicate.Scan
- func ScanDateEQ(v models.DateTime) predicate.Scan
- func ScanDateGT(v models.DateTime) predicate.Scan
- func ScanDateGTE(v models.DateTime) predicate.Scan
- func ScanDateIn(vs ...models.DateTime) predicate.Scan
- func ScanDateIsNil() predicate.Scan
- func ScanDateLT(v models.DateTime) predicate.Scan
- func ScanDateLTE(v models.DateTime) predicate.Scan
- func ScanDateNEQ(v models.DateTime) predicate.Scan
- func ScanDateNotIn(vs ...models.DateTime) predicate.Scan
- func ScanDateNotNil() predicate.Scan
- func ScanSchedule(v models.Cron) predicate.Scan
- func ScanScheduleContains(v models.Cron) predicate.Scan
- func ScanScheduleContainsFold(v models.Cron) predicate.Scan
- func ScanScheduleEQ(v models.Cron) predicate.Scan
- func ScanScheduleEqualFold(v models.Cron) predicate.Scan
- func ScanScheduleGT(v models.Cron) predicate.Scan
- func ScanScheduleGTE(v models.Cron) predicate.Scan
- func ScanScheduleHasPrefix(v models.Cron) predicate.Scan
- func ScanScheduleHasSuffix(v models.Cron) predicate.Scan
- func ScanScheduleIn(vs ...models.Cron) predicate.Scan
- func ScanScheduleIsNil() predicate.Scan
- func ScanScheduleLT(v models.Cron) predicate.Scan
- func ScanScheduleLTE(v models.Cron) predicate.Scan
- func ScanScheduleNEQ(v models.Cron) predicate.Scan
- func ScanScheduleNotIn(vs ...models.Cron) predicate.Scan
- func ScanScheduleNotNil() predicate.Scan
- func ScanTypeEQ(v enums.ScanType) predicate.Scan
- func ScanTypeIn(vs ...enums.ScanType) predicate.Scan
- func ScanTypeNEQ(v enums.ScanType) predicate.Scan
- func ScanTypeNotIn(vs ...enums.ScanType) predicate.Scan
- func ScanTypeValidator(st enums.ScanType) error
- func ScopeID(v string) predicate.Scan
- func ScopeIDContains(v string) predicate.Scan
- func ScopeIDContainsFold(v string) predicate.Scan
- func ScopeIDEQ(v string) predicate.Scan
- func ScopeIDEqualFold(v string) predicate.Scan
- func ScopeIDGT(v string) predicate.Scan
- func ScopeIDGTE(v string) predicate.Scan
- func ScopeIDHasPrefix(v string) predicate.Scan
- func ScopeIDHasSuffix(v string) predicate.Scan
- func ScopeIDIn(vs ...string) predicate.Scan
- func ScopeIDIsNil() predicate.Scan
- func ScopeIDLT(v string) predicate.Scan
- func ScopeIDLTE(v string) predicate.Scan
- func ScopeIDNEQ(v string) predicate.Scan
- func ScopeIDNotIn(vs ...string) predicate.Scan
- func ScopeIDNotNil() predicate.Scan
- func ScopeName(v string) predicate.Scan
- func ScopeNameContains(v string) predicate.Scan
- func ScopeNameContainsFold(v string) predicate.Scan
- func ScopeNameEQ(v string) predicate.Scan
- func ScopeNameEqualFold(v string) predicate.Scan
- func ScopeNameGT(v string) predicate.Scan
- func ScopeNameGTE(v string) predicate.Scan
- func ScopeNameHasPrefix(v string) predicate.Scan
- func ScopeNameHasSuffix(v string) predicate.Scan
- func ScopeNameIn(vs ...string) predicate.Scan
- func ScopeNameIsNil() predicate.Scan
- func ScopeNameLT(v string) predicate.Scan
- func ScopeNameLTE(v string) predicate.Scan
- func ScopeNameNEQ(v string) predicate.Scan
- func ScopeNameNotIn(vs ...string) predicate.Scan
- func ScopeNameNotNil() predicate.Scan
- func StatusEQ(v enums.ScanStatus) predicate.Scan
- func StatusIn(vs ...enums.ScanStatus) predicate.Scan
- func StatusNEQ(v enums.ScanStatus) predicate.Scan
- func StatusNotIn(vs ...enums.ScanStatus) predicate.Scan
- func StatusValidator(s enums.ScanStatus) error
- func TagsIsNil() predicate.Scan
- func TagsNotNil() predicate.Scan
- func Target(v string) predicate.Scan
- func TargetContains(v string) predicate.Scan
- func TargetContainsFold(v string) predicate.Scan
- func TargetEQ(v string) predicate.Scan
- func TargetEqualFold(v string) predicate.Scan
- func TargetGT(v string) predicate.Scan
- func TargetGTE(v string) predicate.Scan
- func TargetHasPrefix(v string) predicate.Scan
- func TargetHasSuffix(v string) predicate.Scan
- func TargetIn(vs ...string) predicate.Scan
- func TargetLT(v string) predicate.Scan
- func TargetLTE(v string) predicate.Scan
- func TargetNEQ(v string) predicate.Scan
- func TargetNotIn(vs ...string) predicate.Scan
- func UpdatedAt(v time.Time) predicate.Scan
- func UpdatedAtEQ(v time.Time) predicate.Scan
- func UpdatedAtGT(v time.Time) predicate.Scan
- func UpdatedAtGTE(v time.Time) predicate.Scan
- func UpdatedAtIn(vs ...time.Time) predicate.Scan
- func UpdatedAtIsNil() predicate.Scan
- func UpdatedAtLT(v time.Time) predicate.Scan
- func UpdatedAtLTE(v time.Time) predicate.Scan
- func UpdatedAtNEQ(v time.Time) predicate.Scan
- func UpdatedAtNotIn(vs ...time.Time) predicate.Scan
- func UpdatedAtNotNil() predicate.Scan
- func UpdatedBy(v string) predicate.Scan
- func UpdatedByContains(v string) predicate.Scan
- func UpdatedByContainsFold(v string) predicate.Scan
- func UpdatedByEQ(v string) predicate.Scan
- func UpdatedByEqualFold(v string) predicate.Scan
- func UpdatedByGT(v string) predicate.Scan
- func UpdatedByGTE(v string) predicate.Scan
- func UpdatedByHasPrefix(v string) predicate.Scan
- func UpdatedByHasSuffix(v string) predicate.Scan
- func UpdatedByIn(vs ...string) predicate.Scan
- func UpdatedByIsNil() predicate.Scan
- func UpdatedByLT(v string) predicate.Scan
- func UpdatedByLTE(v string) predicate.Scan
- func UpdatedByNEQ(v string) predicate.Scan
- func UpdatedByNotIn(vs ...string) predicate.Scan
- func UpdatedByNotNil() predicate.Scan
- func ValidColumn(column string) bool
- func VulnerabilityIdsIsNil() predicate.Scan
- func VulnerabilityIdsNotNil() predicate.Scan
- type OrderOption
- func ByActionPlans(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByActionPlansCount(opts ...sql.OrderTermOption) OrderOption
- func ByAssets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAssetsCount(opts ...sql.OrderTermOption) OrderOption
- func ByAssignedTo(opts ...sql.OrderTermOption) OrderOption
- func ByAssignedToGroupField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByAssignedToGroupID(opts ...sql.OrderTermOption) OrderOption
- func ByAssignedToUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByAssignedToUserID(opts ...sql.OrderTermOption) OrderOption
- func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByControlsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEditorsCount(opts ...sql.OrderTermOption) OrderOption
- func ByEntities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEntitiesCount(opts ...sql.OrderTermOption) OrderOption
- func ByEnvironmentField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
- func ByEnvironmentName(opts ...sql.OrderTermOption) OrderOption
- func ByEvidence(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEvidenceCount(opts ...sql.OrderTermOption) OrderOption
- func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFilesCount(opts ...sql.OrderTermOption) OrderOption
- func ByGeneratedByPlatformField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByGeneratedByPlatformID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByNextScanRunAt(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByPerformedBy(opts ...sql.OrderTermOption) OrderOption
- func ByPerformedByGroupField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByPerformedByGroupID(opts ...sql.OrderTermOption) OrderOption
- func ByPerformedByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByPerformedByUserID(opts ...sql.OrderTermOption) OrderOption
- func ByPlatforms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByPlatformsCount(opts ...sql.OrderTermOption) OrderOption
- func ByRemediations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRemediationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByReviewedBy(opts ...sql.OrderTermOption) OrderOption
- func ByReviewedByGroupField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByReviewedByGroupID(opts ...sql.OrderTermOption) OrderOption
- func ByReviewedByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByReviewedByUserID(opts ...sql.OrderTermOption) OrderOption
- func ByScanDate(opts ...sql.OrderTermOption) OrderOption
- func ByScanSchedule(opts ...sql.OrderTermOption) OrderOption
- func ByScanType(opts ...sql.OrderTermOption) OrderOption
- func ByScopeField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByScopeID(opts ...sql.OrderTermOption) OrderOption
- func ByScopeName(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTarget(opts ...sql.OrderTermOption) OrderOption
- func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByViewers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByViewersCount(opts ...sql.OrderTermOption) OrderOption
- func ByVulnerabilities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByVulnerabilitiesCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the scan type in the database. Label = "scan" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldReviewedBy holds the string denoting the reviewed_by field in the database. FieldReviewedBy = "reviewed_by" // FieldReviewedByUserID holds the string denoting the reviewed_by_user_id field in the database. FieldReviewedByUserID = "reviewed_by_user_id" // FieldReviewedByGroupID holds the string denoting the reviewed_by_group_id field in the database. FieldReviewedByGroupID = "reviewed_by_group_id" // FieldAssignedTo holds the string denoting the assigned_to field in the database. FieldAssignedTo = "assigned_to" // FieldAssignedToUserID holds the string denoting the assigned_to_user_id field in the database. FieldAssignedToUserID = "assigned_to_user_id" // FieldAssignedToGroupID holds the string denoting the assigned_to_group_id field in the database. FieldAssignedToGroupID = "assigned_to_group_id" // FieldEnvironmentName holds the string denoting the environment_name field in the database. FieldEnvironmentName = "environment_name" // FieldEnvironmentID holds the string denoting the environment_id field in the database. FieldEnvironmentID = "environment_id" // FieldScopeName holds the string denoting the scope_name field in the database. FieldScopeName = "scope_name" // FieldScopeID holds the string denoting the scope_id field in the database. FieldScopeID = "scope_id" // FieldTarget holds the string denoting the target field in the database. FieldTarget = "target" // FieldScanType holds the string denoting the scan_type field in the database. FieldScanType = "scan_type" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // FieldScanDate holds the string denoting the scan_date field in the database. FieldScanDate = "scan_date" // FieldScanSchedule holds the string denoting the scan_schedule field in the database. FieldScanSchedule = "scan_schedule" // FieldNextScanRunAt holds the string denoting the next_scan_run_at field in the database. FieldNextScanRunAt = "next_scan_run_at" // FieldPerformedBy holds the string denoting the performed_by field in the database. FieldPerformedBy = "performed_by" // FieldPerformedByUserID holds the string denoting the performed_by_user_id field in the database. FieldPerformedByUserID = "performed_by_user_id" // FieldPerformedByGroupID holds the string denoting the performed_by_group_id field in the database. FieldPerformedByGroupID = "performed_by_group_id" // FieldGeneratedByPlatformID holds the string denoting the generated_by_platform_id field in the database. FieldGeneratedByPlatformID = "generated_by_platform_id" // FieldVulnerabilityIds holds the string denoting the vulnerability_ids field in the database. FieldVulnerabilityIds = "vulnerability_ids" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeBlockedGroups holds the string denoting the blocked_groups edge name in mutations. EdgeBlockedGroups = "blocked_groups" // EdgeEditors holds the string denoting the editors edge name in mutations. EdgeEditors = "editors" // EdgeViewers holds the string denoting the viewers edge name in mutations. EdgeViewers = "viewers" // EdgeReviewedByUser holds the string denoting the reviewed_by_user edge name in mutations. EdgeReviewedByUser = "reviewed_by_user" // EdgeReviewedByGroup holds the string denoting the reviewed_by_group edge name in mutations. EdgeReviewedByGroup = "reviewed_by_group" // EdgeAssignedToUser holds the string denoting the assigned_to_user edge name in mutations. EdgeAssignedToUser = "assigned_to_user" // EdgeAssignedToGroup holds the string denoting the assigned_to_group edge name in mutations. EdgeAssignedToGroup = "assigned_to_group" // EdgeEnvironment holds the string denoting the environment edge name in mutations. EdgeEnvironment = "environment" // EdgeScope holds the string denoting the scope edge name in mutations. EdgeScope = "scope" // EdgeAssets holds the string denoting the assets edge name in mutations. EdgeAssets = "assets" // EdgeEntities holds the string denoting the entities edge name in mutations. EdgeEntities = "entities" // EdgeEvidence holds the string denoting the evidence edge name in mutations. EdgeEvidence = "evidence" // EdgeFiles holds the string denoting the files edge name in mutations. EdgeFiles = "files" // EdgeRemediations holds the string denoting the remediations edge name in mutations. EdgeRemediations = "remediations" // EdgeActionPlans holds the string denoting the action_plans edge name in mutations. EdgeActionPlans = "action_plans" // EdgeTasks holds the string denoting the tasks edge name in mutations. EdgeTasks = "tasks" // EdgePlatforms holds the string denoting the platforms edge name in mutations. EdgePlatforms = "platforms" // EdgeVulnerabilities holds the string denoting the vulnerabilities edge name in mutations. EdgeVulnerabilities = "vulnerabilities" // EdgeControls holds the string denoting the controls edge name in mutations. EdgeControls = "controls" // EdgeGeneratedByPlatform holds the string denoting the generated_by_platform edge name in mutations. EdgeGeneratedByPlatform = "generated_by_platform" // EdgePerformedByUser holds the string denoting the performed_by_user edge name in mutations. EdgePerformedByUser = "performed_by_user" // EdgePerformedByGroup holds the string denoting the performed_by_group edge name in mutations. EdgePerformedByGroup = "performed_by_group" // Table holds the table name of the scan in the database. Table = "scans" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "scans" // OwnerInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OwnerInverseTable = "organizations" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "owner_id" // BlockedGroupsTable is the table that holds the blocked_groups relation/edge. The primary key declared below. BlockedGroupsTable = "scan_blocked_groups" // BlockedGroupsInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. BlockedGroupsInverseTable = "groups" // EditorsTable is the table that holds the editors relation/edge. The primary key declared below. EditorsTable = "scan_editors" // EditorsInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. EditorsInverseTable = "groups" // ViewersTable is the table that holds the viewers relation/edge. The primary key declared below. ViewersTable = "scan_viewers" // ViewersInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. ViewersInverseTable = "groups" // ReviewedByUserTable is the table that holds the reviewed_by_user relation/edge. ReviewedByUserTable = "scans" // ReviewedByUserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. ReviewedByUserInverseTable = "users" // ReviewedByUserColumn is the table column denoting the reviewed_by_user relation/edge. ReviewedByUserColumn = "reviewed_by_user_id" // ReviewedByGroupTable is the table that holds the reviewed_by_group relation/edge. ReviewedByGroupTable = "scans" // ReviewedByGroupInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. ReviewedByGroupInverseTable = "groups" // ReviewedByGroupColumn is the table column denoting the reviewed_by_group relation/edge. ReviewedByGroupColumn = "reviewed_by_group_id" // AssignedToUserTable is the table that holds the assigned_to_user relation/edge. AssignedToUserTable = "scans" // AssignedToUserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. AssignedToUserInverseTable = "users" // AssignedToUserColumn is the table column denoting the assigned_to_user relation/edge. AssignedToUserColumn = "assigned_to_user_id" // AssignedToGroupTable is the table that holds the assigned_to_group relation/edge. AssignedToGroupTable = "scans" // AssignedToGroupInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. AssignedToGroupInverseTable = "groups" // AssignedToGroupColumn is the table column denoting the assigned_to_group relation/edge. AssignedToGroupColumn = "assigned_to_group_id" // EnvironmentTable is the table that holds the environment relation/edge. EnvironmentTable = "scans" // EnvironmentInverseTable is the table name for the CustomTypeEnum entity. // It exists in this package in order to avoid circular dependency with the "customtypeenum" package. EnvironmentInverseTable = "custom_type_enums" // EnvironmentColumn is the table column denoting the environment relation/edge. EnvironmentColumn = "environment_id" // ScopeTable is the table that holds the scope relation/edge. ScopeTable = "scans" // ScopeInverseTable is the table name for the CustomTypeEnum entity. // It exists in this package in order to avoid circular dependency with the "customtypeenum" package. ScopeInverseTable = "custom_type_enums" // ScopeColumn is the table column denoting the scope relation/edge. ScopeColumn = "scope_id" // AssetsTable is the table that holds the assets relation/edge. The primary key declared below. AssetsTable = "scan_assets" // AssetsInverseTable is the table name for the Asset entity. // It exists in this package in order to avoid circular dependency with the "asset" package. AssetsInverseTable = "assets" // EntitiesTable is the table that holds the entities relation/edge. EntitiesTable = "entities" // EntitiesInverseTable is the table name for the Entity entity. // It exists in this package in order to avoid circular dependency with the "entity" package. EntitiesInverseTable = "entities" // EntitiesColumn is the table column denoting the entities relation/edge. EntitiesColumn = "scan_entities" // EvidenceTable is the table that holds the evidence relation/edge. The primary key declared below. EvidenceTable = "scan_evidence" // EvidenceInverseTable is the table name for the Evidence entity. // It exists in this package in order to avoid circular dependency with the "evidence" package. EvidenceInverseTable = "evidences" // FilesTable is the table that holds the files relation/edge. The primary key declared below. FilesTable = "scan_files" // FilesInverseTable is the table name for the File entity. // It exists in this package in order to avoid circular dependency with the "file" package. FilesInverseTable = "files" // RemediationsTable is the table that holds the remediations relation/edge. The primary key declared below. RemediationsTable = "scan_remediations" // RemediationsInverseTable is the table name for the Remediation entity. // It exists in this package in order to avoid circular dependency with the "remediation" package. RemediationsInverseTable = "remediations" // ActionPlansTable is the table that holds the action_plans relation/edge. The primary key declared below. ActionPlansTable = "scan_action_plans" // ActionPlansInverseTable is the table name for the ActionPlan entity. // It exists in this package in order to avoid circular dependency with the "actionplan" package. ActionPlansInverseTable = "action_plans" // TasksTable is the table that holds the tasks relation/edge. The primary key declared below. TasksTable = "scan_tasks" // TasksInverseTable is the table name for the Task entity. // It exists in this package in order to avoid circular dependency with the "task" package. TasksInverseTable = "tasks" // PlatformsTable is the table that holds the platforms relation/edge. The primary key declared below. PlatformsTable = "platform_scans" // PlatformsInverseTable is the table name for the Platform entity. // It exists in this package in order to avoid circular dependency with the "platform" package. PlatformsInverseTable = "platforms" // VulnerabilitiesTable is the table that holds the vulnerabilities relation/edge. The primary key declared below. VulnerabilitiesTable = "vulnerability_scans" // VulnerabilitiesInverseTable is the table name for the Vulnerability entity. // It exists in this package in order to avoid circular dependency with the "vulnerability" package. VulnerabilitiesInverseTable = "vulnerabilities" // ControlsTable is the table that holds the controls relation/edge. The primary key declared below. ControlsTable = "control_scans" // ControlsInverseTable is the table name for the Control entity. // It exists in this package in order to avoid circular dependency with the "control" package. ControlsInverseTable = "controls" // GeneratedByPlatformTable is the table that holds the generated_by_platform relation/edge. GeneratedByPlatformTable = "scans" // GeneratedByPlatformInverseTable is the table name for the Platform entity. // It exists in this package in order to avoid circular dependency with the "platform" package. GeneratedByPlatformInverseTable = "platforms" // GeneratedByPlatformColumn is the table column denoting the generated_by_platform relation/edge. GeneratedByPlatformColumn = "generated_by_platform_id" // PerformedByUserTable is the table that holds the performed_by_user relation/edge. PerformedByUserTable = "scans" // PerformedByUserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. PerformedByUserInverseTable = "users" // PerformedByUserColumn is the table column denoting the performed_by_user relation/edge. PerformedByUserColumn = "performed_by_user_id" // PerformedByGroupTable is the table that holds the performed_by_group relation/edge. PerformedByGroupTable = "scans" // PerformedByGroupInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. PerformedByGroupInverseTable = "groups" // PerformedByGroupColumn is the table column denoting the performed_by_group relation/edge. PerformedByGroupColumn = "performed_by_group_id" )
const DefaultScanType enums.ScanType = "DOMAIN"
const DefaultStatus enums.ScanStatus = "PROCESSING"
Variables ¶
var ( // BlockedGroupsPrimaryKey and BlockedGroupsColumn2 are the table columns denoting the // primary key for the blocked_groups relation (M2M). BlockedGroupsPrimaryKey = []string{"scan_id", "group_id"} // EditorsPrimaryKey and EditorsColumn2 are the table columns denoting the // primary key for the editors relation (M2M). EditorsPrimaryKey = []string{"scan_id", "group_id"} // ViewersPrimaryKey and ViewersColumn2 are the table columns denoting the // primary key for the viewers relation (M2M). ViewersPrimaryKey = []string{"scan_id", "group_id"} // AssetsPrimaryKey and AssetsColumn2 are the table columns denoting the // primary key for the assets relation (M2M). AssetsPrimaryKey = []string{"scan_id", "asset_id"} // EvidencePrimaryKey and EvidenceColumn2 are the table columns denoting the // primary key for the evidence relation (M2M). EvidencePrimaryKey = []string{"scan_id", "evidence_id"} // FilesPrimaryKey and FilesColumn2 are the table columns denoting the // primary key for the files relation (M2M). FilesPrimaryKey = []string{"scan_id", "file_id"} // RemediationsPrimaryKey and RemediationsColumn2 are the table columns denoting the // primary key for the remediations relation (M2M). RemediationsPrimaryKey = []string{"scan_id", "remediation_id"} // ActionPlansPrimaryKey and ActionPlansColumn2 are the table columns denoting the // primary key for the action_plans relation (M2M). ActionPlansPrimaryKey = []string{"scan_id", "action_plan_id"} // TasksPrimaryKey and TasksColumn2 are the table columns denoting the // primary key for the tasks relation (M2M). TasksPrimaryKey = []string{"scan_id", "task_id"} // PlatformsPrimaryKey and PlatformsColumn2 are the table columns denoting the // primary key for the platforms relation (M2M). PlatformsPrimaryKey = []string{"platform_id", "scan_id"} // VulnerabilitiesPrimaryKey and VulnerabilitiesColumn2 are the table columns denoting the // primary key for the vulnerabilities relation (M2M). VulnerabilitiesPrimaryKey = []string{"vulnerability_id", "scan_id"} // ControlsPrimaryKey and ControlsColumn2 are the table columns denoting the // primary key for the controls relation (M2M). ControlsPrimaryKey = []string{"control_id", "scan_id"} )
var ( Hooks [10]ent.Hook Interceptors [2]ent.Interceptor Policy ent.Policy // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save. OwnerIDValidator func(string) error // TargetValidator is a validator for the "target" field. It is called by the builders before save. TargetValidator func(string) error // ScanScheduleValidator is a validator for the "scan_schedule" field. It is called by the builders before save. ScanScheduleValidator func(string) error // DefaultVulnerabilityIds holds the default value on creation for the "vulnerability_ids" field. DefaultVulnerabilityIds []string // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldTags, FieldOwnerID, FieldReviewedBy, FieldReviewedByUserID, FieldReviewedByGroupID, FieldAssignedTo, FieldAssignedToUserID, FieldAssignedToGroupID, FieldEnvironmentName, FieldEnvironmentID, FieldScopeName, FieldScopeID, FieldTarget, FieldScanType, FieldMetadata, FieldScanDate, FieldScanSchedule, FieldNextScanRunAt, FieldPerformedBy, FieldPerformedByUserID, FieldPerformedByGroupID, FieldGeneratedByPlatformID, FieldVulnerabilityIds, FieldStatus, }
Columns holds all SQL columns for scan fields.
var ForeignKeys = []string{
"entity_scans",
"finding_scans",
"risk_scans",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "scans" table and are not defined as standalone fields in the schema.
Functions ¶
func AssignedTo ¶ added in v1.5.0
AssignedTo applies equality check predicate on the "assigned_to" field. It's identical to AssignedToEQ.
func AssignedToContains ¶ added in v1.5.0
AssignedToContains applies the Contains predicate on the "assigned_to" field.
func AssignedToContainsFold ¶ added in v1.5.0
AssignedToContainsFold applies the ContainsFold predicate on the "assigned_to" field.
func AssignedToEQ ¶ added in v1.5.0
AssignedToEQ applies the EQ predicate on the "assigned_to" field.
func AssignedToEqualFold ¶ added in v1.5.0
AssignedToEqualFold applies the EqualFold predicate on the "assigned_to" field.
func AssignedToGT ¶ added in v1.5.0
AssignedToGT applies the GT predicate on the "assigned_to" field.
func AssignedToGTE ¶ added in v1.5.0
AssignedToGTE applies the GTE predicate on the "assigned_to" field.
func AssignedToGroupID ¶ added in v1.5.0
AssignedToGroupID applies equality check predicate on the "assigned_to_group_id" field. It's identical to AssignedToGroupIDEQ.
func AssignedToGroupIDContains ¶ added in v1.5.0
AssignedToGroupIDContains applies the Contains predicate on the "assigned_to_group_id" field.
func AssignedToGroupIDContainsFold ¶ added in v1.5.0
AssignedToGroupIDContainsFold applies the ContainsFold predicate on the "assigned_to_group_id" field.
func AssignedToGroupIDEQ ¶ added in v1.5.0
AssignedToGroupIDEQ applies the EQ predicate on the "assigned_to_group_id" field.
func AssignedToGroupIDEqualFold ¶ added in v1.5.0
AssignedToGroupIDEqualFold applies the EqualFold predicate on the "assigned_to_group_id" field.
func AssignedToGroupIDGT ¶ added in v1.5.0
AssignedToGroupIDGT applies the GT predicate on the "assigned_to_group_id" field.
func AssignedToGroupIDGTE ¶ added in v1.5.0
AssignedToGroupIDGTE applies the GTE predicate on the "assigned_to_group_id" field.
func AssignedToGroupIDHasPrefix ¶ added in v1.5.0
AssignedToGroupIDHasPrefix applies the HasPrefix predicate on the "assigned_to_group_id" field.
func AssignedToGroupIDHasSuffix ¶ added in v1.5.0
AssignedToGroupIDHasSuffix applies the HasSuffix predicate on the "assigned_to_group_id" field.
func AssignedToGroupIDIn ¶ added in v1.5.0
AssignedToGroupIDIn applies the In predicate on the "assigned_to_group_id" field.
func AssignedToGroupIDIsNil ¶ added in v1.5.0
AssignedToGroupIDIsNil applies the IsNil predicate on the "assigned_to_group_id" field.
func AssignedToGroupIDLT ¶ added in v1.5.0
AssignedToGroupIDLT applies the LT predicate on the "assigned_to_group_id" field.
func AssignedToGroupIDLTE ¶ added in v1.5.0
AssignedToGroupIDLTE applies the LTE predicate on the "assigned_to_group_id" field.
func AssignedToGroupIDNEQ ¶ added in v1.5.0
AssignedToGroupIDNEQ applies the NEQ predicate on the "assigned_to_group_id" field.
func AssignedToGroupIDNotIn ¶ added in v1.5.0
AssignedToGroupIDNotIn applies the NotIn predicate on the "assigned_to_group_id" field.
func AssignedToGroupIDNotNil ¶ added in v1.5.0
AssignedToGroupIDNotNil applies the NotNil predicate on the "assigned_to_group_id" field.
func AssignedToHasPrefix ¶ added in v1.5.0
AssignedToHasPrefix applies the HasPrefix predicate on the "assigned_to" field.
func AssignedToHasSuffix ¶ added in v1.5.0
AssignedToHasSuffix applies the HasSuffix predicate on the "assigned_to" field.
func AssignedToIn ¶ added in v1.5.0
AssignedToIn applies the In predicate on the "assigned_to" field.
func AssignedToIsNil ¶ added in v1.5.0
AssignedToIsNil applies the IsNil predicate on the "assigned_to" field.
func AssignedToLT ¶ added in v1.5.0
AssignedToLT applies the LT predicate on the "assigned_to" field.
func AssignedToLTE ¶ added in v1.5.0
AssignedToLTE applies the LTE predicate on the "assigned_to" field.
func AssignedToNEQ ¶ added in v1.5.0
AssignedToNEQ applies the NEQ predicate on the "assigned_to" field.
func AssignedToNotIn ¶ added in v1.5.0
AssignedToNotIn applies the NotIn predicate on the "assigned_to" field.
func AssignedToNotNil ¶ added in v1.5.0
AssignedToNotNil applies the NotNil predicate on the "assigned_to" field.
func AssignedToUserID ¶ added in v1.5.0
AssignedToUserID applies equality check predicate on the "assigned_to_user_id" field. It's identical to AssignedToUserIDEQ.
func AssignedToUserIDContains ¶ added in v1.5.0
AssignedToUserIDContains applies the Contains predicate on the "assigned_to_user_id" field.
func AssignedToUserIDContainsFold ¶ added in v1.5.0
AssignedToUserIDContainsFold applies the ContainsFold predicate on the "assigned_to_user_id" field.
func AssignedToUserIDEQ ¶ added in v1.5.0
AssignedToUserIDEQ applies the EQ predicate on the "assigned_to_user_id" field.
func AssignedToUserIDEqualFold ¶ added in v1.5.0
AssignedToUserIDEqualFold applies the EqualFold predicate on the "assigned_to_user_id" field.
func AssignedToUserIDGT ¶ added in v1.5.0
AssignedToUserIDGT applies the GT predicate on the "assigned_to_user_id" field.
func AssignedToUserIDGTE ¶ added in v1.5.0
AssignedToUserIDGTE applies the GTE predicate on the "assigned_to_user_id" field.
func AssignedToUserIDHasPrefix ¶ added in v1.5.0
AssignedToUserIDHasPrefix applies the HasPrefix predicate on the "assigned_to_user_id" field.
func AssignedToUserIDHasSuffix ¶ added in v1.5.0
AssignedToUserIDHasSuffix applies the HasSuffix predicate on the "assigned_to_user_id" field.
func AssignedToUserIDIn ¶ added in v1.5.0
AssignedToUserIDIn applies the In predicate on the "assigned_to_user_id" field.
func AssignedToUserIDIsNil ¶ added in v1.5.0
AssignedToUserIDIsNil applies the IsNil predicate on the "assigned_to_user_id" field.
func AssignedToUserIDLT ¶ added in v1.5.0
AssignedToUserIDLT applies the LT predicate on the "assigned_to_user_id" field.
func AssignedToUserIDLTE ¶ added in v1.5.0
AssignedToUserIDLTE applies the LTE predicate on the "assigned_to_user_id" field.
func AssignedToUserIDNEQ ¶ added in v1.5.0
AssignedToUserIDNEQ applies the NEQ predicate on the "assigned_to_user_id" field.
func AssignedToUserIDNotIn ¶ added in v1.5.0
AssignedToUserIDNotIn applies the NotIn predicate on the "assigned_to_user_id" field.
func AssignedToUserIDNotNil ¶ added in v1.5.0
AssignedToUserIDNotNil applies the NotNil predicate on the "assigned_to_user_id" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func EnvironmentID ¶ added in v1.5.0
EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.
func EnvironmentIDContains ¶ added in v1.5.0
EnvironmentIDContains applies the Contains predicate on the "environment_id" field.
func EnvironmentIDContainsFold ¶ added in v1.5.0
EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.
func EnvironmentIDEQ ¶ added in v1.5.0
EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.
func EnvironmentIDEqualFold ¶ added in v1.5.0
EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.
func EnvironmentIDGT ¶ added in v1.5.0
EnvironmentIDGT applies the GT predicate on the "environment_id" field.
func EnvironmentIDGTE ¶ added in v1.5.0
EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.
func EnvironmentIDHasPrefix ¶ added in v1.5.0
EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.
func EnvironmentIDHasSuffix ¶ added in v1.5.0
EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.
func EnvironmentIDIn ¶ added in v1.5.0
EnvironmentIDIn applies the In predicate on the "environment_id" field.
func EnvironmentIDIsNil ¶ added in v1.5.0
EnvironmentIDIsNil applies the IsNil predicate on the "environment_id" field.
func EnvironmentIDLT ¶ added in v1.5.0
EnvironmentIDLT applies the LT predicate on the "environment_id" field.
func EnvironmentIDLTE ¶ added in v1.5.0
EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.
func EnvironmentIDNEQ ¶ added in v1.5.0
EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.
func EnvironmentIDNotIn ¶ added in v1.5.0
EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.
func EnvironmentIDNotNil ¶ added in v1.5.0
EnvironmentIDNotNil applies the NotNil predicate on the "environment_id" field.
func EnvironmentName ¶ added in v1.5.0
EnvironmentName applies equality check predicate on the "environment_name" field. It's identical to EnvironmentNameEQ.
func EnvironmentNameContains ¶ added in v1.5.0
EnvironmentNameContains applies the Contains predicate on the "environment_name" field.
func EnvironmentNameContainsFold ¶ added in v1.5.0
EnvironmentNameContainsFold applies the ContainsFold predicate on the "environment_name" field.
func EnvironmentNameEQ ¶ added in v1.5.0
EnvironmentNameEQ applies the EQ predicate on the "environment_name" field.
func EnvironmentNameEqualFold ¶ added in v1.5.0
EnvironmentNameEqualFold applies the EqualFold predicate on the "environment_name" field.
func EnvironmentNameGT ¶ added in v1.5.0
EnvironmentNameGT applies the GT predicate on the "environment_name" field.
func EnvironmentNameGTE ¶ added in v1.5.0
EnvironmentNameGTE applies the GTE predicate on the "environment_name" field.
func EnvironmentNameHasPrefix ¶ added in v1.5.0
EnvironmentNameHasPrefix applies the HasPrefix predicate on the "environment_name" field.
func EnvironmentNameHasSuffix ¶ added in v1.5.0
EnvironmentNameHasSuffix applies the HasSuffix predicate on the "environment_name" field.
func EnvironmentNameIn ¶ added in v1.5.0
EnvironmentNameIn applies the In predicate on the "environment_name" field.
func EnvironmentNameIsNil ¶ added in v1.5.0
EnvironmentNameIsNil applies the IsNil predicate on the "environment_name" field.
func EnvironmentNameLT ¶ added in v1.5.0
EnvironmentNameLT applies the LT predicate on the "environment_name" field.
func EnvironmentNameLTE ¶ added in v1.5.0
EnvironmentNameLTE applies the LTE predicate on the "environment_name" field.
func EnvironmentNameNEQ ¶ added in v1.5.0
EnvironmentNameNEQ applies the NEQ predicate on the "environment_name" field.
func EnvironmentNameNotIn ¶ added in v1.5.0
EnvironmentNameNotIn applies the NotIn predicate on the "environment_name" field.
func EnvironmentNameNotNil ¶ added in v1.5.0
EnvironmentNameNotNil applies the NotNil predicate on the "environment_name" field.
func GeneratedByPlatformID ¶ added in v1.5.0
GeneratedByPlatformID applies equality check predicate on the "generated_by_platform_id" field. It's identical to GeneratedByPlatformIDEQ.
func GeneratedByPlatformIDContains ¶ added in v1.5.0
GeneratedByPlatformIDContains applies the Contains predicate on the "generated_by_platform_id" field.
func GeneratedByPlatformIDContainsFold ¶ added in v1.5.0
GeneratedByPlatformIDContainsFold applies the ContainsFold predicate on the "generated_by_platform_id" field.
func GeneratedByPlatformIDEQ ¶ added in v1.5.0
GeneratedByPlatformIDEQ applies the EQ predicate on the "generated_by_platform_id" field.
func GeneratedByPlatformIDEqualFold ¶ added in v1.5.0
GeneratedByPlatformIDEqualFold applies the EqualFold predicate on the "generated_by_platform_id" field.
func GeneratedByPlatformIDGT ¶ added in v1.5.0
GeneratedByPlatformIDGT applies the GT predicate on the "generated_by_platform_id" field.
func GeneratedByPlatformIDGTE ¶ added in v1.5.0
GeneratedByPlatformIDGTE applies the GTE predicate on the "generated_by_platform_id" field.
func GeneratedByPlatformIDHasPrefix ¶ added in v1.5.0
GeneratedByPlatformIDHasPrefix applies the HasPrefix predicate on the "generated_by_platform_id" field.
func GeneratedByPlatformIDHasSuffix ¶ added in v1.5.0
GeneratedByPlatformIDHasSuffix applies the HasSuffix predicate on the "generated_by_platform_id" field.
func GeneratedByPlatformIDIn ¶ added in v1.5.0
GeneratedByPlatformIDIn applies the In predicate on the "generated_by_platform_id" field.
func GeneratedByPlatformIDIsNil ¶ added in v1.5.0
GeneratedByPlatformIDIsNil applies the IsNil predicate on the "generated_by_platform_id" field.
func GeneratedByPlatformIDLT ¶ added in v1.5.0
GeneratedByPlatformIDLT applies the LT predicate on the "generated_by_platform_id" field.
func GeneratedByPlatformIDLTE ¶ added in v1.5.0
GeneratedByPlatformIDLTE applies the LTE predicate on the "generated_by_platform_id" field.
func GeneratedByPlatformIDNEQ ¶ added in v1.5.0
GeneratedByPlatformIDNEQ applies the NEQ predicate on the "generated_by_platform_id" field.
func GeneratedByPlatformIDNotIn ¶ added in v1.5.0
GeneratedByPlatformIDNotIn applies the NotIn predicate on the "generated_by_platform_id" field.
func GeneratedByPlatformIDNotNil ¶ added in v1.5.0
GeneratedByPlatformIDNotNil applies the NotNil predicate on the "generated_by_platform_id" field.
func HasActionPlans ¶ added in v1.5.0
HasActionPlans applies the HasEdge predicate on the "action_plans" edge.
func HasActionPlansWith ¶ added in v1.5.0
func HasActionPlansWith(preds ...predicate.ActionPlan) predicate.Scan
HasActionPlansWith applies the HasEdge predicate on the "action_plans" edge with a given conditions (other predicates).
func HasAssetsWith ¶
HasAssetsWith applies the HasEdge predicate on the "assets" edge with a given conditions (other predicates).
func HasAssignedToGroup ¶ added in v1.5.0
HasAssignedToGroup applies the HasEdge predicate on the "assigned_to_group" edge.
func HasAssignedToGroupWith ¶ added in v1.5.0
HasAssignedToGroupWith applies the HasEdge predicate on the "assigned_to_group" edge with a given conditions (other predicates).
func HasAssignedToUser ¶ added in v1.5.0
HasAssignedToUser applies the HasEdge predicate on the "assigned_to_user" edge.
func HasAssignedToUserWith ¶ added in v1.5.0
HasAssignedToUserWith applies the HasEdge predicate on the "assigned_to_user" edge with a given conditions (other predicates).
func HasBlockedGroups ¶
HasBlockedGroups applies the HasEdge predicate on the "blocked_groups" edge.
func HasBlockedGroupsWith ¶
HasBlockedGroupsWith applies the HasEdge predicate on the "blocked_groups" edge with a given conditions (other predicates).
func HasControls ¶ added in v1.5.0
HasControls applies the HasEdge predicate on the "controls" edge.
func HasControlsWith ¶ added in v1.5.0
HasControlsWith applies the HasEdge predicate on the "controls" edge with a given conditions (other predicates).
func HasEditors ¶
HasEditors applies the HasEdge predicate on the "editors" edge.
func HasEditorsWith ¶
HasEditorsWith applies the HasEdge predicate on the "editors" edge with a given conditions (other predicates).
func HasEntities ¶
HasEntities applies the HasEdge predicate on the "entities" edge.
func HasEntitiesWith ¶
HasEntitiesWith applies the HasEdge predicate on the "entities" edge with a given conditions (other predicates).
func HasEnvironment ¶ added in v1.5.0
HasEnvironment applies the HasEdge predicate on the "environment" edge.
func HasEnvironmentWith ¶ added in v1.5.0
func HasEnvironmentWith(preds ...predicate.CustomTypeEnum) predicate.Scan
HasEnvironmentWith applies the HasEdge predicate on the "environment" edge with a given conditions (other predicates).
func HasEvidence ¶ added in v1.5.0
HasEvidence applies the HasEdge predicate on the "evidence" edge.
func HasEvidenceWith ¶ added in v1.5.0
HasEvidenceWith applies the HasEdge predicate on the "evidence" edge with a given conditions (other predicates).
func HasFilesWith ¶ added in v1.5.0
HasFilesWith applies the HasEdge predicate on the "files" edge with a given conditions (other predicates).
func HasGeneratedByPlatform ¶ added in v1.5.0
HasGeneratedByPlatform applies the HasEdge predicate on the "generated_by_platform" edge.
func HasGeneratedByPlatformWith ¶ added in v1.5.0
HasGeneratedByPlatformWith applies the HasEdge predicate on the "generated_by_platform" edge with a given conditions (other predicates).
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Organization) predicate.Scan
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasPerformedByGroup ¶ added in v1.5.0
HasPerformedByGroup applies the HasEdge predicate on the "performed_by_group" edge.
func HasPerformedByGroupWith ¶ added in v1.5.0
HasPerformedByGroupWith applies the HasEdge predicate on the "performed_by_group" edge with a given conditions (other predicates).
func HasPerformedByUser ¶ added in v1.5.0
HasPerformedByUser applies the HasEdge predicate on the "performed_by_user" edge.
func HasPerformedByUserWith ¶ added in v1.5.0
HasPerformedByUserWith applies the HasEdge predicate on the "performed_by_user" edge with a given conditions (other predicates).
func HasPlatforms ¶ added in v1.5.0
HasPlatforms applies the HasEdge predicate on the "platforms" edge.
func HasPlatformsWith ¶ added in v1.5.0
HasPlatformsWith applies the HasEdge predicate on the "platforms" edge with a given conditions (other predicates).
func HasRemediations ¶ added in v1.5.0
HasRemediations applies the HasEdge predicate on the "remediations" edge.
func HasRemediationsWith ¶ added in v1.5.0
func HasRemediationsWith(preds ...predicate.Remediation) predicate.Scan
HasRemediationsWith applies the HasEdge predicate on the "remediations" edge with a given conditions (other predicates).
func HasReviewedByGroup ¶ added in v1.5.0
HasReviewedByGroup applies the HasEdge predicate on the "reviewed_by_group" edge.
func HasReviewedByGroupWith ¶ added in v1.5.0
HasReviewedByGroupWith applies the HasEdge predicate on the "reviewed_by_group" edge with a given conditions (other predicates).
func HasReviewedByUser ¶ added in v1.5.0
HasReviewedByUser applies the HasEdge predicate on the "reviewed_by_user" edge.
func HasReviewedByUserWith ¶ added in v1.5.0
HasReviewedByUserWith applies the HasEdge predicate on the "reviewed_by_user" edge with a given conditions (other predicates).
func HasScopeWith ¶ added in v1.5.0
func HasScopeWith(preds ...predicate.CustomTypeEnum) predicate.Scan
HasScopeWith applies the HasEdge predicate on the "scope" edge with a given conditions (other predicates).
func HasTasksWith ¶ added in v1.5.0
HasTasksWith applies the HasEdge predicate on the "tasks" edge with a given conditions (other predicates).
func HasViewers ¶
HasViewers applies the HasEdge predicate on the "viewers" edge.
func HasViewersWith ¶
HasViewersWith applies the HasEdge predicate on the "viewers" edge with a given conditions (other predicates).
func HasVulnerabilities ¶ added in v1.5.0
HasVulnerabilities applies the HasEdge predicate on the "vulnerabilities" edge.
func HasVulnerabilitiesWith ¶ added in v1.5.0
func HasVulnerabilitiesWith(preds ...predicate.Vulnerability) predicate.Scan
HasVulnerabilitiesWith applies the HasEdge predicate on the "vulnerabilities" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func NextScanRunAt ¶ added in v1.5.0
NextScanRunAt applies equality check predicate on the "next_scan_run_at" field. It's identical to NextScanRunAtEQ.
func NextScanRunAtEQ ¶ added in v1.5.0
NextScanRunAtEQ applies the EQ predicate on the "next_scan_run_at" field.
func NextScanRunAtGT ¶ added in v1.5.0
NextScanRunAtGT applies the GT predicate on the "next_scan_run_at" field.
func NextScanRunAtGTE ¶ added in v1.5.0
NextScanRunAtGTE applies the GTE predicate on the "next_scan_run_at" field.
func NextScanRunAtIn ¶ added in v1.5.0
NextScanRunAtIn applies the In predicate on the "next_scan_run_at" field.
func NextScanRunAtIsNil ¶ added in v1.5.0
NextScanRunAtIsNil applies the IsNil predicate on the "next_scan_run_at" field.
func NextScanRunAtLT ¶ added in v1.5.0
NextScanRunAtLT applies the LT predicate on the "next_scan_run_at" field.
func NextScanRunAtLTE ¶ added in v1.5.0
NextScanRunAtLTE applies the LTE predicate on the "next_scan_run_at" field.
func NextScanRunAtNEQ ¶ added in v1.5.0
NextScanRunAtNEQ applies the NEQ predicate on the "next_scan_run_at" field.
func NextScanRunAtNotIn ¶ added in v1.5.0
NextScanRunAtNotIn applies the NotIn predicate on the "next_scan_run_at" field.
func NextScanRunAtNotNil ¶ added in v1.5.0
NextScanRunAtNotNil applies the NotNil predicate on the "next_scan_run_at" field.
func OwnerID ¶
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIsNil ¶
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLTE ¶
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func PerformedBy ¶ added in v1.5.0
PerformedBy applies equality check predicate on the "performed_by" field. It's identical to PerformedByEQ.
func PerformedByContains ¶ added in v1.5.0
PerformedByContains applies the Contains predicate on the "performed_by" field.
func PerformedByContainsFold ¶ added in v1.5.0
PerformedByContainsFold applies the ContainsFold predicate on the "performed_by" field.
func PerformedByEQ ¶ added in v1.5.0
PerformedByEQ applies the EQ predicate on the "performed_by" field.
func PerformedByEqualFold ¶ added in v1.5.0
PerformedByEqualFold applies the EqualFold predicate on the "performed_by" field.
func PerformedByGT ¶ added in v1.5.0
PerformedByGT applies the GT predicate on the "performed_by" field.
func PerformedByGTE ¶ added in v1.5.0
PerformedByGTE applies the GTE predicate on the "performed_by" field.
func PerformedByGroupID ¶ added in v1.5.0
PerformedByGroupID applies equality check predicate on the "performed_by_group_id" field. It's identical to PerformedByGroupIDEQ.
func PerformedByGroupIDContains ¶ added in v1.5.0
PerformedByGroupIDContains applies the Contains predicate on the "performed_by_group_id" field.
func PerformedByGroupIDContainsFold ¶ added in v1.5.0
PerformedByGroupIDContainsFold applies the ContainsFold predicate on the "performed_by_group_id" field.
func PerformedByGroupIDEQ ¶ added in v1.5.0
PerformedByGroupIDEQ applies the EQ predicate on the "performed_by_group_id" field.
func PerformedByGroupIDEqualFold ¶ added in v1.5.0
PerformedByGroupIDEqualFold applies the EqualFold predicate on the "performed_by_group_id" field.
func PerformedByGroupIDGT ¶ added in v1.5.0
PerformedByGroupIDGT applies the GT predicate on the "performed_by_group_id" field.
func PerformedByGroupIDGTE ¶ added in v1.5.0
PerformedByGroupIDGTE applies the GTE predicate on the "performed_by_group_id" field.
func PerformedByGroupIDHasPrefix ¶ added in v1.5.0
PerformedByGroupIDHasPrefix applies the HasPrefix predicate on the "performed_by_group_id" field.
func PerformedByGroupIDHasSuffix ¶ added in v1.5.0
PerformedByGroupIDHasSuffix applies the HasSuffix predicate on the "performed_by_group_id" field.
func PerformedByGroupIDIn ¶ added in v1.5.0
PerformedByGroupIDIn applies the In predicate on the "performed_by_group_id" field.
func PerformedByGroupIDIsNil ¶ added in v1.5.0
PerformedByGroupIDIsNil applies the IsNil predicate on the "performed_by_group_id" field.
func PerformedByGroupIDLT ¶ added in v1.5.0
PerformedByGroupIDLT applies the LT predicate on the "performed_by_group_id" field.
func PerformedByGroupIDLTE ¶ added in v1.5.0
PerformedByGroupIDLTE applies the LTE predicate on the "performed_by_group_id" field.
func PerformedByGroupIDNEQ ¶ added in v1.5.0
PerformedByGroupIDNEQ applies the NEQ predicate on the "performed_by_group_id" field.
func PerformedByGroupIDNotIn ¶ added in v1.5.0
PerformedByGroupIDNotIn applies the NotIn predicate on the "performed_by_group_id" field.
func PerformedByGroupIDNotNil ¶ added in v1.5.0
PerformedByGroupIDNotNil applies the NotNil predicate on the "performed_by_group_id" field.
func PerformedByHasPrefix ¶ added in v1.5.0
PerformedByHasPrefix applies the HasPrefix predicate on the "performed_by" field.
func PerformedByHasSuffix ¶ added in v1.5.0
PerformedByHasSuffix applies the HasSuffix predicate on the "performed_by" field.
func PerformedByIn ¶ added in v1.5.0
PerformedByIn applies the In predicate on the "performed_by" field.
func PerformedByIsNil ¶ added in v1.5.0
PerformedByIsNil applies the IsNil predicate on the "performed_by" field.
func PerformedByLT ¶ added in v1.5.0
PerformedByLT applies the LT predicate on the "performed_by" field.
func PerformedByLTE ¶ added in v1.5.0
PerformedByLTE applies the LTE predicate on the "performed_by" field.
func PerformedByNEQ ¶ added in v1.5.0
PerformedByNEQ applies the NEQ predicate on the "performed_by" field.
func PerformedByNotIn ¶ added in v1.5.0
PerformedByNotIn applies the NotIn predicate on the "performed_by" field.
func PerformedByNotNil ¶ added in v1.5.0
PerformedByNotNil applies the NotNil predicate on the "performed_by" field.
func PerformedByUserID ¶ added in v1.5.0
PerformedByUserID applies equality check predicate on the "performed_by_user_id" field. It's identical to PerformedByUserIDEQ.
func PerformedByUserIDContains ¶ added in v1.5.0
PerformedByUserIDContains applies the Contains predicate on the "performed_by_user_id" field.
func PerformedByUserIDContainsFold ¶ added in v1.5.0
PerformedByUserIDContainsFold applies the ContainsFold predicate on the "performed_by_user_id" field.
func PerformedByUserIDEQ ¶ added in v1.5.0
PerformedByUserIDEQ applies the EQ predicate on the "performed_by_user_id" field.
func PerformedByUserIDEqualFold ¶ added in v1.5.0
PerformedByUserIDEqualFold applies the EqualFold predicate on the "performed_by_user_id" field.
func PerformedByUserIDGT ¶ added in v1.5.0
PerformedByUserIDGT applies the GT predicate on the "performed_by_user_id" field.
func PerformedByUserIDGTE ¶ added in v1.5.0
PerformedByUserIDGTE applies the GTE predicate on the "performed_by_user_id" field.
func PerformedByUserIDHasPrefix ¶ added in v1.5.0
PerformedByUserIDHasPrefix applies the HasPrefix predicate on the "performed_by_user_id" field.
func PerformedByUserIDHasSuffix ¶ added in v1.5.0
PerformedByUserIDHasSuffix applies the HasSuffix predicate on the "performed_by_user_id" field.
func PerformedByUserIDIn ¶ added in v1.5.0
PerformedByUserIDIn applies the In predicate on the "performed_by_user_id" field.
func PerformedByUserIDIsNil ¶ added in v1.5.0
PerformedByUserIDIsNil applies the IsNil predicate on the "performed_by_user_id" field.
func PerformedByUserIDLT ¶ added in v1.5.0
PerformedByUserIDLT applies the LT predicate on the "performed_by_user_id" field.
func PerformedByUserIDLTE ¶ added in v1.5.0
PerformedByUserIDLTE applies the LTE predicate on the "performed_by_user_id" field.
func PerformedByUserIDNEQ ¶ added in v1.5.0
PerformedByUserIDNEQ applies the NEQ predicate on the "performed_by_user_id" field.
func PerformedByUserIDNotIn ¶ added in v1.5.0
PerformedByUserIDNotIn applies the NotIn predicate on the "performed_by_user_id" field.
func PerformedByUserIDNotNil ¶ added in v1.5.0
PerformedByUserIDNotNil applies the NotNil predicate on the "performed_by_user_id" field.
func ReviewedBy ¶ added in v1.5.0
ReviewedBy applies equality check predicate on the "reviewed_by" field. It's identical to ReviewedByEQ.
func ReviewedByContains ¶ added in v1.5.0
ReviewedByContains applies the Contains predicate on the "reviewed_by" field.
func ReviewedByContainsFold ¶ added in v1.5.0
ReviewedByContainsFold applies the ContainsFold predicate on the "reviewed_by" field.
func ReviewedByEQ ¶ added in v1.5.0
ReviewedByEQ applies the EQ predicate on the "reviewed_by" field.
func ReviewedByEqualFold ¶ added in v1.5.0
ReviewedByEqualFold applies the EqualFold predicate on the "reviewed_by" field.
func ReviewedByGT ¶ added in v1.5.0
ReviewedByGT applies the GT predicate on the "reviewed_by" field.
func ReviewedByGTE ¶ added in v1.5.0
ReviewedByGTE applies the GTE predicate on the "reviewed_by" field.
func ReviewedByGroupID ¶ added in v1.5.0
ReviewedByGroupID applies equality check predicate on the "reviewed_by_group_id" field. It's identical to ReviewedByGroupIDEQ.
func ReviewedByGroupIDContains ¶ added in v1.5.0
ReviewedByGroupIDContains applies the Contains predicate on the "reviewed_by_group_id" field.
func ReviewedByGroupIDContainsFold ¶ added in v1.5.0
ReviewedByGroupIDContainsFold applies the ContainsFold predicate on the "reviewed_by_group_id" field.
func ReviewedByGroupIDEQ ¶ added in v1.5.0
ReviewedByGroupIDEQ applies the EQ predicate on the "reviewed_by_group_id" field.
func ReviewedByGroupIDEqualFold ¶ added in v1.5.0
ReviewedByGroupIDEqualFold applies the EqualFold predicate on the "reviewed_by_group_id" field.
func ReviewedByGroupIDGT ¶ added in v1.5.0
ReviewedByGroupIDGT applies the GT predicate on the "reviewed_by_group_id" field.
func ReviewedByGroupIDGTE ¶ added in v1.5.0
ReviewedByGroupIDGTE applies the GTE predicate on the "reviewed_by_group_id" field.
func ReviewedByGroupIDHasPrefix ¶ added in v1.5.0
ReviewedByGroupIDHasPrefix applies the HasPrefix predicate on the "reviewed_by_group_id" field.
func ReviewedByGroupIDHasSuffix ¶ added in v1.5.0
ReviewedByGroupIDHasSuffix applies the HasSuffix predicate on the "reviewed_by_group_id" field.
func ReviewedByGroupIDIn ¶ added in v1.5.0
ReviewedByGroupIDIn applies the In predicate on the "reviewed_by_group_id" field.
func ReviewedByGroupIDIsNil ¶ added in v1.5.0
ReviewedByGroupIDIsNil applies the IsNil predicate on the "reviewed_by_group_id" field.
func ReviewedByGroupIDLT ¶ added in v1.5.0
ReviewedByGroupIDLT applies the LT predicate on the "reviewed_by_group_id" field.
func ReviewedByGroupIDLTE ¶ added in v1.5.0
ReviewedByGroupIDLTE applies the LTE predicate on the "reviewed_by_group_id" field.
func ReviewedByGroupIDNEQ ¶ added in v1.5.0
ReviewedByGroupIDNEQ applies the NEQ predicate on the "reviewed_by_group_id" field.
func ReviewedByGroupIDNotIn ¶ added in v1.5.0
ReviewedByGroupIDNotIn applies the NotIn predicate on the "reviewed_by_group_id" field.
func ReviewedByGroupIDNotNil ¶ added in v1.5.0
ReviewedByGroupIDNotNil applies the NotNil predicate on the "reviewed_by_group_id" field.
func ReviewedByHasPrefix ¶ added in v1.5.0
ReviewedByHasPrefix applies the HasPrefix predicate on the "reviewed_by" field.
func ReviewedByHasSuffix ¶ added in v1.5.0
ReviewedByHasSuffix applies the HasSuffix predicate on the "reviewed_by" field.
func ReviewedByIn ¶ added in v1.5.0
ReviewedByIn applies the In predicate on the "reviewed_by" field.
func ReviewedByIsNil ¶ added in v1.5.0
ReviewedByIsNil applies the IsNil predicate on the "reviewed_by" field.
func ReviewedByLT ¶ added in v1.5.0
ReviewedByLT applies the LT predicate on the "reviewed_by" field.
func ReviewedByLTE ¶ added in v1.5.0
ReviewedByLTE applies the LTE predicate on the "reviewed_by" field.
func ReviewedByNEQ ¶ added in v1.5.0
ReviewedByNEQ applies the NEQ predicate on the "reviewed_by" field.
func ReviewedByNotIn ¶ added in v1.5.0
ReviewedByNotIn applies the NotIn predicate on the "reviewed_by" field.
func ReviewedByNotNil ¶ added in v1.5.0
ReviewedByNotNil applies the NotNil predicate on the "reviewed_by" field.
func ReviewedByUserID ¶ added in v1.5.0
ReviewedByUserID applies equality check predicate on the "reviewed_by_user_id" field. It's identical to ReviewedByUserIDEQ.
func ReviewedByUserIDContains ¶ added in v1.5.0
ReviewedByUserIDContains applies the Contains predicate on the "reviewed_by_user_id" field.
func ReviewedByUserIDContainsFold ¶ added in v1.5.0
ReviewedByUserIDContainsFold applies the ContainsFold predicate on the "reviewed_by_user_id" field.
func ReviewedByUserIDEQ ¶ added in v1.5.0
ReviewedByUserIDEQ applies the EQ predicate on the "reviewed_by_user_id" field.
func ReviewedByUserIDEqualFold ¶ added in v1.5.0
ReviewedByUserIDEqualFold applies the EqualFold predicate on the "reviewed_by_user_id" field.
func ReviewedByUserIDGT ¶ added in v1.5.0
ReviewedByUserIDGT applies the GT predicate on the "reviewed_by_user_id" field.
func ReviewedByUserIDGTE ¶ added in v1.5.0
ReviewedByUserIDGTE applies the GTE predicate on the "reviewed_by_user_id" field.
func ReviewedByUserIDHasPrefix ¶ added in v1.5.0
ReviewedByUserIDHasPrefix applies the HasPrefix predicate on the "reviewed_by_user_id" field.
func ReviewedByUserIDHasSuffix ¶ added in v1.5.0
ReviewedByUserIDHasSuffix applies the HasSuffix predicate on the "reviewed_by_user_id" field.
func ReviewedByUserIDIn ¶ added in v1.5.0
ReviewedByUserIDIn applies the In predicate on the "reviewed_by_user_id" field.
func ReviewedByUserIDIsNil ¶ added in v1.5.0
ReviewedByUserIDIsNil applies the IsNil predicate on the "reviewed_by_user_id" field.
func ReviewedByUserIDLT ¶ added in v1.5.0
ReviewedByUserIDLT applies the LT predicate on the "reviewed_by_user_id" field.
func ReviewedByUserIDLTE ¶ added in v1.5.0
ReviewedByUserIDLTE applies the LTE predicate on the "reviewed_by_user_id" field.
func ReviewedByUserIDNEQ ¶ added in v1.5.0
ReviewedByUserIDNEQ applies the NEQ predicate on the "reviewed_by_user_id" field.
func ReviewedByUserIDNotIn ¶ added in v1.5.0
ReviewedByUserIDNotIn applies the NotIn predicate on the "reviewed_by_user_id" field.
func ReviewedByUserIDNotNil ¶ added in v1.5.0
ReviewedByUserIDNotNil applies the NotNil predicate on the "reviewed_by_user_id" field.
func ScanDate ¶ added in v1.5.0
ScanDate applies equality check predicate on the "scan_date" field. It's identical to ScanDateEQ.
func ScanDateEQ ¶ added in v1.5.0
ScanDateEQ applies the EQ predicate on the "scan_date" field.
func ScanDateGT ¶ added in v1.5.0
ScanDateGT applies the GT predicate on the "scan_date" field.
func ScanDateGTE ¶ added in v1.5.0
ScanDateGTE applies the GTE predicate on the "scan_date" field.
func ScanDateIn ¶ added in v1.5.0
ScanDateIn applies the In predicate on the "scan_date" field.
func ScanDateIsNil ¶ added in v1.5.0
ScanDateIsNil applies the IsNil predicate on the "scan_date" field.
func ScanDateLT ¶ added in v1.5.0
ScanDateLT applies the LT predicate on the "scan_date" field.
func ScanDateLTE ¶ added in v1.5.0
ScanDateLTE applies the LTE predicate on the "scan_date" field.
func ScanDateNEQ ¶ added in v1.5.0
ScanDateNEQ applies the NEQ predicate on the "scan_date" field.
func ScanDateNotIn ¶ added in v1.5.0
ScanDateNotIn applies the NotIn predicate on the "scan_date" field.
func ScanDateNotNil ¶ added in v1.5.0
ScanDateNotNil applies the NotNil predicate on the "scan_date" field.
func ScanSchedule ¶ added in v1.5.0
ScanSchedule applies equality check predicate on the "scan_schedule" field. It's identical to ScanScheduleEQ.
func ScanScheduleContains ¶ added in v1.5.0
ScanScheduleContains applies the Contains predicate on the "scan_schedule" field.
func ScanScheduleContainsFold ¶ added in v1.5.0
ScanScheduleContainsFold applies the ContainsFold predicate on the "scan_schedule" field.
func ScanScheduleEQ ¶ added in v1.5.0
ScanScheduleEQ applies the EQ predicate on the "scan_schedule" field.
func ScanScheduleEqualFold ¶ added in v1.5.0
ScanScheduleEqualFold applies the EqualFold predicate on the "scan_schedule" field.
func ScanScheduleGT ¶ added in v1.5.0
ScanScheduleGT applies the GT predicate on the "scan_schedule" field.
func ScanScheduleGTE ¶ added in v1.5.0
ScanScheduleGTE applies the GTE predicate on the "scan_schedule" field.
func ScanScheduleHasPrefix ¶ added in v1.5.0
ScanScheduleHasPrefix applies the HasPrefix predicate on the "scan_schedule" field.
func ScanScheduleHasSuffix ¶ added in v1.5.0
ScanScheduleHasSuffix applies the HasSuffix predicate on the "scan_schedule" field.
func ScanScheduleIn ¶ added in v1.5.0
ScanScheduleIn applies the In predicate on the "scan_schedule" field.
func ScanScheduleIsNil ¶ added in v1.5.0
ScanScheduleIsNil applies the IsNil predicate on the "scan_schedule" field.
func ScanScheduleLT ¶ added in v1.5.0
ScanScheduleLT applies the LT predicate on the "scan_schedule" field.
func ScanScheduleLTE ¶ added in v1.5.0
ScanScheduleLTE applies the LTE predicate on the "scan_schedule" field.
func ScanScheduleNEQ ¶ added in v1.5.0
ScanScheduleNEQ applies the NEQ predicate on the "scan_schedule" field.
func ScanScheduleNotIn ¶ added in v1.5.0
ScanScheduleNotIn applies the NotIn predicate on the "scan_schedule" field.
func ScanScheduleNotNil ¶ added in v1.5.0
ScanScheduleNotNil applies the NotNil predicate on the "scan_schedule" field.
func ScanTypeEQ ¶
ScanTypeEQ applies the EQ predicate on the "scan_type" field.
func ScanTypeIn ¶
ScanTypeIn applies the In predicate on the "scan_type" field.
func ScanTypeNEQ ¶
ScanTypeNEQ applies the NEQ predicate on the "scan_type" field.
func ScanTypeNotIn ¶
ScanTypeNotIn applies the NotIn predicate on the "scan_type" field.
func ScanTypeValidator ¶
ScanTypeValidator is a validator for the "scan_type" field enum values. It is called by the builders before save.
func ScopeID ¶ added in v1.5.0
ScopeID applies equality check predicate on the "scope_id" field. It's identical to ScopeIDEQ.
func ScopeIDContains ¶ added in v1.5.0
ScopeIDContains applies the Contains predicate on the "scope_id" field.
func ScopeIDContainsFold ¶ added in v1.5.0
ScopeIDContainsFold applies the ContainsFold predicate on the "scope_id" field.
func ScopeIDEqualFold ¶ added in v1.5.0
ScopeIDEqualFold applies the EqualFold predicate on the "scope_id" field.
func ScopeIDGTE ¶ added in v1.5.0
ScopeIDGTE applies the GTE predicate on the "scope_id" field.
func ScopeIDHasPrefix ¶ added in v1.5.0
ScopeIDHasPrefix applies the HasPrefix predicate on the "scope_id" field.
func ScopeIDHasSuffix ¶ added in v1.5.0
ScopeIDHasSuffix applies the HasSuffix predicate on the "scope_id" field.
func ScopeIDIsNil ¶ added in v1.5.0
ScopeIDIsNil applies the IsNil predicate on the "scope_id" field.
func ScopeIDLTE ¶ added in v1.5.0
ScopeIDLTE applies the LTE predicate on the "scope_id" field.
func ScopeIDNEQ ¶ added in v1.5.0
ScopeIDNEQ applies the NEQ predicate on the "scope_id" field.
func ScopeIDNotIn ¶ added in v1.5.0
ScopeIDNotIn applies the NotIn predicate on the "scope_id" field.
func ScopeIDNotNil ¶ added in v1.5.0
ScopeIDNotNil applies the NotNil predicate on the "scope_id" field.
func ScopeName ¶ added in v1.5.0
ScopeName applies equality check predicate on the "scope_name" field. It's identical to ScopeNameEQ.
func ScopeNameContains ¶ added in v1.5.0
ScopeNameContains applies the Contains predicate on the "scope_name" field.
func ScopeNameContainsFold ¶ added in v1.5.0
ScopeNameContainsFold applies the ContainsFold predicate on the "scope_name" field.
func ScopeNameEQ ¶ added in v1.5.0
ScopeNameEQ applies the EQ predicate on the "scope_name" field.
func ScopeNameEqualFold ¶ added in v1.5.0
ScopeNameEqualFold applies the EqualFold predicate on the "scope_name" field.
func ScopeNameGT ¶ added in v1.5.0
ScopeNameGT applies the GT predicate on the "scope_name" field.
func ScopeNameGTE ¶ added in v1.5.0
ScopeNameGTE applies the GTE predicate on the "scope_name" field.
func ScopeNameHasPrefix ¶ added in v1.5.0
ScopeNameHasPrefix applies the HasPrefix predicate on the "scope_name" field.
func ScopeNameHasSuffix ¶ added in v1.5.0
ScopeNameHasSuffix applies the HasSuffix predicate on the "scope_name" field.
func ScopeNameIn ¶ added in v1.5.0
ScopeNameIn applies the In predicate on the "scope_name" field.
func ScopeNameIsNil ¶ added in v1.5.0
ScopeNameIsNil applies the IsNil predicate on the "scope_name" field.
func ScopeNameLT ¶ added in v1.5.0
ScopeNameLT applies the LT predicate on the "scope_name" field.
func ScopeNameLTE ¶ added in v1.5.0
ScopeNameLTE applies the LTE predicate on the "scope_name" field.
func ScopeNameNEQ ¶ added in v1.5.0
ScopeNameNEQ applies the NEQ predicate on the "scope_name" field.
func ScopeNameNotIn ¶ added in v1.5.0
ScopeNameNotIn applies the NotIn predicate on the "scope_name" field.
func ScopeNameNotNil ¶ added in v1.5.0
ScopeNameNotNil applies the NotNil predicate on the "scope_name" field.
func StatusEQ ¶
func StatusEQ(v enums.ScanStatus) predicate.Scan
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...enums.ScanStatus) predicate.Scan
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v enums.ScanStatus) predicate.Scan
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...enums.ScanStatus) predicate.Scan
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
func StatusValidator(s enums.ScanStatus) error
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func TagsNotNil ¶
TagsNotNil applies the NotNil predicate on the "tags" field.
func Target ¶
Target applies equality check predicate on the "target" field. It's identical to TargetEQ.
func TargetContains ¶
TargetContains applies the Contains predicate on the "target" field.
func TargetContainsFold ¶
TargetContainsFold applies the ContainsFold predicate on the "target" field.
func TargetEqualFold ¶
TargetEqualFold applies the EqualFold predicate on the "target" field.
func TargetHasPrefix ¶
TargetHasPrefix applies the HasPrefix predicate on the "target" field.
func TargetHasSuffix ¶
TargetHasSuffix applies the HasSuffix predicate on the "target" field.
func TargetNotIn ¶
TargetNotIn applies the NotIn predicate on the "target" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func VulnerabilityIdsIsNil ¶ added in v1.5.0
VulnerabilityIdsIsNil applies the IsNil predicate on the "vulnerability_ids" field.
func VulnerabilityIdsNotNil ¶ added in v1.5.0
VulnerabilityIdsNotNil applies the NotNil predicate on the "vulnerability_ids" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Scan queries.
func ByActionPlans ¶ added in v1.5.0
func ByActionPlans(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByActionPlans orders the results by action_plans terms.
func ByActionPlansCount ¶ added in v1.5.0
func ByActionPlansCount(opts ...sql.OrderTermOption) OrderOption
ByActionPlansCount orders the results by action_plans count.
func ByAssets ¶
func ByAssets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByAssets orders the results by assets terms.
func ByAssetsCount ¶
func ByAssetsCount(opts ...sql.OrderTermOption) OrderOption
ByAssetsCount orders the results by assets count.
func ByAssignedTo ¶ added in v1.5.0
func ByAssignedTo(opts ...sql.OrderTermOption) OrderOption
ByAssignedTo orders the results by the assigned_to field.
func ByAssignedToGroupField ¶ added in v1.5.0
func ByAssignedToGroupField(field string, opts ...sql.OrderTermOption) OrderOption
ByAssignedToGroupField orders the results by assigned_to_group field.
func ByAssignedToGroupID ¶ added in v1.5.0
func ByAssignedToGroupID(opts ...sql.OrderTermOption) OrderOption
ByAssignedToGroupID orders the results by the assigned_to_group_id field.
func ByAssignedToUserField ¶ added in v1.5.0
func ByAssignedToUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByAssignedToUserField orders the results by assigned_to_user field.
func ByAssignedToUserID ¶ added in v1.5.0
func ByAssignedToUserID(opts ...sql.OrderTermOption) OrderOption
ByAssignedToUserID orders the results by the assigned_to_user_id field.
func ByBlockedGroups ¶
func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByBlockedGroups orders the results by blocked_groups terms.
func ByBlockedGroupsCount ¶
func ByBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByBlockedGroupsCount orders the results by blocked_groups count.
func ByControls ¶ added in v1.5.0
func ByControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByControls orders the results by controls terms.
func ByControlsCount ¶ added in v1.5.0
func ByControlsCount(opts ...sql.OrderTermOption) OrderOption
ByControlsCount orders the results by controls count.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByEditors ¶
func ByEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEditors orders the results by editors terms.
func ByEditorsCount ¶
func ByEditorsCount(opts ...sql.OrderTermOption) OrderOption
ByEditorsCount orders the results by editors count.
func ByEntities ¶
func ByEntities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEntities orders the results by entities terms.
func ByEntitiesCount ¶
func ByEntitiesCount(opts ...sql.OrderTermOption) OrderOption
ByEntitiesCount orders the results by entities count.
func ByEnvironmentField ¶ added in v1.5.0
func ByEnvironmentField(field string, opts ...sql.OrderTermOption) OrderOption
ByEnvironmentField orders the results by environment field.
func ByEnvironmentID ¶ added in v1.5.0
func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
ByEnvironmentID orders the results by the environment_id field.
func ByEnvironmentName ¶ added in v1.5.0
func ByEnvironmentName(opts ...sql.OrderTermOption) OrderOption
ByEnvironmentName orders the results by the environment_name field.
func ByEvidence ¶ added in v1.5.0
func ByEvidence(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEvidence orders the results by evidence terms.
func ByEvidenceCount ¶ added in v1.5.0
func ByEvidenceCount(opts ...sql.OrderTermOption) OrderOption
ByEvidenceCount orders the results by evidence count.
func ByFiles ¶ added in v1.5.0
func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFiles orders the results by files terms.
func ByFilesCount ¶ added in v1.5.0
func ByFilesCount(opts ...sql.OrderTermOption) OrderOption
ByFilesCount orders the results by files count.
func ByGeneratedByPlatformField ¶ added in v1.5.0
func ByGeneratedByPlatformField(field string, opts ...sql.OrderTermOption) OrderOption
ByGeneratedByPlatformField orders the results by generated_by_platform field.
func ByGeneratedByPlatformID ¶ added in v1.5.0
func ByGeneratedByPlatformID(opts ...sql.OrderTermOption) OrderOption
ByGeneratedByPlatformID orders the results by the generated_by_platform_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByNextScanRunAt ¶ added in v1.5.0
func ByNextScanRunAt(opts ...sql.OrderTermOption) OrderOption
ByNextScanRunAt orders the results by the next_scan_run_at field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByPerformedBy ¶ added in v1.5.0
func ByPerformedBy(opts ...sql.OrderTermOption) OrderOption
ByPerformedBy orders the results by the performed_by field.
func ByPerformedByGroupField ¶ added in v1.5.0
func ByPerformedByGroupField(field string, opts ...sql.OrderTermOption) OrderOption
ByPerformedByGroupField orders the results by performed_by_group field.
func ByPerformedByGroupID ¶ added in v1.5.0
func ByPerformedByGroupID(opts ...sql.OrderTermOption) OrderOption
ByPerformedByGroupID orders the results by the performed_by_group_id field.
func ByPerformedByUserField ¶ added in v1.5.0
func ByPerformedByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByPerformedByUserField orders the results by performed_by_user field.
func ByPerformedByUserID ¶ added in v1.5.0
func ByPerformedByUserID(opts ...sql.OrderTermOption) OrderOption
ByPerformedByUserID orders the results by the performed_by_user_id field.
func ByPlatforms ¶ added in v1.5.0
func ByPlatforms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPlatforms orders the results by platforms terms.
func ByPlatformsCount ¶ added in v1.5.0
func ByPlatformsCount(opts ...sql.OrderTermOption) OrderOption
ByPlatformsCount orders the results by platforms count.
func ByRemediations ¶ added in v1.5.0
func ByRemediations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRemediations orders the results by remediations terms.
func ByRemediationsCount ¶ added in v1.5.0
func ByRemediationsCount(opts ...sql.OrderTermOption) OrderOption
ByRemediationsCount orders the results by remediations count.
func ByReviewedBy ¶ added in v1.5.0
func ByReviewedBy(opts ...sql.OrderTermOption) OrderOption
ByReviewedBy orders the results by the reviewed_by field.
func ByReviewedByGroupField ¶ added in v1.5.0
func ByReviewedByGroupField(field string, opts ...sql.OrderTermOption) OrderOption
ByReviewedByGroupField orders the results by reviewed_by_group field.
func ByReviewedByGroupID ¶ added in v1.5.0
func ByReviewedByGroupID(opts ...sql.OrderTermOption) OrderOption
ByReviewedByGroupID orders the results by the reviewed_by_group_id field.
func ByReviewedByUserField ¶ added in v1.5.0
func ByReviewedByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByReviewedByUserField orders the results by reviewed_by_user field.
func ByReviewedByUserID ¶ added in v1.5.0
func ByReviewedByUserID(opts ...sql.OrderTermOption) OrderOption
ByReviewedByUserID orders the results by the reviewed_by_user_id field.
func ByScanDate ¶ added in v1.5.0
func ByScanDate(opts ...sql.OrderTermOption) OrderOption
ByScanDate orders the results by the scan_date field.
func ByScanSchedule ¶ added in v1.5.0
func ByScanSchedule(opts ...sql.OrderTermOption) OrderOption
ByScanSchedule orders the results by the scan_schedule field.
func ByScanType ¶
func ByScanType(opts ...sql.OrderTermOption) OrderOption
ByScanType orders the results by the scan_type field.
func ByScopeField ¶ added in v1.5.0
func ByScopeField(field string, opts ...sql.OrderTermOption) OrderOption
ByScopeField orders the results by scope field.
func ByScopeID ¶ added in v1.5.0
func ByScopeID(opts ...sql.OrderTermOption) OrderOption
ByScopeID orders the results by the scope_id field.
func ByScopeName ¶ added in v1.5.0
func ByScopeName(opts ...sql.OrderTermOption) OrderOption
ByScopeName orders the results by the scope_name field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTarget ¶
func ByTarget(opts ...sql.OrderTermOption) OrderOption
ByTarget orders the results by the target field.
func ByTasks ¶ added in v1.5.0
func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTasks orders the results by tasks terms.
func ByTasksCount ¶ added in v1.5.0
func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
ByTasksCount orders the results by tasks count.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.
func ByViewers ¶
func ByViewers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByViewers orders the results by viewers terms.
func ByViewersCount ¶
func ByViewersCount(opts ...sql.OrderTermOption) OrderOption
ByViewersCount orders the results by viewers count.
func ByVulnerabilities ¶ added in v1.5.0
func ByVulnerabilities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByVulnerabilities orders the results by vulnerabilities terms.
func ByVulnerabilitiesCount ¶ added in v1.5.0
func ByVulnerabilitiesCount(opts ...sql.OrderTermOption) OrderOption
ByVulnerabilitiesCount orders the results by vulnerabilities count.