Skip to content

Commit

Permalink
Fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Samiul-TheSoccerFan committed Feb 20, 2025
1 parent b2e0a39 commit 5500709
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions config/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ xpack.features.overrides:
privileges:
### Dashboard's `All` feature privilege should implicitly grant `All` access to Maps and Visualize features.
all.composedOf:
- feature: 'maps'
privileges: ['all']
- feature: 'visualize'
privileges: ['all']
- feature: "maps"
privileges: [ "all" ]
- feature: "visualize"
privileges: [ "all" ]
### Dashboard's `Read` feature privilege should implicitly grant `Read` access to Maps and Visualize features.
### Additionally, it should implicitly grant privilege to create short URLs in Visualize app.
read.composedOf:
- feature: 'maps'
privileges: ['read']
- feature: 'visualize'
privileges: ['read']
- feature: "maps"
privileges: [ "read" ]
- feature: "visualize"
privileges: [ "read" ]
### All Dashboard sub-feature privileges should be hidden: reporting capabilities will be granted via dedicated
### Reporting feature and short URL sub-feature privilege should be granted for both `All` and `Read`.
subFeatures.privileges:
Expand All @@ -35,22 +35,22 @@ xpack.features.overrides:
store_search_session.disabled: true
url_create:
disabled: true
includeIn: 'read'
includeIn: "read"
dashboard_v2:
privileges:
### Dashboard's `All` feature privilege should implicitly grant `All` access to Maps and Visualize features.
all.composedOf:
- feature: 'maps_v2'
privileges: ['all']
- feature: 'visualize_v2'
privileges: ['all']
- feature: "maps_v2"
privileges: [ "all" ]
- feature: "visualize_v2"
privileges: [ "all" ]
### Dashboard's `Read` feature privilege should implicitly grant `Read` access to Maps and Visualize features.
### Additionally, it should implicitly grant privilege to create short URLs in Visualize app.
read.composedOf:
- feature: 'maps_v2'
privileges: ['read']
- feature: 'visualize_v2'
privileges: ['read']
- feature: "maps_v2"
privileges: [ "read" ]
- feature: "visualize_v2"
privileges: [ "read" ]
### All Dashboard sub-feature privileges should be hidden: reporting capabilities will be granted via dedicated
### Reporting feature and short URL sub-feature privilege should be granted for both `All` and `Read`.
subFeatures.privileges:
Expand All @@ -59,7 +59,7 @@ xpack.features.overrides:
store_search_session.disabled: true
url_create:
disabled: true
includeIn: 'read'
includeIn: "read"
discover:
### All Discover sub-feature privileges should be hidden: reporting capabilities will be granted via dedicated
### Reporting feature and short URL sub-feature privilege should be granted for both `All` and `Read`.
Expand All @@ -68,7 +68,7 @@ xpack.features.overrides:
store_search_session.disabled: true
url_create:
disabled: true
includeIn: 'read'
includeIn: "read"
discover_v2:
### All Discover sub-feature privileges should be hidden: reporting capabilities will be granted via dedicated
### Reporting feature and short URL sub-feature privilege should be granted for both `All` and `Read`.
Expand All @@ -77,7 +77,7 @@ xpack.features.overrides:
store_search_session.disabled: true
url_create:
disabled: true
includeIn: 'read'
includeIn: "read"
### Shared images feature is hidden in Role management since it's not needed.
filesSharedImage.hidden: true
### Maps feature is hidden in Role management since it's automatically granted by Dashboard feature.
Expand All @@ -86,18 +86,18 @@ xpack.features.overrides:
reporting:
privileges:
all.composedOf:
- feature: 'dashboard_v2'
privileges: ['download_csv_report']
- feature: 'discover_v2'
privileges: ['generate_report']
- feature: "dashboard_v2"
privileges: [ "download_csv_report" ]
- feature: "discover_v2"
privileges: [ "generate_report" ]
### Visualize feature is hidden in Role management since it's automatically granted by Dashboard feature.
visualize:
### The short URL sub-feature privilege should be always granted.
subFeatures.privileges.url_create.includeIn: 'read'
subFeatures.privileges.url_create.includeIn: "read"
visualize_v2:
hidden: true
### The short URL sub-feature privilege should be always granted.
subFeatures.privileges.url_create.includeIn: 'read'
subFeatures.privileges.url_create.includeIn: "read"

# Cloud links
xpack.cloud.base_url: 'https://cloud.elastic.co'
Expand All @@ -109,7 +109,7 @@ core.lifecycle.disablePreboot: true
migrations.algorithm: zdt

# Enable elasticsearch response size circuit breaker
elasticsearch.maxResponseSize: '100mb'
elasticsearch.maxResponseSize: "100mb"

# Limit batch size to reduce possibility of failures.
# A longer migration time is acceptable due to the ZDT algorithm.
Expand Down

0 comments on commit 5500709

Please sign in to comment.