Table of Contents

Interface IDataInventoryQueryStore

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

Query operations for data inventory.

public interface IDataInventoryQueryStore

Remarks

This sub-interface of IDataInventoryStore isolates query/listing concerns per the Interface Segregation Principle (ISP).

Consumers that only need to query data inventory can depend on this interface directly. Implementations that also implement IDataInventoryStore expose this interface via GetService(typeof(IDataInventoryQueryStore)).

Methods

FindRegistrationsForDataSubjectAsync(string, DataSubjectIdType, string?, CancellationToken)

Finds registrations for a data subject.

Task<IReadOnlyList<DataLocationRegistration>> FindRegistrationsForDataSubjectAsync(string dataSubjectId, DataSubjectIdType idType, string? tenantId, CancellationToken cancellationToken)

Parameters

dataSubjectId string

The data subject identifier.

idType DataSubjectIdType

The identifier type.

tenantId string

Optional tenant filter.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<IReadOnlyList<DataLocationRegistration>>

List of matching registrations.

GetDataMapEntriesAsync(string?, CancellationToken)

Gets data map entries for RoPA reporting.

Task<IReadOnlyList<DataMapEntry>> GetDataMapEntriesAsync(string? tenantId, CancellationToken cancellationToken)

Parameters

tenantId string

Optional tenant filter.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<IReadOnlyList<DataMapEntry>>

List of data map entries.

GetDiscoveredLocationsAsync(string, CancellationToken)

Gets all discovered locations for a data subject.

Task<IReadOnlyList<DataLocation>> GetDiscoveredLocationsAsync(string dataSubjectId, CancellationToken cancellationToken)

Parameters

dataSubjectId string

The data subject identifier.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<IReadOnlyList<DataLocation>>

List of discovered locations.