Table of Contents

Class AsiBackbonePolicyEvaluatorOptions

Namespace
AsiBackbone.Core.Evaluation
Assembly
AsiBackbone.Core.dll

Provides host-configurable options for the default AsiBackbone policy evaluator.

public sealed class AsiBackbonePolicyEvaluatorOptions
Inheritance
AsiBackbonePolicyEvaluatorOptions
Inherited Members

Fields

DefaultNoConstraintsReasonCode

Gets the default machine-readable reason code used when strict empty-policy evaluation denies execution.

public const string DefaultNoConstraintsReasonCode = "asibackbone.policy.no_constraints"

Field Value

string

Properties

DenyWhenNoConstraints

Gets or sets a value indicating whether evaluation should deny when no constraints are registered or supplied.

public bool DenyWhenNoConstraints { get; set; }

Property Value

bool

Remarks

The default value is false for backward compatibility with hosts that intentionally run permissive or explicitly unconstrained evaluation flows.

NoConstraintsReasonCode

Gets or sets the machine-readable reason code used when DenyWhenNoConstraints denies an empty policy.

public string NoConstraintsReasonCode { get; set; }

Property Value

string

NoConstraintsReasonMessage

Gets or sets the reason message used when DenyWhenNoConstraints denies an empty policy.

public string NoConstraintsReasonMessage { get; set; }

Property Value

string

ShortCircuitOnFirstDenial

Gets or sets a value indicating whether evaluation should stop after the first denied constraint result.

public bool ShortCircuitOnFirstDenial { get; set; }

Property Value

bool

Remarks

The default value is false so the evaluator continues to collect the complete set of warning and denial reasons for audit visibility. Set this to true only when the host intentionally prefers latency-optimized fast-abort behavior over full reason-code aggregation.

Methods

Validate()

Validates evaluator options.

public void Validate()