any per Application cache(s) aren't listed in the web administrator (thus invisible)
getPageContext().getConfig().getCacheConnections(); also only returns caches defined in the admin
Lucee docs refers to a BIF for cache listing existing, without actually naming / linking to it https://docs.lucee.org/guides/cookbooks/cache-list.html
is that this via cfadmin? https://github.com/lucee/Lucee/blob/5.3/core/src/main/cfml/context/admin/services.cache.cfm#L7
which what the Administrator.cfc function just wraps
You can list the per application caches by dump(getApplicationSettings().cache);
I couldn't test cfadmin action="surveillance" as it's currently broken
if you mistype the name of an application level defined cache, the error message is also misleading/confusing, as it only lists the admin level defined caches as being available
I've checked this ticket and confirmed the issue happened on lucee latest version 18.104.22.168-SNAPSHOT also.
Yes, getPageContext().getConfig().getCacheConnections() return only admin defined caches.
And cfadmin = surveillance works once at while starting the server as fresh and after restarting the server. After that its return only empty result same as LDEV-2830. will confirm about this.