Apache Cassandra
TMA-CASSANDRA-3.7
Review User-Defined Roles
中等級 1人工審核cassandra
說明
The MEMBER_OF column found in the system_auth.roles table shows roles granted to roles.
檢查方式
稽核方法: 人工審核
此項建議無法自動檢查。當您傳入 --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.
修補方式
修補方法: 操作指南或基礎設施修補檔
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;
屬性
- 作業系統
- 不限
- 標籤
- cassandraprivileges
- 參考資料
- CIS Apache Cassandra 5.0 Benchmark v1.1.0 - 3.7 Review User-Defined Roles