Skip to content

Security findings reports fail with null reference error in hasEmptyReport

Summary

Security findings feature crashes when trying to merge reports - null reference error on status property.

Steps to reproduce

Happens automatically during branch refresh. Exact steps unclear.

Current behavior

Extension crashes with error:

Cannot read properties of null (reading 'status') at hasEmptyReport (...get_all_security_reports.ts:46:10)

Expected behavior

Should handle null values without crashing.

Related
Found in #2125 but unrelated to the Duo Agent issue there.

Edited by Meg Corren