Skip to content

Use static known URL for ExternalAuditEventDestination factory

What does this MR do and why?

Previously, a random generated URL could point to a valid IP which might be considered as "local network" or "loopback" by Gitlab::UrlBlocker and fail during record creation with:

Validation failed: Destination url is blocked: Requests to loopback addresses are not allowed

example.org is a known, static and public URL.

Fixes #343032 (closed)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Leitzen

Merge request reports