mirror of
https://github.com/distribution/distribution.git
synced 2026-07-25 15:10:53 +00:00
The catalog.maxentries configuration option was introduced as part of the fix for CVE-2023-2253 (GHSA-hqxw-f8mx-cpmw) but was never added to the configuration documentation. Document the catalog subsection: the default limit (1000), the default page size when n is not specified (100), and the 400 PAGINATION_NUMBER_INVALID error returned when n exceeds maxentries. Also include the recommendation from the security advisory to avoid exposing the catalog endpoint to the internet. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: Tokuhiro Matsuno <tokuhirom@gmail.com>