microsoft / mu_basecore

Project Mu BaseCore
https://microsoft.github.io/mu/
Other
242 stars 124 forks source link

[Rebase & FF][202405] SecurityLockLib to log security milestones. #1032

Closed Flickdm closed 3 months ago

Flickdm commented 3 months ago

This PR Adds the ability to record security lock events (software vs hardware) Additionally, logs when capsule interface is locked

Overview of commits:

Implemented SecurityLockLib to log security milestones. MdeModulePkg: Add Locking support for Capsule Interface


How This Was Tested

From 2311.

codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 0% with 55 lines in your changes missing coverage. Please review.

Please upload report for BASE (release/202405@865f1ea). Learn more about missing BASE report.

Files Patch % Lines
...lePkg/Universal/CapsuleRuntimeDxe/CapsuleService.c 0.00% 23 Missing :warning:
...DebugMessageLib/SecurityLockAuditDebugMessageLib.c 0.00% 17 Missing :warning:
...ecurityLockAuditLibNull/SecurityLockAuditLibNull.c 0.00% 10 Missing :warning:
MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c 0.00% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## release/202405 #1032 +/- ## ================================================= Coverage ? 0.66% ================================================= Files ? 928 Lines ? 314934 Branches ? 534 ================================================= Hits ? 2083 Misses ? 312827 Partials ? 24 ``` | [Flag](https://app.codecov.io/gh/microsoft/mu_basecore/pull/1032/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) | Coverage Δ | | |---|---|---| | [MdeModulePkg](https://app.codecov.io/gh/microsoft/mu_basecore/pull/1032/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) | `0.22% <0.00%> (?)` | | | [NetworkPkg](https://app.codecov.io/gh/microsoft/mu_basecore/pull/1032/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) | `0.50% <ø> (?)` | | | [UefiCpuPkg](https://app.codecov.io/gh/microsoft/mu_basecore/pull/1032/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) | `4.80% <ø> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.