Query list of all policy types
What does this MR do and why?
Add flat policy list of all types
User can query a list of all policies of mixed type
Changelog: changed EE: true
References
Screenshots or screen recordings
| Description | UI | 
|---|---|
| New query for a flat list |  | 
How to set up and validate locally
- 
Go to http://base_url/-/graphql-explorer
- 
Query: { group(fullPath: "path") { securityPolicies(includeUnscoped: false) { nodes { name type enabled updatedAt editPath policyAttributes { ...on PipelineExecutionScheduledPolicyAttributesType{ policyBlobFilePath warnings } ...on ScanExecutionPolicyAttributesType { deprecatedProperties source { __typename } } ... on ApprovalPolicyAttributesType { __typename actionApprovers { users { name } } } ...on VulnerabilityManagementPolicyAttributesType { source { ...on GroupSecurityPolicySource { namespace { name } } } } ...on PipelineExecutionPolicyAttributesType { policyBlobFilePath } } } pageInfo { hasNextPage hasPreviousPage endCursor startCursor } } } }
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 #545696 (closed)
Edited  by Artur Fedorov