Kea 3.0.3-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
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
static constexpr unsigned MAX_NESTING_LEVEL
Maximum nesting level of Element objects.
Definition data.h:86
boost::shared_ptr< const Element > ConstElementPtr
Definition data.h:30
ConstElementPtr redactConfig(ConstElementPtr const &element, list< string > const &json_path, string obscure, unsigned max_nesting_depth)
Redact a configuration.
Defines the logger used by the top-level component of kea-lfc.