xpack.security.getPrivileges

edit
client.xpack.security.getPrivileges({
  application: string,
  name: string
})

Reference

application

string - Application name

name

string - Privilege name