AnyConnect Secure Mobility Client  5.1.19.1862
ApprovalStatus.h
1 /**************************************************************************
2 * Copyright (c) 2025 Cisco Systems, Inc.
3 * All Rights Reserved. Cisco Highly Confidential.
4 ***************************************************************************
5 *
6 * File: ApprovalStatus.h
7 * Author: Alex Skrypnyk
8 * Date: 03/27/2025
9 *
10 ***************************************************************************
11 * Defines enumerations and structures for representing
12 * VPN service approval statuses
13 **************************************************************************/
14 
15 #pragma once
16 
17 #include <map>
18 
19 typedef enum
20 {
21  vpn_fault_type_service_not_authorized = 1,
22  vpn_fault_type_kdf_not_authorized,
23  vpn_fault_type_kdf_reboot_required,
24  vpn_fault_type_fda_required_not_granted,
25 } vpn_fault_t;
26 
27 /*
28 ** VpnApprovalStatus represents the current approval state of various VPN faults.
29 ** Each fault is stored as a key in the `faultStates` map, with a boolean value:
30 ** - true => the fault is currently active (i.e., needs approval or indicates an issue)
31 ** - false => the fault has been cleared or is no longer applicable
32 **
33 ** This structure allows partial updates: only the relevant faults need to be included
34 */
36 {
37  std::map<vpn_fault_t, bool> faultStates;
38 };
Definition: ApprovalStatus.h:35