Skip to content

PPR - Data Retention Spike  #27435

Closed
1 of 1 issue completed
Closed

Description

@mbertucci

Review epic https://app.zenhub.com/workspaces/assets-team-space-new-655515cb02e714000e74f9f3/issues/gh/bcgov/entity/27413

create strategy for tackling tasks
communicate with Mikaela for planning

1. Define Historical Search System Requirements

  • Task: Draft technical requirements for historical PPR search functionality (via DBA-run scripts).
  • Details:
    • Scripts must replicate previous manual search functionality.
    • Must handle searches by registration number at historical points in time.
    • No public user interface (staff or internal access only).

Comment:

  • Initially with the historical registration search will be manual (current practise).
  • For registrations historical prior to data migration (January 2022), the information available may be limited and only go back as far as 2009 (unknown).
  • For registrations that became historical after data migration, reports in the modernized format are available for both searches and verification statements
  • Investing the feasibility of loading mainframe file historical registrations into the modernized database, possibly allowing for modernized verification statement reports and historical searches. Provide an estimate. Benefit depends on the retention period.

2. Design Retention and Purge Strategy

  • Task: Design a data retention and purge strategy for expired/discharged PPR records.
  • Details:
    • Retain historical records for at least 6 years, preferably up to 7 years for operational efficiency. REG/LEG Board ticket
    • Plan for annual or periodic purge operations.
    • Ensure purge logs/audits meet legal evidence needs (in case of court action).

Comment:
Currently no permanent purge exists: implementing a retention strategy is part of the historical data technical solution.

  • Post data migration permanent purging of historical registrations involves deleting both database records and cloud storage reports.
  • Pre data migration permanent purging of historical registrations involves deleting mainframe fiche files and records from
    summary mainframe registration files.
  • Purge audit requirements need to be defined.
  • Legal retention period needs to be defined.
  • A periodic process (interval to be determined) will manually purge historical registrations.

3. Apply Searchability Limitations

  • Task: Implement searchability limits aligned with legislation.
  • Details:
    • Disable debtor name/serial number searches after 30 days post-expiry/discharge.
    • Allow registration number searches for up to one year (as a policy choice).
    • Ensure any continued access complies with FOIPOP consistency requirements.

Policy Question:

Are we required to be able to execute a search on historical data that is not by registration number** eg Serial Number or Debtor Name Search

Comment:

  • Distinguish between finding registration information for an individual base registration that is historical, and executing a search at a point in time in the past with any of the allowed search types.
  • Limitations are defined by policy
  • Post data migration both types of results are manually available with little effort.
  • Pre data migration search other than for an individual base registration may not be possible (point in time search).

4. Data Classification Handling

  • Task: Confirm and implement rules around business vs. personal information after expiry/discharge.
  • Details:
    • Apply business classification during active period.
    • Post-expiry, ensure use of personal information is only for consistent purposes (i.e., support legal claims, government operations).

Policy Question:

Are there rules around when staff can request historical searches. for ex a client calls and states that they can't find the registration and is wondering why it is historical... they will want to know who did it and when? --- Are we able to provide this answer to clients .. if it is more than 9 years ago .. what is our lookback policy or another reason why they can't request the information

Comment:
Requests initially will always be manual and originate from Registries staff as OPs tickets. The requirement initially does not apply to the technical solution where results are provided manually.

5. Design Audit and Traceability Features

  • Task: Build audit trails for historical searches and data use.
  • Details:
    • Track who accessed what data and when.
    • Ensure traceability supports legal defense if challenged.

Policy Question:

Do we need to audit.. right now we have the ops ticket as the audit .. not sure how long they keep those tickets

Comment:
A formal audit record for historical registration requests is a new requirement. Currently only captured in ops tickets.
The easy solution is to create an audit table in the PROD database and manually insert records. Possibly create an on demand report by date range for historical requests.

6. Validate Legal and FOIPPA Compliance

  • Task: Engage with legal/privacy teams to validate final technical design.
  • Details:
    • Confirm retention, access, and deletion policies meet FOIPOP and PPSA expectations.
    • Document compliance for future audits or reviews.

Policy Question:

ticket created in reg/leg board for this

Comment:
Policy review task and tracking is not part of the technical solution.

Optional Stretch Tasks

7. Future Enhancement Planning

  • Task: Explore scalable options for eventually making historical searches more self-serve or staff-accessible without needing manual DBA intervention.

Comment:
Design and estimate a solution: cost may outway the benefit over ops ticket/manual results solution.

8. Disaster Recovery Planning

  • Task: Ensure backup/restore plans include historical data within the appropriate retention window.

Comment:

  • Post data migration historical registrations are covered by the existing database replication/backup.
  • Pre data migration retain copies of the mainframe files in 2 locations GCP Assets shared drive and GCP cloud storage.

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. changed the title [-]Data Retention Spike [/-] [+]PPR - Data Retention Spike [/+] on May 15, 2025
  2. mbertucci commented on May 15, 2025

    @mbertucci
    ContributorAuthor

    the ticket includes
    Migrated in 2022 -- still have old data on mainframe -- what is our data retention policy for all data -- data is being migrated to another database

    Is 9 years sufficient for data retention?

    When migrated after 2031 can we delete the old data that was on the mainframe

    AND

    can we permanently delete data at end of retention

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions