factory-config: Add default NACM deny rule for reading password hash

This fix #499
This commit is contained in:
Mattias Walström
2024-10-02 23:31:14 +02:00
parent 0d98ee5716
commit 2341e076a8
+14
View File
@@ -1,5 +1,6 @@
{
"ietf-netconf-acm:nacm": {
"enable-nacm": true,
"groups": {
"group": [
{
@@ -25,6 +26,19 @@
"comment": "Allow 'admin' group complete access to all operations and data."
}
]
},
{
"name": "default-deny-all",
"group": ["*"],
"rule": [
{
"name": "deny-password-read",
"module-name": "ietf-system",
"path": "/ietf-system:system/authentication/user/password",
"access-operations": "*",
"action": "deny"
}
]
}
]
}