Generate an audit event if policy.yml becomes invalidated
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Label this issue](https://contributors.gitlab.com/manage-issue?action=label&projectId=278964&issueIid=550892) </details> <!--IssueSummary end--> * Generate an audit event if policy.yml becomes invalidated ## Verification steps 1. Create a project 2. Navigate to "Secure =\> Policies" and create a security policy with a merge request. 3. Manually edit the `policy.yml` in the merge request and make it invalid 4. Merge the MR with invalid `policy.yml` file 5. Verify an audit event of type `policy_yaml_invalidated `is recorded.
task