assets_guardian.core.domain.ports.repository๏ƒ

Classes

IRepository()

Port: Raw data repository access.

class assets_guardian.core.domain.ports.repository.IRepository[source]๏ƒ

Bases: ABC

Port: Raw data repository access.

Defines the contract for retrieving raw data from an external source (API, database, etc.).

abstractmethod get_raw_accesses() Iterable[dict[str, Any]][source]๏ƒ

Retrieves the raw list of accesses/permissions.

abstractmethod get_raw_assets() Iterable[dict[str, Any]][source]๏ƒ

Retrieves the raw list of assets (projects, sites, etc.).

abstractmethod get_raw_users() Iterable[dict[str, Any]][source]๏ƒ

Retrieves the raw list of users.