Api reference
components.compliance.public.commands ¶
alert_unreviewed_gdpr_deletion_batches ¶
alert_unreviewed_gdpr_deletion_batches ¶
Send Slack alerts for unreviewed GDPR deletion batches per bucket type.
Source code in components/compliance/public/commands/alert_unreviewed_gdpr_deletion_batches.py
create_gdpr_deletion_batch_for_data_bucket ¶
create_gdpr_deletion_batch_for_data_bucket ¶
Create GDPR deletion batches for a given data bucket, chunked by max-batch-size.
Source code in components/compliance/public/commands/create_gdpr_deletion_batch_for_data_bucket.py
create_gdpr_deletion_records_for_data_bucket ¶
create_gdpr_deletion_records_for_data_bucket ¶
Create GDPR deletion records for a given bucket type using bulk operations.
Source code in components/compliance/public/commands/create_gdpr_deletion_records_for_data_bucket.py
purge_gdpr_compliance_data ¶
purge_gdpr_compliance_data_command ¶
Purge all GDPR deletion records, batches, and orphan profiles for a bucket type.
Source code in components/compliance/public/commands/purge_gdpr_compliance_data.py
components.compliance.public.entities ¶
ComplianceProfile
dataclass
¶
Bases: DataClassJsonMixin
Entity representing a compliance profile model
GdprDeletionBatch
dataclass
¶
GdprDeletionBatch(
id,
bucket_type,
deletion_records,
reviewed_status,
reviewed_at,
reviewed_by,
reviewed_reason,
created_at,
updated_at,
records_count_for_list=0,
failed_records_count=0,
manually_reviewed_count=0,
rejected_records_count=0,
total_records_count=0,
)
Bases: DataClassJsonMixin
Entity representing a GDPR deletion batch model
GdprDeletionBatchProgress
dataclass
¶
GdprDeletionRecord
dataclass
¶
GdprDeletionRecord(
id,
compliance_profile_id,
compliance_profile,
bucket_type,
deletion_batch_id,
deletion_scheduled_at,
deletion_applied_at,
created_at,
updated_at,
accepted_for_deletion=None,
is_manually_reviewed=None,
deletion_error=None,
)
Bases: DataClassJsonMixin
Entity representing a GDPR deletion record model