Skip to content

Commit

Permalink
Fix Apply Attestation: "TypeError: Cannot read properties of undefine…
Browse files Browse the repository at this point in the history
…d (reading 'status')" (#6616)

* added a catch for overlay files which may have controls with no results. Test added in the SAF CLI

Signed-off-by: Emily Rodriguez <[email protected]>

* lint

Signed-off-by: Emily Rodriguez <[email protected]>

* cleaned up function as a whole

Signed-off-by: Amndeep Singh Mann <[email protected]>

* adding a test

Signed-off-by: Emily Rodriguez <[email protected]>

* updated error message and linting in test

Signed-off-by: Emily Rodriguez <[email protected]>

* update the test to check for both attestations to be applied

Signed-off-by: Emily Rodriguez <[email protected]>

---------

Signed-off-by: Emily Rodriguez <[email protected]>
Signed-off-by: Amndeep Singh Mann <[email protected]>
Co-authored-by: Amndeep Singh Mann <[email protected]>
  • Loading branch information
em-c-rod and Amndeep7 authored Feb 13, 2025
1 parent 8ca35fd commit 36aca8d
Show file tree
Hide file tree
Showing 3 changed files with 1,330 additions and 14 deletions.
Loading

0 comments on commit 36aca8d

Please sign in to comment.