Skip to main content

allow_report/
lib.rs

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