PrincipalTrust
Quantifies and tracks the trustworthiness of security principals (users, services, devices) through continuous assessment of behavior, compliance, and risk indicators, enabling dynamic trust-based access control. This entity implements zero-trust principles where trust is never assumed but continuously earned and verified. Trust scores are calculated from multiple factors: authentication strength (password, MFA, biometrics), behavioral patterns (typical vs anomalous activity), compliance status (training completed, policies acknowledged), historical reliability (past violations, successful operations), and environmental context (device security, network location). Trust levels dynamically adjust based on positive signals (successful verifications, consistent behavior) and negative signals (failed attempts, policy violations, suspicious patterns). The entity enables trust-based authorization where higher trust unlocks more privileges, trust degradation where violations reduce access progressively, and trust recovery where good behavior restores standing. It supports trust federation where external trust assessments are incorporated, trust inheritance where new principals inherit baseline trust from their organization, and trust delegation where trusted principals can vouch for others. Trust scores influence various security decisions: required authentication strength, permission activation, audit intensity, and session duration. This continuous trust assessment is essential for adaptive security that responds to changing risk, insider threat detection through trust anomalies, and compliance with zero-trust architectures.
Properties
| Property | Type | Mode | Description | Required |
|---|---|---|---|---|
| trustId | uuid | stored | Unique identifier for this trust record | Required |
| principalId | uuid | stored | Security principal being assessed | Required |
| principalType | string | enum | Type of principal Values: | Required |
| trustScore | number | stored | Current trust score (0-100) | Required |
| trustLevel | string | enum | Categorized trust level Values: | Required |
| scoreComponents | string | stored | JSON breakdown of score factors Example: | Required |
| authenticationFactors | string | stored | JSON authentication trust signals Example: | Optional |
| behaviorMetrics | string | stored | JSON behavioral analysis Example: | Optional |
| complianceStatus | string | stored | JSON compliance indicators Example: | Optional |
| riskIndicators | string | stored | JSON risk factors affecting trust Example: | Optional |
| positiveSignals | string | stored | JSON recent trust-building events Example: | Optional |
| negativeSignals | string | stored | JSON recent trust-reducing events Example: | Optional |
| trustHistory | string | stored | JSON historical trust scores | Optional |
| trustTrend | string | enum | Direction of trust change Values: | Optional |
| baseTrustScore | number | stored | Baseline trust before adjustments | Optional |
| trustModifiers | string | stored | JSON temporary trust adjustments | Optional |
| trustDecayRate | number | stored | How fast trust decreases without activity | Optional |
| trustRecoveryRate | number | stored | How fast trust can be rebuilt | Optional |
| maxTrustScore | number | stored | Maximum achievable trust | Optional |
| minTrustScore | number | stored | Minimum trust floor | Optional |
| endorsements | string | stored | JSON trust endorsements from others | Optional |
| federatedTrust | string | stored | JSON external trust assessments | Optional |
| lastAssessmentAt | DateTime | stored | Last trust evaluation | Required |
| nextAssessmentAt | DateTime | stored | Next scheduled evaluation | Optional |
| assessmentFrequency | string | stored | How often to reassess | Optional |
| trustAlerts | string | stored | JSON triggered trust alerts | Optional |
| requiresReview | boolean | stored | Whether manual review is needed | Optional |
| isActive | boolean | stored | Whether trust tracking is active | Optional |
| metadata | object | stored | Additional trust data | Optional |
Examples
Example 1
{
"@type": "PrincipalTrust",
"trustId": "trust_user_001",
"principalId": "user_john_doe",
"principalType": "user",
"trustScore": 78,
"trustLevel": "high",
"scoreComponents": "{\"authentication\":18,\"behavior\":20,\"compliance\":15,\"history\":18,\"context\":7}",
"authenticationFactors": "{\"mfa_enabled\":true,\"mfa_type\":\"hardware_token\",\"password_age_days\":45,\"failed_attempts_30d\":1}",
"behaviorMetrics": "{\"login_consistency\":0.92,\"typical_hours\":true,\"resource_access_pattern\":\"normal\",\"data_volume\":\"average\"}",
"complianceStatus": "{\"training_completed\":true,\"last_training\":\"2024-02-01\",\"policy_acknowledgments\":12,\"violations_ytd\":0}",
"riskIndicators": "[\"occasional_vpn_use\",\"multiple_devices\"]",
"positiveSignals": "[{\"event\":\"completed_security_training\",\"timestamp\":\"2024-02-01T10:00:00Z\",\"impact\":10},{\"event\":\"reported_phishing\",\"timestamp\":\"2024-03-01T14:00:00Z\",\"impact\":5}]",
"negativeSignals": "[{\"event\":\"failed_mfa\",\"timestamp\":\"2024-03-10T08:00:00Z\",\"impact\":-5}]",
"trustTrend": "stable",
"baseTrustScore": 70,
"trustDecayRate": 0.005,
"trustRecoveryRate": 0.1,
"lastAssessmentAt": "2024-03-15T12:00:00Z",
"nextAssessmentAt": "2024-03-15T13:00:00Z",
"assessmentFrequency": "hourly",
"isActive": true,
"metadata": {
"employee_type": "full_time",
"tenure_years": 3
}
}Example 2
{
"@type": "PrincipalTrust",
"trustId": "trust_svc_002",
"principalType": "service",
"principalId": "svc_payment_processor",
"trustScore": 92,
"trustLevel": "verified",
"scoreComponents": "{\"authentication\":25,\"behavior\":23,\"compliance\":22,\"history\":22,\"context\":0}",
"authenticationFactors": "{\"certificate_based\":true,\"cert_expiry\":\"2025-01-01\",\"key_rotation\":\"monthly\",\"mutual_tls\":true}",
"behaviorMetrics": "{\"api_call_pattern\":\"consistent\",\"error_rate\":0.001,\"latency\":\"normal\",\"data_patterns\":\"expected\"}",
"complianceStatus": "{\"security_scans\":\"passed\",\"vulnerability_assessment\":\"clean\",\"last_audit\":\"2024-02-15\",\"pci_compliant\":true}",
"positiveSignals": "[{\"event\":\"successful_audit\",\"timestamp\":\"2024-02-15T00:00:00Z\",\"impact\":15}]",
"trustTrend": "increasing",
"baseTrustScore": 85,
"trustDecayRate": 0.001,
"trustRecoveryRate": 0.2,
"maxTrustScore": 95,
"federatedTrust": "{\"vendor_assessment\":90,\"third_party_audit\":88}",
"lastAssessmentAt": "2024-03-15T12:00:00Z",
"nextAssessmentAt": "2024-03-16T12:00:00Z",
"assessmentFrequency": "daily",
"isActive": true,
"metadata": {
"service_criticality": "high",
"sla_tier": "platinum"
}
}