Skip to content

Fix host configuration for AI Guard#5940

Merged
y9v merged 1 commit into
masterfrom
ai-guard-fix-host-configuration
Jun 24, 2026
Merged

Fix host configuration for AI Guard#5940
y9v merged 1 commit into
masterfrom
ai-guard-fix-host-configuration

Conversation

@y9v

@y9v y9v commented Jun 23, 2026

Copy link
Copy Markdown
Member

What does this PR do?
This PR fixes the configuration of AI Guard via DD_SITE env variable. We need to add app. subdomain if the hostname specified in DD_SITE has no subdomain; if it has a subdomain already, we don't change it.

Motivation:
A bug was reported.

Change log entry
Yes. AI Guard: Fix endpoint configuration via DD_SITE environment variable.

Additional Notes:
APPSEC-68650.

How to test the change?
CI is enough.

@y9v y9v self-assigned this Jun 23, 2026
@y9v
y9v requested a review from a team as a code owner June 23, 2026 15:10
@dd-octo-sts dd-octo-sts Bot added the ai-guard label Jun 23, 2026
@datadog-prod-us1-3

datadog-prod-us1-3 Bot commented Jun 23, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 90.02% (+0.01%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: f4c2e98 | Docs | Datadog PR Page | Give us feedback!

@y9v
y9v merged commit c619f6d into master Jun 24, 2026
588 checks passed
@y9v
y9v deleted the ai-guard-fix-host-configuration branch June 24, 2026 18:40
@dd-octo-sts dd-octo-sts Bot added this to the 2.37.0 milestone Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants