Skip to content

Commit

Permalink
[Visualizations] Serverless yml settings (elastic#162959)
Browse files Browse the repository at this point in the history
## Summary

Adds the necessary yml settings to the serverless config. These settings
are making ui changes in dashboards / visualizations editors and they
apply for all projects.

For testing run `yarn start --serverless=es` and check that the ui is
working as expected with the legacy editors (TSVB, agg based) in a read
only mode.
  • Loading branch information
stratoula committed Aug 7, 2023
1 parent aa42bcc commit 0fba094
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,16 @@ console.autocompleteDefinitions.endpointsAvailability: serverless

# Allow authentication via the Elasticsearch JWT realm with the `shared_secret` client authentication type.
elasticsearch.requestHeadersWhitelist: ["authorization", "es-client-authentication"]

# Visualizations editors readonly settings
vis_type_gauge.readOnly: true
vis_type_heatmap.readOnly: true
vis_type_metric.readOnly: true
vis_type_pie.readOnly: true
vis_type_table.readOnly: true
vis_type_tagcloud.readOnly: true
vis_type_timelion.readOnly: true
vis_type_timeseries.readOnly: true
vis_type_vislib.readOnly: true
vis_type_xy.readOnly: true
input_control_vis.readOnly: true

0 comments on commit 0fba094

Please sign in to comment.