Table of Contents

Interface IDataInventoryService

Namespace
Excalibur.Compliance
Assembly
Excalibur.Compliance.Abstractions.dll

Service for discovering personal data associated with a data subject.

public interface IDataInventoryService

Remarks

The data inventory service supports:

  • Automatic discovery from [PersonalData] attributed fields
  • Manual registration for custom data locations
  • Data mapping for GDPR RoPA (Records of Processing Activities)

Methods

DiscoverAsync(string, DataSubjectIdType, string?, CancellationToken)

Discovers all personal data for a data subject.

Task<DataInventory> DiscoverAsync(string dataSubjectId, DataSubjectIdType idType, string? tenantId, CancellationToken cancellationToken)

Parameters

dataSubjectId string

The data subject identifier.

idType DataSubjectIdType

Type of the identifier.

tenantId string

Optional tenant context.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<DataInventory>

Complete data inventory for the subject.

GetDataMapAsync(string?, CancellationToken)

Gets the data map for compliance reporting (RoPA).

Task<DataMap> GetDataMapAsync(string? tenantId, CancellationToken cancellationToken)

Parameters

tenantId string

Optional tenant filter.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<DataMap>

Data map for RoPA reporting.

RegisterDataLocationAsync(DataLocationRegistration, CancellationToken)

Registers a manual data location for erasure.

Task RegisterDataLocationAsync(DataLocationRegistration registration, CancellationToken cancellationToken)

Parameters

registration DataLocationRegistration

The data location to register.

cancellationToken CancellationToken

Cancellation token.

Returns

Task

UnregisterDataLocationAsync(string, string, CancellationToken)

Removes a registered data location.

Task UnregisterDataLocationAsync(string tableName, string fieldName, CancellationToken cancellationToken)

Parameters

tableName string

The table name.

fieldName string

The field name.

cancellationToken CancellationToken

Cancellation token.

Returns

Task