Authorize query read when creating a policy from query_id
When creating a fleet or global policy from an existing query (via query_id) load the referenced query and authorize ActionRead on it before its fields are copied, in both fleet policies and global policies.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
* Improved query validation logic around policy creation.
|
||||
Reference in New Issue
Block a user