Kea: redact_config.h Source File

| Kea 3.2.0-git

redact_config.h
Go to the documentation of this file.
1// Copyright (C) 2021-2026 Internet Systems Consortium, Inc. ("ISC")
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7#ifndef REDACT_CONFIG_H
8#define REDACT_CONFIG_H
9
10#include <cc/data.h>
11#include <list>
12
13namespace isc {
14namespace process {
15
33 isc::data::ConstElementPtr
34 redactConfig(isc::data::ConstElementPtr const& element,
35 std::list<std::string> const& json_path = {"*"},
36 std::string obscure = "*****",
37 unsigned max_nesting_depth = isc::data::Element::MAX_NESTING_LEVEL);
38
39} // namespace process
40} // namespace isc
41
42#endif // REDACT_CONFIG_H
isc::data::Element::MAX_NESTING_LEVEL
static constexpr unsigned MAX_NESTING_LEVEL
Maximum nesting level of Element objects.
Definition data.h:86
data.h
isc::data::ConstElementPtr
boost::shared_ptr< const Element > ConstElementPtr
Definition data.h:30
isc::process
Definition cb_ctl_base.h:22
isc::process::redactConfig
ConstElementPtr redactConfig(ConstElementPtr const &element, list< string > const &json_path, string obscure, unsigned max_nesting_depth)
Redact a configuration.
Definition redact_config.cc:98
isc
Defines the logger used by the top-level component of kea-lfc.
Definition check_exists_add.cc:18