Sonatype Nexus 3 content selector by docker container name?

493 Views Asked by At

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?

1

There are 1 best solutions below

1
On BEST ANSWER

The correct syntax for this is:

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

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