Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSchemaConfigContext ¶
func NewSchemaConfigContext(parent context.Context, config SchemaConfig) context.Context
NewSchemaConfigContext returns a new context with the given SchemaConfig attached.
Types ¶
type SchemaConfig ¶
type SchemaConfig struct {
APIToken string // APIToken table.
ActionPlan string // ActionPlan table.
ActionPlanBlockedGroups string // ActionPlan-blocked_groups->Group table.
ActionPlanEditors string // ActionPlan-editors->Group table.
ActionPlanViewers string // ActionPlan-viewers->Group table.
ActionPlanTasks string // ActionPlan-tasks->Task table.
Assessment string // Assessment table.
AssessmentResponse string // AssessmentResponse table.
Asset string // Asset table.
AssetConnectedAssets string // Asset-connected_assets->Asset table.
Campaign string // Campaign table.
CampaignBlockedGroups string // Campaign-blocked_groups->Group table.
CampaignEditors string // Campaign-editors->Group table.
CampaignViewers string // Campaign-viewers->Group table.
CampaignContacts string // Campaign-contacts->Contact table.
CampaignUsers string // Campaign-users->User table.
CampaignGroups string // Campaign-groups->Group table.
CampaignIdentityHolders string // Campaign-identity_holders->IdentityHolder table.
CampaignTarget string // CampaignTarget table.
Contact string // Contact table.
ContactFiles string // Contact-files->File table.
Control string // Control table.
ControlControlObjectives string // Control-control_objectives->ControlObjective table.
ControlTasks string // Control-tasks->Task table.
ControlNarratives string // Control-narratives->Narrative table.
ControlRisks string // Control-risks->Risk table.
ControlActionPlans string // Control-action_plans->ActionPlan table.
ControlProcedures string // Control-procedures->Procedure table.
ControlBlockedGroups string // Control-blocked_groups->Group table.
ControlEditors string // Control-editors->Group table.
ControlAssets string // Control-assets->Asset table.
ControlScans string // Control-scans->Scan table.
ControlControlImplementations string // Control-control_implementations->ControlImplementation table.
ControlImplementation string // ControlImplementation table.
ControlImplementationBlockedGroups string // ControlImplementation-blocked_groups->Group table.
ControlImplementationEditors string // ControlImplementation-editors->Group table.
ControlImplementationViewers string // ControlImplementation-viewers->Group table.
ControlImplementationTasks string // ControlImplementation-tasks->Task table.
ControlObjective string // ControlObjective table.
ControlObjectiveBlockedGroups string // ControlObjective-blocked_groups->Group table.
ControlObjectiveEditors string // ControlObjective-editors->Group table.
ControlObjectiveViewers string // ControlObjective-viewers->Group table.
ControlObjectiveTasks string // ControlObjective-tasks->Task table.
CustomDomain string // CustomDomain table.
CustomTypeEnum string // CustomTypeEnum table.
DNSVerification string // DNSVerification table.
DirectoryAccount string // DirectoryAccount table.
DirectoryAccountGroups string // DirectoryAccount-groups->DirectoryGroup table.
DirectoryGroup string // DirectoryGroup table.
DirectoryMembership string // DirectoryMembership table.
DirectorySyncRun string // DirectorySyncRun table.
Discussion string // Discussion table.
DocumentData string // DocumentData table.
DocumentDataFiles string // DocumentData-files->File table.
EmailVerificationToken string // EmailVerificationToken table.
Entity string // Entity table.
EntityBlockedGroups string // Entity-blocked_groups->Group table.
EntityEditors string // Entity-editors->Group table.
EntityViewers string // Entity-viewers->Group table.
EntityContacts string // Entity-contacts->Contact table.
EntityDocuments string // Entity-documents->DocumentData table.
EntityFiles string // Entity-files->File table.
EntityAssets string // Entity-assets->Asset table.
EntityIntegrations string // Entity-integrations->Integration table.
EntitySubprocessors string // Entity-subprocessors->Subprocessor table.
EntityType string // EntityType table.
Event string // Event table.
Evidence string // Evidence table.
EvidenceControls string // Evidence-controls->Control table.
EvidenceSubcontrols string // Evidence-subcontrols->Subcontrol table.
EvidenceControlObjectives string // Evidence-control_objectives->ControlObjective table.
EvidenceFiles string // Evidence-files->File table.
Export string // Export table.
File string // File table.
FileEvents string // File-events->Event table.
FileSecrets string // File-secrets->Hush table.
FileDownloadToken string // FileDownloadToken table.
Finding string // Finding table.
FindingActionPlans string // Finding-action_plans->ActionPlan table.
FindingControls string // Finding-controls->Control table.
FindingControl string // FindingControl table.
Group string // Group table.
GroupEvents string // Group-events->Event table.
GroupFiles string // Group-files->File table.
GroupTasks string // Group-tasks->Task table.
GroupMembership string // GroupMembership table.
GroupMembershipEvents string // GroupMembership-events->Event table.
GroupSetting string // GroupSetting table.
Hush string // Hush table.
HushEvents string // Hush-events->Event table.
IdentityHolder string // IdentityHolder table.
IdentityHolderAssessments string // IdentityHolder-assessments->Assessment table.
IdentityHolderTemplates string // IdentityHolder-templates->Template table.
IdentityHolderAssets string // IdentityHolder-assets->Asset table.
IdentityHolderEntities string // IdentityHolder-entities->Entity table.
IdentityHolderTasks string // IdentityHolder-tasks->Task table.
ImpersonationEvent string // ImpersonationEvent table.
Integration string // Integration table.
IntegrationSecrets string // Integration-secrets->Hush table.
IntegrationEvents string // Integration-events->Event table.
IntegrationFindings string // Integration-findings->Finding table.
IntegrationVulnerabilities string // Integration-vulnerabilities->Vulnerability table.
IntegrationReviews string // Integration-reviews->Review table.
IntegrationRemediations string // Integration-remediations->Remediation table.
IntegrationActionPlans string // Integration-action_plans->ActionPlan table.
InternalPolicy string // InternalPolicy table.
InternalPolicyBlockedGroups string // InternalPolicy-blocked_groups->Group table.
InternalPolicyEditors string // InternalPolicy-editors->Group table.
InternalPolicyControlObjectives string // InternalPolicy-control_objectives->ControlObjective table.
InternalPolicyControls string // InternalPolicy-controls->Control table.
InternalPolicySubcontrols string // InternalPolicy-subcontrols->Subcontrol table.
InternalPolicyProcedures string // InternalPolicy-procedures->Procedure table.
InternalPolicyNarratives string // InternalPolicy-narratives->Narrative table.
InternalPolicyTasks string // InternalPolicy-tasks->Task table.
InternalPolicyRisks string // InternalPolicy-risks->Risk table.
Invite string // Invite table.
InviteEvents string // Invite-events->Event table.
InviteGroups string // Invite-groups->Group table.
JobResult string // JobResult table.
JobRunner string // JobRunner table.
JobRunnerJobRunnerTokens string // JobRunner-job_runner_tokens->JobRunnerToken table.
JobRunnerRegistrationToken string // JobRunnerRegistrationToken table.
JobRunnerToken string // JobRunnerToken table.
JobTemplate string // JobTemplate table.
MappableDomain string // MappableDomain table.
MappedControl string // MappedControl table.
MappedControlBlockedGroups string // MappedControl-blocked_groups->Group table.
MappedControlEditors string // MappedControl-editors->Group table.
MappedControlFromControls string // MappedControl-from_controls->Control table.
MappedControlToControls string // MappedControl-to_controls->Control table.
MappedControlFromSubcontrols string // MappedControl-from_subcontrols->Subcontrol table.
MappedControlToSubcontrols string // MappedControl-to_subcontrols->Subcontrol table.
Narrative string // Narrative table.
NarrativeBlockedGroups string // Narrative-blocked_groups->Group table.
NarrativeEditors string // Narrative-editors->Group table.
NarrativeViewers string // Narrative-viewers->Group table.
Note string // Note table.
Notification string // Notification table.
Onboarding string // Onboarding table.
OrgMembership string // OrgMembership table.
OrgMembershipEvents string // OrgMembership-events->Event table.
OrgModule string // OrgModule table.
OrgModuleOrgPrices string // OrgModule-org_prices->OrgPrice table.
OrgPrice string // OrgPrice table.
OrgProduct string // OrgProduct table.
OrgProductOrgPrices string // OrgProduct-org_prices->OrgPrice table.
OrgSubscription string // OrgSubscription table.
OrgSubscriptionEvents string // OrgSubscription-events->Event table.
Organization string // Organization table.
OrganizationPersonalAccessTokens string // Organization-personal_access_tokens->PersonalAccessToken table.
OrganizationFiles string // Organization-files->File table.
OrganizationEvents string // Organization-events->Event table.
OrganizationSetting string // OrganizationSetting table.
OrganizationSettingFiles string // OrganizationSetting-files->File table.
PasswordResetToken string // PasswordResetToken table.
PersonalAccessToken string // PersonalAccessToken table.
PersonalAccessTokenEvents string // PersonalAccessToken-events->Event table.
Platform string // Platform table.
PlatformBlockedGroups string // Platform-blocked_groups->Group table.
PlatformEditors string // Platform-editors->Group table.
PlatformViewers string // Platform-viewers->Group table.
PlatformAssets string // Platform-assets->Asset table.
PlatformEntities string // Platform-entities->Entity table.
PlatformEvidence string // Platform-evidence->Evidence table.
PlatformFiles string // Platform-files->File table.
PlatformRisks string // Platform-risks->Risk table.
PlatformControls string // Platform-controls->Control table.
PlatformAssessments string // Platform-assessments->Assessment table.
PlatformScans string // Platform-scans->Scan table.
PlatformTasks string // Platform-tasks->Task table.
PlatformIdentityHolders string // Platform-identity_holders->IdentityHolder table.
PlatformSourceEntities string // Platform-source_entities->Entity table.
PlatformOutOfScopeAssets string // Platform-out_of_scope_assets->Asset table.
PlatformOutOfScopeVendors string // Platform-out_of_scope_vendors->Entity table.
PlatformApplicableFrameworks string // Platform-applicable_frameworks->Standard table.
Procedure string // Procedure table.
ProcedureBlockedGroups string // Procedure-blocked_groups->Group table.
ProcedureEditors string // Procedure-editors->Group table.
ProcedureNarratives string // Procedure-narratives->Narrative table.
ProcedureRisks string // Procedure-risks->Risk table.
ProcedureTasks string // Procedure-tasks->Task table.
Program string // Program table.
ProgramBlockedGroups string // Program-blocked_groups->Group table.
ProgramEditors string // Program-editors->Group table.
ProgramViewers string // Program-viewers->Group table.
ProgramControls string // Program-controls->Control table.
ProgramControlObjectives string // Program-control_objectives->ControlObjective table.
ProgramInternalPolicies string // Program-internal_policies->InternalPolicy table.
ProgramProcedures string // Program-procedures->Procedure table.
ProgramRisks string // Program-risks->Risk table.
ProgramTasks string // Program-tasks->Task table.
ProgramFiles string // Program-files->File table.
ProgramEvidence string // Program-evidence->Evidence table.
ProgramNarratives string // Program-narratives->Narrative table.
ProgramActionPlans string // Program-action_plans->ActionPlan table.
ProgramMembership string // ProgramMembership table.
Remediation string // Remediation table.
RemediationActionPlans string // Remediation-action_plans->ActionPlan table.
Review string // Review table.
ReviewActionPlans string // Review-action_plans->ActionPlan table.
Risk string // Risk table.
RiskBlockedGroups string // Risk-blocked_groups->Group table.
RiskEditors string // Risk-editors->Group table.
RiskViewers string // Risk-viewers->Group table.
RiskActionPlans string // Risk-action_plans->ActionPlan table.
RiskTasks string // Risk-tasks->Task table.
Scan string // Scan table.
ScanBlockedGroups string // Scan-blocked_groups->Group table.
ScanEditors string // Scan-editors->Group table.
ScanViewers string // Scan-viewers->Group table.
ScanAssets string // Scan-assets->Asset table.
ScanEvidence string // Scan-evidence->Evidence table.
ScanFiles string // Scan-files->File table.
ScanRemediations string // Scan-remediations->Remediation table.
ScanActionPlans string // Scan-action_plans->ActionPlan table.
ScanTasks string // Scan-tasks->Task table.
ScheduledJob string // ScheduledJob table.
ScheduledJobControls string // ScheduledJob-controls->Control table.
ScheduledJobSubcontrols string // ScheduledJob-subcontrols->Subcontrol table.
ScheduledJobRun string // ScheduledJobRun table.
Standard string // Standard table.
Subcontrol string // Subcontrol table.
SubcontrolControlObjectives string // Subcontrol-control_objectives->ControlObjective table.
SubcontrolTasks string // Subcontrol-tasks->Task table.
SubcontrolRisks string // Subcontrol-risks->Risk table.
SubcontrolProcedures string // Subcontrol-procedures->Procedure table.
SubcontrolControlImplementations string // Subcontrol-control_implementations->ControlImplementation table.
Subprocessor string // Subprocessor table.
Subscriber string // Subscriber table.
SubscriberEvents string // Subscriber-events->Event table.
TFASetting string // TFASetting table.
TagDefinition string // TagDefinition table.
Task string // Task table.
TaskEvidence string // Task-evidence->Evidence table.
Template string // Template table.
TemplateFiles string // Template-files->File table.
TrustCenter string // TrustCenter table.
TrustCenterCompliance string // TrustCenterCompliance table.
TrustCenterDoc string // TrustCenterDoc table.
TrustCenterEntity string // TrustCenterEntity table.
TrustCenterNDARequest string // TrustCenterNDARequest table.
TrustCenterSetting string // TrustCenterSetting table.
TrustCenterSubprocessor string // TrustCenterSubprocessor table.
TrustCenterWatermarkConfig string // TrustCenterWatermarkConfig table.
User string // User table.
UserGroups string // User-groups->Group table.
UserOrganizations string // User-organizations->Organization table.
UserEvents string // User-events->Event table.
UserPrograms string // User-programs->Program table.
UserSetting string // UserSetting table.
Vulnerability string // Vulnerability table.
VulnerabilityActionPlans string // Vulnerability-action_plans->ActionPlan table.
VulnerabilityScans string // Vulnerability-scans->Scan table.
Webauthn string // Webauthn table.
WorkflowAssignment string // WorkflowAssignment table.
WorkflowAssignmentTarget string // WorkflowAssignmentTarget table.
WorkflowDefinition string // WorkflowDefinition table.
WorkflowEvent string // WorkflowEvent table.
WorkflowInstance string // WorkflowInstance table.
WorkflowObjectRef string // WorkflowObjectRef table.
WorkflowProposal string // WorkflowProposal table.
}
SchemaConfig represents alternative schema names for all tables that can be passed at runtime.
func SchemaConfigFromContext ¶
func SchemaConfigFromContext(ctx context.Context) SchemaConfig
SchemaConfigFromContext returns a SchemaConfig stored inside a context, or empty if there isn't one.
Click to show internal directories.
Click to hide internal directories.