Taxpoynt Docs
Compliance
CI Security Policy
Source file: CI_SECURITY_POLICY.md
This policy defines mandatory shift-left security gates for pull requests and merges to main.
Required GitHub Check Runs
linttypechecktest:cisecurity-policy
Gate Intent
lint: baseline static analysis and style consistency.typecheck: prevent unsafe API/runtime regressions at compile time.test:ci: preserve functional and regression coverage.security-policy: enforce security-specific controls:- Clean database migration smoke (
prisma migrate deployon empty DB) - Migration deployment on test DB
- API SAST gate (
@taxpoynt/apilint + typecheck) - Production dependency audit (
pnpm audit --prod) - HTTP DAST SQLi probes (
test/health.e2e-spec.ts,test/security-dast.e2e-spec.ts)
- Clean database migration smoke (
Branch Protection Recommendation
For branch main, enable:
- Require status checks to pass before merging.
- Require branches to be up to date before merging.
- Add required checks listed above.
- Do not allow bypass except for designated administrators.
Operating Model
- Shift-left in CI: block vulnerable code/dependencies before merge.
- Shift-right in operations: continue runtime/nightly validation (synthetics, readiness checks, staged security probing).