---
setup:
  - skip:
      features: headers

  - do:
      cluster.health:
        wait_for_status: yellow

---
"Test get builtin privileges":
  - do:
      security.get_builtin_privileges: {}

  # This is fragile - it needs to be updated every time we add a new cluster/index privilege
  # I would much prefer we could just check that specific entries are in the array, but we don't have
  # an assertion for that
  - length: { "cluster" : 63 }
  - length: { "index" : 24 }
