stack kb roles get-security-role cli command
Auth required
Idempotent
Scope: global
elastic stack kb roles get-security-role [options]
Get all roles
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--replace-deprecated-privileges- If
trueand the response contains any privileges that are associated with deprecated features, they are omitted in favor of details about the appropriate replacement feature privileges. --input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--json-
output as JSON