Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
DEMO
Loading...
Searching...
No Matches
signet::forge::DataClassificationRule Struct Reference

Per-field data classification and handling policy. More...

#include <data_classification.hpp>

Public Attributes

std::string field_name
 Column/field path (e.g., "user.email", "price")
 
DataClassification classification = DataClassification::INTERNAL
 
DataSensitivity sensitivity = DataSensitivity::NEUTRAL
 
RegulatoryRegime regime = RegulatoryRegime::NONE
 
int64_t min_retention_ns = 0
 Minimum retention (0 = no min)
 
int64_t max_retention_ns = INT64_C(157788000000000000)
 Max retention (default 5y)
 
bool require_encryption = false
 RESTRICTED/HIGHLY_RESTRICTED → true.
 
bool allow_pseudonymisation = true
 
bool allow_aggregation = true
 
bool allow_ml_training = true
 PII, secrets → false.
 
bool allow_export = true
 HIGHLY_RESTRICTED → false.
 
bool allow_logging = true
 Biometric, health → false in plaintext.
 
std::vector< std::string > allowed_purposes
 

Detailed Description

Per-field data classification and handling policy.

Defined at namespace scope for Apple Clang compatibility.

Definition at line 83 of file data_classification.hpp.

Member Data Documentation

◆ allow_aggregation

bool signet::forge::DataClassificationRule::allow_aggregation = true

Definition at line 96 of file data_classification.hpp.

◆ allow_export

bool signet::forge::DataClassificationRule::allow_export = true

HIGHLY_RESTRICTED → false.

Definition at line 98 of file data_classification.hpp.

◆ allow_logging

bool signet::forge::DataClassificationRule::allow_logging = true

Biometric, health → false in plaintext.

Definition at line 99 of file data_classification.hpp.

◆ allow_ml_training

bool signet::forge::DataClassificationRule::allow_ml_training = true

PII, secrets → false.

Definition at line 97 of file data_classification.hpp.

◆ allow_pseudonymisation

bool signet::forge::DataClassificationRule::allow_pseudonymisation = true

Definition at line 95 of file data_classification.hpp.

◆ allowed_purposes

std::vector<std::string> signet::forge::DataClassificationRule::allowed_purposes

Definition at line 102 of file data_classification.hpp.

◆ classification

DataClassification signet::forge::DataClassificationRule::classification = DataClassification::INTERNAL

Definition at line 85 of file data_classification.hpp.

◆ field_name

std::string signet::forge::DataClassificationRule::field_name

Column/field path (e.g., "user.email", "price")

Definition at line 84 of file data_classification.hpp.

◆ max_retention_ns

int64_t signet::forge::DataClassificationRule::max_retention_ns = INT64_C(157788000000000000)

Max retention (default 5y)

Definition at line 91 of file data_classification.hpp.

◆ min_retention_ns

int64_t signet::forge::DataClassificationRule::min_retention_ns = 0

Minimum retention (0 = no min)

Definition at line 90 of file data_classification.hpp.

◆ regime

RegulatoryRegime signet::forge::DataClassificationRule::regime = RegulatoryRegime::NONE

Definition at line 87 of file data_classification.hpp.

◆ require_encryption

bool signet::forge::DataClassificationRule::require_encryption = false

RESTRICTED/HIGHLY_RESTRICTED → true.

Definition at line 94 of file data_classification.hpp.

◆ sensitivity

DataSensitivity signet::forge::DataClassificationRule::sensitivity = DataSensitivity::NEUTRAL

Definition at line 86 of file data_classification.hpp.


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