pub struct AuditGenerationConfig {
pub enabled: bool,
pub generate_workpapers: bool,
pub engagement_types: AuditEngagementTypesConfig,
pub workpapers: WorkpaperConfig,
pub team: AuditTeamConfig,
pub review: ReviewWorkflowConfig,
pub fsm: Option<AuditFsmConfig>,
pub it_controls: ItControlsConfig,
}Expand description
Audit engagement and workpaper generation configuration.
Fields§
§enabled: boolEnable audit engagement generation
generate_workpapers: boolGate for workpaper generation (v3.3.2+).
When false, workpapers and dependent evidence are skipped
while engagements / risk assessments / findings still generate.
engagement_types: AuditEngagementTypesConfigEngagement type distribution (v3.3.2+). Drives per-engagement
type draw via AuditEngagementGenerator::draw_engagement_type.
workpapers: WorkpaperConfigWorkpaper configuration (v3.3.2+). average_per_phase maps onto
WorkpaperGenerator.workpapers_per_section as a ±50% band
around the average. Sampling / ISA / cross-reference flags are
surfaced for downstream formatting overlays.
team: AuditTeamConfigAudit team configuration (v3.3.2+). min_team_size /
max_team_size map directly onto
AuditEngagementGenerator.team_size_range.
specialist_probability is reserved for v3.4 (explicit
specialist-role support).
review: ReviewWorkflowConfigReview workflow configuration (v3.3.2+).
average_review_delay_days drives both
first_review_delay_range and second_review_delay_range as
a ±1-day band around the average. rework_probability and
require_partner_signoff are reserved for v3.4 workflow
modeling.
fsm: Option<AuditFsmConfig>FSM-driven audit generation configuration.
it_controls: ItControlsConfigv3.3.0: IT general controls (access logs, change management
records) emitted alongside audit engagements. Requires both
audit.enabled = true and audit.it_controls.enabled = true
to take effect — the latter defaults to false so current
archives are byte-identical to v3.2.1.
Trait Implementations§
Source§impl Clone for AuditGenerationConfig
impl Clone for AuditGenerationConfig
Source§fn clone(&self) -> AuditGenerationConfig
fn clone(&self) -> AuditGenerationConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AuditGenerationConfig
impl Debug for AuditGenerationConfig
Source§impl Default for AuditGenerationConfig
impl Default for AuditGenerationConfig
Source§impl<'de> Deserialize<'de> for AuditGenerationConfig
impl<'de> Deserialize<'de> for AuditGenerationConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for AuditGenerationConfig
impl RefUnwindSafe for AuditGenerationConfig
impl Send for AuditGenerationConfig
impl Sync for AuditGenerationConfig
impl Unpin for AuditGenerationConfig
impl UnsafeUnpin for AuditGenerationConfig
impl UnwindSafe for AuditGenerationConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.