commands – acl diff
List the differences between two versions of protected hosts/users.
Usage
protected (host|user) diff [before [after]]
where
hosts | list differences in protected hosts. |
users | list differences in protected users. |
before | change id, or relative change index, as listed by protected changes. Default is -1 . |
after | change id, or relative change index, as listed by protected changes. Default is 0 . |
read on _beyondcron/acl/protected
Examples
List the differences between the previous and current versions of protected hosts
BeyondCron % protected host diff
+ firewall
List the differences between earlier versions of an acl
BeyondCron % protected host changes
Time Change Action User Host ------------------- -------- -- ------- ------ ---------------- 15:44:31 today 422e6e61 0 Updated admin demo.example.com 13:37:19 22/01/2020 b7ad96e8 -1 Updated admin demo.example.com 13:36:49 22/01/2020 3760787f -2 Updated admin demo.example.com 10:25:12 22/01/2020 967b29b4 -3 Import server demo.example.com
BeyondCron % protected host diff 967b29b4 422e6e61
+ firewall
List the differences between the first and current version of protected hosts
BeyondCron % protected host diff -3
+ firewall