Add limit to description field in security policy

Why are we doing this work

Currently there is no limit and validation for description field in security policies. Since we are persisting policies in database (security_policies), adding a limit and validation for description field is necessary. As a part of this issue, we want to add the limit to policy schema and add text limit constraint to description column in security_policies table.

Relevant links

Non-functional requirements

  • Documentation:
  • Feature flag:
  • Performance:
  • Testing:

Implementation plan

Verification steps

Edited by 🤖 GitLab Bot 🤖