From: Andrei Pavel Date: Wed, 21 Apr 2021 17:50:52 +0000 (+0300) Subject: [#1721] redact netconf X-Git-Tag: Kea-1.9.8~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb84a7adb5ee2db9fa7f7d4bf887d7ed113171c3;p=thirdparty%2Fkea.git [#1721] redact netconf --- diff --git a/src/bin/netconf/netconf_cfg_mgr.cc b/src/bin/netconf/netconf_cfg_mgr.cc index 7208280723..2e54b196b2 100644 --- a/src/bin/netconf/netconf_cfg_mgr.cc +++ b/src/bin/netconf/netconf_cfg_mgr.cc @@ -164,5 +164,13 @@ NetconfConfig::toElement() const { return (result); } +std::list> +NetconfCfgMgr::jsonPathsToRedact() const { + static std::list> const list({ + {"hooks-libraries", "parameters", "*"}, + }); + return list; +} + } // namespace isc::netconf } // namespace isc