model

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type APITokenBulkCreatePayload

type APITokenBulkCreatePayload struct {
	// Created apiTokens
	APITokens []*generated.APIToken `json:"apiTokens,omitempty"`
}

Return response for createBulkAPIToken mutation

type APITokenBulkDeletePayload

type APITokenBulkDeletePayload struct {
	// Deleted apiToken IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkAPIToken mutation

type APITokenBulkUpdatePayload

type APITokenBulkUpdatePayload struct {
	// Updated apiTokens
	APITokens []*generated.APIToken `json:"apiTokens,omitempty"`
	// IDs of the updated apiTokens
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkAPIToken mutation

type APITokenCreatePayload

type APITokenCreatePayload struct {
	// Created apiToken
	APIToken *generated.APIToken `json:"apiToken"`
}

Return response for createAPIToken mutation

type APITokenDeletePayload

type APITokenDeletePayload struct {
	// Deleted apiToken ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteAPIToken mutation

type APITokenUpdatePayload

type APITokenUpdatePayload struct {
	// Updated apiToken
	APIToken *generated.APIToken `json:"apiToken"`
}

Return response for updateAPIToken mutation

type ActionNotificationsReadPayload

type ActionNotificationsReadPayload struct {
	// Updated notification IDs
	ReadIDs []*string `json:"readIDs"`
}

Return response for markNotificationsAsRead mutation

type ActionPlanBulkCreatePayload

type ActionPlanBulkCreatePayload struct {
	// Created actionPlans
	ActionPlans []*generated.ActionPlan `json:"actionPlans,omitempty"`
}

Return response for createBulkActionPlan mutation

type ActionPlanBulkDeletePayload

type ActionPlanBulkDeletePayload struct {
	// Deleted actionPlan IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkActionPlan mutation

type ActionPlanBulkUpdatePayload

type ActionPlanBulkUpdatePayload struct {
	// Updated actionPlans
	ActionPlans []*generated.ActionPlan `json:"actionPlans,omitempty"`
	// IDs of the updated actionPlans
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkActionPlan mutation

type ActionPlanCreatePayload

type ActionPlanCreatePayload struct {
	// Created actionPlan
	ActionPlan *generated.ActionPlan `json:"actionPlan"`
}

Return response for createActionPlan mutation

type ActionPlanDeletePayload

type ActionPlanDeletePayload struct {
	// Deleted actionPlan ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteActionPlan mutation

type ActionPlanUpdatePayload

type ActionPlanUpdatePayload struct {
	// Updated actionPlan
	ActionPlan *generated.ActionPlan `json:"actionPlan"`
}

Return response for updateActionPlan mutation

type AddProgramMembershipInput

type AddProgramMembershipInput struct {
	Role   *enums.Role `json:"role,omitempty"`
	UserID string      `json:"userID"`
}

AddProgramMembershipInput is used for create ProgramMembership object under an existing program

type AssessmentBulkDeletePayload

type AssessmentBulkDeletePayload struct {
	// Deleted assessment IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkAssessment mutation

type AssessmentCreatePayload

type AssessmentCreatePayload struct {
	// Created assessment
	Assessment *generated.Assessment `json:"assessment"`
}

Return response for createAssessment mutation

type AssessmentDeletePayload

type AssessmentDeletePayload struct {
	// Deleted assessment ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteAssessment mutation

type AssessmentResponseCreatePayload

type AssessmentResponseCreatePayload struct {
	// Created assessmentResponse
	AssessmentResponse *generated.AssessmentResponse `json:"assessmentResponse"`
}

Return response for createAssessmentResponse mutation

type AssessmentResponseDeletePayload

type AssessmentResponseDeletePayload struct {
	// Deleted assessmentResponse ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteAssessmentResponse mutation

type AssessmentTemplateCreatePayload

type AssessmentTemplateCreatePayload struct {
	// Created template
	Template *generated.Template `json:"template"`
}

Return response for createAssessmentTemplate mutation

type AssessmentUpdatePayload

type AssessmentUpdatePayload struct {
	// Updated assessment
	Assessment *generated.Assessment `json:"assessment"`
}

Return response for updateAssessment mutation

type AssetBulkCreatePayload

type AssetBulkCreatePayload struct {
	// Created assets
	Assets []*generated.Asset `json:"assets,omitempty"`
}

Return response for createBulkAsset mutation

type AssetBulkDeletePayload

type AssetBulkDeletePayload struct {
	// Deleted asset IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkAsset mutation

type AssetBulkUpdatePayload

type AssetBulkUpdatePayload struct {
	// Updated assets
	Assets []*generated.Asset `json:"assets,omitempty"`
	// IDs of the updated assets
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkAsset mutation

type AssetCreatePayload

type AssetCreatePayload struct {
	// Created asset
	Asset *generated.Asset `json:"asset"`
}

Return response for createAsset mutation

type AssetDeletePayload

type AssetDeletePayload struct {
	// Deleted asset ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteAsset mutation

type AssetUpdatePayload

type AssetUpdatePayload struct {
	// Updated asset
	Asset *generated.Asset `json:"asset"`
}

Return response for updateAsset mutation

type BulkUpdateStatusPayload

type BulkUpdateStatusPayload struct {
	// Updated nda request IDs
	TotalUpdated int `json:"totalUpdated"`
}

Return response for approveNDARequests or denyNDARequests mutation

type CampaignBulkCreatePayload

type CampaignBulkCreatePayload struct {
	// Created campaigns
	Campaigns []*generated.Campaign `json:"campaigns,omitempty"`
}

Return response for createBulkCampaign mutation

type CampaignCreatePayload

type CampaignCreatePayload struct {
	// Created campaign
	Campaign *generated.Campaign `json:"campaign"`
}

Return response for createCampaign mutation

type CampaignCreateWithTargetsPayload

type CampaignCreateWithTargetsPayload struct {
	// Created campaign
	Campaign *generated.Campaign `json:"campaign"`
	// Created campaign targets
	CampaignTargets []*generated.CampaignTarget `json:"campaignTargets,omitempty"`
}

Return response for createCampaignWithTargets mutation

type CampaignDeletePayload

type CampaignDeletePayload struct {
	// Deleted campaign ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteCampaign mutation

type CampaignLaunchPayload

type CampaignLaunchPayload struct {
	// Updated campaign
	Campaign *generated.Campaign `json:"campaign"`
	// Number of targets queued for send
	QueuedCount int `json:"queuedCount"`
	// Number of targets skipped
	SkippedCount int `json:"skippedCount"`
}

Return response for launchCampaign mutation

type CampaignTargetBulkCreatePayload

type CampaignTargetBulkCreatePayload struct {
	// Created campaignTargets
	CampaignTargets []*generated.CampaignTarget `json:"campaignTargets,omitempty"`
}

Return response for createBulkCampaignTarget mutation

type CampaignTargetCreatePayload

type CampaignTargetCreatePayload struct {
	// Created campaignTarget
	CampaignTarget *generated.CampaignTarget `json:"campaignTarget"`
}

Return response for createCampaignTarget mutation

type CampaignTargetDeletePayload

type CampaignTargetDeletePayload struct {
	// Deleted campaignTarget ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteCampaignTarget mutation

type CampaignTargetUpdatePayload

type CampaignTargetUpdatePayload struct {
	// Updated campaignTarget
	CampaignTarget *generated.CampaignTarget `json:"campaignTarget"`
}

Return response for updateCampaignTarget mutation

type CampaignTestEmailPayload

type CampaignTestEmailPayload struct {
	// Campaign used for the test send
	Campaign *generated.Campaign `json:"campaign"`
	// Number of emails queued for send
	QueuedCount int `json:"queuedCount"`
	// Number of emails skipped
	SkippedCount int `json:"skippedCount"`
}

Return response for sendCampaignTestEmail mutation

type CampaignUpdatePayload

type CampaignUpdatePayload struct {
	// Updated campaign
	Campaign *generated.Campaign `json:"campaign"`
}

Return response for updateCampaign mutation

type CheckResultBulkCreatePayload

type CheckResultBulkCreatePayload struct {
	// Created checkResults
	CheckResults []*generated.CheckResult `json:"checkResults,omitempty"`
}

Return response for createBulkCheckResult mutation

type CheckResultBulkDeletePayload

type CheckResultBulkDeletePayload struct {
	// Deleted checkResult IDs
	DeletedIDs []string `json:"deletedIDs"`
	// Error returned when the bulk delete is only partially applied
	Error *string `json:"error,omitempty"`
	// IDs of checkResults that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
}

Return response for deleteBulkCheckResult mutation

type CheckResultBulkUpdatePayload

type CheckResultBulkUpdatePayload struct {
	// Updated checkResults
	CheckResults []*generated.CheckResult `json:"checkResults,omitempty"`
	// IDs of the updated checkResults
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkCheckResult mutation

type CheckResultCreatePayload

type CheckResultCreatePayload struct {
	// Created checkResult
	CheckResult *generated.CheckResult `json:"checkResult"`
}

Return response for createCheckResult mutation

type CheckResultDeletePayload

type CheckResultDeletePayload struct {
	// Deleted checkResult ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteCheckResult mutation

type CheckResultUpdatePayload

type CheckResultUpdatePayload struct {
	// Updated checkResult
	CheckResult *generated.CheckResult `json:"checkResult"`
}

Return response for updateCheckResult mutation

type CloneControlInput

type CloneControlInput struct {
	// controlIDs are the ids of the control to clone. If standardID or standardShortName are passed, this is ignored
	ControlIDs []string `json:"controlIDs,omitempty"`
	// refCodes are the refCodes to control. A standardID must be provided to lookup the refCode from.
	RefCodes []string `json:"refCodes,omitempty"`
	// standardID to clone all controls from into the organization
	StandardID *string `json:"standardID,omitempty"`
	// standardShortName to clone all controls from into the organization, if the standardID is provided that will take precedence
	StandardShortName *string `json:"standardShortName,omitempty"`
	// standardVersion is the version of the standard to use when filtering by short name, if not provided, the latest version will be used
	StandardVersion *string `json:"standardVersion,omitempty"`
	// categories to limit the controls that are cloned from a standard. If standardID is empty, this field is ignored
	Categories []string `json:"categories,omitempty"`
	// organization ID that the controls will be under
	OwnerID *string `json:"ownerID,omitempty"`
	// optional program ID to associate to the controls
	ProgramID *string `json:"programID,omitempty"`
}

CloneControlInput is used to clone controls and their subcontrols under an organization (ownerID)

type CloneControlUploadInput

type CloneControlUploadInput struct {
	// controlID is the id of the control to clone. If standardID or standardShortName are passed, this is ignored
	ControlID *string `json:"controlID,omitempty"`
	// refCodes are the refCodes to control. A standardID must be provided to lookup the refCode from.
	RefCode *string `json:"refCode,omitempty"`
	// standardID to clone all controls from into the organization
	StandardID *string `json:"standardID,omitempty"`
	// standardShortName to clone all controls from into the organization, if the standardID is provided that will take precedence
	StandardShortName *string `json:"standardShortName,omitempty"`
	// standardVersion is the version of the standard to use when filtering by short name, if not provided, the latest version will be used
	StandardVersion *string `json:"standardVersion,omitempty"`
	// organization ID that the controls will be under
	OwnerID *string `json:"ownerID,omitempty"`
	// controlImplementation is the implementation details of the control
	ControlImplementation *string `json:"controlImplementation,omitempty"`
	// controlObjective is the objective details of the control
	ControlObjective *string `json:"controlObjective,omitempty"`
	// implementationGuidance is guidance details on the implementation of the control
	ImplementationGuidance *string `json:"implementationGuidance,omitempty"`
	// comment to associate with the control that was created
	Comment *string `json:"comment,omitempty"`
	// internalPolicyIDs to associate with the created control
	InternalPolicyID *string `json:"internalPolicyID,omitempty"`
	// controlInput includes all the standard settings you can set on create of a control that can also be set during the creation via clone. Note that some fields like refCode, description, category, will be ignored
	// if the control is being clone from a system owned standard
	ControlInput *generated.CreateControlInput `json:"controlInput,omitempty"`
}

CloneControlUploadInput is used to clone controls and their subcontrols under an organization using a csv upload

type ContactBulkCreatePayload

type ContactBulkCreatePayload struct {
	// Created contacts
	Contacts []*generated.Contact `json:"contacts,omitempty"`
}

Return response for createBulkContact mutation

type ContactBulkDeletePayload

type ContactBulkDeletePayload struct {
	// Deleted contact IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkContact mutation

type ContactBulkUpdatePayload

type ContactBulkUpdatePayload struct {
	// Updated contacts
	Contacts []*generated.Contact `json:"contacts,omitempty"`
	// IDs of the updated contacts
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkContact mutation

type ContactCreatePayload

type ContactCreatePayload struct {
	// Created contact
	Contact *generated.Contact `json:"contact"`
}

Return response for createContact mutation

type ContactDeletePayload

type ContactDeletePayload struct {
	// Deleted contact ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteContact mutation

type ContactUpdatePayload

type ContactUpdatePayload struct {
	// Updated contact
	Contact *generated.Contact `json:"contact"`
}

Return response for updateContact mutation

type ControlBulkCreatePayload

type ControlBulkCreatePayload struct {
	// Created controls
	Controls []*generated.Control `json:"controls,omitempty"`
}

Return response for createBulkControl mutation

type ControlBulkDeletePayload

type ControlBulkDeletePayload struct {
	// Deleted control IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkControl mutation

type ControlBulkUpdatePayload

type ControlBulkUpdatePayload struct {
	// Updated controls
	Controls []*generated.Control `json:"controls,omitempty"`
	// IDs of the updated controls
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkControl mutation

type ControlCategory

type ControlCategory struct {
	Name               string  `json:"name"`
	ReferenceFramework *string `json:"referenceFramework,omitempty"`
}

type ControlCategoryConnection

type ControlCategoryConnection struct {
	// A list of edges.
	Edges []*ControlCategoryEdge `json:"edges,omitempty"`
	// Information to aid in pagination.
	PageInfo *entgql.PageInfo[string] `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

A connection to a list of items.

type ControlCategoryEdge

type ControlCategoryEdge struct {
	// The item at the end of the edge.
	Node *ControlCategory `json:"node"`
}

An edge in a connection.

type ControlCategoryOrder

type ControlCategoryOrder struct {
	// The ordering direction.
	Direction entgql.OrderDirection `json:"direction"`
	// The field by which to order ControlCategories.
	Field ControlCategoryOrderField `json:"field"`
}

Ordering options for ControlCategory connections

type ControlCategoryOrderField

type ControlCategoryOrderField string

Properties by which ControlCategory connections can be ordered.

const (
	ControlCategoryOrderFieldCategory           ControlCategoryOrderField = "category"
	ControlCategoryOrderFieldReferenceFramework ControlCategoryOrderField = "referenceFramework"
)

func (ControlCategoryOrderField) IsValid

func (e ControlCategoryOrderField) IsValid() bool

func (ControlCategoryOrderField) MarshalGQL

func (e ControlCategoryOrderField) MarshalGQL(w io.Writer)

func (ControlCategoryOrderField) MarshalJSON

func (e ControlCategoryOrderField) MarshalJSON() ([]byte, error)

func (ControlCategoryOrderField) String

func (e ControlCategoryOrderField) String() string

func (*ControlCategoryOrderField) UnmarshalGQL

func (e *ControlCategoryOrderField) UnmarshalGQL(v any) error

func (*ControlCategoryOrderField) UnmarshalJSON

func (e *ControlCategoryOrderField) UnmarshalJSON(b []byte) error

type ControlChange

type ControlChange struct {
	// The ref_code of the control
	RefCode string `json:"refCode"`
	// The title of the control at the new revision
	Title string `json:"title"`
	// Field-level diffs for this control
	Diffs []*ControlFieldDiff `json:"diffs"`
}

ControlChange describes the diffs for a single control identified by refCode

type ControlCreatePayload

type ControlCreatePayload struct {
	// Created control
	Control *generated.Control `json:"control"`
}

Return response for createControl mutation

type ControlDeletePayload

type ControlDeletePayload struct {
	// Deleted control ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteControl mutation

type ControlDiffInput

type ControlDiffInput struct {
	// ID of the standard to compare controls for
	StandardID string `json:"standardID"`
	// base revision to compare from (e.g. "v1.0.0")
	OldRevision string `json:"oldRevision"`
	// target revision to compare to (e.g. "v2.0.0")
	NewRevision string `json:"newRevision"`
}

ControlDiffInput is used to compare all controls under a standard across two revisions

type ControlDiffPayload

type ControlDiffPayload struct {
	// The standard ID being compared
	StandardID string `json:"standardID"`
	// The base revision
	OldRevision string `json:"oldRevision"`
	// The target revision
	NewRevision string `json:"newRevision"`
	// Per-control changes between the two revisions
	Changes []*ControlChange `json:"changes"`
}

ControlDiffPayload contains the field-level diffs between two revisions of all controls under a standard

type ControlEvidence

type ControlEvidence struct {
	// total number of evidence items linked to the control
	TotalCount int `json:"totalCount"`
	// from the total number, the amount inherited from linked controls instead of directly
	// linked to this control
	InheritedCount int `json:"inheritedCount"`
	// the most severe evidence status among all linked evidence items
	WorstStatus *enums.EvidenceStatus `json:"worstStatus,omitempty"`
	// number of evidence items with auditor-approved status
	ApprovedCount int `json:"approvedCount"`
	// breakdown of evidence item counts by status
	CountByStatus []*EvidenceCountByStatus `json:"countByStatus,omitempty"`
}

ControlEvidence summarizes the evidence status across all evidence linked to a control

type ControlFieldDiff

type ControlFieldDiff struct {
	// Field name (snake_case)
	Field string `json:"field"`
	// Value in the old revision
	OldValue any `json:"oldValue,omitempty"`
	// Value in the new revision
	NewValue any `json:"newValue,omitempty"`
	// Unified diff text when applicable
	Diff *string `json:"diff,omitempty"`
}

ControlFieldDiff describes a single field that differs between two control revisions

type ControlGroup

type ControlGroup struct {
	Category string                       `json:"category"`
	Controls *generated.ControlConnection `json:"controls"`
}

type ControlGroupConnection

type ControlGroupConnection struct {
	Edges []*ControlGroupEdge `json:"edges"`
}

type ControlGroupEdge

type ControlGroupEdge struct {
	PageInfo *entgql.PageInfo[string] `json:"pageInfo"`
	Node     *ControlGroup            `json:"node"`
}

type ControlImplementationBulkCreatePayload

type ControlImplementationBulkCreatePayload struct {
	// Created controlImplementations
	ControlImplementations []*generated.ControlImplementation `json:"controlImplementations,omitempty"`
}

Return response for createBulkControlImplementation mutation

type ControlImplementationBulkDeletePayload

type ControlImplementationBulkDeletePayload struct {
	// Deleted controlImplementation IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkControlImplementation mutation

type ControlImplementationBulkUpdatePayload

type ControlImplementationBulkUpdatePayload struct {
	// Updated controlImplementations
	ControlImplementations []*generated.ControlImplementation `json:"controlImplementations,omitempty"`
	// IDs of the updated controlImplementations
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkControlImplementation mutation

type ControlImplementationCreatePayload

type ControlImplementationCreatePayload struct {
	// Created controlImplementation
	ControlImplementation *generated.ControlImplementation `json:"controlImplementation"`
}

Return response for createControlImplementation mutation

type ControlImplementationDeletePayload

type ControlImplementationDeletePayload struct {
	// Deleted controlImplementation ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteControlImplementation mutation

type ControlImplementationUpdatePayload

type ControlImplementationUpdatePayload struct {
	// Updated controlImplementation
	ControlImplementation *generated.ControlImplementation `json:"controlImplementation"`
}

Return response for updateControlImplementation mutation

type ControlInfo

type ControlInfo struct {
	// unique identifier of the control
	ID string `json:"id"`
	// id(s) of the mapped_control this related control from if the mapping is org owned
	MappedControlReferenceIDs []string `json:"mappedControlReferenceIDs,omitempty"`
	// id(s) of the subcontrol the mapping was inherited from, this is null if the control was directly mapped, if it was inherited from a subcontrol it will have the subcontrol IDs that are providing the mapping
	InheritedFromSubcontrolIDs []string `json:"inheritedFromSubcontrolIDs,omitempty"`
	// the unique reference code for the control
	RefCode string `json:"refCode"`
	// description of what the control is supposed to accomplish
	Description *string `json:"description,omitempty"`
	// human readable title of the control for quick identification
	Title *string `json:"title,omitempty"`
	// status of the control
	Status *enums.ControlStatus `json:"status,omitempty"`
	// the group of users who are responsible for the control, will be assigned tasks, approval, etc.
	ControlOwner *generated.Group `json:"controlOwner,omitempty"`
	// the reference framework this control belongs to, e.g. SOC2, ISO27001
	ReferenceFramework *string `json:"referenceFramework,omitempty"`
	// category of the control
	Category *string `json:"category,omitempty"`
	// subcategory of the control
	Subcategory *string `json:"subcategory,omitempty"`
	// whether this entry is a subcontrol rather than a top-level control
	IsSubcontrol bool `json:"isSubcontrol"`
	// the id of the parent control if this is a subcontrol, empty if isSubcontrol is false
	ParentControlID *string `json:"parentControlID,omitempty"`
}

ControlInfo provides a lightweight summary of a control or subcontrol, used when referencing related controls

type ControlObjectiveBulkCreatePayload

type ControlObjectiveBulkCreatePayload struct {
	// Created controlObjectives
	ControlObjectives []*generated.ControlObjective `json:"controlObjectives,omitempty"`
}

Return response for createBulkControlObjective mutation

type ControlObjectiveBulkDeletePayload

type ControlObjectiveBulkDeletePayload struct {
	// Deleted controlObjective IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkControlObjective mutation

type ControlObjectiveBulkUpdatePayload

type ControlObjectiveBulkUpdatePayload struct {
	// Updated controlObjectives
	ControlObjectives []*generated.ControlObjective `json:"controlObjectives,omitempty"`
	// IDs of the updated controlObjectives
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkControlObjective mutation

type ControlObjectiveCreatePayload

type ControlObjectiveCreatePayload struct {
	// Created controlObjective
	ControlObjective *generated.ControlObjective `json:"controlObjective"`
}

Return response for createControlObjective mutation

type ControlObjectiveDeletePayload

type ControlObjectiveDeletePayload struct {
	// Deleted controlObjective ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteControlObjective mutation

type ControlObjectiveUpdatePayload

type ControlObjectiveUpdatePayload struct {
	// Updated controlObjective
	ControlObjective *generated.ControlObjective `json:"controlObjective"`
}

Return response for updateControlObjective mutation

type ControlPolicies

type ControlPolicies struct {
	// total number of policies linked to the control
	TotalCount int `json:"totalCount"`
	// the policies linked to the control
	InternalPolicies []*PolicySummary `json:"internalPolicies,omitempty"`
}

ControlPolicies summarizes the internal policies linked to a control

type ControlReport

type ControlReport struct {
	// unique identifier of the control
	ID string `json:"id"`
	// the id of the parent control, only populated when the object is a subcontrol
	ParentControlID *string `json:"parentControlID,omitempty"`
	// the unique reference code for the control
	RefCode string `json:"refCode"`
	// description of what the control is supposed to accomplish
	Description *string `json:"description,omitempty"`
	// human readable title of the control for quick identification
	Title *string `json:"title,omitempty"`
	// status of the control
	Status *enums.ControlStatus `json:"status,omitempty"`
	// the group of users who are responsible for the control, will be assigned tasks, approval, etc.
	ControlOwner *generated.Group `json:"controlOwner,omitempty"`
	// the reference framework this control belongs to, e.g. SOC2, ISO27001
	ReferenceFramework *string `json:"referenceFramework,omitempty"`
	// category of the control
	Category *string `json:"category,omitempty"`
	// subcategory of the control
	Subcategory *string `json:"subcategory,omitempty"`
	// controls from other frameworks that map to this control
	RelatedControls []*ControlInfo `json:"relatedControls,omitempty"`
	// aggregated evidence status across all evidence linked to this control
	EvidenceStatus *ControlEvidence `json:"evidenceStatus,omitempty"`
	// internal policies linked to this control
	LinkedPolicies *ControlPolicies `json:"linkedPolicies,omitempty"`
	// child subcontrols nested under this control
	Subcontrols []*ControlReport `json:"subcontrols,omitempty"`
}

ControlReport is a custom resolver that is used to show detailed, but selective information about an organizations controls vs. the standards

func (ControlReport) IsNode

func (ControlReport) IsNode()

type ControlReportCategory

type ControlReportCategory struct {
	// the category name; empty string when controls have no category assigned
	Category string `json:"category"`
	// total number of controls in this category
	TotalCount int `json:"totalCount"`
	// controls belonging to this category
	Controls []*ControlReport `json:"controls"`
}

ControlReportCategory groups control reports by their category

type ControlReportConnection

type ControlReportConnection struct {
	// A list of edges.
	Edges []*ControlReportEdge `json:"edges,omitempty"`
	// Information to aid in pagination.
	PageInfo *entgql.PageInfo[string] `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

A connection to a list of items.

type ControlReportEdge

type ControlReportEdge struct {
	// The item at the end of the edge.
	Node *ControlReport `json:"node,omitempty"`
	// A cursor for use in pagination.
	Cursor entgql.Cursor[string] `json:"cursor"`
}

An edge in a connection.

type ControlReportOrder

type ControlReportOrder struct {
	// The ordering direction.
	Direction entgql.OrderDirection `json:"direction"`
	// The field by which to order ControlReport.
	Field ControlReportOrderField `json:"field"`
}

Ordering options for ControlReport connections

type ControlReportOrderField

type ControlReportOrderField string

Properties by which ControlReport connections can be ordered.

const (
	// Order by creation time
	ControlReportOrderFieldCreatedAt ControlReportOrderField = "created_at"
	// Order by last update time
	ControlReportOrderFieldUpdatedAt ControlReportOrderField = "updated_at"
	// Order by reference code
	ControlReportOrderFieldRefCode ControlReportOrderField = "refCode"
	// Order by title
	ControlReportOrderFieldTitle ControlReportOrderField = "title"
	// Order by reference framework
	ControlReportOrderFieldReferenceFramework ControlReportOrderField = "referenceFramework"
)

func (ControlReportOrderField) IsValid

func (e ControlReportOrderField) IsValid() bool

func (ControlReportOrderField) MarshalGQL

func (e ControlReportOrderField) MarshalGQL(w io.Writer)

func (ControlReportOrderField) MarshalJSON

func (e ControlReportOrderField) MarshalJSON() ([]byte, error)

func (ControlReportOrderField) String

func (e ControlReportOrderField) String() string

func (*ControlReportOrderField) UnmarshalGQL

func (e *ControlReportOrderField) UnmarshalGQL(v any) error

func (*ControlReportOrderField) UnmarshalJSON

func (e *ControlReportOrderField) UnmarshalJSON(b []byte) error

type ControlUpdatePayload

type ControlUpdatePayload struct {
	// Updated control
	Control *generated.Control `json:"control"`
}

Return response for updateControl mutation

type CreateAssessmentTemplateInput

type CreateAssessmentTemplateInput struct {
	// ID of the assessment to turn into a template
	AssessmentID string `json:"assessmentID"`
	// Name for the template. Defaults to the assessment name when omitted.
	Name *string `json:"name,omitempty"`
	// Description for the template.
	Description *string `json:"description,omitempty"`
	// Tags for the template.
	Tags []string `json:"tags,omitempty"`
}

Input for creating a questionnaire template from an assessment

type CreateCampaignWithTargetsInput

type CreateCampaignWithTargetsInput struct {
	// values of the campaign
	Campaign *generated.CreateCampaignInput `json:"campaign"`
	// list of targets to create for the campaign
	Targets []*generated.CreateCampaignTargetInput `json:"targets,omitempty"`
}

Input for createCampaignWithTargets mutation

type CreateControlWithSubcontrolsInput

type CreateControlWithSubcontrolsInput struct {
	Control     *generated.CreateControlInput      `json:"control,omitempty"`
	Subcontrols []*generated.CreateSubcontrolInput `json:"subcontrols,omitempty"`
}

type CreateFullProgramInput

type CreateFullProgramInput struct {
	Program          *generated.CreateProgramInput          `json:"program"`
	Controls         []*CreateControlWithSubcontrolsInput   `json:"controls,omitempty"`
	Risks            []*generated.CreateRiskInput           `json:"risks,omitempty"`
	InternalPolicies []*generated.CreateInternalPolicyInput `json:"internalPolicies,omitempty"`
	Procedures       []*generated.CreateProcedureInput      `json:"procedures,omitempty"`
	Members          []*CreateMemberWithProgramInput        `json:"members,omitempty"`
	StandardID       *string                                `json:"standardID,omitempty"`
}

type CreateMemberWithProgramInput

type CreateMemberWithProgramInput struct {
	Role   *enums.Role `json:"role,omitempty"`
	UserID string      `json:"userID"`
}

type CreateProgramWithMembersInput

type CreateProgramWithMembersInput struct {
	// program input for the base program details
	Program *generated.CreateProgramInput `json:"program"`
	// members to add to the program
	Members []*CreateMemberWithProgramInput `json:"members,omitempty"`
	// standardID to clone all controls from into the organization and associated with the program
	StandardID *string `json:"standardID,omitempty"`
	// standardShortName to clone all controls from into the organization, if the standardID is provided that will take precedence
	StandardShortName *string `json:"standardShortName,omitempty"`
	// standardVersion is the version of the standard to use when filtering by short name, if not provided, the latest version will be used
	StandardVersion *string `json:"standardVersion,omitempty"`
	// categories to limit the controls that are cloned from a standard. If standardID is empty, this field is ignored
	Categories []string `json:"categories,omitempty"`
}

type CreateTrustCenterDomainInput

type CreateTrustCenterDomainInput struct {
	// the name of the custom domain
	CnameRecord string `json:"cnameRecord"`
	// the type of the custom domain
	DomainType *enums.CustomDomainType `json:"domainType,omitempty"`
	// trust center ID
	TrustCenterID string `json:"trustCenterID"`
}

Input for createTrustCenterDomain mutation

type CreateTrustCenterNDAInput

type CreateTrustCenterNDAInput struct {
	// trust center id
	TrustCenterID string `json:"trustCenterID"`
}

type CreateTrustCenterPreviewSettingInput

type CreateTrustCenterPreviewSettingInput struct {
	// trust center ID
	TrustCenterID string `json:"trustCenterID"`
	// title of the trust center
	Title *string `json:"title,omitempty"`
	// overview of the trust center
	Overview *string `json:"overview,omitempty"`
	// primary color for the trust center
	PrimaryColor *string `json:"primaryColor,omitempty"`
	// logo remote URL
	LogoRemoteURL *string `json:"logoRemoteURL,omitempty"`
	// logo local file ID
	LogoFileID *string `json:"logoFileID,omitempty"`
	// favicon remote URL
	FaviconRemoteURL *string `json:"faviconRemoteURL,omitempty"`
	// favicon local file ID
	FaviconFileID *string `json:"faviconFileID,omitempty"`
	// theme mode for the trust center
	ThemeMode *enums.TrustCenterThemeMode `json:"themeMode,omitempty"`
	// font for the trust center
	Font *string `json:"font,omitempty"`
	// foreground color for the trust center
	ForegroundColor *string `json:"foregroundColor,omitempty"`
	// background color for the trust center
	BackgroundColor *string `json:"backgroundColor,omitempty"`
	// accent color for the trust center
	AccentColor *string `json:"accentColor,omitempty"`
	// hero image local file ID
	HeroImageFileID *string `json:"heroImageFileID,omitempty"`
}

Input for createTrustCenterPreviewSetting mutation

type CustomDomainBulkCreatePayload

type CustomDomainBulkCreatePayload struct {
	// Created customDomains
	CustomDomains []*generated.CustomDomain `json:"customDomains,omitempty"`
}

Return response for createBulkCustomDomain mutation

type CustomDomainBulkDeletePayload

type CustomDomainBulkDeletePayload struct {
	// Deleted customDomain IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkCustomDomain mutation

type CustomDomainBulkUpdatePayload

type CustomDomainBulkUpdatePayload struct {
	// Updated customDomains
	CustomDomains []*generated.CustomDomain `json:"customDomains,omitempty"`
	// IDs of the updated customDomains
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkCustomDomain mutation

type CustomDomainCreatePayload

type CustomDomainCreatePayload struct {
	// Created customDomain
	CustomDomain *generated.CustomDomain `json:"customDomain"`
}

Return response for createCustomDomain mutation

type CustomDomainDeletePayload

type CustomDomainDeletePayload struct {
	// Deleted customDomain ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteCustomDomain mutation

type CustomDomainUpdatePayload

type CustomDomainUpdatePayload struct {
	// Updated customDomain
	CustomDomain *generated.CustomDomain `json:"customDomain"`
}

Return response for updateCustomDomain mutation

type CustomDomainValidatePayload

type CustomDomainValidatePayload struct {
	// CustomDomain that validation was triggered for
	CustomDomain *generated.CustomDomain `json:"customDomain"`
}

Return response for validateCustomDomain mutation

type CustomTypeEnumBulkCreatePayload

type CustomTypeEnumBulkCreatePayload struct {
	// Created customTypeEnums
	CustomTypeEnums []*generated.CustomTypeEnum `json:"customTypeEnums,omitempty"`
}

Return response for createBulkCustomTypeEnum mutation

type CustomTypeEnumCreatePayload

type CustomTypeEnumCreatePayload struct {
	// Created customTypeEnum
	CustomTypeEnum *generated.CustomTypeEnum `json:"customTypeEnum"`
}

Return response for createCustomTypeEnum mutation

type CustomTypeEnumDeletePayload

type CustomTypeEnumDeletePayload struct {
	// Deleted customTypeEnum ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteCustomTypeEnum mutation

type CustomTypeEnumUpdatePayload

type CustomTypeEnumUpdatePayload struct {
	// Updated customTypeEnum
	CustomTypeEnum *generated.CustomTypeEnum `json:"customTypeEnum"`
}

Return response for updateCustomTypeEnum mutation

type DNSVerificationBulkCreatePayload

type DNSVerificationBulkCreatePayload struct {
	// Created dnsVerifications
	DNSVerifications []*generated.DNSVerification `json:"dnsVerifications,omitempty"`
}

Return response for createBulkDNSVerification mutation

type DNSVerificationBulkDeletePayload

type DNSVerificationBulkDeletePayload struct {
	// Deleted dnsVerification IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkDNSVerification mutation

type DNSVerificationBulkUpdatePayload

type DNSVerificationBulkUpdatePayload struct {
	// Updated dnsVerifications
	DNSVerifications []*generated.DNSVerification `json:"dnsVerifications,omitempty"`
	// IDs of the updated dnsVerifications
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkDNSVerification mutation

type DNSVerificationCreatePayload

type DNSVerificationCreatePayload struct {
	// Created dnsVerification
	DNSVerification *generated.DNSVerification `json:"dnsVerification"`
}

Return response for createDNSVerification mutation

type DNSVerificationDeletePayload

type DNSVerificationDeletePayload struct {
	// Deleted dnsVerification ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteDNSVerification mutation

type DNSVerificationUpdatePayload

type DNSVerificationUpdatePayload struct {
	// Updated dnsVerification
	DNSVerification *generated.DNSVerification `json:"dnsVerification"`
}

Return response for updateDNSVerification mutation

type DirectoryAccountBulkCreatePayload

type DirectoryAccountBulkCreatePayload struct {
	// Created directoryAccounts
	DirectoryAccounts []*generated.DirectoryAccount `json:"directoryAccounts,omitempty"`
}

Return response for createBulkDirectoryAccount mutation

type DirectoryAccountCreatePayload

type DirectoryAccountCreatePayload struct {
	// Created directoryAccount
	DirectoryAccount *generated.DirectoryAccount `json:"directoryAccount"`
}

Return response for createDirectoryAccount mutation

type DirectoryAccountDeletePayload

type DirectoryAccountDeletePayload struct {
	// Deleted directoryAccount ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteDirectoryAccount mutation

type DirectoryAccountUpdatePayload

type DirectoryAccountUpdatePayload struct {
	// Updated directoryAccount
	DirectoryAccount *generated.DirectoryAccount `json:"directoryAccount"`
}

Return response for updateDirectoryAccount mutation

type DirectoryGroupBulkCreatePayload

type DirectoryGroupBulkCreatePayload struct {
	// Created directoryGroups
	DirectoryGroups []*generated.DirectoryGroup `json:"directoryGroups,omitempty"`
}

Return response for createBulkDirectoryGroup mutation

type DirectoryGroupCreatePayload

type DirectoryGroupCreatePayload struct {
	// Created directoryGroup
	DirectoryGroup *generated.DirectoryGroup `json:"directoryGroup"`
}

Return response for createDirectoryGroup mutation

type DirectoryGroupDeletePayload

type DirectoryGroupDeletePayload struct {
	// Deleted directoryGroup ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteDirectoryGroup mutation

type DirectoryGroupUpdatePayload

type DirectoryGroupUpdatePayload struct {
	// Updated directoryGroup
	DirectoryGroup *generated.DirectoryGroup `json:"directoryGroup"`
}

Return response for updateDirectoryGroup mutation

type DirectoryMembershipBulkCreatePayload

type DirectoryMembershipBulkCreatePayload struct {
	// Created directoryMemberships
	DirectoryMemberships []*generated.DirectoryMembership `json:"directoryMemberships,omitempty"`
}

Return response for createBulkDirectoryMembership mutation

type DirectoryMembershipCreatePayload

type DirectoryMembershipCreatePayload struct {
	// Created directoryMembership
	DirectoryMembership *generated.DirectoryMembership `json:"directoryMembership"`
}

Return response for createDirectoryMembership mutation

type DirectoryMembershipDeletePayload

type DirectoryMembershipDeletePayload struct {
	// Deleted directoryMembership ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteDirectoryMembership mutation

type DirectoryMembershipUpdatePayload

type DirectoryMembershipUpdatePayload struct {
	// Updated directoryMembership
	DirectoryMembership *generated.DirectoryMembership `json:"directoryMembership"`
}

Return response for updateDirectoryMembership mutation

type DirectorySyncRunBulkCreatePayload

type DirectorySyncRunBulkCreatePayload struct {
	// Created directorySyncRuns
	DirectorySyncRuns []*generated.DirectorySyncRun `json:"directorySyncRuns,omitempty"`
}

Return response for createBulkDirectorySyncRun mutation

type DirectorySyncRunCreatePayload

type DirectorySyncRunCreatePayload struct {
	// Created directorySyncRun
	DirectorySyncRun *generated.DirectorySyncRun `json:"directorySyncRun"`
}

Return response for createDirectorySyncRun mutation

type DirectorySyncRunDeletePayload

type DirectorySyncRunDeletePayload struct {
	// Deleted directorySyncRun ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteDirectorySyncRun mutation

type DirectorySyncRunUpdatePayload

type DirectorySyncRunUpdatePayload struct {
	// Updated directorySyncRun
	DirectorySyncRun *generated.DirectorySyncRun `json:"directorySyncRun"`
}

Return response for updateDirectorySyncRun mutation

type DiscussionBulkCreatePayload

type DiscussionBulkCreatePayload struct {
	// Created discussions
	Discussions []*generated.Discussion `json:"discussions,omitempty"`
}

Return response for createBulkDiscussion mutation

type DiscussionCreatePayload

type DiscussionCreatePayload struct {
	// Created discussion
	Discussion *generated.Discussion `json:"discussion"`
}

Return response for createDiscussion mutation

type DiscussionDeletePayload

type DiscussionDeletePayload struct {
	// Deleted discussion ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteDiscussion mutation

type DiscussionUpdatePayload

type DiscussionUpdatePayload struct {
	// Updated discussion
	Discussion *generated.Discussion `json:"discussion"`
}

Return response for updateDiscussion mutation

type DocumentDataBulkCreatePayload

type DocumentDataBulkCreatePayload struct {
	// Created documentData
	DocumentData []*generated.DocumentData `json:"documentData,omitempty"`
}

Return response for createBulkDocumentData mutation

type DocumentDataBulkDeletePayload

type DocumentDataBulkDeletePayload struct {
	// Deleted documentData IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkDocumentData mutation

type DocumentDataBulkUpdatePayload

type DocumentDataBulkUpdatePayload struct {
	// Updated documentDatas
	DocumentData []*generated.DocumentData `json:"documentData,omitempty"`
	// IDs of the updated documentDatas
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkDocumentData mutation

type DocumentDataCreatePayload

type DocumentDataCreatePayload struct {
	// Created documentData
	DocumentData *generated.DocumentData `json:"documentData"`
}

Return response for createDocumentData mutation

type DocumentDataDeletePayload

type DocumentDataDeletePayload struct {
	// Deleted documentData ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteDocumentData mutation

type DocumentDataUpdatePayload

type DocumentDataUpdatePayload struct {
	// Updated documentData
	DocumentData *generated.DocumentData `json:"documentData"`
}

Return response for updateDocumentData mutation

type EmailTemplateBulkCreatePayload

type EmailTemplateBulkCreatePayload struct {
	// Created emailTemplates
	EmailTemplates []*generated.EmailTemplate `json:"emailTemplates,omitempty"`
}

Return response for createBulkEmailTemplate mutation

type EmailTemplateBulkDeletePayload

type EmailTemplateBulkDeletePayload struct {
	// Deleted emailTemplate IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkEmailTemplate mutation

type EmailTemplateBulkUpdatePayload

type EmailTemplateBulkUpdatePayload struct {
	// Updated emailTemplates
	EmailTemplates []*generated.EmailTemplate `json:"emailTemplates,omitempty"`
	// IDs of the updated emailTemplates
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkEmailTemplate mutation

type EmailTemplateCatalog

type EmailTemplateCatalog struct {
	// Available email template types.
	Entries []*EmailTemplateCatalogEntry `json:"entries"`
}

EmailTemplateCatalog contains the available customer-selectable email template types from the operation catalog.

type EmailTemplateCatalogEntry

type EmailTemplateCatalogEntry struct {
	// Stable catalog key stored on the EmailTemplate record to resolve the
	// rendering pipeline at send time.
	Key string `json:"key"`
	// Human-readable description of the template type.
	Description string `json:"description"`
	// JSON Schema describing the configurable fields for this template type.
	// The UI uses this to render a dynamic form; the submitted values become
	// the EmailTemplate defaults field.
	ConfigSchema map[string]any `json:"configSchema"`
	// RJSF-style UI schema describing how the configurable fields should be
	// rendered as a form: authoring order, color widgets for hex fields,
	// repeatable lists for body paragraphs, and hidden per-send fields.
	UISchema map[string]any `json:"uiSchema"`
	// System-provided template variables available for interpolation in this
	// template's string fields (e.g. {{ .firstName }}), with descriptions for
	// the UI variable picker.
	Variables []*TemplateVariable `json:"variables"`
	// Example/default field values used to render the preview, keyed by the same
	// field names as configSchema. The UI pre-fills the editor form with these so
	// the author starts from — and can see — what the default preview renders.
	ExampleValues map[string]any `json:"exampleValues,omitempty"`
	// Rendered HTML preview of the template with default/example values.
	HTMLPreview string `json:"htmlPreview"`
}

EmailTemplateCatalogEntry describes a single customer-selectable email template type from the operation catalog. The key is stored on the EmailTemplate record to link it back to the rendering pipeline at send time.

type EmailTemplateCreatePayload

type EmailTemplateCreatePayload struct {
	// Created emailTemplate
	EmailTemplate *generated.EmailTemplate `json:"emailTemplate"`
}

Return response for createEmailTemplate mutation

type EmailTemplateDeletePayload

type EmailTemplateDeletePayload struct {
	// Deleted emailTemplate ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteEmailTemplate mutation

type EmailTemplateUpdatePayload

type EmailTemplateUpdatePayload struct {
	// Updated emailTemplate
	EmailTemplate *generated.EmailTemplate `json:"emailTemplate"`
}

Return response for updateEmailTemplate mutation

type EntityBulkCreatePayload

type EntityBulkCreatePayload struct {
	// Created entities
	Entities []*generated.Entity `json:"entities,omitempty"`
}

Return response for createBulkEntity mutation

type EntityBulkDeletePayload

type EntityBulkDeletePayload struct {
	// Deleted entity IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkEntity mutation

type EntityBulkUpdatePayload

type EntityBulkUpdatePayload struct {
	// Updated entitys
	Entities []*generated.Entity `json:"entities,omitempty"`
	// IDs of the updated entitys
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkEntity mutation

type EntityCreatePayload

type EntityCreatePayload struct {
	// Created entity
	Entity *generated.Entity `json:"entity"`
}

Return response for createEntity mutation

type EntityDeletePayload

type EntityDeletePayload struct {
	// Deleted entity ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteEntity mutation

type EntityTypeBulkCreatePayload

type EntityTypeBulkCreatePayload struct {
	// Created entityTypes
	EntityTypes []*generated.EntityType `json:"entityTypes,omitempty"`
}

Return response for createBulkEntityType mutation

type EntityTypeBulkDeletePayload

type EntityTypeBulkDeletePayload struct {
	// Deleted entityType IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkEntityType mutation

type EntityTypeBulkUpdatePayload

type EntityTypeBulkUpdatePayload struct {
	// Updated entityTypes
	EntityTypes []*generated.EntityType `json:"entityTypes,omitempty"`
	// IDs of the updated entityTypes
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkEntityType mutation

type EntityTypeCreatePayload

type EntityTypeCreatePayload struct {
	// Created entityType
	EntityType *generated.EntityType `json:"entityType"`
}

Return response for createEntityType mutation

type EntityTypeDeletePayload

type EntityTypeDeletePayload struct {
	// Deleted entityType ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteEntityType mutation

type EntityTypeUpdatePayload

type EntityTypeUpdatePayload struct {
	// Updated entityType
	EntityType *generated.EntityType `json:"entityType"`
}

Return response for updateEntityType mutation

type EntityUpdatePayload

type EntityUpdatePayload struct {
	// Updated entity
	Entity *generated.Entity `json:"entity"`
}

Return response for updateEntity mutation

type EventBulkCreatePayload

type EventBulkCreatePayload struct {
	// Created events
	Events []*generated.Event `json:"events,omitempty"`
}

Return response for createBulkEvent mutation

type EventBulkDeletePayload

type EventBulkDeletePayload struct {
	// Deleted event IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkEvent mutation

type EventBulkUpdatePayload

type EventBulkUpdatePayload struct {
	// Updated events
	Events []*generated.Event `json:"events,omitempty"`
	// IDs of the updated events
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkEvent mutation

type EventCreatePayload

type EventCreatePayload struct {
	// Created event
	Event *generated.Event `json:"event"`
}

Return response for createEvent mutation

type EventDeletePayload

type EventDeletePayload struct {
	// Deleted event ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteEvent mutation

type EventUpdatePayload

type EventUpdatePayload struct {
	// Updated event
	Event *generated.Event `json:"event"`
}

Return response for updateEvent mutation

type EvidenceBulkCreatePayload

type EvidenceBulkCreatePayload struct {
	// Created evidence
	Evidences []*generated.Evidence `json:"evidences,omitempty"`
}

Return response for createBulkEvidence mutation

type EvidenceBulkDeletePayload

type EvidenceBulkDeletePayload struct {
	// Deleted evidence IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkEvidence mutation

type EvidenceBulkUpdatePayload

type EvidenceBulkUpdatePayload struct {
	// Updated evidences
	Evidences []*generated.Evidence `json:"evidences,omitempty"`
	// IDs of the updated evidence
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkEvidence mutation

type EvidenceCountByStatus

type EvidenceCountByStatus struct {
	// the evidence status value
	Status enums.EvidenceStatus `json:"status"`
	// number of evidence items with this status
	TotalCount int `json:"totalCount"`
}

EvidenceCountByStatus pairs an evidence status with the number of evidence items in that state

type EvidenceCreatePayload

type EvidenceCreatePayload struct {
	// Created evidence
	Evidence *generated.Evidence `json:"evidence"`
}

Return response for createEvidence mutation

type EvidenceDeletePayload

type EvidenceDeletePayload struct {
	// Deleted evidence ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteEvidence mutation

type EvidenceUpdatePayload

type EvidenceUpdatePayload struct {
	// Updated evidence
	Evidence *generated.Evidence `json:"evidence"`
}

Return response for updateEvidence mutation

type ExportBulkCreatePayload

type ExportBulkCreatePayload struct {
	// Created exports
	Exports []*generated.Export `json:"exports,omitempty"`
}

Return response for createBulkExport mutation

type ExportBulkDeletePayload

type ExportBulkDeletePayload struct {
	// Deleted export IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkExport mutation

type ExportCreatePayload

type ExportCreatePayload struct {
	// Created export
	Export *generated.Export `json:"export"`
}

Return response for createExport mutation

type ExportDeletePayload

type ExportDeletePayload struct {
	// Deleted export ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteExport mutation

type ExportUpdatePayload

type ExportUpdatePayload struct {
	// Updated export
	Export *generated.Export `json:"export"`
}

Return response for updateExport mutation

type FileDeletePayload

type FileDeletePayload struct {
	// Deleted file ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteFile mutation

type FileMetadataInput

type FileMetadataInput struct {
	// the display name for the file, defaults to the original filename
	Name *string `json:"name,omitempty"`
	// additional extracted or client-provided metadata for the file
	Metadata map[string]any `json:"metadata,omitempty"`
}

type FindingBulkCreatePayload

type FindingBulkCreatePayload struct {
	// Created findings
	Findings []*generated.Finding `json:"findings,omitempty"`
}

Return response for createBulkFinding mutation

type FindingBulkDeletePayload

type FindingBulkDeletePayload struct {
	// Deleted finding IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkFinding mutation

type FindingBulkUpdatePayload

type FindingBulkUpdatePayload struct {
	// Updated findings
	Findings []*generated.Finding `json:"findings,omitempty"`
	// IDs of the updated findings
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkFinding mutation

type FindingControlBulkCreatePayload

type FindingControlBulkCreatePayload struct {
	// Created findingControls
	FindingControls []*generated.FindingControl `json:"findingControls,omitempty"`
}

Return response for createBulkFindingControl mutation

type FindingControlBulkDeletePayload

type FindingControlBulkDeletePayload struct {
	// Deleted findingControl IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkFindingControl mutation

type FindingControlCreatePayload

type FindingControlCreatePayload struct {
	// Created findingControl
	FindingControl *generated.FindingControl `json:"findingControl"`
}

Return response for createFindingControl mutation

type FindingControlDeletePayload

type FindingControlDeletePayload struct {
	// Deleted findingControl ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteFindingControl mutation

type FindingControlUpdatePayload

type FindingControlUpdatePayload struct {
	// Updated findingControl
	FindingControl *generated.FindingControl `json:"findingControl"`
}

Return response for updateFindingControl mutation

type FindingCreatePayload

type FindingCreatePayload struct {
	// Created finding
	Finding *generated.Finding `json:"finding"`
}

Return response for createFinding mutation

type FindingDeletePayload

type FindingDeletePayload struct {
	// Deleted finding ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteFinding mutation

type FindingUpdatePayload

type FindingUpdatePayload struct {
	// Updated finding
	Finding *generated.Finding `json:"finding"`
}

Return response for updateFinding mutation

type GroupBulkCreatePayload

type GroupBulkCreatePayload struct {
	// Created groups
	Groups []*generated.Group `json:"groups,omitempty"`
}

Return response for createBulkGroup mutation

type GroupBulkDeletePayload

type GroupBulkDeletePayload struct {
	// Deleted group IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkGroup mutation

type GroupBulkUpdatePayload

type GroupBulkUpdatePayload struct {
	// Updated groups
	Groups []*generated.Group `json:"groups,omitempty"`
	// IDs of the updated groups
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkGroup mutation

type GroupCreatePayload

type GroupCreatePayload struct {
	// Created group
	Group *generated.Group `json:"group"`
}

Return response for createGroup mutation

type GroupDeletePayload

type GroupDeletePayload struct {
	// Deleted group ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteGroup mutation

type GroupMembersInput

type GroupMembersInput struct {
	Role   *enums.Role `json:"role,omitempty"`
	UserID string      `json:"userID"`
}

GroupMembersInput is used to create members for a group along with the group creation

type GroupMembershipBulkCreatePayload

type GroupMembershipBulkCreatePayload struct {
	// Created groupMemberships
	GroupMemberships []*generated.GroupMembership `json:"groupMemberships,omitempty"`
}

Return response for createBulkGroupMembership mutation

type GroupMembershipBulkDeletePayload

type GroupMembershipBulkDeletePayload struct {
	// Deleted groupMembership IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkGroupMembership mutation

type GroupMembershipBulkUpdatePayload

type GroupMembershipBulkUpdatePayload struct {
	// Updated groupMemberships
	GroupMemberships []*generated.GroupMembership `json:"groupMemberships,omitempty"`
	// IDs of the updated groupMemberships
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkGroupMembership mutation

type GroupMembershipCreatePayload

type GroupMembershipCreatePayload struct {
	// Created groupMembership
	GroupMembership *generated.GroupMembership `json:"groupMembership"`
}

Return response for createGroupMembership mutation

type GroupMembershipDeletePayload

type GroupMembershipDeletePayload struct {
	// Deleted groupMembership ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteGroupMembership mutation

type GroupMembershipUpdatePayload

type GroupMembershipUpdatePayload struct {
	// Updated groupMembership
	GroupMembership *generated.GroupMembership `json:"groupMembership"`
}

Return response for updateGroupMembership mutation

type GroupPermission

type GroupPermission struct {
	// the type of object the permissions are for, e.g. Program, Control, etc.
	ObjectType string `json:"objectType"`
	// the permissions the group has in relation to the object, e.g. EDITOR, VIEWER, BLOCKED
	Permissions enums.Permission `json:"permissions"`
	// the ID of the object the group was given permissions to
	ID string `json:"id"`
	// the displayID of the object the group was given permissions to
	DisplayID *string `json:"displayID,omitempty"`
	// the  name of the object the group was given permissions to
	Name *string `json:"name,omitempty"`
}

GroupPermission contains details for the related object and the permissions the group provides (or removes in the case of blocked) to the object within the organization

func (GroupPermission) IsNode

func (GroupPermission) IsNode()

type GroupPermissionConnection

type GroupPermissionConnection struct {
	// A list of edges.
	Edges []*GroupPermissionEdge `json:"edges,omitempty"`
	// Information to aid in pagination.
	PageInfo *entgql.PageInfo[string] `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

A connection to a list of items.

type GroupPermissionEdge

type GroupPermissionEdge struct {
	// The item at the end of the edge.
	Node *GroupPermission `json:"node,omitempty"`
	// A cursor for use in pagination.
	Cursor entgql.Cursor[string] `json:"cursor"`
}

An edge in a connection.

type GroupPermissionOrder

type GroupPermissionOrder struct {
	// The ordering direction.
	Direction entgql.OrderDirection `json:"direction"`
	// The field by which to order GroupPermission.
	Field GroupPermissionOrderField `json:"field"`
}

Ordering options for GroupPermission connections

type GroupPermissionOrderField

type GroupPermissionOrderField string

Properties by which GroupPermission connections can be ordered.

const (
	GroupPermissionOrderFieldName       GroupPermissionOrderField = "name"
	GroupPermissionOrderFieldPermission GroupPermissionOrderField = "permission"
	GroupPermissionOrderFieldObjectType GroupPermissionOrderField = "objectType"
)

func (GroupPermissionOrderField) IsValid

func (e GroupPermissionOrderField) IsValid() bool

func (GroupPermissionOrderField) MarshalGQL

func (e GroupPermissionOrderField) MarshalGQL(w io.Writer)

func (GroupPermissionOrderField) MarshalJSON

func (e GroupPermissionOrderField) MarshalJSON() ([]byte, error)

func (GroupPermissionOrderField) String

func (e GroupPermissionOrderField) String() string

func (*GroupPermissionOrderField) UnmarshalGQL

func (e *GroupPermissionOrderField) UnmarshalGQL(v any) error

func (*GroupPermissionOrderField) UnmarshalJSON

func (e *GroupPermissionOrderField) UnmarshalJSON(b []byte) error

type GroupPermissionWhereInput

type GroupPermissionWhereInput struct {
	Not *GroupPermissionWhereInput   `json:"not,omitempty"`
	And []*GroupPermissionWhereInput `json:"and,omitempty"`
	Or  []*GroupPermissionWhereInput `json:"or,omitempty"`
	// name field predicates
	Name             *string  `json:"name,omitempty"`
	NameNeq          *string  `json:"nameNEQ,omitempty"`
	NameIn           []string `json:"nameIn,omitempty"`
	NameNotIn        []string `json:"nameNotIn,omitempty"`
	NameGt           *string  `json:"nameGT,omitempty"`
	NameGte          *string  `json:"nameGTE,omitempty"`
	NameLt           *string  `json:"nameLT,omitempty"`
	NameLte          *string  `json:"nameLTE,omitempty"`
	NameContains     *string  `json:"nameContains,omitempty"`
	NameHasPrefix    *string  `json:"nameHasPrefix,omitempty"`
	NameHasSuffix    *string  `json:"nameHasSuffix,omitempty"`
	NameEqualFold    *string  `json:"nameEqualFold,omitempty"`
	NameContainsFold *string  `json:"nameContainsFold,omitempty"`
	// objectType field predicates
	ObjectType             *string  `json:"objectType,omitempty"`
	ObjectTypeNeq          *string  `json:"objectTypeNEQ,omitempty"`
	ObjectTypeIn           []string `json:"objectTypeIn,omitempty"`
	ObjectTypeNotIn        []string `json:"objectTypeNotIn,omitempty"`
	ObjectTypeGt           *string  `json:"objectTypeGT,omitempty"`
	ObjectTypeGte          *string  `json:"objectTypeGTE,omitempty"`
	ObjectTypeLt           *string  `json:"objectTypeLT,omitempty"`
	ObjectTypeLte          *string  `json:"objectTypeLTE,omitempty"`
	ObjectTypeContains     *string  `json:"objectTypeContains,omitempty"`
	ObjectTypeHasPrefix    *string  `json:"objectTypeHasPrefix,omitempty"`
	ObjectTypeHasSuffix    *string  `json:"objectTypeHasSuffix,omitempty"`
	ObjectTypeIsNil        *bool    `json:"objectTypeIsNil,omitempty"`
	ObjectTypeNotNil       *bool    `json:"objectTypeNotNil,omitempty"`
	ObjectTypeEqualFold    *string  `json:"objectTypeEqualFold,omitempty"`
	ObjectTypeContainsFold *string  `json:"objectTypeContainsFold,omitempty"`
	// permission field predicates
	Permission             *string  `json:"permission,omitempty"`
	PermissionNeq          *string  `json:"permissionNEQ,omitempty"`
	PermissionIn           []string `json:"permissionIn,omitempty"`
	PermissionNotIn        []string `json:"permissionNotIn,omitempty"`
	PermissionGt           *string  `json:"permissionGT,omitempty"`
	PermissionGte          *string  `json:"permissionGTE,omitempty"`
	PermissionLt           *string  `json:"permissionLT,omitempty"`
	PermissionLte          *string  `json:"permissionLTE,omitempty"`
	PermissionContains     *string  `json:"permissionContains,omitempty"`
	PermissionHasPrefix    *string  `json:"permissionHasPrefix,omitempty"`
	PermissionHasSuffix    *string  `json:"permissionHasSuffix,omitempty"`
	PermissionIsNil        *bool    `json:"permissionIsNil,omitempty"`
	PermissionNotNil       *bool    `json:"permissionNotNil,omitempty"`
	PermissionEqualFold    *string  `json:"permissionEqualFold,omitempty"`
	PermissionContainsFold *string  `json:"permissionContainsFold,omitempty"`
}

GroupPermissionWhereInput is used for filtering GroupPermission objects.

type GroupSettingBulkCreatePayload

type GroupSettingBulkCreatePayload struct {
	// Created groupSettings
	GroupSettings []*generated.GroupSetting `json:"groupSettings,omitempty"`
}

Return response for createBulkGroupSetting mutation

type GroupSettingBulkDeletePayload

type GroupSettingBulkDeletePayload struct {
	// Deleted groupSetting IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkGroupSetting mutation

type GroupSettingBulkUpdatePayload

type GroupSettingBulkUpdatePayload struct {
	// Updated groupSettings
	GroupSettings []*generated.GroupSetting `json:"groupSettings,omitempty"`
	// IDs of the updated groupSettings
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkGroupSetting mutation

type GroupSettingCreatePayload

type GroupSettingCreatePayload struct {
	// Created groupSetting
	GroupSetting *generated.GroupSetting `json:"groupSetting"`
}

Return response for createGroupSetting mutation

type GroupSettingDeletePayload

type GroupSettingDeletePayload struct {
	// Deleted groupSetting ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteGroupSetting mutation

type GroupSettingUpdatePayload

type GroupSettingUpdatePayload struct {
	// Updated groupSetting
	GroupSetting *generated.GroupSetting `json:"groupSetting"`
}

Return response for updateGroupSetting mutation

type GroupUpdatePayload

type GroupUpdatePayload struct {
	// Updated group
	Group *generated.Group `json:"group"`
}

Return response for updateGroup mutation

type HushBulkCreatePayload

type HushBulkCreatePayload struct {
	// Created hushs
	Hushes []*generated.Hush `json:"hushes,omitempty"`
}

Return response for createBulkHush mutation

type HushBulkDeletePayload

type HushBulkDeletePayload struct {
	// Deleted hush IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkHush mutation

type HushBulkUpdatePayload

type HushBulkUpdatePayload struct {
	// Updated hushs
	Hushes []*generated.Hush `json:"hushes,omitempty"`
	// IDs of the updated hushs
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkHush mutation

type HushCreatePayload

type HushCreatePayload struct {
	// Created hush
	Hush *generated.Hush `json:"hush"`
}

Return response for createHush mutation

type HushDeletePayload

type HushDeletePayload struct {
	// Deleted hush ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteHush mutation

type HushUpdatePayload

type HushUpdatePayload struct {
	// Updated hush
	Hush *generated.Hush `json:"hush"`
}

Return response for updateHush mutation

type IdentityHolderBulkCreatePayload

type IdentityHolderBulkCreatePayload struct {
	// Created identityHolders
	IdentityHolders []*generated.IdentityHolder `json:"identityHolders,omitempty"`
}

Return response for createBulkIdentityHolder mutation

type IdentityHolderBulkDeletePayload

type IdentityHolderBulkDeletePayload struct {
	// Deleted identityHolder IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkIdentityHolder mutation

type IdentityHolderBulkUpdatePayload

type IdentityHolderBulkUpdatePayload struct {
	// Updated identityHolders
	IdentityHolders []*generated.IdentityHolder `json:"identityHolders,omitempty"`
	// IDs of the updated identityHolders
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkIdentityHolder mutation

type IdentityHolderCreatePayload

type IdentityHolderCreatePayload struct {
	// Created identityHolder
	IdentityHolder *generated.IdentityHolder `json:"identityHolder"`
}

Return response for createIdentityHolder mutation

type IdentityHolderDeletePayload

type IdentityHolderDeletePayload struct {
	// Deleted identityHolder ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteIdentityHolder mutation

type IdentityHolderUpdatePayload

type IdentityHolderUpdatePayload struct {
	// Updated identityHolder
	IdentityHolder *generated.IdentityHolder `json:"identityHolder"`
}

Return response for updateIdentityHolder mutation

type ImportDomainScanReviewAssetInput

type ImportDomainScanReviewAssetInput struct {
	// client-assigned identifier for this asset, referenced by assetRefs elsewhere in the input
	Ref string `json:"ref"`
	// the asset's display name
	Name string `json:"name"`
	// the asset's domain, IP, or other unique identifier
	Identifier *string `json:"identifier,omitempty"`
	// the asset's URL, if known
	Website *string `json:"website,omitempty"`
	// the asset's detected categories
	Categories []string `json:"categories,omitempty"`
}

An asset accepted from a domain scan review, keyed by a client-assigned ref so it can be referenced from ImportDomainScanReviewPlatformInput/ImportDomainScanReviewSystemInput before it has a real id

type ImportDomainScanReviewFindingInput

type ImportDomainScanReviewFindingInput struct {
	// the finding's category
	Category *string `json:"category,omitempty"`
	// the finding's description
	Description *string `json:"description,omitempty"`
	// the finding's severity
	Severity *string `json:"severity,omitempty"`
}

One accepted finding

type ImportDomainScanReviewInput

type ImportDomainScanReviewInput struct {
	// the Scan records the created records should link back to
	ScanIDs []string `json:"scanIDs"`
	// the accepted platforms, if any
	Platforms []*ImportDomainScanReviewPlatformInput `json:"platforms,omitempty"`
	// the accepted system details
	Systems []*ImportDomainScanReviewSystemInput `json:"systems,omitempty"`
	// the accepted vendors
	Vendors []*ImportDomainScanReviewVendorInput `json:"vendors"`
	// the accepted assets
	Assets []*ImportDomainScanReviewAssetInput `json:"assets"`
	// the accepted findings
	Findings []*ImportDomainScanReviewFindingInput `json:"findings,omitempty"`
}

Input for importDomainScanReview mutation

type ImportDomainScanReviewPayload

type ImportDomainScanReviewPayload struct {
	// whether the review was accepted for import
	Accepted bool `json:"accepted"`
}

Return response for importDomainScanReview mutation. Creation happens asynchronously, so this only confirms the review was accepted - the created objects surface via a follow-up Notification once the import finishes

type ImportDomainScanReviewPlatformInput

type ImportDomainScanReviewPlatformInput struct {
	// client-assigned identifier for this platform, referenced by platformRefs elsewhere in the input
	Ref string `json:"ref"`
	// the platform's name
	Name string `json:"name"`
	// the platform's description
	Description *string `json:"description,omitempty"`
	// refs of accepted vendors linked to this platform
	EntityRefs []string `json:"entityRefs,omitempty"`
	// refs of accepted assets linked to this platform
	AssetRefs []string `json:"assetRefs,omitempty"`
}

An accepted platform, linked to a subset of the accepted vendors/assets, and keyed by a client-assigned ref so it can be referenced from ImportDomainScanReviewSystemInput

type ImportDomainScanReviewSystemInput

type ImportDomainScanReviewSystemInput struct {
	// the system's name
	Name string `json:"name"`
	// the system's description
	Description *string `json:"description,omitempty"`
	// refs of accepted vendors linked to this system
	EntityRefs []string `json:"entityRefs,omitempty"`
	// refs of accepted assets linked to this system
	AssetRefs []string `json:"assetRefs,omitempty"`
	// refs of accepted platforms this system belongs to
	PlatformRefs []string `json:"platformRefs,omitempty"`
}

One accepted system detail, linked to its own subset of the accepted vendors/assets/platforms

type ImportDomainScanReviewVendorInput

type ImportDomainScanReviewVendorInput struct {
	// client-assigned identifier for this vendor, referenced by entityRefs elsewhere in the input
	Ref string `json:"ref"`
	// the vendor's name
	Name string `json:"name"`
	// the vendor's raw legal entity name, if known and different from name
	LegalName *string `json:"legalName,omitempty"`
	// the vendor's domain, if known
	Domain *string `json:"domain,omitempty"`
	// the vendor's detected categories
	Categories []string `json:"categories,omitempty"`
}

A vendor accepted from a domain scan review, keyed by a client-assigned ref so it can be referenced from ImportDomainScanReviewPlatformInput/ImportDomainScanReviewSystemInput before it has a real id

type IntegrationDeletePayload

type IntegrationDeletePayload struct {
	// Deleted integration ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteIntegration mutation

type InternalPolicyBulkCreatePayload

type InternalPolicyBulkCreatePayload struct {
	// Created internalPolicys
	InternalPolicies []*generated.InternalPolicy `json:"internalPolicies,omitempty"`
}

Return response for createBulkInternalPolicy mutation

type InternalPolicyBulkDeletePayload

type InternalPolicyBulkDeletePayload struct {
	// Deleted internalPolicy IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkInternalPolicy mutation

type InternalPolicyBulkUpdatePayload

type InternalPolicyBulkUpdatePayload struct {
	// Updated internalPolicys
	InternalPolicies []*generated.InternalPolicy `json:"internalPolicies,omitempty"`
	// IDs of the updated internalPolicys
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkInternalPolicy mutation

type InternalPolicyCreatePayload

type InternalPolicyCreatePayload struct {
	// Created internalPolicy
	InternalPolicy *generated.InternalPolicy `json:"internalPolicy"`
}

Return response for createInternalPolicy mutation

type InternalPolicyDeletePayload

type InternalPolicyDeletePayload struct {
	// Deleted internalPolicy ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteInternalPolicy mutation

type InternalPolicyUpdatePayload

type InternalPolicyUpdatePayload struct {
	// Updated internalPolicy
	InternalPolicy *generated.InternalPolicy `json:"internalPolicy"`
}

Return response for updateInternalPolicy mutation

type InviteBulkCreatePayload

type InviteBulkCreatePayload struct {
	// Created invites
	Invites []*generated.Invite `json:"invites,omitempty"`
}

Return response for createBulkInvite mutation

type InviteBulkDeletePayload

type InviteBulkDeletePayload struct {
	// Deleted invite IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkInvite mutation

type InviteBulkUpdatePayload

type InviteBulkUpdatePayload struct {
	// Updated invites
	Invites []*generated.Invite `json:"invites,omitempty"`
	// IDs of the updated invites
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkInvite mutation

type InviteCreatePayload

type InviteCreatePayload struct {
	// Created invite
	Invite *generated.Invite `json:"invite"`
}

Return response for createInvite mutation

type InviteDeletePayload

type InviteDeletePayload struct {
	// Deleted invite ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteInvite mutation

type InviteUpdatePayload

type InviteUpdatePayload struct {
	// Updated invite
	Invite *generated.Invite `json:"invite"`
}

Return response for updateInvite mutation

type LaunchCampaignInput

type LaunchCampaignInput struct {
	// ID of the campaign
	CampaignID string `json:"campaignID"`
	// Whether to resend emails to previously-sent targets
	Resend *bool `json:"resend,omitempty"`
	// Optional time to schedule the campaign launch or resend
	ScheduledAt *models.DateTime `json:"scheduledAt,omitempty"`
}

Input for launchCampaign mutation

type MappableDomainBulkCreatePayload

type MappableDomainBulkCreatePayload struct {
	// Created mappableDomains
	MappableDomains []*generated.MappableDomain `json:"mappableDomains,omitempty"`
}

Return response for createBulkMappableDomain mutation

type MappableDomainBulkDeletePayload

type MappableDomainBulkDeletePayload struct {
	// Deleted mappableDomain IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkMappableDomain mutation

type MappableDomainBulkUpdatePayload

type MappableDomainBulkUpdatePayload struct {
	// Updated mappableDomains
	MappableDomains []*generated.MappableDomain `json:"mappableDomains,omitempty"`
	// IDs of the updated mappableDomains
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkMappableDomain mutation

type MappableDomainCreatePayload

type MappableDomainCreatePayload struct {
	// Created mappableDomain
	MappableDomain *generated.MappableDomain `json:"mappableDomain"`
}

Return response for createMappableDomain mutation

type MappableDomainDeletePayload

type MappableDomainDeletePayload struct {
	// Deleted mappableDomain ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteMappableDomain mutation

type MappableDomainUpdatePayload

type MappableDomainUpdatePayload struct {
	// Updated mappableDomain
	MappableDomain *generated.MappableDomain `json:"mappableDomain"`
}

Return response for updateMappableDomain mutation

type MappedControlBulkCreatePayload

type MappedControlBulkCreatePayload struct {
	// Created mappedControls
	MappedControls []*generated.MappedControl `json:"mappedControls,omitempty"`
}

Return response for createBulkMappedControl mutation

type MappedControlBulkDeletePayload

type MappedControlBulkDeletePayload struct {
	// Deleted mappedControl IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkMappedControl mutation

type MappedControlBulkUpdatePayload

type MappedControlBulkUpdatePayload struct {
	// Updated mappedControls
	MappedControls []*generated.MappedControl `json:"mappedControls,omitempty"`
	// IDs of the updated mappedControls
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkMappedControl mutation

type MappedControlCreatePayload

type MappedControlCreatePayload struct {
	// Created mappedControl
	MappedControl *generated.MappedControl `json:"mappedControl"`
}

Return response for createMappedControl mutation

type MappedControlDeletePayload

type MappedControlDeletePayload struct {
	// Deleted mappedControl ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteMappedControl mutation

type MappedControlUpdatePayload

type MappedControlUpdatePayload struct {
	// Updated mappedControl
	MappedControl *generated.MappedControl `json:"mappedControl"`
}

Return response for updateMappedControl mutation

type NarrativeBulkCreatePayload

type NarrativeBulkCreatePayload struct {
	// Created narratives
	Narratives []*generated.Narrative `json:"narratives,omitempty"`
}

Return response for createBulkNarrative mutation

type NarrativeBulkDeletePayload

type NarrativeBulkDeletePayload struct {
	// Deleted narrative IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkNarrative mutation

type NarrativeBulkUpdatePayload

type NarrativeBulkUpdatePayload struct {
	// Updated narratives
	Narratives []*generated.Narrative `json:"narratives,omitempty"`
	// IDs of the updated narratives
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkNarrative mutation

type NarrativeCreatePayload

type NarrativeCreatePayload struct {
	// Created narrative
	Narrative *generated.Narrative `json:"narrative"`
}

Return response for createNarrative mutation

type NarrativeDeletePayload

type NarrativeDeletePayload struct {
	// Deleted narrative ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteNarrative mutation

type NarrativeUpdatePayload

type NarrativeUpdatePayload struct {
	// Updated narrative
	Narrative *generated.Narrative `json:"narrative"`
}

Return response for updateNarrative mutation

type NoteDeletePayload

type NoteDeletePayload struct {
	// Deleted comment ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteComment mutation

type NotificationCreatePayload

type NotificationCreatePayload struct {
	// Created notification
	Notification *generated.Notification `json:"notification"`
}

Return response for createNotification mutation

type NotificationPreferenceBulkCreatePayload

type NotificationPreferenceBulkCreatePayload struct {
	// Created notificationPreferences
	NotificationPreferences []*generated.NotificationPreference `json:"notificationPreferences,omitempty"`
}

Return response for createBulkNotificationPreference mutation

type NotificationPreferenceBulkDeletePayload

type NotificationPreferenceBulkDeletePayload struct {
	// Deleted notificationPreference IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkNotificationPreference mutation

type NotificationPreferenceBulkUpdatePayload

type NotificationPreferenceBulkUpdatePayload struct {
	// Updated notificationPreferences
	NotificationPreferences []*generated.NotificationPreference `json:"notificationPreferences,omitempty"`
	// IDs of the updated notificationPreferences
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkNotificationPreference mutation

type NotificationPreferenceCreatePayload

type NotificationPreferenceCreatePayload struct {
	// Created notificationPreference
	NotificationPreference *generated.NotificationPreference `json:"notificationPreference"`
}

Return response for createNotificationPreference mutation

type NotificationPreferenceDeletePayload

type NotificationPreferenceDeletePayload struct {
	// Deleted notificationPreference ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteNotificationPreference mutation

type NotificationPreferenceUpdatePayload

type NotificationPreferenceUpdatePayload struct {
	// Updated notificationPreference
	NotificationPreference *generated.NotificationPreference `json:"notificationPreference"`
}

Return response for updateNotificationPreference mutation

type NotificationTemplateBulkCreatePayload

type NotificationTemplateBulkCreatePayload struct {
	// Created notificationTemplates
	NotificationTemplates []*generated.NotificationTemplate `json:"notificationTemplates,omitempty"`
}

Return response for createBulkNotificationTemplate mutation

type NotificationTemplateBulkDeletePayload

type NotificationTemplateBulkDeletePayload struct {
	// Deleted notificationTemplate IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkNotificationTemplate mutation

type NotificationTemplateBulkUpdatePayload

type NotificationTemplateBulkUpdatePayload struct {
	// Updated notificationTemplates
	NotificationTemplates []*generated.NotificationTemplate `json:"notificationTemplates,omitempty"`
	// IDs of the updated notificationTemplates
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkNotificationTemplate mutation

type NotificationTemplateCreatePayload

type NotificationTemplateCreatePayload struct {
	// Created notificationTemplate
	NotificationTemplate *generated.NotificationTemplate `json:"notificationTemplate"`
}

Return response for createNotificationTemplate mutation

type NotificationTemplateDeletePayload

type NotificationTemplateDeletePayload struct {
	// Deleted notificationTemplate ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteNotificationTemplate mutation

type NotificationTemplateUpdatePayload

type NotificationTemplateUpdatePayload struct {
	// Updated notificationTemplate
	NotificationTemplate *generated.NotificationTemplate `json:"notificationTemplate"`
}

Return response for updateNotificationTemplate mutation

type NotificationUpdatePayload

type NotificationUpdatePayload struct {
	// Updated notification
	Notification *generated.Notification `json:"notification"`
}

Return response for updateNotification mutation

type OnboardingCreatePayload

type OnboardingCreatePayload struct {
	// Created onboarding
	Onboarding *generated.Onboarding `json:"onboarding"`
}

Return response for createOnboarding mutation

type OrgMembersInput

type OrgMembersInput struct {
	Role   *enums.Role `json:"role,omitempty"`
	UserID string      `json:"userID"`
}

OrgMembersInput is used to create members for a organization along with the org creation

type OrgMembershipBulkCreatePayload

type OrgMembershipBulkCreatePayload struct {
	// Created orgMemberships
	OrgMemberships []*generated.OrgMembership `json:"orgMemberships,omitempty"`
}

Return response for createBulkOrgMembership mutation

type OrgMembershipBulkDeletePayload

type OrgMembershipBulkDeletePayload struct {
	// Deleted orgMembership IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkOrgMembership mutation

type OrgMembershipBulkUpdatePayload

type OrgMembershipBulkUpdatePayload struct {
	// Updated orgMemberships
	OrgMemberships []*generated.OrgMembership `json:"orgMemberships,omitempty"`
	// IDs of the updated orgMemberships
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkOrgMembership mutation

type OrgMembershipCreatePayload

type OrgMembershipCreatePayload struct {
	// Created orgMembership
	OrgMembership *generated.OrgMembership `json:"orgMembership"`
}

Return response for createOrgMembership mutation

type OrgMembershipDeletePayload

type OrgMembershipDeletePayload struct {
	// Deleted orgMembership ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteOrgMembership mutation

type OrgMembershipUpdatePayload

type OrgMembershipUpdatePayload struct {
	// Updated orgMembership
	OrgMembership *generated.OrgMembership `json:"orgMembership"`
}

Return response for updateOrgMembership mutation

type OrganizationBulkCreatePayload

type OrganizationBulkCreatePayload struct {
	// Created organizations
	Organizations []*generated.Organization `json:"organizations,omitempty"`
}

Return response for createBulkOrganization mutation

type OrganizationCreatePayload

type OrganizationCreatePayload struct {
	// Created organization
	Organization *generated.Organization `json:"organization"`
}

Return response for createOrganization mutation

type OrganizationDeletePayload

type OrganizationDeletePayload struct {
	// Deleted organization ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteOrganization mutation

type OrganizationSettingBulkCreatePayload

type OrganizationSettingBulkCreatePayload struct {
	// Created organizationSettings
	OrganizationSettings []*generated.OrganizationSetting `json:"organizationSettings,omitempty"`
}

Return response for createBulkOrganizationSetting mutation

type OrganizationSettingBulkDeletePayload

type OrganizationSettingBulkDeletePayload struct {
	// Deleted organizationSetting IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkOrganizationSetting mutation

type OrganizationSettingBulkUpdatePayload

type OrganizationSettingBulkUpdatePayload struct {
	// Updated organizationSettings
	OrganizationSettings []*generated.OrganizationSetting `json:"organizationSettings,omitempty"`
	// IDs of the updated organizationSettings
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkOrganizationSetting mutation

type OrganizationSettingCreatePayload

type OrganizationSettingCreatePayload struct {
	// Created organizationSetting
	OrganizationSetting *generated.OrganizationSetting `json:"organizationSetting"`
}

Return response for createOrganizationSetting mutation

type OrganizationSettingDeletePayload

type OrganizationSettingDeletePayload struct {
	// Deleted organizationSetting ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteOrganizationSetting mutation

type OrganizationSettingUpdatePayload

type OrganizationSettingUpdatePayload struct {
	// Updated organizationSetting
	OrganizationSetting *generated.OrganizationSetting `json:"organizationSetting"`
}

Return response for updateOrganizationSetting mutation

type OrganizationTransferOwnershipPayload

type OrganizationTransferOwnershipPayload struct {
	// Updated organization
	Organization *generated.Organization `json:"organization"`
	// Whether an invitation was sent (true if new owner wasn't a member)
	InvitationSent bool `json:"invitationSent"`
}

Return response for transferOrganizationOwnership mutation

type OrganizationUpdatePayload

type OrganizationUpdatePayload struct {
	// Updated organization
	Organization *generated.Organization `json:"organization"`
}

Return response for updateOrganization mutation

type PersonalAccessTokenBulkCreatePayload

type PersonalAccessTokenBulkCreatePayload struct {
	// Created personalAccessTokens
	PersonalAccessTokens []*generated.PersonalAccessToken `json:"personalAccessTokens,omitempty"`
}

Return response for createBulkPersonalAccessToken mutation

type PersonalAccessTokenCreatePayload

type PersonalAccessTokenCreatePayload struct {
	// Created personalAccessToken
	PersonalAccessToken *generated.PersonalAccessToken `json:"personalAccessToken"`
}

Return response for createPersonalAccessToken mutation

type PersonalAccessTokenDeletePayload

type PersonalAccessTokenDeletePayload struct {
	// Deleted personalAccessToken ID
	DeletedID string `json:"deletedID"`
}

Return response for deletePersonalAccessToken mutation

type PersonalAccessTokenUpdatePayload

type PersonalAccessTokenUpdatePayload struct {
	// Updated personalAccessToken
	PersonalAccessToken *generated.PersonalAccessToken `json:"personalAccessToken"`
}

Return response for updatePersonalAccessToken mutation

type PlatformBulkCreatePayload

type PlatformBulkCreatePayload struct {
	// Created platforms
	Platforms []*generated.Platform `json:"platforms,omitempty"`
}

Return response for createBulkPlatform mutation

type PlatformCreatePayload

type PlatformCreatePayload struct {
	// Created platform
	Platform *generated.Platform `json:"platform"`
}

Return response for createPlatform mutation

type PlatformDeletePayload

type PlatformDeletePayload struct {
	// Deleted platform ID
	DeletedID string `json:"deletedID"`
}

Return response for deletePlatform mutation

type PlatformUpdatePayload

type PlatformUpdatePayload struct {
	// Updated platform
	Platform *generated.Platform `json:"platform"`
}

Return response for updatePlatform mutation

type PolicySummary

type PolicySummary struct {
	// unique identifier of the policy
	ID string `json:"id"`
	// the name of the policy
	Name string `json:"name"`
	// status of the policy, e.g. draft, published, archived, etc.
	Status enums.DocumentStatus `json:"status"`
	// empty when linked directly to the control; otherwise the related/mapped control IDs that contributed it
	InheritedFromIDs []string `json:"inheritedFromIDs,omitempty"`
}

PolicySummary provides a lightweight summary of an internal policy

func (PolicySummary) IsNode

func (PolicySummary) IsNode()

type ProcedureBulkCreatePayload

type ProcedureBulkCreatePayload struct {
	// Created procedures
	Procedures []*generated.Procedure `json:"procedures,omitempty"`
}

Return response for createBulkProcedure mutation

type ProcedureBulkDeletePayload

type ProcedureBulkDeletePayload struct {
	// Deleted export IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkProcedure mutation

type ProcedureBulkUpdatePayload

type ProcedureBulkUpdatePayload struct {
	// Updated procedures
	Procedures []*generated.Procedure `json:"procedures,omitempty"`
	// IDs of the updated procedures
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkProcedure mutation

type ProcedureCreatePayload

type ProcedureCreatePayload struct {
	// Created procedure
	Procedure *generated.Procedure `json:"procedure"`
}

Return response for createProcedure mutation

type ProcedureDeletePayload

type ProcedureDeletePayload struct {
	// Deleted procedure ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteProcedure mutation

type ProcedureUpdatePayload

type ProcedureUpdatePayload struct {
	// Updated procedure
	Procedure *generated.Procedure `json:"procedure"`
}

Return response for updateProcedure mutation

type ProgramBulkCreatePayload

type ProgramBulkCreatePayload struct {
	// Created programs
	Programs []*generated.Program `json:"programs,omitempty"`
}

Return response for createBulkProgram mutation

type ProgramBulkDeletePayload

type ProgramBulkDeletePayload struct {
	// Deleted program IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkProgram mutation

type ProgramBulkUpdatePayload

type ProgramBulkUpdatePayload struct {
	// Updated programs
	Programs []*generated.Program `json:"programs,omitempty"`
	// IDs of the updated programs
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkProgram mutation

type ProgramCreatePayload

type ProgramCreatePayload struct {
	// Created program
	Program *generated.Program `json:"program"`
}

Return response for createProgram mutation

type ProgramDeletePayload

type ProgramDeletePayload struct {
	// Deleted program ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteProgram mutation

type ProgramMembershipBulkCreatePayload

type ProgramMembershipBulkCreatePayload struct {
	// Created programMemberships
	ProgramMemberships []*generated.ProgramMembership `json:"programMemberships,omitempty"`
}

Return response for createBulkProgramMembership mutation

type ProgramMembershipBulkDeletePayload

type ProgramMembershipBulkDeletePayload struct {
	// Deleted programMembership IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkProgramMembership mutation

type ProgramMembershipBulkUpdatePayload

type ProgramMembershipBulkUpdatePayload struct {
	// Updated programMemberships
	ProgramMemberships []*generated.ProgramMembership `json:"programMemberships,omitempty"`
	// IDs of the updated programMemberships
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkProgramMembership mutation

type ProgramMembershipCreatePayload

type ProgramMembershipCreatePayload struct {
	// Created programMembership
	ProgramMembership *generated.ProgramMembership `json:"programMembership"`
}

Return response for createProgramMembership mutation

type ProgramMembershipDeletePayload

type ProgramMembershipDeletePayload struct {
	// Deleted programMembership ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteProgramMembership mutation

type ProgramMembershipUpdatePayload

type ProgramMembershipUpdatePayload struct {
	// Updated programMembership
	ProgramMembership *generated.ProgramMembership `json:"programMembership"`
}

Return response for updateProgramMembership mutation

type ProgramUpdatePayload

type ProgramUpdatePayload struct {
	// Updated program
	Program *generated.Program `json:"program"`
}

Return response for updateProgram mutation

type ReassignWorkflowAssignmentInput

type ReassignWorkflowAssignmentInput struct {
	// ID of the workflow assignment to reassign
	ID string `json:"id"`
	// New targets for the assignment
	Targets []*WorkflowAssignmentTargetInput `json:"targets"`
}

Input for adminReassignWorkflowAssignment mutation

type RelatedControlConnection

type RelatedControlConnection struct {
	// A list of edges.
	Edges []*RelatedControlEdge `json:"edges,omitempty"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

A connection to a list of items.

type RelatedControlEdge

type RelatedControlEdge struct {
	// The item at the end of the edge.
	Node *generated.Control `json:"node"`
}

An edge in a connection.

type RelatedSubcontrolConnection

type RelatedSubcontrolConnection struct {
	// A list of edges.
	Edges []*RelatedSubcontrolEdge `json:"edges,omitempty"`
	// Identifies the total count of items in the connection.
	TotalCount int `json:"totalCount"`
}

A connection to a list of items.

type RelatedSubcontrolEdge

type RelatedSubcontrolEdge struct {
	// The item at the end of the edge.
	Node *generated.Subcontrol `json:"node"`
}

An edge in a connection.

type RemediationBulkCreatePayload

type RemediationBulkCreatePayload struct {
	// Created remediations
	Remediations []*generated.Remediation `json:"remediations,omitempty"`
}

Return response for createBulkRemediation mutation

type RemediationBulkDeletePayload

type RemediationBulkDeletePayload struct {
	// Deleted remediation IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkRemediation mutation

type RemediationBulkUpdatePayload

type RemediationBulkUpdatePayload struct {
	// Updated remediations
	Remediations []*generated.Remediation `json:"remediations,omitempty"`
	// IDs of the updated remediations
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkRemediation mutation

type RemediationCreatePayload

type RemediationCreatePayload struct {
	// Created remediation
	Remediation *generated.Remediation `json:"remediation"`
}

Return response for createRemediation mutation

type RemediationDeletePayload

type RemediationDeletePayload struct {
	// Deleted remediation ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteRemediation mutation

type RemediationUpdatePayload

type RemediationUpdatePayload struct {
	// Updated remediation
	Remediation *generated.Remediation `json:"remediation"`
}

Return response for updateRemediation mutation

type ResendCampaignIncompleteInput

type ResendCampaignIncompleteInput struct {
	// ID of the campaign
	CampaignID string `json:"campaignID"`
	// Optional time to schedule the resend for incomplete targets
	ScheduledAt *models.DateTime `json:"scheduledAt,omitempty"`
}

Input for resendCampaignIncompleteTargets mutation

type ResolveVulnerabilityInput

type ResolveVulnerabilityInput struct {
	// status to set on the vulnerability (resolved, dismissed, fixed, etc.)
	Status string `json:"status"`
	// optional reason for the resolution (false_positive, wont_fix, etc.)
	Reason *string `json:"reason,omitempty"`
	// optional notes or context for the resolution
	Details *string `json:"details,omitempty"`
	// when true, create a Review record linked to the vulnerability
	CreateReview *bool `json:"createReview,omitempty"`
	// optional review title override
	ReviewTitle *string `json:"reviewTitle,omitempty"`
	// optional review category override (defaults to resolution)
	ReviewCategory *string `json:"reviewCategory,omitempty"`
	// optional review state override (defaults to the resolution status)
	ReviewState *string `json:"reviewState,omitempty"`
}

Input for resolving a vulnerability

type ReviewBulkCreatePayload

type ReviewBulkCreatePayload struct {
	// Created reviews
	Reviews []*generated.Review `json:"reviews,omitempty"`
}

Return response for createBulkReview mutation

type ReviewBulkDeletePayload

type ReviewBulkDeletePayload struct {
	// Deleted trustCenterNDARequest IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkReview mutation

type ReviewBulkUpdatePayload

type ReviewBulkUpdatePayload struct {
	// Updated reviews
	Reviews []*generated.Review `json:"reviews,omitempty"`
	// IDs of the updated reviews
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkReview mutation

type ReviewCreatePayload

type ReviewCreatePayload struct {
	// Created review
	Review *generated.Review `json:"review"`
}

Return response for createReview mutation

type ReviewDeletePayload

type ReviewDeletePayload struct {
	// Deleted review ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteReview mutation

type ReviewUpdatePayload

type ReviewUpdatePayload struct {
	// Updated review
	Review *generated.Review `json:"review"`
}

Return response for updateReview mutation

type RiskBulkCreatePayload

type RiskBulkCreatePayload struct {
	// Created risks
	Risks []*generated.Risk `json:"risks,omitempty"`
}

Return response for createBulkRisk mutation

type RiskBulkDeletePayload

type RiskBulkDeletePayload struct {
	// Deleted risk IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkRisk mutation

type RiskBulkUpdatePayload

type RiskBulkUpdatePayload struct {
	// Updated risks
	Risks []*generated.Risk `json:"risks,omitempty"`
	// IDs of the updated risks
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkRisk mutation

type RiskCreatePayload

type RiskCreatePayload struct {
	// Created risk
	Risk *generated.Risk `json:"risk"`
}

Return response for createRisk mutation

type RiskDeletePayload

type RiskDeletePayload struct {
	// Deleted risk ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteRisk mutation

type RiskUpdatePayload

type RiskUpdatePayload struct {
	// Updated risk
	Risk *generated.Risk `json:"risk"`
}

Return response for updateRisk mutation

type SLADefinitionBulkCreatePayload

type SLADefinitionBulkCreatePayload struct {
	// Created slaDefinitions
	SLADefinitions []*generated.SLADefinition `json:"slaDefinitions,omitempty"`
}

Return response for createBulkSLADefinition mutation

type SLADefinitionBulkDeletePayload

type SLADefinitionBulkDeletePayload struct {
	// Deleted slaDefinition IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkSLADefinition mutation

type SLADefinitionBulkUpdatePayload

type SLADefinitionBulkUpdatePayload struct {
	// Updated slaDefinitions
	SLADefinitions []*generated.SLADefinition `json:"slaDefinitions,omitempty"`
	// IDs of the updated slaDefinitions
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkSLADefinition mutation

type SLADefinitionCreatePayload

type SLADefinitionCreatePayload struct {
	// Created slaDefinition
	SLADefinition *generated.SLADefinition `json:"slaDefinition"`
}

Return response for createSLADefinition mutation

type SLADefinitionDeletePayload

type SLADefinitionDeletePayload struct {
	// Deleted slaDefinition ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteSLADefinition mutation

type SLADefinitionUpdatePayload

type SLADefinitionUpdatePayload struct {
	// Updated slaDefinition
	SLADefinition *generated.SLADefinition `json:"slaDefinition"`
}

Return response for updateSLADefinition mutation

type ScanBulkCreatePayload

type ScanBulkCreatePayload struct {
	// Created scans
	Scans []*generated.Scan `json:"scans,omitempty"`
}

Return response for createBulkScan mutation

type ScanBulkDeletePayload

type ScanBulkDeletePayload struct {
	// Deleted scan IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkScan mutation

type ScanBulkUpdatePayload

type ScanBulkUpdatePayload struct {
	// Updated scans
	Scans []*generated.Scan `json:"scans,omitempty"`
	// IDs of the updated scans
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkScan mutation

type ScanCreatePayload

type ScanCreatePayload struct {
	// Created scan
	Scan *generated.Scan `json:"scan"`
}

Return response for createScan mutation

type ScanDeletePayload

type ScanDeletePayload struct {
	// Deleted scan ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteScan mutation

type ScanUpdatePayload

type ScanUpdatePayload struct {
	// Updated scan
	Scan *generated.Scan `json:"scan"`
}

Return response for updateScan mutation

type SearchResults

type SearchResults struct {
	// Information to aid in pagination.
	Page *entgql.PageInfo[string] `json:"page"`
	// Identifies the total count of items in the connection.
	TotalCount            int                                       `json:"totalCount"`
	ActionPlans           *generated.ActionPlanConnection           `json:"actionPlans,omitempty"`
	Assessments           *generated.AssessmentConnection           `json:"assessments,omitempty"`
	AssessmentResponses   *generated.AssessmentResponseConnection   `json:"assessmentResponses,omitempty"`
	Assets                *generated.AssetConnection                `json:"assets,omitempty"`
	Campaigns             *generated.CampaignConnection             `json:"campaigns,omitempty"`
	CampaignTargets       *generated.CampaignTargetConnection       `json:"campaignTargets,omitempty"`
	Contacts              *generated.ContactConnection              `json:"contacts,omitempty"`
	Controls              *generated.ControlConnection              `json:"controls,omitempty"`
	ControlObjectives     *generated.ControlObjectiveConnection     `json:"controlObjectives,omitempty"`
	CustomTypeEnums       *generated.CustomTypeEnumConnection       `json:"customTypeEnums,omitempty"`
	EmailTemplates        *generated.EmailTemplateConnection        `json:"emailTemplates,omitempty"`
	Entities              *generated.EntityConnection               `json:"entities,omitempty"`
	Evidences             *generated.EvidenceConnection             `json:"evidences,omitempty"`
	Findings              *generated.FindingConnection              `json:"findings,omitempty"`
	Groups                *generated.GroupConnection                `json:"groups,omitempty"`
	IdentityHolders       *generated.IdentityHolderConnection       `json:"identityHolders,omitempty"`
	Integrations          *generated.IntegrationConnection          `json:"integrations,omitempty"`
	InternalPolicies      *generated.InternalPolicyConnection       `json:"internalPolicies,omitempty"`
	Invites               *generated.InviteConnection               `json:"invites,omitempty"`
	Narratives            *generated.NarrativeConnection            `json:"narratives,omitempty"`
	NotificationTemplates *generated.NotificationTemplateConnection `json:"notificationTemplates,omitempty"`
	Organizations         *generated.OrganizationConnection         `json:"organizations,omitempty"`
	Platforms             *generated.PlatformConnection             `json:"platforms,omitempty"`
	Procedures            *generated.ProcedureConnection            `json:"procedures,omitempty"`
	Programs              *generated.ProgramConnection              `json:"programs,omitempty"`
	Remediations          *generated.RemediationConnection          `json:"remediations,omitempty"`
	Reviews               *generated.ReviewConnection               `json:"reviews,omitempty"`
	Risks                 *generated.RiskConnection                 `json:"risks,omitempty"`
	Scans                 *generated.ScanConnection                 `json:"scans,omitempty"`
	Standards             *generated.StandardConnection             `json:"standards,omitempty"`
	Subcontrols           *generated.SubcontrolConnection           `json:"subcontrols,omitempty"`
	Subprocessors         *generated.SubprocessorConnection         `json:"subprocessors,omitempty"`
	Subscribers           *generated.SubscriberConnection           `json:"subscribers,omitempty"`
	SystemDetails         *generated.SystemDetailConnection         `json:"systemDetails,omitempty"`
	TagDefinitions        *generated.TagDefinitionConnection        `json:"tagDefinitions,omitempty"`
	Tasks                 *generated.TaskConnection                 `json:"tasks,omitempty"`
	Templates             *generated.TemplateConnection             `json:"templates,omitempty"`
	TrustCenterEntities   *generated.TrustCenterEntityConnection    `json:"trustCenterEntities,omitempty"`
	Vulnerabilities       *generated.VulnerabilityConnection        `json:"vulnerabilities,omitempty"`
	SearchContext         []*models.SearchContext                   `json:"searchContext,omitempty"`
}

type SendCampaignTestEmailInput

type SendCampaignTestEmailInput struct {
	// ID of the campaign
	CampaignID string `json:"campaignID"`
	// List of recipient emails to send the test to
	Emails []string `json:"emails"`
}

Input for sendCampaignTestEmail mutation

type StandardBulkCreatePayload

type StandardBulkCreatePayload struct {
	// Created standards
	Standards []*generated.Standard `json:"standards,omitempty"`
}

Return response for createBulkStandard mutation

type StandardCreatePayload

type StandardCreatePayload struct {
	// Created standard
	Standard *generated.Standard `json:"standard"`
}

Return response for createStandard mutation

type StandardDeletePayload

type StandardDeletePayload struct {
	// Deleted standard ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteStandard mutation

type StandardUpdatePayload

type StandardUpdatePayload struct {
	// Updated standard
	Standard *generated.Standard `json:"standard"`
}

Return response for updateStandard mutation

type SubcontrolBulkCreatePayload

type SubcontrolBulkCreatePayload struct {
	// Created subcontrols
	Subcontrols []*generated.Subcontrol `json:"subcontrols,omitempty"`
}

Return response for createBulkSubcontrol mutation

type SubcontrolBulkDeletePayload

type SubcontrolBulkDeletePayload struct {
	// Deleted subcontrol IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkSubcontrol mutation

type SubcontrolBulkUpdatePayload

type SubcontrolBulkUpdatePayload struct {
	// Updated subcontrols
	Subcontrols []*generated.Subcontrol `json:"subcontrols,omitempty"`
	// IDs of the updated subcontrols
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkSubcontrol mutation

type SubcontrolCreatePayload

type SubcontrolCreatePayload struct {
	// Created subcontrol
	Subcontrol *generated.Subcontrol `json:"subcontrol"`
}

Return response for createSubcontrol mutation

type SubcontrolDeletePayload

type SubcontrolDeletePayload struct {
	// Deleted subcontrol ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteSubcontrol mutation

type SubcontrolUpdatePayload

type SubcontrolUpdatePayload struct {
	// Updated subcontrol
	Subcontrol *generated.Subcontrol `json:"subcontrol"`
}

Return response for updateSubcontrol mutation

type SubmitTrustCenterNDAResponseInput

type SubmitTrustCenterNDAResponseInput struct {
	// template id
	TemplateID string `json:"templateID"`
	// json response
	Response map[string]any `json:"response"`
}

type SubmitTrustCenterNDAResponsePayload

type SubmitTrustCenterNDAResponsePayload struct {
	DocumentData *generated.DocumentData `json:"documentData"`
}

type SubprocessorBulkCreatePayload

type SubprocessorBulkCreatePayload struct {
	// Created subprocessors
	Subprocessors []*generated.Subprocessor `json:"subprocessors,omitempty"`
}

Return response for createBulkSubprocessor mutation

type SubprocessorBulkDeletePayload

type SubprocessorBulkDeletePayload struct {
	// Deleted subprocessor IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkSubprocessor mutation

type SubprocessorBulkUpdatePayload

type SubprocessorBulkUpdatePayload struct {
	// Updated subprocessors
	Subprocessors []*generated.Subprocessor `json:"subprocessors,omitempty"`
	// IDs of the updated subprocessors
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkSubprocessor mutation

type SubprocessorCreatePayload

type SubprocessorCreatePayload struct {
	// Created subprocessor
	Subprocessor *generated.Subprocessor `json:"subprocessor"`
}

Return response for createSubprocessor mutation

type SubprocessorDeletePayload

type SubprocessorDeletePayload struct {
	// Deleted subprocessor ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteSubprocessor mutation

type SubprocessorUpdatePayload

type SubprocessorUpdatePayload struct {
	// Updated subprocessor
	Subprocessor *generated.Subprocessor `json:"subprocessor"`
}

Return response for updateSubprocessor mutation

type SubscriberBulkCreatePayload

type SubscriberBulkCreatePayload struct {
	// Created subscribers
	Subscribers []*generated.Subscriber `json:"subscribers,omitempty"`
}

Return response for createBulkSubscriber mutation

type SubscriberCreatePayload

type SubscriberCreatePayload struct {
	// Created subscriber
	Subscriber *generated.Subscriber `json:"subscriber"`
}

Return response for createSubscriber mutation

type SubscriberDeletePayload

type SubscriberDeletePayload struct {
	// Deleted subscriber email
	Email string `json:"email"`
}

Return response for deleteSubscriber mutation

type SubscriberUpdatePayload

type SubscriberUpdatePayload struct {
	// Updated subscriber
	Subscriber *generated.Subscriber `json:"subscriber"`
}

Return response for updateSubscriber mutation

type Subscription

type Subscription struct {
}

type SystemDetailBulkCreatePayload

type SystemDetailBulkCreatePayload struct {
	// Created systemDetails
	SystemDetails []*generated.SystemDetail `json:"systemDetails,omitempty"`
}

Return response for createBulkSystemDetail mutation

type SystemDetailBulkDeletePayload

type SystemDetailBulkDeletePayload struct {
	// Deleted systemDetail IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkSystemDetail mutation

type SystemDetailBulkUpdatePayload

type SystemDetailBulkUpdatePayload struct {
	// Updated systemDetails
	SystemDetails []*generated.SystemDetail `json:"systemDetails,omitempty"`
	// IDs of the updated systemDetails
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkSystemDetail mutation

type SystemDetailCreatePayload

type SystemDetailCreatePayload struct {
	// Created systemDetail
	SystemDetail *generated.SystemDetail `json:"systemDetail"`
}

Return response for createSystemDetail mutation

type SystemDetailDeletePayload

type SystemDetailDeletePayload struct {
	// Deleted systemDetail ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteSystemDetail mutation

type SystemDetailUpdatePayload

type SystemDetailUpdatePayload struct {
	// Updated systemDetail
	SystemDetail *generated.SystemDetail `json:"systemDetail"`
}

Return response for updateSystemDetail mutation

type TFASettingCreatePayload

type TFASettingCreatePayload struct {
	// Created tfaSetting
	TfaSetting *generated.TFASetting `json:"tfaSetting"`
	TfaSecret  *string               `json:"tfaSecret,omitempty"`
	QRCode     *string               `json:"qrCode,omitempty"`
}

Return response for createTFASetting mutation

type TFASettingUpdatePayload

type TFASettingUpdatePayload struct {
	// Updated tfaSetting
	TfaSetting    *generated.TFASetting `json:"tfaSetting"`
	TfaSecret     *string               `json:"tfaSecret,omitempty"`
	QRCode        *string               `json:"qrCode,omitempty"`
	RecoveryCodes []string              `json:"recoveryCodes,omitempty"`
}

Return response for updateTFASetting mutation

type TagDefinitionBulkCreatePayload

type TagDefinitionBulkCreatePayload struct {
	// Created tagDefinitions
	TagDefinitions []*generated.TagDefinition `json:"tagDefinitions,omitempty"`
}

Return response for createBulkTagDefinition mutation

type TagDefinitionCreatePayload

type TagDefinitionCreatePayload struct {
	// Created tagDefinition
	TagDefinition *generated.TagDefinition `json:"tagDefinition"`
}

Return response for createTagDefinition mutation

type TagDefinitionDeletePayload

type TagDefinitionDeletePayload struct {
	// Deleted tagDefinition ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteTagDefinition mutation

type TagDefinitionUpdatePayload

type TagDefinitionUpdatePayload struct {
	// Updated tagDefinition
	TagDefinition *generated.TagDefinition `json:"tagDefinition"`
}

Return response for updateTagDefinition mutation

type TaskBulkCreatePayload

type TaskBulkCreatePayload struct {
	// Created tasks
	Tasks []*generated.Task `json:"tasks,omitempty"`
}

Return response for createBulkTask mutation

type TaskBulkDeletePayload

type TaskBulkDeletePayload struct {
	// Deleted task IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkTask mutation

type TaskBulkUpdatePayload

type TaskBulkUpdatePayload struct {
	// Updated tasks
	Tasks []*generated.Task `json:"tasks,omitempty"`
	// IDs of the updated tasks
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkTask mutation

type TaskCreatePayload

type TaskCreatePayload struct {
	// Created task
	Task *generated.Task `json:"task"`
}

Return response for createTask mutation

type TaskDeletePayload

type TaskDeletePayload struct {
	// Deleted task ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteTask mutation

type TaskUpdatePayload

type TaskUpdatePayload struct {
	// Updated task
	Task *generated.Task `json:"task"`
}

Return response for updateTask mutation

type TemplateBulkCreatePayload

type TemplateBulkCreatePayload struct {
	// Created templates
	Templates []*generated.Template `json:"templates,omitempty"`
}

Return response for createBulkTemplate mutation

type TemplateBulkDeletePayload

type TemplateBulkDeletePayload struct {
	// Deleted template IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkTemplate mutation

type TemplateBulkUpdatePayload

type TemplateBulkUpdatePayload struct {
	// Updated templates
	Templates []*generated.Template `json:"templates,omitempty"`
	// IDs of the updated templates
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkTemplate mutation

type TemplateCreatePayload

type TemplateCreatePayload struct {
	// Created template
	Template *generated.Template `json:"template"`
}

Return response for createTemplate mutation

type TemplateDeletePayload

type TemplateDeletePayload struct {
	// Deleted template ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteTemplate mutation

type TemplateUpdatePayload

type TemplateUpdatePayload struct {
	// Updated template
	Template *generated.Template `json:"template"`
}

Return response for updateTemplate mutation

type TemplateVariable

type TemplateVariable struct {
	// The variable key as used in templates (e.g. "companyName" for {{ .companyName }}).
	Name string `json:"name"`
	// Human-readable description of what the variable contains.
	Description string `json:"description"`
}

TemplateVariable describes a single system-provided template variable available for use in email templates.

type TrustCenterAccessTokenPayload

type TrustCenterAccessTokenPayload struct {
	Success bool `json:"success"`
}

Return response for requestNewTrustCenterToken mutation

type TrustCenterComplianceBulkCreatePayload

type TrustCenterComplianceBulkCreatePayload struct {
	// Created trustCenterCompliances
	TrustCenterCompliances []*generated.TrustCenterCompliance `json:"trustCenterCompliances,omitempty"`
}

Return response for createBulkTrustCenterCompliance mutation

type TrustCenterComplianceBulkDeletePayload

type TrustCenterComplianceBulkDeletePayload struct {
	// Deleted trustCenterCompliance IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkTrustCenterCompliance mutation

type TrustCenterComplianceBulkUpdatePayload

type TrustCenterComplianceBulkUpdatePayload struct {
	// Updated trustCenterCompliances
	TrustCenterCompliances []*generated.TrustCenterCompliance `json:"trustCenterCompliances,omitempty"`
	// IDs of the updated trustCenterCompliances
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkTrustCenterCompliance mutation

type TrustCenterComplianceCreatePayload

type TrustCenterComplianceCreatePayload struct {
	// Created trustCenterCompliance
	TrustCenterCompliance *generated.TrustCenterCompliance `json:"trustCenterCompliance"`
}

Return response for createTrustCenterCompliance mutation

type TrustCenterComplianceDeletePayload

type TrustCenterComplianceDeletePayload struct {
	// Deleted trustCenterCompliance ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteTrustCenterCompliance mutation

type TrustCenterComplianceUpdatePayload

type TrustCenterComplianceUpdatePayload struct {
	// Updated trustCenterCompliance
	TrustCenterCompliance *generated.TrustCenterCompliance `json:"trustCenterCompliance"`
}

Return response for updateTrustCenterCompliance mutation

type TrustCenterCreatePayload

type TrustCenterCreatePayload struct {
	// Created trustCenter
	TrustCenter *generated.TrustCenter `json:"trustCenter"`
}

Return response for createTrustCenter mutation

type TrustCenterDeletePayload

type TrustCenterDeletePayload struct {
	// Deleted trustCenter ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteTrustCenter mutation

type TrustCenterDocBulkCreatePayload

type TrustCenterDocBulkCreatePayload struct {
	// Created trustCenterDocs
	TrustCenterDocs []*generated.TrustCenterDoc `json:"trustCenterDocs,omitempty"`
}

Return response for createBulkTrustCenterDoc mutation

type TrustCenterDocBulkDeletePayload

type TrustCenterDocBulkDeletePayload struct {
	// Deleted trustCenterDoc IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkTrustCenterDoc mutation

type TrustCenterDocBulkUpdatePayload

type TrustCenterDocBulkUpdatePayload struct {
	// Updated trust center docs
	TrustCenterDocs []*generated.TrustCenterDoc `json:"trustCenterDocs,omitempty"`
	// IDs of the updated trust center docs
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkTrustCenterDoc mutation

type TrustCenterDocCreatePayload

type TrustCenterDocCreatePayload struct {
	// Created trustCenterDoc
	TrustCenterDoc *generated.TrustCenterDoc `json:"trustCenterDoc"`
}

Return response for createTrustCenterDoc mutation

type TrustCenterDocDeletePayload

type TrustCenterDocDeletePayload struct {
	// Deleted trustCenterDoc ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteTrustCenterDoc mutation

type TrustCenterDocUpdatePayload

type TrustCenterDocUpdatePayload struct {
	// Updated trustCenterDoc
	TrustCenterDoc *generated.TrustCenterDoc `json:"trustCenterDoc"`
}

Return response for updateTrustCenterDoc mutation

type TrustCenterDomainCreatePayload

type TrustCenterDomainCreatePayload struct {
	CustomDomain *generated.CustomDomain `json:"customDomain"`
}

Return response for createTrustCenterDomain mutation

type TrustCenterEntityBulkCreatePayload

type TrustCenterEntityBulkCreatePayload struct {
	// Created trustCenterEntitys
	TrustCenterEntities []*generated.TrustCenterEntity `json:"trustCenterEntities,omitempty"`
}

Return response for createBulkTrustCenterEntity mutation

type TrustCenterEntityCreatePayload

type TrustCenterEntityCreatePayload struct {
	// Created trustCenterEntity
	TrustCenterEntity *generated.TrustCenterEntity `json:"trustCenterEntity"`
}

Return response for createTrustCenterEntity mutation

type TrustCenterEntityDeletePayload

type TrustCenterEntityDeletePayload struct {
	// Deleted trustCenterEntity ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteTrustCenterEntity mutation

type TrustCenterEntityUpdatePayload

type TrustCenterEntityUpdatePayload struct {
	// Updated trustCenterEntity
	TrustCenterEntity *generated.TrustCenterEntity `json:"trustCenterEntity"`
}

Return response for updateTrustCenterEntity mutation

type TrustCenterFAQBulkCreatePayload

type TrustCenterFAQBulkCreatePayload struct {
	// Created trustCenterFAQs
	TrustCenterFAQs []*generated.TrustCenterFAQ `json:"trustCenterFAQs,omitempty"`
}

Return response for createBulkTrustCenterFAQ mutation

type TrustCenterFAQBulkDeletePayload

type TrustCenterFAQBulkDeletePayload struct {
	// Deleted trustCenterFAQ IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkTrustCenterFAQ mutation

type TrustCenterFAQBulkUpdatePayload

type TrustCenterFAQBulkUpdatePayload struct {
	// Updated trustCenterFAQs
	TrustCenterFAQs []*generated.TrustCenterFAQ `json:"trustCenterFAQs,omitempty"`
	// IDs of the updated trustCenterFAQs
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkTrustCenterFAQ mutation

type TrustCenterFAQCreatePayload

type TrustCenterFAQCreatePayload struct {
	// Created trustCenterFAQ
	TrustCenterFaq *generated.TrustCenterFAQ `json:"trustCenterFAQ"`
}

Return response for createTrustCenterFAQ mutation

type TrustCenterFAQDeletePayload

type TrustCenterFAQDeletePayload struct {
	// Deleted trustCenterFAQ ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteTrustCenterFAQ mutation

type TrustCenterFAQUpdatePayload

type TrustCenterFAQUpdatePayload struct {
	// Updated trustCenterFAQ
	TrustCenterFaq *generated.TrustCenterFAQ `json:"trustCenterFAQ"`
}

Return response for updateTrustCenterFAQ mutation

type TrustCenterNDACreatePayload

type TrustCenterNDACreatePayload struct {
	Template *generated.Template `json:"template"`
}

type TrustCenterNDARequestBulkCreatePayload

type TrustCenterNDARequestBulkCreatePayload struct {
	// Created trustCenterNDARequests
	TrustCenterNDARequests []*generated.TrustCenterNDARequest `json:"trustCenterNDARequests,omitempty"`
}

Return response for createBulkTrustCenterNDARequest mutation

type TrustCenterNDARequestBulkDeletePayload

type TrustCenterNDARequestBulkDeletePayload struct {
	// Deleted trustCenterNDARequest IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkTrustCenterNDARequest mutation

type TrustCenterNDARequestCreatePayload

type TrustCenterNDARequestCreatePayload struct {
	// Created trustCenterNDARequest
	TrustCenterNDARequest *generated.TrustCenterNDARequest `json:"trustCenterNDARequest"`
}

Return response for createTrustCenterNDARequest mutation

type TrustCenterNDARequestDeletePayload

type TrustCenterNDARequestDeletePayload struct {
	// Deleted trustCenterNDARequest ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteTrustCenterNDARequest mutation

type TrustCenterNDARequestUpdatePayload

type TrustCenterNDARequestUpdatePayload struct {
	// Updated trustCenterNDARequest
	TrustCenterNDARequest *generated.TrustCenterNDARequest `json:"trustCenterNDARequest"`
}

Return response for updateTrustCenterNDARequest mutation

type TrustCenterNDAUpdatePayload

type TrustCenterNDAUpdatePayload struct {
	Template *generated.Template `json:"template"`
}

type TrustCenterPreviewSettingCreatePayload

type TrustCenterPreviewSettingCreatePayload struct {
	// Created preview trust center setting
	TrustCenterSetting *generated.TrustCenterSetting `json:"trustCenterSetting"`
}

Return response for createTrustCenterPreviewSetting mutation

type TrustCenterSettingBulkCreatePayload

type TrustCenterSettingBulkCreatePayload struct {
	// Created trustCenterSettings
	TrustCenterSettings []*generated.TrustCenterSetting `json:"trustCenterSettings,omitempty"`
}

Return response for createBulkTrustCenterSetting mutation

type TrustCenterSettingCreatePayload

type TrustCenterSettingCreatePayload struct {
	// Created trustCenterSetting
	TrustCenterSetting *generated.TrustCenterSetting `json:"trustCenterSetting"`
}

Return response for createTrustCenterSetting mutation

type TrustCenterSettingDeletePayload

type TrustCenterSettingDeletePayload struct {
	// Deleted trustCenterSetting ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteTrustCenterSetting mutation

type TrustCenterSettingUpdatePayload

type TrustCenterSettingUpdatePayload struct {
	// Updated trustCenterSetting
	TrustCenterSetting *generated.TrustCenterSetting `json:"trustCenterSetting"`
}

Return response for updateTrustCenterSetting mutation

type TrustCenterSubprocessorBulkCreatePayload

type TrustCenterSubprocessorBulkCreatePayload struct {
	// Created trustCenterSubprocessors
	TrustCenterSubprocessors []*generated.TrustCenterSubprocessor `json:"trustCenterSubprocessors,omitempty"`
}

Return response for createBulkTrustCenterSubprocessor mutation

type TrustCenterSubprocessorBulkDeletePayload

type TrustCenterSubprocessorBulkDeletePayload struct {
	// Deleted trustCenterSubprocessor IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkTrustCenterSubprocessor mutation

type TrustCenterSubprocessorBulkUpdatePayload

type TrustCenterSubprocessorBulkUpdatePayload struct {
	// Updated trustCenterSubprocessors
	TrustCenterSubprocessors []*generated.TrustCenterSubprocessor `json:"trustCenterSubprocessors,omitempty"`
	// IDs of the updated trustCenterSubprocessors
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkTrustCenterSubprocessor mutation

type TrustCenterSubprocessorCreatePayload

type TrustCenterSubprocessorCreatePayload struct {
	// Created trustCenterSubprocessor
	TrustCenterSubprocessor *generated.TrustCenterSubprocessor `json:"trustCenterSubprocessor"`
}

Return response for createTrustCenterSubprocessor mutation

type TrustCenterSubprocessorDeletePayload

type TrustCenterSubprocessorDeletePayload struct {
	// Deleted trustCenterSubprocessor ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteTrustCenterSubprocessor mutation

type TrustCenterSubprocessorUpdatePayload

type TrustCenterSubprocessorUpdatePayload struct {
	// Updated trustCenterSubprocessor
	TrustCenterSubprocessor *generated.TrustCenterSubprocessor `json:"trustCenterSubprocessor"`
}

Return response for updateTrustCenterSubprocessor mutation

type TrustCenterUpdatePayload

type TrustCenterUpdatePayload struct {
	// Updated trustCenter
	TrustCenter *generated.TrustCenter `json:"trustCenter"`
}

Return response for updateTrustCenter mutation

type TrustCenterWatermarkConfigBulkCreatePayload

type TrustCenterWatermarkConfigBulkCreatePayload struct {
	// Created trustCenterWatermarkConfigs
	TrustCenterWatermarkConfigs []*generated.TrustCenterWatermarkConfig `json:"trustCenterWatermarkConfigs,omitempty"`
}

Return response for createBulkTrustCenterWatermarkConfig mutation

type TrustCenterWatermarkConfigCreatePayload

type TrustCenterWatermarkConfigCreatePayload struct {
	// Created trustCenterWatermarkConfig
	TrustCenterWatermarkConfig *generated.TrustCenterWatermarkConfig `json:"trustCenterWatermarkConfig"`
}

Return response for createTrustCenterWatermarkConfig mutation

type TrustCenterWatermarkConfigDeletePayload

type TrustCenterWatermarkConfigDeletePayload struct {
	// Deleted trustCenterWatermarkConfig ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteTrustCenterWatermarkConfig mutation

type TrustCenterWatermarkConfigUpdatePayload

type TrustCenterWatermarkConfigUpdatePayload struct {
	// Updated trustCenterWatermarkConfig
	TrustCenterWatermarkConfig *generated.TrustCenterWatermarkConfig `json:"trustCenterWatermarkConfig"`
}

Return response for updateTrustCenterWatermarkConfig mutation

type UpdateDiscussionsInput

type UpdateDiscussionsInput struct {
	// id of the discussion to update
	ID    string                           `json:"id"`
	Input *generated.UpdateDiscussionInput `json:"input"`
}

Update discussions related to an object

type UpdateWorkflowProposalChangesInput

type UpdateWorkflowProposalChangesInput struct {
	// ID of the workflow proposal to update
	ID string `json:"id"`
	// New proposed changes for the approval domain
	Changes map[string]any `json:"changes"`
}

Input for updateWorkflowProposalChanges mutation

type UserBulkCreatePayload

type UserBulkCreatePayload struct {
	// Created users
	Users []*generated.User `json:"users,omitempty"`
}

Return response for createBulkUser mutation

type UserCreatePayload

type UserCreatePayload struct {
	// Created user
	User *generated.User `json:"user"`
}

Return response for createUser mutation

type UserDeletePayload

type UserDeletePayload struct {
	// Deleted user ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteUser mutation

type UserSettingBulkCreatePayload

type UserSettingBulkCreatePayload struct {
	// Created userSettings
	UserSettings []*generated.UserSetting `json:"userSettings,omitempty"`
}

Return response for createBulkUserSetting mutation

type UserSettingBulkDeletePayload

type UserSettingBulkDeletePayload struct {
	// Deleted userSetting IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkUserSetting mutation

type UserSettingBulkUpdatePayload

type UserSettingBulkUpdatePayload struct {
	// Updated userSettings
	UserSettings []*generated.UserSetting `json:"userSettings,omitempty"`
	// IDs of the updated userSettings
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkUserSetting mutation

type UserSettingCreatePayload

type UserSettingCreatePayload struct {
	// Created userSetting
	UserSetting *generated.UserSetting `json:"userSetting"`
}

Return response for createUserSetting mutation

type UserSettingUpdatePayload

type UserSettingUpdatePayload struct {
	// Updated userSetting
	UserSetting *generated.UserSetting `json:"userSetting"`
}

Return response for updateUserSetting mutation

type UserUpdatePayload

type UserUpdatePayload struct {
	// Updated user
	User *generated.User `json:"user"`
}

Return response for updateUser mutation

type VendorRiskScoreBulkCreatePayload

type VendorRiskScoreBulkCreatePayload struct {
	// Created vendorRiskScores
	VendorRiskScores []*generated.VendorRiskScore `json:"vendorRiskScores,omitempty"`
}

Return response for createBulkVendorRiskScore mutation

type VendorRiskScoreBulkDeletePayload

type VendorRiskScoreBulkDeletePayload struct {
	// Deleted vendorRiskScore IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkVendorRiskScore mutation

type VendorRiskScoreBulkUpdatePayload

type VendorRiskScoreBulkUpdatePayload struct {
	// Updated vendorRiskScores
	VendorRiskScores []*generated.VendorRiskScore `json:"vendorRiskScores,omitempty"`
	// IDs of the updated vendorRiskScores
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkVendorRiskScore mutation

type VendorRiskScoreCreatePayload

type VendorRiskScoreCreatePayload struct {
	// Created vendorRiskScore
	VendorRiskScore *generated.VendorRiskScore `json:"vendorRiskScore"`
}

Return response for createVendorRiskScore mutation

type VendorRiskScoreDeletePayload

type VendorRiskScoreDeletePayload struct {
	// Deleted vendorRiskScore ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteVendorRiskScore mutation

type VendorRiskScoreUpdatePayload

type VendorRiskScoreUpdatePayload struct {
	// Updated vendorRiskScore
	VendorRiskScore *generated.VendorRiskScore `json:"vendorRiskScore"`
}

Return response for updateVendorRiskScore mutation

type VendorScoringConfigBulkCreatePayload

type VendorScoringConfigBulkCreatePayload struct {
	// Created vendorScoringConfigs
	VendorScoringConfigs []*generated.VendorScoringConfig `json:"vendorScoringConfigs,omitempty"`
}

Return response for createBulkVendorScoringConfig mutation

type VendorScoringConfigBulkDeletePayload

type VendorScoringConfigBulkDeletePayload struct {
	// Deleted vendorScoringConfig IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkVendorScoringConfig mutation

type VendorScoringConfigBulkUpdatePayload

type VendorScoringConfigBulkUpdatePayload struct {
	// Updated vendorScoringConfigs
	VendorScoringConfigs []*generated.VendorScoringConfig `json:"vendorScoringConfigs,omitempty"`
	// IDs of the updated vendorScoringConfigs
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkVendorScoringConfig mutation

type VendorScoringConfigCreatePayload

type VendorScoringConfigCreatePayload struct {
	// Created vendorScoringConfig
	VendorScoringConfig *generated.VendorScoringConfig `json:"vendorScoringConfig"`
}

Return response for createVendorScoringConfig mutation

type VendorScoringConfigDeletePayload

type VendorScoringConfigDeletePayload struct {
	// Deleted vendorScoringConfig ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteVendorScoringConfig mutation

type VendorScoringConfigUpdatePayload

type VendorScoringConfigUpdatePayload struct {
	// Updated vendorScoringConfig
	VendorScoringConfig *generated.VendorScoringConfig `json:"vendorScoringConfig"`
}

Return response for updateVendorScoringConfig mutation

type VulnerabilityBulkCreatePayload

type VulnerabilityBulkCreatePayload struct {
	// Created vulnerabilitys
	Vulnerabilities []*generated.Vulnerability `json:"vulnerabilities,omitempty"`
}

Return response for createBulkVulnerability mutation

type VulnerabilityBulkDeletePayload

type VulnerabilityBulkDeletePayload struct {
	// Deleted vulnerability IDs
	DeletedIDs []string `json:"deletedIDs"`
	// IDs that were not deleted
	NotDeletedIDs []string `json:"notDeletedIDs"`
	// Error message when the bulk delete did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for deleteBulkVulnerability mutation

type VulnerabilityBulkUpdatePayload

type VulnerabilityBulkUpdatePayload struct {
	// Updated vulnerabilities
	Vulnerabilities []*generated.Vulnerability `json:"vulnerabilities,omitempty"`
	// IDs of the updated vulnerabilities
	UpdatedIDs []string `json:"updatedIDs,omitempty"`
	// IDs that were not updated
	NotUpdatedIDs []string `json:"notUpdatedIDs"`
	// Error message when the bulk update did not apply to every requested ID
	Error *string `json:"error,omitempty"`
}

Return response for updateBulkVulnerability mutation

type VulnerabilityCreatePayload

type VulnerabilityCreatePayload struct {
	// Created vulnerability
	Vulnerability *generated.Vulnerability `json:"vulnerability"`
}

Return response for createVulnerability mutation

type VulnerabilityDeletePayload

type VulnerabilityDeletePayload struct {
	// Deleted vulnerability ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteVulnerability mutation

type VulnerabilityResolvePayload

type VulnerabilityResolvePayload struct {
	// Resolved vulnerability
	Vulnerability *generated.Vulnerability `json:"vulnerability"`
	// Review record created for the resolution, if requested
	Review *generated.Review `json:"review,omitempty"`
}

Return response for resolveVulnerability mutation

type VulnerabilitySummary

type VulnerabilitySummary struct {
	// Total vulnerabilities matching the filter.
	Total int `json:"total"`
	// Counts grouped by severity.
	BySeverity []*VulnerabilitySummaryBucket `json:"bySeverity"`
	// Counts grouped by source.
	BySource []*VulnerabilitySummaryBucket `json:"bySource"`
	// Counts grouped by status.
	ByStatus []*VulnerabilitySummaryBucket `json:"byStatus"`
}

Aggregated vulnerability summary for dashboards.

type VulnerabilitySummaryBucket

type VulnerabilitySummaryBucket struct {
	// Bucket label such as severity or source.
	Key string `json:"key"`
	// Count of vulnerabilities in this bucket.
	Count int `json:"count"`
}

Summary bucket for vulnerability groupings.

type VulnerabilityUpdatePayload

type VulnerabilityUpdatePayload struct {
	// Updated vulnerability
	Vulnerability *generated.Vulnerability `json:"vulnerability"`
}

Return response for updateVulnerability mutation

type WebauthnDeletePayload

type WebauthnDeletePayload struct {
	// Deleted webauthn ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteWebauthn mutation

type WorkflowAssignmentApprovePayload

type WorkflowAssignmentApprovePayload struct {
	// Approved workflow assignment
	WorkflowAssignment *generated.WorkflowAssignment `json:"workflowAssignment"`
}

Return response for approveWorkflowAssignment mutation

type WorkflowAssignmentReassignPayload

type WorkflowAssignmentReassignPayload struct {
	// Updated workflow assignment
	WorkflowAssignment *generated.WorkflowAssignment `json:"workflowAssignment"`
}

Return response for adminReassignWorkflowAssignment mutation

type WorkflowAssignmentRejectPayload

type WorkflowAssignmentRejectPayload struct {
	// Rejected workflow assignment
	WorkflowAssignment *generated.WorkflowAssignment `json:"workflowAssignment"`
}

Return response for rejectWorkflowAssignment mutation

type WorkflowAssignmentTargetInput

type WorkflowAssignmentTargetInput struct {
	// Target type (USER, GROUP, ROLE, RESOLVER)
	Type enums.WorkflowTargetType `json:"type"`
	// Target ID for USER/GROUP/ROLE targets
	ID *string `json:"id,omitempty"`
	// Resolver key for RESOLVER targets
	ResolverKey *string `json:"resolverKey,omitempty"`
}

Input target for reassigning workflow assignments

type WorkflowDefinitionBulkCreatePayload

type WorkflowDefinitionBulkCreatePayload struct {
	// Created workflowDefinitions
	WorkflowDefinitions []*generated.WorkflowDefinition `json:"workflowDefinitions,omitempty"`
}

Return response for createBulkWorkflowDefinition mutation

type WorkflowDefinitionCreatePayload

type WorkflowDefinitionCreatePayload struct {
	// Created workflowDefinition
	WorkflowDefinition *generated.WorkflowDefinition `json:"workflowDefinition"`
}

Return response for createWorkflowDefinition mutation

type WorkflowDefinitionDeletePayload

type WorkflowDefinitionDeletePayload struct {
	// Deleted workflowDefinition ID
	DeletedID string `json:"deletedID"`
}

Return response for deleteWorkflowDefinition mutation

type WorkflowDefinitionUpdatePayload

type WorkflowDefinitionUpdatePayload struct {
	// Updated workflowDefinition
	WorkflowDefinition *generated.WorkflowDefinition `json:"workflowDefinition"`
}

Return response for updateWorkflowDefinition mutation

type WorkflowFieldDiff

type WorkflowFieldDiff struct {
	// Field name (snake_case)
	Field string `json:"field"`
	// Human-friendly field label when available
	Label *string `json:"label,omitempty"`
	// Field type metadata when available
	Type *string `json:"type,omitempty"`
	// Current field value
	CurrentValue any `json:"currentValue,omitempty"`
	// Proposed field value
	ProposedValue any `json:"proposedValue,omitempty"`
	// Unified diff for the field (when applicable)
	Diff *string `json:"diff,omitempty"`
}

WorkflowFieldDiff describes a proposed change for a single field.

type WorkflowFieldMetadata

type WorkflowFieldMetadata struct {
	// The field name (snake_case)
	Name string `json:"name"`
	// Human-readable label for the field
	Label string `json:"label"`
	// Field data type
	Type string `json:"type"`
}

Metadata for a workflow-eligible field

type WorkflowInstanceAdminPayload

type WorkflowInstanceAdminPayload struct {
	// Updated workflow instance
	WorkflowInstance *generated.WorkflowInstance `json:"workflowInstance"`
}

Return response for workflow instance admin operations

type WorkflowInstanceBulkAdminPayload

type WorkflowInstanceBulkAdminPayload struct {
	// IDs of workflow instances updated
	UpdatedIDs []string `json:"updatedIDs"`
}

Return response for bulk workflow instance admin operations

type WorkflowMetadata

type WorkflowMetadata struct {
	// Available workflow object types
	ObjectTypes []*WorkflowObjectTypeMetadata `json:"objectTypes"`
	// Extensible workflow metadata payload for action configuration surfaces
	Extensions map[string]any `json:"extensions"`
}

Workflow metadata including supported object types and their fields

type WorkflowObjectTypeMetadata

type WorkflowObjectTypeMetadata struct {
	// The object type name (e.g., CONTROL, EVIDENCE, POLICY)
	Type string `json:"type"`
	// Human-readable label for the type
	Label string `json:"label"`
	// Description of the object type
	Description string `json:"description"`
	// List of fields that can be tracked in workflows for this type
	EligibleFields []*WorkflowFieldMetadata `json:"eligibleFields"`
	// List of edges that can be tracked in workflows for this type
	EligibleEdges []string `json:"eligibleEdges"`
	// Available resolver keys for this object type
	ResolverKeys []string `json:"resolverKeys"`
}

Metadata for a workflow object type

type WorkflowProposalPreview

type WorkflowProposalPreview struct {
	// ID of the workflow proposal
	ProposalID string `json:"proposalID"`
	// Stable key representing the approval domain for this proposal
	DomainKey string `json:"domainKey"`
	// Current state of the proposal
	State enums.WorkflowProposalState `json:"state"`
	// Timestamp when the proposal was submitted
	SubmittedAt *models.DateTime `json:"submittedAt,omitempty"`
	// User who submitted the proposal
	SubmittedByUserID *string `json:"submittedByUserID,omitempty"`
	// Proposed changes for the approval domain
	ProposedChanges map[string]any `json:"proposedChanges,omitempty"`
	// Current values for the proposed fields
	CurrentValues map[string]any `json:"currentValues,omitempty"`
	// Field-level diffs for the proposed changes
	Diffs []*WorkflowFieldDiff `json:"diffs"`
}

WorkflowProposalPreview describes the proposed changes alongside current values and diffs.

type WorkflowProposalSubmitPayload

type WorkflowProposalSubmitPayload struct {
	// Submitted workflow proposal
	WorkflowProposal *generated.WorkflowProposal `json:"workflowProposal"`
}

Return response for submitWorkflowProposal mutation

type WorkflowProposalUpdatePayload

type WorkflowProposalUpdatePayload struct {
	// Updated workflow proposal
	WorkflowProposal *generated.WorkflowProposal `json:"workflowProposal"`
}

Return response for updateWorkflowProposalChanges mutation

type WorkflowProposalWithdrawPayload

type WorkflowProposalWithdrawPayload struct {
	// Withdrawn workflow proposal
	WorkflowProposal *generated.WorkflowProposal `json:"workflowProposal"`
}

Return response for withdrawWorkflowProposal mutation

Jump to

Keyboard shortcuts

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