Skip to content
API Documentation
BastionGuard™
LeakRecord Struct Reference

#include <LeakRecord.hpp>

Public Types

enum class  Severity {
  INFO , LOW , MEDIUM , HIGH ,
  CRITICAL
}

Public Attributes

std::string provider
std::string breachName
std::string breachDate
std::string description
std::vector< std::string > dataClasses
Severity severity = Severity::INFO

Detailed Description

Definition at line 26 of file LeakRecord.hpp.

Member Enumeration Documentation

◆ Severity

enum class LeakRecord::Severity
strong
Enumerator
INFO 
LOW 
MEDIUM 
HIGH 
CRITICAL 

Definition at line 28 of file LeakRecord.hpp.

28 {
29 INFO,
30 LOW,
31 MEDIUM,
32 HIGH,
33 CRITICAL
34 };

Member Data Documentation

◆ breachDate

std::string LeakRecord::breachDate

◆ breachName

std::string LeakRecord::breachName

◆ dataClasses

std::vector<std::string> LeakRecord::dataClasses

Definition at line 41 of file LeakRecord.hpp.

Referenced by HibpProvider::checkEmail(), and LeakCheckProvider::checkEmail().

◆ description

std::string LeakRecord::description

◆ provider

std::string LeakRecord::provider

◆ severity

Severity LeakRecord::severity = Severity::INFO

The documentation for this struct was generated from the following file: