Add TopLocksAdminAction to diagsnostics canned policy (#9104)

master
kannappanr 5 years ago committed by GitHub
parent 6a00eb10bf
commit 33edb072a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/iam/policy/constants.go

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

Loading…
Cancel
Save