I have a requirement to “deny” access to vault path like PATH/****/SOME_PATH/*****/*SOMESUFFIX
Expectation is to block all the below paths:
PATH/one/two/three/SOME_PATH/four/five/sixSOMESUFFIX
PATH/one/two/SOME_PATH/four/sixSOMESUFFIX
I have created a policies like below for that
path "PATH/*/SOME_PATH/*/*SOMESUFFIX" {
capabilities = ["deny"]
}
But this doesn’t block the access.
Even I tried the below policy (Based on suggestion from Grok that “**” will match multiple directories)
path "PATH/**/SOME_PATH/**/*SOMESUFFIX" {
capabilities = ["deny"]
}
Any help to fix any issue in my policy