Sam Jewell
ecc4799abc
[v11.2.x] ServerSideExpressions: Disable SQL Expressions to prevent RCE and LFI vulnerability ( #94959 )
...
ServerSideExpressions: Disable SQL Expressions to prevent RCE and LFI vulnerability (#94942 )
* disable sql expressions
remove duckdb ref
* Run `make update-workspace`
---------
Co-authored-by: Scott Lepper <scott.lepper@gmail.com >
(cherry picked from commit ea71201ddc )
2024-10-18 13:56:35 +01:00
grafana-delivery-bot[bot] and Matheus Macabu
4c78ce50fc
[v11.2.x] CloudMigrations: Fix snapshot creation on Windows systems ( #92981 )
...
CloudMigrations: Fix snapshot creation on Windows systems (#92941 )
* cloudmigration: improve error logging stringify body
* deps: update migration snapshot library to v1.3.0 (fix to Windows)
(cherry picked from commit 95ef2a1eb2 )
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2024-09-05 17:06:43 +03:00
Andreas Christou
d76b8f6ca8
[v11.2.x] Bump grafana-azure-sdk-go and related dependencies ( #92236 )
...
Bump grafana-azure-sdk-go and related dependencies (#91124 )
* Bump Azure SDK and related dependencies
* Update go.mods
* update-workspace
* Update go files
(cherry picked from commit 24c9aad5bb )
# Conflicts:
# go.mod
# pkg/apimachinery/go.sum
# pkg/apiserver/go.sum
# pkg/promlib/go.sum
2024-08-21 21:10:16 +01:00
Todd Treece
b4126d3bce
Chore: Update k8s.io dependencies ( #91692 )
2024-08-08 18:39:44 +03:00
Charandas
abbfc15563
K8s e2e tests: adds e2e package and 10 year certs ( #91557 )
2024-08-06 03:29:36 +03:00
Michael Mandrus
4d23382497
Caching: Handle memcached reconnects ( #91498 )
...
* update library version
* update tls memcached feature toggle
* update to latest version
* updae gomemcache version
2024-08-05 11:21:11 -04:00
Isabella Siu
19585c9491
CloudWatch: Update grafana-aws-sdk for updated metrics ( #91364 )
2024-07-31 17:40:08 -04:00
Claudiu Dragalina-Paraipan and Gabriel MABILLE
05ab4cdd1f
[authz]: use authlib client ( #91205 )
...
authz: use authlib client
Co-authored-by: Gabriel MABILLE <gabriel.mabille@grafana.com >
2024-07-30 17:49:46 +03:00
Santiago
b79b38f02c
Alertmanager: Support limits for silences ( #90826 )
...
* Alertmanager: support limits for silences
* update grafana/alerting to latest main
2024-07-24 14:22:29 +02:00
Bruno
07685646a3
Cloud migrations: include metadata returned by CMS in the index file ( #90658 )
2024-07-22 10:11:57 -03:00
Nathan Vērzemnieks
f8c43d0bf3
Elasticsearch: Decouple backend from infra/tracing ( #90528 )
2024-07-19 09:26:10 +02:00
Dave Henderson
05b66aac5f
notifications: Fix confused trace spans in SMTP client ( #90559 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-07-18 23:20:40 -04:00
Dave Henderson
f446096eb1
chore(deps): Upgrade openapi dep, remove replace directive ( #90609 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-07-18 14:42:18 -04:00
Ryan McKinley
bb40fb342a
Chore: go mod tidy + sum cleanup ( #90576 )
2024-07-18 07:48:21 -07:00
Santiago
e097ffc771
Alerting: Update grafana/alerting dependency ( #90365 )
...
* update grafana/alerting to latest main
* update alertmanager to 66ec17e3aa45
2024-07-12 14:05:17 -04:00
Agnès Toulet
e1f030592f
Chore: Fix Go deps file ( #90379 )
...
* Chore: Fix Go deps file
* Update go.work.sum
2024-07-12 18:54:06 +03:00
Bruno
420ff1d07b
Cloud migration: upload snapshot files using presigned url ( #90273 )
...
* Cloud migration: upload snapshot files using presigned url
* log error if index file cannot be closed
* log error if file cannot be closed in uploadUsingPresignedURL
2024-07-11 09:32:02 -03:00
Misi
69c5fa8361
IDToken: Add current user's Username and UID to the ID token ( #90240 )
...
* Set claims.Rest.Login from the IDService
* Add UID to the ID token
2024-07-11 14:25:30 +02:00
Marcus Efraimsson
2cf3a4d9ee
API Server: Override k8s api server profile contention flag with custom ones ( #90238 )
...
Upgrades sdk ro v0.238.0
2024-07-10 17:27:51 +02:00
Marcus Efraimsson
c8af659f02
Plugins: Enhanced plugin instrumentation ( #90199 )
...
* Plugins: Enhanced plugin instrumentation
* use backend.CallResourceResponseSenderFunc
* sdk v0.237.0
* support admission control
* cover all handlers in log and metrics middlewares
* fix after review
2024-07-09 15:03:46 +02:00
Fabrizio and André Pereira
c42dd6e920
Tempo: Run go get ( #89335 )
...
* Run `go get`
* Run `go work sync`
* Update go.work.sum
---------
Co-authored-by: André Pereira <adrapereira@gmail.com >
2024-07-08 14:01:38 +01:00
Bruno
d1952bb681
Cloud migrations: create snapshot files ( #89693 )
...
* Cloud migrations: create snapshot and store it on disk
* fix merge conflicts
* implement StartSnapshot for gms client
* pass snapshot directory as argument to snapshot builder
* ensure snapshot folder is set
* make swagger-gen
* remove Test_ExecuteAsyncWorkflow
* pass signed in user to buildSnapshot method / use github.com/grafana/grafana-cloud-migration-snapshot to create snapshot files
* fix FakeServiceImpl.CreateSnapshot
* remove new line
2024-07-03 10:38:26 -03:00
Alexander Weaver
e4eebd6379
Fix drift around apimachinery package in go.mod ( #89927 )
...
* get
* tidy
2024-07-01 15:00:06 -05:00
dependabot[bot]
0c256be7c1
Chore(deps): Bump github.com/alicebob/miniredis/v2 from 2.30.1 to 2.33.0 ( #88588 )
...
Bumps [github.com/alicebob/miniredis/v2](https://github.com/alicebob/miniredis ) from 2.30.1 to 2.33.0.
- [Release notes](https://github.com/alicebob/miniredis/releases )
- [Changelog](https://github.com/alicebob/miniredis/blob/master/CHANGELOG.md )
- [Commits](https://github.com/alicebob/miniredis/compare/v2.30.1...v2.33.0 )
---
updated-dependencies:
- dependency-name: github.com/alicebob/miniredis/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-27 17:43:59 +03:00
Isabella Siu
3ac109e759
AWS: Update deprecated aws-sdk functions from env variable versions ( #89643 )
2024-06-26 11:56:39 -04:00
Karl Persson
eea7319a67
Zanzana: sqlite data store ( #89486 )
...
* Zanzana: Add sqlite3 store
* Zanzana: Initilize sqlite store with migrations
2024-06-25 09:52:33 +02:00
Kevin Minehart
78e9226ad8
CI: Add bump-version action to the release PR workflow ( #89491 )
2024-06-20 13:15:09 -05:00
Karl Persson and Dan Cech
606a74d0af
Zanzana: Initial work to run openFGA as embedded or standalone service ( #89211 )
...
* Zanana: Initial work to run zanana as ebeddedn or standalone
* Add addr settings for when remote client is used.
* sync dependencies
* Lock mysql driver version
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-06-18 10:04:18 +02:00
Kevin Minehart
a250706305
CI: Make pkg/build its own module, remove unused Grafana modules in go.mo… ( #89243 )
...
* Make pkg/build its own module, remove unused Grafana modules in go.mod/go.sum
* fix go.work format
* log errors on file close errors
2024-06-14 19:35:30 +03:00
Steve Simpson
dd3c3b5857
Alerting: Update grafana/alerting. ( #88914 )
2024-06-14 09:19:04 +02:00
Will Browne
74230937f4
Plugins: Update plugin SDK Go to 0.235.0 ( #89153 )
...
update plugin SDK go to 0.235.0
2024-06-13 15:14:39 +02:00
Gabriel MABILLE and Karl Persson
afcb5a855c
AuthZ: embed an authorization server ( #89018 )
...
* AuthZ: embed an authorization server
* CODEOWNERS
* Remove swagger
* WIP
* Flatten structure and inject wireset
* sync mod files
* Rename authorization package
* Fix swagger gen
* CODEOWNERS
* Use itf instead of impl
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2024-06-13 11:41:35 +02:00
Marcus Efraimsson
40931b6da6
Tracing: Enable traces to profiles ( #88896 )
2024-06-07 16:58:24 +02:00
Steve Simpson
56ea7fd2c4
Alerting: Update grafana/alerting ( #88888 )
2024-06-07 10:07:23 +02:00
ismail simsek
56bf666b0c
Chore: Bump promlib to v0.0.6 ( #88876 )
...
bump promlib v0.0.6
2024-06-06 22:13:01 +02:00
Isabella Siu
cd15e9732d
Cloudwatch: Use the metric map from grafana-aws-sdk ( #88733 )
2024-06-06 21:25:54 +03:00
ismail simsek
808cf75ff8
InfluxDB: Use json-iterator package for json operations ( #88562 )
...
* return error early
* enable gzip between grafana and influxdb
* use json-iterator package for json operations
* revert gzip changes
* update test
* go mod tidy
go work sync
2024-06-06 20:14:53 +03:00
Dave Henderson
ca1379bad3
chore: A few updates for the pkg/build/wire fork ( #88813 )
...
* chore: A few updates for the pkg/build/wire fork
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* chore: run go work sync
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-06 16:09:27 +03:00
Marcus Efraimsson
2403665998
Chore: Remove legacydata package ( #88790 )
...
* Chore: Remove legacydata package
* remove unused dependency
* sdk v0.234.0
2024-06-05 22:31:06 +02:00
Alexander Weaver
cbe7521a56
Alerting: Upgrade grafana/alerting ( #88803 )
...
* upgrade grafana/alerting
* Go work sync
2024-06-05 20:23:00 +03:00
Santiago
9f9928d41a
Alerting: Update grafana/alerting ( #88363 )
...
* Alerting: Update grafana/alerting
* make tests pass by implementing yaml unmarshallers and deleting fields with omitempty in their yaml tags
* go mod tidy
* fix tests by implementing not calling GettableApiAlertingConfig.UnmarshalYAML from GettableApiAlertingConfig.UnmarshalJSON
* cleanup, reduce diff
* fix more tests
* update grafana/alerting to latest commit, delete global section from configs in tests
* bring back YAML unmarshaller for GettableApiAlertingConfig
* update alerting package dependency to point to main
* skip test for sns notifier
2024-06-04 20:29:37 +02:00
a738cb42d8
Prometheus: Update dependency to v0.52.0 ( #87809 )
...
* Prometheus: Update dependency to v0.52.0
* go work sync
* fix panics in tests
* go work sync
* prometheus v0.52.0
* handle errors
* Update pkg/services/ngalert/sender/sender_test.go
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com >
* Update pkg/services/ngalert/sender/sender_test.go
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com >
---------
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com >
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-05-28 15:22:20 +02:00
Misi
aac6e6dfd9
Auth: Update SAML lib to improve HTTP-Post binding ( #88287 )
...
* Update lib and docs for HTTP-Post binding
* Improve docs
* fix spelling
* Regenerate go.sum and go.work.sum
2024-05-27 14:56:52 +02:00
Giuseppe Guerra
2b54ce6c51
Chore: Bump google.golang.org/grpc to 1.64.0 ( #88219 )
...
* Bump google.golang.org/grpc to 1.64.0
* Address grpc.Dial deprecation notices
* go mod tidy
* Update go.work.sum
* go work sync
2024-05-27 12:44:39 +02:00
Jon Cole and Jeremy Angel
67b90ceba5
Azure: Load custom clouds from ini file ( #87667 )
...
* Load custom clouds from config file
* Update docs
* Use the correct list of clouds, add test, fix error condition handling
* Remove on custom cloud from sample.ini and docs
* Remove unnecessary else block
* Use cached json instead of serializing with each request
* Update grafana-azure-sdk-go version to v2.0.4
* update configure-grafana entry for clouds_config
* fix lint errors
* fix lint errors
---------
Co-authored-by: Jeremy Angel (from Dev Box) <jeremyangel@microsoft.com >
2024-05-24 17:40:04 +01:00
Ryan McKinley
ffc2702552
Plugins: Support Admission validation hooks ( #87718 )
2024-05-24 18:45:16 +03:00
Scott Lepper
cac40795a5
sql expressions - logging ( #88193 )
...
* sql expressions - logging
2024-05-22 17:18:46 -04:00
Gaurav Agrawal and Yuri Tseretyan
fdaa091a4d
Alerting: Support custom API URL for PagerDuty integration ( #88007 )
...
* fix assert in LINE
* fix pagerduty asserts
---------
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-05-22 15:31:55 -04:00
Diego Augusto Molina
8b02b6b76a
Unified Storage: create kind_version table migration, add SQL and fix db ( #87977 )
...
* fix database interfaces
* add queries
* fix queries
* fix linters
* add owner to imported go library
* remove unused funcs
* run go work sync
* improve critical section fix in data race fix
* fix linters
* remove sync
* fix typo
* improve data embedding
* fix linters
* fix migration
* remove unnecessary comments
* fix linters
* improve SQL templates readability
* remove group_version from kind_version for consistency in History method
* add created_at and updated_at columns to kind_version table
2024-05-22 11:59:40 -03:00
Karl Persson
78d1b2a250
Authn: Share key retriever between id and access token verifiers ( #87978 )
2024-05-20 09:13:46 +02:00