pub struct ControlExporter { /* private fields */ }Expand description
Exporter for internal controls master data.
Implementations§
Source§impl ControlExporter
impl ControlExporter
Sourcepub fn export_all(
&self,
controls: &[InternalControl],
registry: &ControlMappingRegistry,
sod_conflicts: &[SodConflictPair],
sod_rules: &[SodRule],
) -> SynthResult<ExportSummary>
pub fn export_all( &self, controls: &[InternalControl], registry: &ControlMappingRegistry, sod_conflicts: &[SodConflictPair], sod_rules: &[SodRule], ) -> SynthResult<ExportSummary>
Export all control master data.
Creates the following CSV files:
- internal_controls.csv
- control_account_mappings.csv
- control_process_mappings.csv
- control_threshold_mappings.csv
- control_doctype_mappings.csv
- sod_conflict_pairs.csv
- sod_rules.csv
- coso_control_mapping.csv
Sourcepub fn export_controls(
&self,
controls: &[InternalControl],
) -> SynthResult<usize>
pub fn export_controls( &self, controls: &[InternalControl], ) -> SynthResult<usize>
Export internal control definitions.
Sourcepub fn export_account_mappings(
&self,
mappings: &[ControlAccountMapping],
) -> SynthResult<usize>
pub fn export_account_mappings( &self, mappings: &[ControlAccountMapping], ) -> SynthResult<usize>
Export control-to-account mappings.
Sourcepub fn export_process_mappings(
&self,
mappings: &[ControlProcessMapping],
) -> SynthResult<usize>
pub fn export_process_mappings( &self, mappings: &[ControlProcessMapping], ) -> SynthResult<usize>
Export control-to-process mappings.
Sourcepub fn export_threshold_mappings(
&self,
mappings: &[ControlThresholdMapping],
) -> SynthResult<usize>
pub fn export_threshold_mappings( &self, mappings: &[ControlThresholdMapping], ) -> SynthResult<usize>
Export control-to-threshold mappings.
Sourcepub fn export_doctype_mappings(
&self,
mappings: &[ControlDocTypeMapping],
) -> SynthResult<usize>
pub fn export_doctype_mappings( &self, mappings: &[ControlDocTypeMapping], ) -> SynthResult<usize>
Export control-to-document type mappings.
Sourcepub fn export_sod_conflicts(
&self,
conflicts: &[SodConflictPair],
) -> SynthResult<usize>
pub fn export_sod_conflicts( &self, conflicts: &[SodConflictPair], ) -> SynthResult<usize>
Export SoD conflict pairs.
Sourcepub fn export_sod_rules(&self, rules: &[SodRule]) -> SynthResult<usize>
pub fn export_sod_rules(&self, rules: &[SodRule]) -> SynthResult<usize>
Export SoD rules.
Sourcepub fn export_coso_mapping(
&self,
controls: &[InternalControl],
) -> SynthResult<usize>
pub fn export_coso_mapping( &self, controls: &[InternalControl], ) -> SynthResult<usize>
Export COSO control mapping.
Creates a detailed mapping of controls to COSO components and principles. Each row represents one principle mapped to a control.
Sourcepub fn export_standard(&self) -> SynthResult<ExportSummary>
pub fn export_standard(&self) -> SynthResult<ExportSummary>
Export standard control master data.
This is a convenience method that exports standard controls, mappings, and SoD definitions.
Auto Trait Implementations§
impl Freeze for ControlExporter
impl RefUnwindSafe for ControlExporter
impl Send for ControlExporter
impl Sync for ControlExporter
impl Unpin for ControlExporter
impl UnwindSafe for ControlExporter
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
Mutably borrows from an owned value. Read more