Property CaptureFirstStackTrace
- Namespace
- QueryGuard
- Assembly
- QueryGuard.Core.dll
CaptureFirstStackTrace
Gets or sets a value indicating whether one filtered stack trace is captured for the first occurrence of each fingerprint. Defaults to false.
public bool CaptureFirstStackTrace { get; set; }
Property Value
Remarks
"Where is this coming from?" is the first question anyone asks after seeing a finding, and a
stack trace is the only way to answer it from inside an interceptor. It is also expensive on
a per-command path, which is why it is off by default and bounded to one trace per
fingerprint when enabled. There is deliberately no option that captures a trace per command.
See docs/decisions/0007-stack-trace-policy.md.