Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-30366

Routing rules not taking effect for docker when running with external db

Details

    • 3
    • NXRM Sentinels Sprint 23, NXRM Sentinels Sprint 24
    • 3
    • non-concept
    • 2

    Description

      Routing rules for Docker repos are not taking effect when running with external DB (Postgres or H2).

      To reproduce:

      1. Nexus instance running with external DB (Postgres or H2).

      2. Configure a blocking routing rule with the following matcher:

      .*cloudbees.*

      Test the matcher and confirm it will block any path containing "cloudbees".

      3. Apply this rule to a docker hub proxy repo.

      4. Attempt to pull a cloudbees image via the proxy e.g. cloudbees/juxr and confirm that the pull succeeds.

      Expected

      Routing rules should take effect for Docker repos when running Nexus with an external DB. For this test case, the pull request should have been blocked.

      Furthermore, this has only been reported and tested with Docker, so Dev should also confirm if this issues exists with other formats as well.

      Attachments

        Activity

          People

            orudyk Oleksii Rudyk
            hardeepn Hardeep Nagra
            Michael Oliverio Michael Oliverio
            NXRM - Sentinels
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              tigCommentSecurity.panel-title