You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GigaChad GRC uses a single PostgreSQL database with a unified Prisma schema located at services/shared/prisma/schema.prisma. All microservices share this schema through the @gigachad-grc/shared package.
Periodic reviews of vendor access to systems and data.
VendorCertification
Vendor compliance certifications with expiration tracking.
Trust Module
Model
Purpose
QuestionnaireRequest
Inbound security questionnaire requests from customers/prospects.
QuestionnaireQuestion
Individual questions within a questionnaire, with answers and knowledge base links.
KnowledgeBaseEntry
Reusable answers for security questionnaires, categorized and versioned.
TrustCenterConfig
Configuration for the public-facing trust center portal.
TrustCenterContent
Content sections for the trust center (overview, certifications, controls, policies).
AnswerTemplate
Pre-built answer templates for common security questions.
Audit Management
Model
Purpose
Audit
Internal/external audits with type, status workflow, and framework scope.
AuditRequest
Evidence and document requests from auditors, with assignment and status tracking.
AuditFinding
Audit findings with severity, status, and remediation tracking.
AuditTestResult
Control testing results within an audit.
AuditWorkpaper
Formal audit workpapers with version history.
AuditPortalUser
External auditor portal access with access codes and expiration.
AuditTemplate
Reusable audit templates with checklists.
RemediationPlan
Plans to address audit findings (POA&M), with milestones.
Assets
Model
Purpose
Asset
IT assets (servers, workstations, mobile, network, applications, data). Tracked with criticality and data sensitivity. Can be linked to risks, vendors, and employees.
aws, azure, gcp, github, gitlab, okta, jira, slack, google_workspace, servicenow, jamf, intune, custom, and more
Priority
low, medium, high, critical
Severity
critical, high, medium, low, info, observation
The full schema with all 62 enums and 130+ models is in services/shared/prisma/schema.prisma.
Multi-Tenancy
All data is scoped to an Organization. Most queries filter by organizationId. Within an organization, Workspaces provide optional sub-scoping for multi-product teams.
Soft Deletes
Most entities use soft deletion via a deletedAt timestamp field. Queries should filter deletedAt: null to exclude deleted records.
Audit Fields
Most entities include standard audit fields: createdAt, updatedAt, createdBy, updatedBy.