Compliance Policy Requests

Archivist Compliance Policy Requests

Dataclasses that represent the different types of compliance policies

class archivist.compliance_policy_requests.CompliancePolicyBase(description: str, display_name: str, asset_filter: list[list])[source]

Compliance policy base definition

dict()[source]

Emit dictionary representation

class archivist.compliance_policy_requests.CompliancePolicyCurrentOutstanding(description: str, display_name: str, asset_filter: list[list], event_display_type: str, closing_event_display_type: str, compliance_type: str = 'COMPLIANCE_CURRENT_OUTSTANDING')[source]

Compliance policy that indicates if an event has been 'closed'

class archivist.compliance_policy_requests.CompliancePolicyDynamicTolerance(description: str, display_name: str, asset_filter: list[list], event_display_type: str, closing_event_display_type: str, dynamic_window: int, dynamic_variability: float, compliance_type: str = 'COMPLIANCE_DYNAMIC_TOLERANCE')[source]

Compliance policy that indicates if the average time between opening and closing events in a specified period of time does not exceed a specified number of standard deviations from the mean.

class archivist.compliance_policy_requests.CompliancePolicyPeriodOutstanding(description: str, display_name: str, asset_filter: list[list], event_display_type: str, closing_event_display_type: str, time_period_seconds: int, compliance_type: str = 'COMPLIANCE_PERIOD_OUTSTANDING')[source]

Compliance policy that indicates if an event has been 'closed' within a specified time

class archivist.compliance_policy_requests.CompliancePolicyRichness(description: str, display_name: str, asset_filter: list[list], richness_assertions: list[list], compliance_type: str = 'COMPLIANCE_RICHNESS')[source]

Compliance policy that indicates if an asset has an attribute that complies with a set of assertions.

dict()[source]

Emit dictionary representation

class archivist.compliance_policy_requests.CompliancePolicySince(description: str, display_name: str, asset_filter: list[list], event_display_type: str, time_period_seconds: int, compliance_type: str = 'COMPLIANCE_SINCE')[source]

Compliance policy that indicates if an event has 'expired'