Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
Loading...
Searching...
No Matches
diagnostic_configuration.h
Go to the documentation of this file.
1/*
2 *
3 * Copyright (c) Microsoft Corporation.
4 * All rights reserved.
5 *
6 * This code is licensed under the MIT License.
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy
9 * of this software and associated documentation files(the "Software"), to deal
10 * in the Software without restriction, including without limitation the rights
11 * to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
12 * copies of the Software, and to permit persons to whom the Software is
13 * furnished to do so, subject to the following conditions :
14 *
15 * The above copyright notice and this permission notice shall be included in
16 * all copies or substantial portions of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 * THE SOFTWARE.
25 *
26 */
33#ifndef API_MIP_DIAGNOSTIC_CONFIGURATION_H_
34#define API_MIP_DIAGNOSTIC_CONFIGURATION_H_
35
36#include <map>
37#include <memory>
38
39#include "mip/audit_delegate.h"
40#include "mip/common_types.h"
41#include "mip/http_delegate.h"
42#include "mip/mip_namespace.h"
45
46
47MIP_NAMESPACE_BEGIN
48
54 std::string hostNameOverride;
55 std::string libraryNameOverride;
56 std::shared_ptr<HttpDelegate> httpDelegateOverride;
59 std::shared_ptr<TaskDispatcherDelegate> taskDispatcherDelegateOverride;
66 bool isFastShutdownEnabled {false};
67 std::map<std::string, std::string> customSettings;
68 std::map<std::string, std::vector<std::string>> maskedProperties;
69 std::shared_ptr<AuditDelegate> auditPipelineDelegateOverride;
70 std::shared_ptr<TelemetryDelegate> telemetryPipelineDelegateOverride;
76};
77
84 bool isPiiAllowed = true;
85};
86
87MIP_NAMESPACE_END
88#endif // API_MIP_DIAGNOSTIC_CONFIGURATION_H_
A file containing the AuditDelegate class to be used to override MIP audit.
A file Containing the common types used by the upe, file and protection modules.
Cloud
Azure cloud identifier.
Definition common_types.h:752
DataBoundary
Diagnostic region identifier for non-sovereign clouds.
Definition common_types.h:769
Contains HttpDelegate interface definition used to override MIP HTTP stack.
MIP namespace macros.
Custom diagnostic configurations (not commonly used)
Definition diagnostic_configuration.h:53
DataBoundary dataBoundary
Definition diagnostic_configuration.h:72
std::map< std::string, std::vector< std::string > > maskedProperties
Definition diagnostic_configuration.h:68
int maxTeardownTimeSec
Definition diagnostic_configuration.h:74
bool isAuditPriorityEnhanced
Definition diagnostic_configuration.h:73
std::string libraryNameOverride
Definition diagnostic_configuration.h:55
std::shared_ptr< TelemetryDelegate > telemetryPipelineDelegateOverride
Definition diagnostic_configuration.h:70
bool isLocalCachingEnabled
Definition diagnostic_configuration.h:61
std::shared_ptr< AuditDelegate > auditPipelineDelegateOverride
Definition diagnostic_configuration.h:69
std::string hostNameOverride
Definition diagnostic_configuration.h:54
bool isMaxTeardownTimeEnabled
Definition diagnostic_configuration.h:75
bool isMinimalTelemetryEnabled
Definition diagnostic_configuration.h:65
bool isNetworkDetectionEnabled
Definition diagnostic_configuration.h:60
Cloud cloud
Definition diagnostic_configuration.h:71
std::shared_ptr< HttpDelegate > httpDelegateOverride
Definition diagnostic_configuration.h:56
bool isTraceLoggingEnabled
Definition diagnostic_configuration.h:64
std::map< std::string, std::string > customSettings
Definition diagnostic_configuration.h:67
bool isFastShutdownEnabled
Definition diagnostic_configuration.h:66
std::shared_ptr< TaskDispatcherDelegate > taskDispatcherDelegateOverride
Definition diagnostic_configuration.h:59
Configuration to use when default logging is enabled. This is set only once per process and any later...
Definition diagnostic_configuration.h:81
int maxLogFileCount
Definition diagnostic_configuration.h:83
int maxLogFileSizeMb
Definition diagnostic_configuration.h:82
bool isPiiAllowed
Definition diagnostic_configuration.h:84
A file containing the TaskDispatcherDelegate interface to be used to override MIP async task executor...
A file containing the TelemetryDelegate class to be used to override MIP telemetry.