Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
security: do not allow plain http
adilson095f3a5466ea
diff --git a/backend/src/services/app-connection/datadog/datadog-connection-fns.ts b/backend/src/services/app-connection/datadog/datadog-connection-fns.tsindex 81dc395d3e..6247999807 100644--- a/backend/src/services/app-connection/datadog/datadog-connection-fns.ts+++ b/backend/src/services/app-connection/datadog/datadog-connection-fns.ts@@ -21,6 +21,10 @@ export const getDatadogBaseUrl = async (config: TDatadogConnectionConfig) => {throw new BadRequestError({ message: "Invalid Datadog URL" });}+ if (parsed.protocol !== "https:") {+ throw new BadRequestError({ message: "Datadog URL must use HTTPS" });+ }+const { hostname } = parsed;const isAllowedHost = DATADOG_ALLOWED_DOMAIN_SUFFIXES.some((suffix) => hostname === suffix || hostname.endsWith(`.${suffix}`)