Errors¶
errors
¶
Typed errors raised by ocsf_emitter.
InvalidFindingError
¶
Bases: OcsfEmitterError
A finding failed OCSF validation.
Carries a list of human-readable field errors so callers (and logs) can see exactly which field(s) were wrong without re-running validation.
Initialize the error.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
message
|
str
|
Human-readable summary of what failed. |
required |
field_errors
|
list[str] | None
|
Per-field error strings ( |
None
|