GuardrailFinding Class
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.
Represents a single security finding detected during guardian evaluation. Multiple findings may be emitted for a single guardrail span.
public sealed class GuardrailFinding : IEquatable<Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.GuardrailFinding>
type GuardrailFinding = class
interface IEquatable<GuardrailFinding>
Public NotInheritable Class GuardrailFinding
Implements IEquatable(Of GuardrailFinding)
- Inheritance
-
GuardrailFinding
- Implements
Constructors
| Name | Description |
|---|---|
| GuardrailFinding(String, String, String, String, String, String, Nullable<Double>, String[]) |
Initializes a new instance of the GuardrailFinding class. |
Properties
| Name | Description |
|---|---|
| PolicyDecisionType |
Gets the decision type for this specific policy finding. |
| PolicyId |
Gets the identifier of the policy that triggered the finding. |
| PolicyName |
Gets the human-readable name of the triggered policy. |
| PolicyVersion |
Gets the version of the policy. |
| RiskCategory |
Gets the category of security risk detected. |
| RiskMetadata |
Gets non-content metadata about the detected risk. |
| RiskScore |
Gets the numeric risk/confidence score (0.0 to 1.0). |
| RiskSeverity |
Gets the severity level of the detected risk. |
Methods
| Name | Description |
|---|---|
| Equals(GuardrailFinding) | Indicates whether the current object is equal to another object of the same type. |
| Equals(Object) | Determines whether the specified object is equal to the current object. |
| GetHashCode() | Serves as the default hash function. |