1mod add;
9#[cfg(test)]
10mod add_tests;
11mod allow_entry_json;
12#[cfg(test)]
13mod allow_entry_json_tests;
14mod artifacts;
15mod contracts;
16mod diff;
17mod diff_human;
18mod diff_json;
19mod diff_markdown;
20mod diff_policy_detail;
21mod diff_posture;
22mod doctor;
23#[cfg(test)]
24mod doctor_tests;
25mod evidence_reference_human;
26mod explain;
27mod explain_common;
28mod explain_human;
29mod explain_json;
30#[cfg(test)]
31mod explain_tests;
32mod html;
33#[cfg(test)]
34mod html_tests;
35mod json;
36#[cfg(test)]
37mod json_tests;
38mod list;
39#[cfg(test)]
40mod list_tests;
41mod migrate;
42#[cfg(test)]
43mod migrate_tests;
44mod non_rust;
45mod path_text;
46#[cfg(test)]
47mod path_text_tests;
48mod propose;
49#[cfg(test)]
50mod propose_tests;
51mod prune;
52#[cfg(test)]
53mod prune_tests;
54mod receipt;
55#[cfg(test)]
56mod receipt_tests;
57mod report_json;
58mod report_text;
59mod sarif;
60#[cfg(test)]
61mod sarif_tests;
62mod source_inventory;
63mod summary;
64mod text;
65mod worklist;
66mod worklist_human;
67mod worklist_json;
68mod worklist_summary;
69
70pub use add::{render_add_human, render_add_json};
71pub use allow_entry_json::{render_allow_entry_json, render_last_seen_json, render_selector_json};
72pub use artifacts::{
73 AddReport, DiffEvidenceChange, DiffExceptionIdentityChange, DiffFindingChange,
74 DiffLifecycleChange, DiffMetadataChange, DiffOccurrenceLimitChange, DiffPolicyChange,
75 DiffPolicyStatusChange, DiffPostureSummary, DiffReport, DiffRequirementChange, DiffScopeChange,
76 DiffSelectorIdentityChange, DiffSelectorPrecisionChange, DoctorReport, EvidenceReference,
77 ExplainReport, ListFilters, ListRow, MigrateReport, ProposeReport, PruneCandidate,
78 PruneModeContext, WorklistFilters, WorklistItem,
79};
80pub use contracts::{
81 ADD_SCHEMA_ID, ADD_SCHEMA_VERSION, ARTIFACT_CONTRACTS, ARTIFACT_STATUS_FAILED,
82 ARTIFACT_STATUS_PASSED, ARTIFACT_STATUSES, ArtifactContract, CLAIM_BOUNDARY,
83 CLAIM_BOUNDARY_TEXT, DOCTOR_SCHEMA_ID, DOCTOR_SCHEMA_VERSION, EXPLAIN_SCHEMA_ID,
84 EXPLAIN_SCHEMA_VERSION, INVENTORY_SCANNER_POLICY_MIGRATION, INVENTORY_SCANNER_SOURCE_SYNTAX,
85 INVENTORY_SCOPE_SOURCE_TREE, INVENTORY_SOURCE_UNKNOWN, InventoryContext, LIST_SCHEMA_ID,
86 LIST_SCHEMA_VERSION, MIGRATE_SCHEMA_ID, MIGRATE_SCHEMA_VERSION, PROPOSE_SCHEMA_ID,
87 PROPOSE_SCHEMA_VERSION, PRUNE_SCHEMA_ID, PRUNE_SCHEMA_VERSION, RECEIPT_COMMAND_CHECK,
88 RECEIPT_SCHEMA_ID, RECEIPT_SCHEMA_VERSION, REPORT_COMMAND_AUDIT, REPORT_COMMAND_CHECK,
89 REPORT_COMMAND_DIFF, REPORT_COMMANDS, REPORT_SCHEMA_ID, REPORT_SCHEMA_VERSION, ReportContext,
90 SCANNER_LIMITATIONS, WORKLIST_SCHEMA_ID, WORKLIST_SCHEMA_VERSION,
91 artifact_contract_for_schema_id,
92};
93pub use diff::{
94 DiffNetPosture, diff_net_posture, diff_posture_summary, insert_markdown_pr_summary,
95 render_diff_finding_changes_human, render_diff_finding_changes_markdown,
96 render_diff_json_with_posture, render_diff_policy_changes_human,
97 render_diff_policy_changes_markdown, render_diff_posture_summary_human,
98 render_diff_posture_summary_human_with_evidence_health, render_diff_pr_summary_markdown,
99 render_diff_pr_summary_markdown_with_evidence_health,
100};
101pub use doctor::{render_doctor_human, render_doctor_json};
102pub(crate) use explain::finding_location_text;
103pub use explain::{render_explain_finding_json, render_explain_human, render_explain_json};
104pub use html::{render_html, render_html_with_context};
105pub use json::{
106 render_claim_boundary_json, render_inventory_json, render_scanner_limitations_json,
107};
108pub use list::{render_list_human, render_list_json};
109pub use migrate::{render_migrate_human, render_migrate_json};
110pub use path_text::source_tree_path_text;
111pub use propose::{render_propose_human, render_propose_json};
112pub use prune::{render_prune_human, render_prune_human_with_context, render_prune_json};
113pub use receipt::{
114 render_receipt, render_receipt_with_context, render_receipt_with_context_and_inventory,
115};
116pub use report_json::{render_json, render_json_with_context, render_json_with_context_and_diff};
117pub use report_text::{
118 render_human, render_human_with_context, render_markdown, render_markdown_with_context,
119};
120pub use sarif::{render_sarif, render_sarif_with_context};
121pub use summary::{
122 Summary, matched_policy_missing_evidence_entries, policy_baseline_debt_entries,
123 policy_missing_evidence_entries,
124};
125pub use worklist::{render_worklist_human, render_worklist_json};
126
127pub(crate) use non_rust::{FilePosture, non_rust_file_rows};
128pub(crate) use source_inventory::{
129 render_source_inventory_html, render_source_inventory_human, render_source_inventory_json,
130 render_source_inventory_markdown,
131};
132pub(crate) use summary::{
133 AUDIT_REVIEW_QUEUE_STATUSES, ReviewSignals, STATUS_COUNT_ORDER, audit_review_queue,
134 baseline_debt_count, broken_evidence_link_count, policy_missing_evidence_count,
135 render_count_fields_with_policy_context, weak_evidence_reference_count,
136};
137
138#[cfg(test)]
139mod diff_human_tests;
140#[cfg(test)]
141mod diff_json_detail_tests;
142#[cfg(test)]
143mod diff_json_tests;
144#[cfg(test)]
145mod diff_markdown_tests;
146#[cfg(test)]
147mod schema_tests;
148#[cfg(test)]
149mod text_tests;
150#[cfg(test)]
151mod worklist_tests;