druid/extensions-core
Paul Rogers f4dcc52dac
Redesign QueryContext class (#13071)
We introduce two new configuration keys that refine the query context security model controlled by druid.auth.authorizeQueryContextParams. When that value is set to true then two other configuration options become available:

druid.auth.unsecuredContextKeys: The set of query context keys that do not require a security check. Use this for the "white-list" of key to allow. All other keys go through the existing context key security checks.
druid.auth.securedContextKeys: The set of query context keys that do require a security check. Use this when you want to allow all but a specific set of keys: only these keys go through the existing context key security checks.
Both are set using JSON list format:

druid.auth.securedContextKeys=["secretKey1", "secretKey2"]
You generally set one or the other values. If both are set, unsecuredContextKeys acts as exceptions to securedContextKeys.

In addition, Druid defines two query context keys which always bypass checks because Druid uses them internally:

sqlQueryId
sqlStringifyArrays
2022-10-15 11:02:11 +05:30
..
avro-extensions Cleaner JSON for various input sources and formats. (#13064) 2022-09-12 10:29:31 -07:00
azure-extensions Lazy initialization of segment killers, movers and archivers (#13170) 2022-10-04 15:55:46 +05:30
datasketches Redesign QueryContext class (#13071) 2022-10-15 11:02:11 +05:30
druid-aws-rds-extensions Bump up the version to 25.0.0 (#12975) 2022-08-29 11:27:38 +05:30
druid-basic-security Bump up the version to 25.0.0 (#12975) 2022-08-29 11:27:38 +05:30
druid-bloom-filter more consistent expression error messages (#12995) 2022-09-06 23:21:38 -07:00
druid-kerberos Bump up the version to 25.0.0 (#12975) 2022-08-29 11:27:38 +05:30
druid-pac4j Bump up the version to 25.0.0 (#12975) 2022-08-29 11:27:38 +05:30
druid-ranger-security Bump up the version to 25.0.0 (#12975) 2022-08-29 11:27:38 +05:30
ec2-extensions Bump up the version to 25.0.0 (#12975) 2022-08-29 11:27:38 +05:30
google-extensions Lazy initialization of segment killers, movers and archivers (#13170) 2022-10-04 15:55:46 +05:30
hdfs-storage Lazy initialization of segment killers, movers and archivers (#13170) 2022-10-04 15:55:46 +05:30
histogram Redesign QueryContext class (#13071) 2022-10-15 11:02:11 +05:30
kafka-extraction-namespace Dependency cleanup (#13194) 2022-10-10 20:34:38 +08:00
kafka-indexing-service Adds Idle feature to `SeekableStreamSupervisor` for inactive stream (#13144) 2022-10-12 18:31:08 +05:30
kinesis-indexing-service Adds Idle feature to `SeekableStreamSupervisor` for inactive stream (#13144) 2022-10-12 18:31:08 +05:30
kubernetes-extensions Bump up the version to 25.0.0 (#12975) 2022-08-29 11:27:38 +05:30
lookups-cached-global Improve global-cached-lookups metric reporting (#13219) 2022-10-13 18:51:54 -04:00
lookups-cached-single Bump up the version to 25.0.0 (#12975) 2022-08-29 11:27:38 +05:30
multi-stage-query Redesign QueryContext class (#13071) 2022-10-15 11:02:11 +05:30
mysql-metadata-storage Bump up the version to 25.0.0 (#12975) 2022-08-29 11:27:38 +05:30
orc-extensions Cleaner JSON for various input sources and formats. (#13064) 2022-09-12 10:29:31 -07:00
parquet-extensions Cleaner JSON for various input sources and formats. (#13064) 2022-09-12 10:29:31 -07:00
postgresql-metadata-storage Bump up the version to 25.0.0 (#12975) 2022-08-29 11:27:38 +05:30
protobuf-extensions Add inline descriptor Protobuf bytes decoder (#13192) 2022-10-11 13:37:28 -05:00
s3-extensions Support to read task logs from some S3 compatible cloud storage (#13195) 2022-10-15 10:44:23 +08:00
simple-client-sslcontext Bump up the version to 25.0.0 (#12975) 2022-08-29 11:27:38 +05:30
stats Bump up the version to 25.0.0 (#12975) 2022-08-29 11:27:38 +05:30
testing-tools more consistent expression error messages (#12995) 2022-09-06 23:21:38 -07:00