File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # DESCRIPTION
2+ # This file is the ENTRYPOINT of the rego rules.
3+ #
4+ # In general "implicit" means something is done without being set by the administrator
5+ # like automatic inheritance or a value not set at all
6+ #
7+ # In general "explicit" means something is explicitly set by the administrator
8+ # like an overwriten inheritance or set permissions in general
9+
110package nifi
211
312import rego.v1
@@ -6,6 +15,7 @@ import data.nifi_inp
615import data .nifi_glob
716import data .nifi_comp
817
18+ # default return values
919default allow = {
1020 " allowed" : " unknown" ,
1121 " dumpCache" : true
@@ -33,7 +43,7 @@ allow := {
3343 nifi_glob.global_policy_user_write
3444}
3545
36- # check for full permission
46+ # check for full permission when action is read
3747allow := {
3848 " allowed" : " true" ,
3949 " dumpCache" : true
@@ -43,6 +53,7 @@ allow := {
4353 nifi_glob.global_policy_user_full
4454}
4555
56+ # check for full permission when action is write
4657allow := {
4758 " allowed" : " true" ,
4859 " dumpCache" : true
You can’t perform that action at this time.
0 commit comments