Blocking, exception, approval, and quality-gate features depend on PawSQL edition, licensing, and integration configuration. Where an in-product workflow is unavailable, use the PawSQL review report as evidence in an external ticketing or CI/CD gate.
Goal
Control high-risk database changes by combining policy-based detection with human judgment, representative testing, and the organization’s change-management process.Prerequisites
A production-ready review policy with blocking or high severity assigned to critical rules, and an established change-management and exception process.Typical risk categories
Your organization’s review policies define which cases are high risk.
Recommended control flow
1
Detect automatically
Use a production-ready policy and assign blocking or high severity to critical rules.
2
Establish the operating context
Confirm the target environment, affected objects, data volume, execution duration, and maintenance window.
3
Reduce risk first
Correct the SQL, split the operation, narrow predicates, or choose a safer execution approach.
4
Validate under controlled conditions
Test semantics, plans, runtime, locking behavior, stop conditions, and rollback readiness.
5
Handle unavoidable exceptions
Submit the rationale, compensating controls, and expiration date for authorized review.
6
Release with evidence
Continue only after the gate is satisfied, and retain the review, approval, and execution record.
Suggested gate decisions
Handle exceptions
When a risk cannot be removed, use the exception process in Manual Review and Approval: submit the rationale, compensating controls, and an expiration date for authorized review, and bind the exception to a specific SQL statement, rule, project, environment, and validity period.Integrate with CI/CD or ticketing
An automated workflow can evaluate ticket status, highest severity, unresolved finding counts, or a report outcome. Design the integration to:- pin or record the review-policy revision;
- define safe behavior for failures, timeouts, and incomplete analysis;
- prevent unauthorized users from bypassing the gate;
- retain the ticket link, report, and pipeline evidence;
- provide a controlled manual fallback for service incidents.