Skip to content

Commit

Permalink
log enclave id
Browse files Browse the repository at this point in the history
  • Loading branch information
yishi-ttd committed Nov 20, 2023
1 parent 330f1f8 commit 75784c2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,10 @@ private String validate(TokenPayload tokenPayload) throws Exception {
LOGGER.info("Validator version: " + policyValidator.getVersion() + ", result: " + enclaveId);

if (allowedEnclaveIds.contains(enclaveId)) {
LOGGER.info("Successfully attested OIDC against registered enclaves");
LOGGER.info("Successfully attested gcp-oidc against registered enclaves");
return enclaveId;
} else {
LOGGER.warn("Got unsupported gcp-oidc enclave id: " + enclaveId);
}
} catch (Exception ex) {
lastException = ex;
Expand Down

0 comments on commit 75784c2

Please sign in to comment.