(value: str)
| 3345 | |
| 3346 | |
| 3347 | def read_finding_details(value: str) -> dict[str, Any]: |
| 3348 | try: |
| 3349 | details = json.loads(value, parse_constant=reject_non_finite_json) |
| 3350 | except (TypeError, ValueError): |
| 3351 | return {} |
| 3352 | return details if isinstance(details, dict) else {} |
| 3353 | |
| 3354 | |
| 3355 | def finding_management_updated_at(connection: sqlite3.Connection, scan_id: str) -> str | None: |