dockercontainerssonatypenexus3jexl

Sonatype Nexus 3 content selector by docker container name?


I can't seem to find the documentation on how to set a content selector by a docker container name.

I tried to find all containers that have "_api" in the name:

format == "docker" and name =~ "_api"

which does not seem to work I also tried:

format == "docker" and path =~ "_api"

which does not seem to work.

What am I doing wrong?


Solution

  • The correct syntax for this is:

    format == "docker" and path =~ ".*_api.*"
    

    still I'd like to know which fields I can query from.