## Summary - collapse secondary and diagnostic operation-run sections by default to reduce page density - visually emphasize the primary next step while keeping counts readable but secondary - keep failures and other actionable detail available without dominating the default reading path ## Testing - vendor/bin/sail artisan test --compact tests/Feature/Filament/OperationRunBaselineTruthSurfaceTest.php tests/Feature/Filament/OperationRunEnterpriseDetailPageTest.php tests/Feature/Filament/EnterpriseDetailTemplateRegressionTest.php tests/Feature/Operations/TenantlessOperationRunViewerTest.php - vendor/bin/sail bin pint --dirty --format agent Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #194
124 lines
7.1 KiB
PHP
124 lines
7.1 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Baseline Compare Landing Page
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
// Duplicate-name warning banner
|
|
'duplicate_warning_title' => 'Warning',
|
|
'duplicate_warning_body_plural' => ':count policies in this tenant share generic display names, resulting in :ambiguous_count ambiguous subjects. :app cannot match them safely to the baseline.',
|
|
'duplicate_warning_body_singular' => ':count policy in this tenant shares a generic display name, resulting in :ambiguous_count ambiguous subject. :app cannot match it safely to the baseline.',
|
|
|
|
// Stats card labels
|
|
'stat_assigned_baseline' => 'Assigned Baseline',
|
|
'stat_total_findings' => 'Total Findings',
|
|
'stat_last_compared' => 'Last Compared',
|
|
'stat_last_compared_never' => 'Never',
|
|
'stat_error' => 'Error',
|
|
|
|
// Badges
|
|
'badge_snapshot' => 'Snapshot #:id',
|
|
'badge_coverage_ok' => 'Coverage: OK',
|
|
'badge_coverage_warnings' => 'Coverage: Warnings',
|
|
'badge_fidelity' => 'Fidelity: :level',
|
|
'badge_evidence_gaps' => 'Evidence gaps: :count',
|
|
'evidence_gaps_tooltip' => 'Top gaps: :summary',
|
|
'evidence_gap_details_heading' => 'Evidence gap details',
|
|
'evidence_gap_details_description' => 'Search recorded gap subjects by reason, policy type, subject class, outcome, next action, or subject key before falling back to raw diagnostics.',
|
|
'evidence_gap_search_label' => 'Search gap details',
|
|
'evidence_gap_search_placeholder' => 'Search by reason, type, class, outcome, action, or subject key',
|
|
'evidence_gap_search_help' => 'Filter matches across reason, policy type, subject class, outcome, next action, and subject key.',
|
|
'evidence_gap_bucket_help_ambiguous_match' => 'Multiple inventory records matched the same policy subject — inspect the mapping to confirm the correct pairing.',
|
|
'evidence_gap_bucket_help_policy_record_missing' => 'The expected policy record was not found in the baseline snapshot — verify the policy still exists in the tenant.',
|
|
'evidence_gap_bucket_help_inventory_record_missing' => 'No inventory record could be matched for these subjects — confirm the inventory sync is current.',
|
|
'evidence_gap_bucket_help_foundation_not_policy_backed' => 'These subjects exist in the foundation layer but are not backed by a managed policy — review whether a policy should be created.',
|
|
'evidence_gap_bucket_help_capture_failed' => 'Evidence capture failed for these subjects — retry the comparison or check Graph connectivity.',
|
|
'evidence_gap_bucket_help_default' => 'These subjects were flagged during comparison — review the affected rows below for details.',
|
|
'evidence_gap_reason' => 'Reason',
|
|
'evidence_gap_reason_affected' => ':count affected',
|
|
'evidence_gap_reason_recorded' => ':count recorded',
|
|
'evidence_gap_reason_missing_detail' => ':count missing detail',
|
|
'evidence_gap_structural' => 'Structural: :count',
|
|
'evidence_gap_operational' => 'Operational: :count',
|
|
'evidence_gap_transient' => 'Transient: :count',
|
|
'evidence_gap_bucket_structural' => ':count structural',
|
|
'evidence_gap_bucket_operational' => ':count operational',
|
|
'evidence_gap_bucket_transient' => ':count transient',
|
|
'evidence_gap_missing_details_title' => 'Detailed rows were not recorded for this run',
|
|
'evidence_gap_missing_details_body' => 'Evidence gaps were counted for this compare run, but subject-level detail was not stored. Review the raw diagnostics below or rerun the comparison for fresh detail.',
|
|
'evidence_gap_missing_reason_body' => ':count affected subjects were counted for this reason, but detailed rows were not recorded for this run.',
|
|
'evidence_gap_legacy_title' => 'Legacy development gap payload detected',
|
|
'evidence_gap_legacy_body' => 'This run still uses the retired broad reason shape. Regenerate the run or purge stale local development payloads before treating the gap details as operator-safe.',
|
|
'evidence_gap_diagnostics_heading' => 'Baseline compare evidence',
|
|
'evidence_gap_diagnostics_description' => 'Raw diagnostics remain available for support and deep troubleshooting after the operator summary and searchable detail.',
|
|
'evidence_gap_policy_type' => 'Policy type',
|
|
'evidence_gap_subject_class' => 'Subject class',
|
|
'evidence_gap_outcome' => 'Outcome',
|
|
'evidence_gap_next_action' => 'Next action',
|
|
'evidence_gap_subject_key' => 'Subject key',
|
|
'evidence_gap_table_empty_heading' => 'No recorded gap rows match this view',
|
|
'evidence_gap_table_empty_description' => 'Adjust the current search or filters to review other affected subjects.',
|
|
|
|
// Comparing state
|
|
'comparing_indicator' => 'Comparing…',
|
|
|
|
// Why-no-findings explanations
|
|
'no_findings_all_clear' => 'All clear',
|
|
'no_findings_coverage_warnings' => 'Coverage warnings',
|
|
'no_findings_evidence_gaps' => 'Evidence gaps',
|
|
'no_findings_default' => 'No findings',
|
|
|
|
// Coverage warning banner
|
|
'coverage_warning_title' => 'Comparison completed with warnings',
|
|
'coverage_unproven_body' => 'Coverage proof was missing or unreadable for the last comparison run, so findings were suppressed for safety.',
|
|
'coverage_incomplete_body' => 'Findings were skipped for :count policy :types due to incomplete coverage.',
|
|
'coverage_uncovered_label' => 'Uncovered: :list',
|
|
|
|
// Failed banner
|
|
'failed_title' => 'Comparison Failed',
|
|
'failed_body_default' => 'The last baseline comparison failed. Review the run details or retry.',
|
|
|
|
// Critical drift banner
|
|
'critical_drift_title' => 'Critical Drift Detected',
|
|
'critical_drift_body' => 'The current tenant state deviates from baseline :profile. :count high-severity :findings require immediate attention.',
|
|
|
|
// Empty states
|
|
'empty_no_tenant' => 'No Tenant Selected',
|
|
'empty_no_assignment' => 'No Baseline Assigned',
|
|
'empty_no_snapshot' => 'No Snapshot Available',
|
|
|
|
// Findings section
|
|
'findings_description' => 'The tenant configuration drifted from the baseline profile.',
|
|
'rbac_summary_title' => 'Intune RBAC Role Definitions',
|
|
'rbac_summary_description' => 'Role Assignments are not included in this baseline compare release.',
|
|
'rbac_summary_compared' => 'Compared',
|
|
'rbac_summary_unchanged' => 'Unchanged',
|
|
'rbac_summary_modified' => 'Modified',
|
|
'rbac_summary_missing' => 'Missing',
|
|
'rbac_summary_unexpected' => 'Unexpected',
|
|
|
|
// No drift
|
|
'no_drift_title' => 'No Drift Detected',
|
|
'no_drift_body' => 'The tenant configuration matches the baseline profile. Everything looks good.',
|
|
|
|
// Coverage warnings (no findings)
|
|
'coverage_warnings_title' => 'Coverage Warnings',
|
|
'coverage_warnings_body' => 'The last comparison completed with warnings and produced no drift findings. Run Inventory Sync again to establish full coverage before interpreting results.',
|
|
|
|
// Idle
|
|
'idle_title' => 'Ready to Compare',
|
|
|
|
// Buttons
|
|
'button_view_run' => 'View run',
|
|
'button_view_failed_run' => 'View failed run',
|
|
'button_view_findings' => 'View all findings',
|
|
'button_review_last_run' => 'Review last run',
|
|
|
|
];
|