Content Safety in Foundry Control Plane is the content moderation and guardrail capability associated with Microsoft Foundry governance, previously called Foundry Control Plane. It helps teams configure safety controls for supported model and agent workloads. The broader moderation scope includes text, images, and video scenarios, but individual APIs and runtime guardrails have different modality support. Do not assume that a policy attached to a text-based agent automatically screens image attachments, video streams, or every tool payload.
Foundry guardrails use classification models from Azure AI Content Safety. A guardrail is a named collection of controls that specifies risks to detect, intervention points to inspect, and actions to take when risks are detected. Model controls can inspect user input and generated output. Agent controls can also inspect tool calls and tool responses where moderation is supported; these tool intervention points and agent content safety guardrails are in preview.
The four core harm categories cover hate and fairness, sexual content, violence, and self-harm. The default Medium blocking level blocks content classified at medium or high severity. Core-harm filtering and user prompt attack detection are enabled by default, while document attack detection must be enabled explicitly. Other controls have their own defaults, availability constraints, and configuration or approval requirements. Validate each required control rather than treating the default policy as a complete application safety configuration.
Runtime coverage is an important architectural boundary. Foundry guardrails apply to Foundry Models sold by Azure, with an exception for prompts and completions processed by audio transcription models. Agent guardrails apply to agents developed in Foundry Agent Service, not every external agent registered in Foundry governance. Registration and management visibility do not establish runtime moderation.
For hosted agents using the Responses protocol, configure the agent's responsible AI policy so Foundry can locate text in the known request and response structures. For the Invocations protocol, also configure moderation settings that identify text within custom payloads. Incorrect paths, parsing failures, stream selectors that select no text, and size limits can leave content unscreened. Invocations WebSocket does not support content safety moderation.
Separate management permissions from runtime permissions. Resource configuration uses control-plane authorization, while content safety calls and inference use data-plane authorization. In application code, handle blocked inputs, filtered outputs, timeouts, and unavailable moderation explicitly. Test representative benign and adversarial content, measure false positives and false negatives, and repeat evaluation after policy or model changes. Use metadata-focused telemetry by default, because raw prompts and completions can contain sensitive information.