Details
-
Improvement
-
Status: Open
-
Normal
-
Resolution: Unresolved
-
None
Description
In addition to our current Auth framework that acts as a white list, and regulates access to data, functions, and roles, it would be beneficial to have a different, capability limitation framework, that would be orthogonal to Auth, and would act as a blacklist.
Example uses:
- take away the ability to TRUNCATE from all users but the admin (TRUNCATE itself would still require MODIFY permission)
- take away the ability to use ALLOW FILTERING from all users but Spark/Hadoop (SELECT would still require SELECT permission)
- take away the ability to use UNLOGGED BATCH from everyone (the operation itself would still require MODIFY permission)
- take away the ability to use certain consistency levels (make certain tables LWT-only for all users, for example)
Original description:
Please provide a "strict mode" option in cassandra that will kick out any CQL queries that are expensive, e.g. any query with ALLOWS FILTERING, multi-partition queries, secondary index queries, etc.
Attachments
Issue Links
- is duplicated by
-
CASSANDRA-8754 Required consistency level
- Resolved
-
CASSANDRA-8082 Consider re-introducing TRUNCATE permission
- Resolved
-
CASSANDRA-8828 Counter of ALLOW FILTERING queries
- Resolved
-
CASSANDRA-8957 Move TRUNCATE from MODIFY to DROP permission group
- Resolved
-
CASSANDRA-9106 disable secondary indexes by default
- Resolved
-
CASSANDRA-11012 Allow tracing CQL of a specific client only, based on IP (range)
- Resolved
- is related to
-
CASSANDRA-6559 cqlsh should warn about ALLOW FILTERING
- Open
-
CASSANDRA-10444 Create an option to forcibly disable tracing
- Open
-
CASSANDRA-9106 disable secondary indexes by default
- Resolved
- relates to
-
CASSANDRA-15775 Configuration to disallow queries with "allow filtering"
- Open
-
CASSANDRA-9282 Warn on unlogged batches
- Resolved
- links to