-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ibmse: update attestation-service documents for ibmse
- correct parsed_claims.md base on the latest ibmse codes - add attestation-service policy example for ibmse Signed-off-by: Da Li Liu <[email protected]>
- Loading branch information
Da Li Liu
committed
Jun 22, 2024
1 parent
1e8a88a
commit 42f7003
Showing
5 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package policy | ||
import rego.v1 | ||
default allow = false | ||
|
||
converted_version := sprintf("%v", [input["se.version"]]) | ||
|
||
allow if { | ||
converted_version == "256" | ||
input["se.user_data"] == "00" | ||
input["se.tag"] == "773780962a7350165054673b6c54235d" | ||
input["se.image_phkh"] == "92d0aff6eb86719b6b1ea0cb98d2c99ff2ec693df3efff2158f54112f6961508" | ||
input["se.attestation_phkh"] == "92d0aff6eb86719b6b1ea0cb98d2c99ff2ec693df3efff2158f54112f6961508" | ||
} |