Module: Olyx::Guardrails::Checks::SkippedChecks
- Defined in:
- lib/olyx/guardrails/checks/skipped_checks.rb
Overview
Produces stable check contracts when the length guard short-circuits.
Class Method Summary collapse
Class Method Details
.call ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/olyx/guardrails/checks/skipped_checks.rb', line 10 def call { pii: skipped('pii', detected: false), injection: skipped('injection', injection_attempt: false, patterns: []), secret: skipped('secret', leaked: false, count: 0), policy: skipped('policy', violated: false, count: 0, findings: []) } end |