Docs: document required return type for org_attribute_path (#105946)

Co-authored-by: linoman <2051016+linoman@users.noreply.github.com>
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com>
This commit is contained in:
Jacob Hands
2025-05-23 13:48:10 +00:00
committed by GitHub
co-authored by linoman Irene Rodríguez
parent 7cdeab4353
commit 8734b54f90
@@ -209,6 +209,10 @@ You can use the `org_attribute_path` and `org_mapping` configuration options to
To ease configuration of a proper JMESPath expression, go to [JMESPath](http://jmespath.org/) to test and evaluate expressions with custom payloads.
{{< admonition type="note" >}}
When using `org_attribute_path`, the value returned by the JMESPath expression must be an array, not a string.
{{< /admonition >}}
#### Role mapping examples
This section includes examples of JMESPath expressions used for role mapping.