Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-11951

Prevent deleting all projects when using api/projects/bulk_delete without any parameter

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.8
    • Component/s: Web API
    • Edition:
      Community
    • Production Notes:
      None

      Description

      The web service api/projects/bulk_delete has currently no mandatory parameters => it can then be very easy to delete all projects !

      We should enforce at least one parameter among : analyzedBeforeprojects and q.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pierre.guillot Pierre Guillot
              Reporter:
              julien.lancelot Julien Lancelot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: