Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11028

shutdown on Audit failure

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: None
    • Component/s: Logging, Security
    • None

      Assuming the completion of SERVER-1891.

      We should make it possible to configure MongoDB to shutdown automatically should there be a failure in the auditing system. In many organizations that require auditing for legal or compliance reasons this is a requirements. An example is the DISA STIG:

      Rule Title:  The DBMS must shutdown immediately in the event of an audit failure, unless an alternative audit capability exists.
      
      
STIG ID: SRG-APP-000107-DB-000169  
      
Severity: CAT II 
      
      Discussion: 
It is critical, when a system is at risk of failing, to process audit logs as required, if the system were to continue processing without auditing enabled, actions can be taken on the system that cannot be tracked and recorded for later forensic analysis.

Audit processing failures include: software/hardware errors, failures in the audit capturing mechanisms, and audit storage capacity being reached or exceeded.  

In many system configurations, the disk space allocated to the auditing system is separate from the disks allocated for the operating system; therefore, this may not result in a system outage. This forces the application to detect and take actions.

A failure of database auditing will result in either the database continuing to function without auditing or in a complete halt to database operations. In this case the database must cease processing immediately in order to not allow unlogged transaction to occur.


      
      Content: 
Review DBMS settings and vendor documentation to determine whether the system will shutdown in the event of an audit failure. If the system is not configured to shut down in the event of an audit failure, this is a finding.


      
      Fix Text: 
Modify DBMS settings to immediately shutdown the database in the event of an audit failure.


      
      CCI: CCI-001343
The information system invokes a system shutdown in the event of an audit failure, unless an alternative audit capability exists.

      
      SRG-APP-000107-DB-000169
      

        1. mongod.log.gz
          2.77 MB
          James Kerr

            Assignee:
            milkie@mongodb.com Eric Milkie
            Reporter:
            wlaforest Will LaForest
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: