Add TopLocksAdminAction to diagsnostics canned policy (#9104)

This commit is contained in:
kannappanr 2020-03-08 18:32:39 -07:00 committed by GitHub
parent 6a00eb10bf
commit 33edb072a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ var AdminDiagnostics = Policy{
{
SID: policy.ID(""),
Effect: policy.Allow,
Actions: NewActionSet(PerfInfoAdminAction, ProfilingAdminAction, TraceAdminAction, ConsoleLogAdminAction, ServerInfoAdminAction, ServerHardwareInfoAdminAction),
Actions: NewActionSet(PerfInfoAdminAction, ProfilingAdminAction, TraceAdminAction, ConsoleLogAdminAction, ServerInfoAdminAction, ServerHardwareInfoAdminAction, TopLocksAdminAction),
Resources: NewResourceSet(NewResource("*", "")),
},
},