TMAegis
Thêm quy tắc cho mongodb

MongoDB

TMA-MONGODB-5.2

Ensure that audit filters are configured properly

Trung bìnhCấp 2Xem xét thủ côngmongodb

Mô tả

MongoDB Enterprise supports auditing of various operations. When enabled, the audit facility, by default, records all auditable operations as detailed in Audit Event Actions, Details, and Results. To specify which events to record, the audit feature includes the - -auditFilter option. This check is only for Enterprise editions.

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.

To verify that audit filters are configured on MongoDB as per the organization's requirements, run the following command: On Ubuntu: cat /etc/mongod.conf |grep -A10 "auditLog" | grep "filter" On Windows: type mongod.conf | findstr -A10 "auditLog" | findstr "filter"

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

Set the audit filters based on the organization's requirements.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
mongodbloggingaudit
Tham chiếu
CIS MongoDB 8 Benchmark v2.0.0 - 5.2 Ensure that audit filters are configured properly