Hi, i’m trying to setup a mutator for oathkeeper rules, i’ve followed the documentation but oathkeeper refuse loading my rules with mutator, i’m pretty sure that is a stupid mistake but as there is no working example for doing this i’m a little bit lost …
The rule
[
{
"id": "${OATHKEEPER_MOORE_FS_PREFIX}bucket:upload",
"mutator": {
"handler": "noop"
},
"upstream": {
"url": "${MOORE_FS_URL}/"
},
"match": {
"url": "${OATHKEEPER_PROXY_URL}/bucket/upload",
"methods": [
"GET",
"PUT",
"POST"
]
},
"authenticators": [
{
"handler": "oauth2_introspection",
"config": {
"required_scope": [
"user.devices.storage"
]
}
}
],
"authorizer": {
"handler": "allow"
},
"credentials_issuer": {
"handler": "noop"
}
}
]
The result
Decoding file contents from JSON resulted in error json: unknown field "mutator"