Skip to content

Enum ValidationStrictness

Namespace: Belay.Core.Security
Assembly: Belay.Core.dll

Defines the levels of strictness for security validation.

csharp
public enum ValidationStrictness

Fields

Maximum = 3

Maximum validation - blocks all but the most basic, safe operations. Suitable for high-security environments with limited functionality requirements.

Relaxed = 0

Minimal validation - only blocks clearly malicious patterns. Allows most Python code to execute with basic safety checks.

Standard = 1

Standard validation - blocks suspicious patterns and enforces basic security. Provides a good balance between security and functionality.

Strict = 2

Strict validation - blocks potentially risky patterns and enforces strong security. May prevent some legitimate use cases but provides enhanced protection.

Released under the Apache License 2.0.