website: fix stray sentinel references using the old syntax (#5191)
[skip ci]
This commit is contained in:
parent
b62ff49b16
commit
801e7e1c38
|
@ -737,8 +737,10 @@ Sentinel code policy looks like this:
|
|||
key "foo" {
|
||||
policy = "write"
|
||||
sentinel {
|
||||
code = " import \"strings\"
|
||||
main = rule { strings.has_suffix(value, \"bar\") } "
|
||||
code = <<EOF
|
||||
import "strings"
|
||||
main = rule { strings.has_suffix(value, "bar") }
|
||||
EOF
|
||||
enforcementlevel = "hard-mandatory"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -847,8 +847,8 @@ key "foo" {
|
|||
policy = "write"
|
||||
sentinel {
|
||||
code = <<EOF
|
||||
import "strings\
|
||||
main = rule { strings.has_suffix(value, "bar") }
|
||||
import "strings"
|
||||
main = rule { strings.has_suffix(value, "bar") }
|
||||
EOF
|
||||
enforcementlevel = "hard-mandatory"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue