Add enforcement_type in policy schema and policy read model
What does this MR do and why?
Introduces a new 'enforcement_type' field for scan result policies. This allows policies to be configured in 'warn' or 'enforce' mode.
'Warn' mode displays violations without blocking merge requests, while 'enforce' (default) blocks them.
Database, model enums, JSON schemas, and policy logic are updated to support this.
References
MVC: !202414 (closed)
Related to #561885 (closed)
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #561885 (closed)
Edited by Imam Hossain