stack kb roles get-security-role-name cli command
Auth required
Idempotent
Scope: global
elastic stack kb roles get-security-role-name --name <name> [options]
Get a role
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--namestringrequired- The role name.
--[no-]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
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON