Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Permissions

This page lists the permissions registered by the Wazuh Indexer plugins, to grant in the roles you define. The default roles use only a few of them. Content Manager permission names are action groups (defined in action_groups.yml) that resolve to the actual transport actions registered by the plugin: cluster:admin/content_manager/* for the actions that change state, and cluster:monitor/content_manager/* for the read-only ones (subscription get, logtest, promote get, policy resources get and version check); the Setup entries are raw cluster actions, each also exposed as an action group; the Ruleset Management entries are raw cluster actions.

Setup plugin permissions

  • cluster:admin/setup/settings/update — update the Wazuh settings (PUT /_plugins/_setup/settings), exposed as the action group plugin:wazuh/settings/write
  • cluster:admin/ai_assistant/session/write — create, update and delete the caller’s own AI assistant sessions (POST /_plugins/_setup/ai_assistant/sessions, PUT, PATCH and DELETE /_plugins/_setup/ai_assistant/sessions/{id}), exposed as the action group plugin:wazuh/ai_assistant/session/write. Granted to every user by the default wazuh_ai_assistant role.
  • cluster:admin/ai_assistant/settings/read — read the AI assistant’s providers, settings and field policy (GET /_plugins/_setup/ai_assistant/settings, GET /_plugins/_setup/ai_assistant/providers), exposed as the action group plugin:wazuh/ai_assistant/settings/read
  • cluster:admin/ai_assistant/settings/write — write the AI assistant’s providers, settings and field policy (PUT /_plugins/_setup/ai_assistant/settings, POST /_plugins/_setup/ai_assistant/providers, PUT and DELETE /_plugins/_setup/ai_assistant/providers/{id}), exposed as the action group plugin:wazuh/ai_assistant/settings/write

Content Manager plugin permissions

Each resource exposes create, update and delete, plus a * action group that aggregates the three:

  • plugin:content_manager/integration/{create,update,delete} (and plugin:content_manager/integration/*)
  • plugin:content_manager/decoder/{create,update,delete} (and plugin:content_manager/decoder/*)
  • plugin:content_manager/rule/{create,update,delete} (and plugin:content_manager/rule/*)
  • plugin:content_manager/kvdb/{create,update,delete} (and plugin:content_manager/kvdb/*)
  • plugin:content_manager/filter/{create,update,delete} (and plugin:content_manager/filter/*)

Other Content Manager permissions:

  • plugin:content_manager/policy/update — create/update a policy (PUT /_plugins/_content_manager/policy/{space})
  • plugin:content_manager/policy/resources/get — list a space’s resources grouped by pipeline phase (GET /_plugins/_content_manager/policy/resources)
  • plugin:content_manager/update — trigger an on-demand CTI catalog sync (POST /_plugins/_content_manager/update)
  • plugin:content_manager/subscription/get — read the CTI subscription
  • plugin:content_manager/subscription/post — create/update the CTI subscription. Also the permission evaluated by POST /_plugins/_content_manager/subscription?perform_permission_check=true, which reports whether the caller holds it instead of registering.
  • plugin:content_manager/subscription/delete — delete the CTI subscription. Also the permission evaluated by DELETE /_plugins/_content_manager/subscription?perform_permission_check=true, which reports whether the caller holds it instead of deleting.
  • plugin:content_manager/promote/get — preview a promotion diff
  • plugin:content_manager/promote/post — execute a space promotion
  • plugin:content_manager/promote/* — groups promote/get and promote/post
  • plugin:content_manager/logtest — run the combined logtest (POST /_plugins/_content_manager/logtest). Also grants cluster:admin/wazuh/securityanalytics/rules/evaluate, which the logtest needs downstream.
  • plugin:content_manager/logtest/detection, plugin:content_manager/logtest/normalization — run each logtest phase on its own (POST /_plugins/_content_manager/logtest/detection, POST /_plugins/_content_manager/logtest/normalization). logtest/detection also grants cluster:admin/wazuh/securityanalytics/rules/evaluate; logtest/normalization does not need it.
  • plugin:content_manager/logtest/* — groups logtest/detection and logtest/normalization, and through logtest/detection also cluster:admin/wazuh/securityanalytics/rules/evaluate; it does not grant the combined POST /_plugins/_content_manager/logtest
  • plugin:content_manager/space/delete — reset a space (DELETE /_plugins/_content_manager/space/{space}) and clear only its normalization or detection resources (DELETE .../space/{space}/normalization, DELETE .../space/{space}/detection); all three are authorized by this same action, so the scoped clears add no new permission. The three run one at a time per space (a space lock), so a request that arrives while another is clearing the same space is answered 429. The action group also grants the Security Analytics delete actions and the cluster indices:data/write/bulk, indices:data/read/scroll and indices:data/read/scroll/clear these deletions run. A role that uses it also needs read, write, delete and indices:admin/refresh on the wazuh-threatintel-* and .opensearch-sap-* indices (the Security Analytics rule delete refreshes its index). indices:admin/exists is not required: the resource deletes and the hash recompute tolerate a missing index through lenient search options instead of an existence pre-check.
  • plugin:content_manager/version/check — check the catalog version

Ruleset Management plugin permissions

Wazuh custom actions:

  • cluster:admin/wazuh/securityanalytics/detector/write
  • cluster:admin/wazuh/securityanalytics/detector/delete
  • cluster:admin/wazuh/securityanalytics/detector/set_enabled — switch an existing detector on or off without changing anything else (used by the Content Manager when an integration is enabled or disabled)
  • cluster:admin/wazuh/securityanalytics/logtype/write
  • cluster:admin/wazuh/securityanalytics/logtype/delete
  • cluster:admin/wazuh/securityanalytics/rule/write
  • cluster:admin/wazuh/securityanalytics/rule/delete
  • cluster:admin/wazuh/securityanalytics/rule/custom/write
  • cluster:admin/wazuh/securityanalytics/rule/custom/delete
  • cluster:admin/wazuh/securityanalytics/rules/evaluate
  • cluster:admin/wazuh/securityanalytics/space/delete

No default role grants the upstream OpenSearch Security Analytics actions (cluster:admin/opensearch/securityanalytics/*); the full /* set is held only by all_access.

Note: cluster:admin/opensearch/securityanalytics/detector/write is the permission that switches a detector on or off, and no default role holds it — out of the box only all_access does. Disabling a detector stops detection for its integration and the interval missed is never re-evaluated — see Enabling and disabling detectors.