V-265950
MongoDB Enterprise Advanced 7.x Security Technical Implementation Guide
Title
When invalid inputs are received, MongoDB must behave in a predictable and documented manner that reflects organizational and system objectives.
Description
<VulnDiscussion>A common vulnerability is unplanned behavior when invalid inputs are received. This requirement guards against adverse or unintended system behavior caused by invalid inputs, where information system responses to the invalid input may be disruptive or cause the system to fail into an unsafe state. The behavior will be derived from the organizational and system requirements and includes, but is not limited to, notification of the appropriate personnel, creating an audit record, a...
Fix Text (Documentation Requirement)
Document validation can be added at the time of creation of a new collection. Also, existing collections can be modified with document validation rules. Use the "validator" option to create or update a collection with the desired validation rules. Refer to Schema Validation documentation for details: https://www.mongodb.com/docs/v7.0/core/schema-validation/