Apache Cassandra
TMA-CASSANDRA-3.7
Review User-Defined Roles
Trung bìnhCấp 1Xem xét thủ côngcassandra
Mô tả
The MEMBER_OF column found in the system_auth.roles table shows roles granted to roles.
Cách kiểm tra
Phương pháp kiểm tra: Xem xét thủ công
Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --include-manual.
Execute the following SQL statement to audit this setting: select role, can_login, member_of from system_auth.roles; Looking for can_login which tells you that role can log into cassandra and member_of is when roles are granted to roles.
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
Looking at those users from the query that have member_of that is NOT null, decide if that user truly needs that role, if not, for each user, issue the following SQL statement (replace <is_member> with the value of member_of returned by the query in the audit procedure) revoke <is_member> from role;
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- cassandraprivileges
- Tham chiếu
- CIS Apache Cassandra 5.0 Benchmark v1.1.0 - 3.7 Review User-Defined Roles