---
"Security stats returns a number of stats":
  - requires:
      cluster_features: [ "security_stats_endpoint" ]
      reason: Introduced in 9.2

  - do:
      security.get_stats: {}

  - set:
      nodes._arbitrary_key_: node_id
  - length: { nodes.$node_id: 1 }
