Skip to content

Conversation

@chrisccoulson
Copy link
Collaborator

This records errors accepted via ActionProceed to a new AcceptedErrors
field of CheckResult.

There are 2 uses for this:

  • To use accepted errors to turn on options when generating PCR profiles.
    The WithAllowInsufficientDmaProtection() opt-in makes use of this new
    field with this PR. Future PRs will add additional opt-ins which make
    use of this new field.
  • To compare future check results against, in order to determine whether
    anything has changed.

At the moment, only the accepted error kinds are retained. However, the
new field is a map of ErrorKind to arbitrary JSON value so that a future
update can use the arbitrary JSON value to record arguments that can
limit the scope of an accepted error.

Fixes: FR-11919

@chrisccoulson chrisccoulson force-pushed the preinstall-record-ignored-errors branch from eedd2ce to a7fccd4 Compare December 12, 2025 22:56
This records errors accepted via ActionProceed to a new AcceptedErrors
field of CheckResult.

There are 2 uses for this:
- To use accepted errors to turn on options when generating PCR profiles.
  The WithAllowInsufficientDmaProtection() opt-in makes use of this new
  field with this PR. Future PRs will add additional opt-ins which make
  use of this new field.
- To compare future check results against, in order to determine whether
  anything has changed.

At the moment, only the accepted error kinds are retained. However, the
new field is a map of ErrorKind to arbitrary JSON value so that a future
update can use the arbitrary JSON value to record arguments that can
limit the scope of an accepted error.

Fixes: FR-11919
@chrisccoulson chrisccoulson force-pushed the preinstall-record-ignored-errors branch from a7fccd4 to 5d8fe5e Compare December 13, 2025 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant