ApplyGuardrailScope.RecordFinding(GuardrailFinding) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Records a security finding event on the current span. Multiple findings may be recorded per guardrail evaluation.
public void RecordFinding(Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.GuardrailFinding finding);
member this.RecordFinding : Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.GuardrailFinding -> unit
Public Sub RecordFinding (finding As GuardrailFinding)
Parameters
- finding
- GuardrailFinding
The security finding to record.
Exceptions
Thrown when finding is null.