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

Write a test to assert that internal commands have auth checks

    • Server Security
    • Fully Compatible
    • v8.0
    • Security 2024-04-29, Security 2024-05-13, Security 2024-05-27, Security 2024-06-10, Security 2024-06-24, Security 2024-07-08

      Internal commands have names starting with "_". We should assert that all of these commands have auth checks, preferably which mandate the caller possess ActionType::internal.

      This could be a JS integration test, or a C++ unittest.

            Assignee:
            niaz.pavel@mongodb.com Niaz Pavel (Inactive)
            Reporter:
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: