From 9a7d178c8daee5a1039615b4afc6cd1a138f0f9b Mon Sep 17 00:00:00 2001 From: Marno van der Maas Date: Fri, 8 Nov 2024 11:37:38 +0000 Subject: [PATCH] Exercise HAC rego updated with GPIO name --- exercises/hardware_access_control/part_3/gpio_access.rego | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/hardware_access_control/part_3/gpio_access.rego b/exercises/hardware_access_control/part_3/gpio_access.rego index 8c743ad..7e2280a 100644 --- a/exercises/hardware_access_control/part_3/gpio_access.rego +++ b/exercises/hardware_access_control/part_3/gpio_access.rego @@ -6,7 +6,7 @@ package gpio_access # Checks only `gpio_access` has access to the GPIO MMIO default only_gpio_access_has_access := false only_gpio_access_has_access { - data.compartment.mmio_allow_list("gpio", { "gpio_access" }) + data.compartment.mmio_allow_list("gpio_board", { "gpio_access" }) } # Checks only `blinky_dynamic` and `led_walk_dynamic` have access