AWS Security ChangesHomeSearch

AWS grafana: Document AWS auth provider, assume role, and datasource options

Service: grafana · 2026-10-01 · Documentation medium

File: grafana/latest/userguide/amazon-using-prometheus-datasource.md · Type: iam

Summary

Expands the Prometheus datasource configuration table with new options including Authentication Provider, Assume Role ARN, External ID, Default Region, Service Provider, HTTP headers, allowed cookies, timeouts, query thresholds, and caching/recording-rule toggles; removes the old Default and Access rows.

Security assessment

The added rows document AWS credential-chain selection, cross-account role assumption, and external ID usage, which are IAM/authentication best practices for scoping access. This is security-relevant guidance but does not reference or fix any specific vulnerability or incident.

Evidence

+`Assume Role ARN` |  Optional. Specifying the ARN of a role will ensure that the selected authentication provider is used to assume the role rather than the credentials directly.   

Diff

diff --git a/grafana/latest/userguide/amazon-using-prometheus-datasource.md b/grafana/latest/userguide/amazon-using-prometheus-datasource.md
index 3fa2d32..77748cd 100644
--- a//grafana/latest/userguide/amazon-using-prometheus-datasource.md
+++ b//grafana/latest/userguide/amazon-using-prometheus-datasource.md
@@ -20 +19,0 @@ Name  |  Description
-`Default` |  Default data source means that it will be pre-selected for new panels.   
@@ -22 +21,10 @@ Name  |  Description
-`Access` |  Server (default) = URL must be accessible from the Grafana backend/server.   
+`Authentication Provider` |  Specify which AWS credentials chain to use.   
+`Assume Role ARN` |  Optional. Specifying the ARN of a role will ensure that the selected authentication provider is used to assume the role rather than the credentials directly.   
+`External ID` |  If you are assuming a role in another account, that has been created with an external ID, specify the external ID here.   
+`Default Region` |  Specify the region, such as for US West (Oregon) use `us-west-2` as the region.   
+`Service Provider` |  Specify the AWS service to sign requests against (for example, `aps` for Prometheus).   
+`HTTP headers` |  Pass additional metadata with each request. Add a custom header name in the `Header` field and its `Value`.   
+`Allowed cookies` |  Specify cookies by name that should be forwarded to the data source. By default, the Grafana proxy deletes all forwarded cookies.   
+`Timeout` |  The HTTP request timeout, in seconds.   
+`Manage alerts via Alerting UI` |  Toggled on by default. Enables managing this data source's alerting rules from the Grafana Alerting UI. For Prometheus data sources, this supports viewing existing rules and alerts, which display as data source-managed.   
+`Allow as recording rules target` |  Toggled on by default. Allows this data source to be selected as a target destination for writing Grafana-managed recording rules.   
@@ -23,0 +32,2 @@ Name  |  Description
+`Query timeout` |  Sets the Prometheus query timeout. Defaults to 60s.   
+`Default editor` |  Sets the default query editor. Options are `Builder` (build queries using a visual interface) or `Code` (write PromQL directly). You can switch editors in the query editor UI.   
@@ -24,0 +35,3 @@ Name  |  Description
+`Cache level` |  Sets the browser caching level for editor queries. Options are `Low`, `Medium`, `High`, or `None`. Higher cache settings are recommended for high-cardinality data sources.   
+`Incremental querying (beta)` |  Toggle on to cache query results and fetch only new records on subsequent queries, instead of always requesting fresh data. This helps reduce database and network load. When enabled, use `Query overlap window` to specify a duration (for example, `10m`) that is added to each incremental request to account for delayed data ingestion.   
+`Disable recording rules (beta)` |  Toggle on so that Grafana does not fetch and parse recording rules from Prometheus, improving dashboard performance by reducing processing overhead.   
@@ -25,0 +39,6 @@ Name  |  Description
+`HTTP method` |  Select the `POST` or `GET` HTTP method used to query your data source. `POST` is recommended and selected by default, as it supports larger queries. Select `GET` if your network restricts `POST` requests.   
+`Series limit` |  The maximum number of series returned. The limit applies to metrics, labels, and values for both the series and labels endpoints. Leave empty to use the default limit (40000). Set to `0` to disable the limit, which may cause performance issues.   
+`Query statistics` |  Request query processing statistics to view the total queryable samples in Query Inspector. Because query cost scales with samples processed, use this to understand the expense of a query before creating an alert or adding it to a dashboard. This can increase the response payload size.   
+`Query warning threshold` |  Sets the warning threshold for Query Samples Processed (QSP). When queries hit this threshold, a warning message will be returned in the API response.   
+`Query error threshold` |  Sets the error threshold for Query Samples Processed (QSP). Queries that exceed this threshold will be rejected with an error and will not be charged. Used to prevent excessive query costs.   
+`Use series endpoint` |  Toggle on to use the series endpoint (`/api/v1/series`) with the `match[]` parameter instead of the label values endpoint. The label values endpoint is generally more performant, but the series endpoint supports the `POST` method.