diff --git a/src/main/java/com/uid2/core/vertx/CoreVerticle.java b/src/main/java/com/uid2/core/vertx/CoreVerticle.java index cd7fec6..16930fd 100644 --- a/src/main/java/com/uid2/core/vertx/CoreVerticle.java +++ b/src/main/java/com/uid2/core/vertx/CoreVerticle.java @@ -190,7 +190,7 @@ private Router createRoutesSetup() { router.post(Endpoints.ATTEST.toString()) - .handler(new AttestationFailureHandler()) + .handler(auth.handleWithAudit(new AttestationFailureHandler(),List.of(Role.OPERATOR, Role.OPTOUT_SERVICE))) .handler(auth.handleWithAudit(this::handleAttestAsync, new AuditParams(Collections.emptyList(), List.of("application_name", "application_version", OPERATOR_TYPE_REQUEST_PARAM, "components.uid2-attestation-api", "components.uid2-shared")), true, List.of(Role.OPERATOR, Role.OPTOUT_SERVICE))); router.get(Endpoints.CLOUD_ENCRYPTION_KEYS_RETRIEVE.toString())