Skip to content

Commit

Permalink
Exercise HAC rego updated with GPIO name
Browse files Browse the repository at this point in the history
  • Loading branch information
marnovandermaas committed Nov 8, 2024
1 parent 9af394a commit 9a7d178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/hardware_access_control/part_3/gpio_access.rego
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a7d178

Please sign in to comment.