Skip to content

Latest commit

 

History

History
83 lines (47 loc) · 5.16 KB

File metadata and controls

83 lines (47 loc) · 5.16 KB
graph LR
    Documentation_Ingestion_Orchestrator["Documentation Ingestion Orchestrator"]
    Documentation_Fetcher["Documentation Fetcher"]
    Link_Extractor["Link Extractor"]
    Data_Transformation_Utilities["Data Transformation Utilities"]
    Configuration_Loader["Configuration Loader"]
    IAM_Data_Store["IAM Data Store"]
    Documentation_Ingestion_Orchestrator -- "calls" --> Documentation_Fetcher
    Documentation_Ingestion_Orchestrator -- "utilizes" --> Data_Transformation_Utilities
    Documentation_Ingestion_Orchestrator -- "persists data to" --> IAM_Data_Store
    Documentation_Ingestion_Orchestrator -- "consumes configuration from" --> Configuration_Loader
    Documentation_Fetcher -- "calls" --> Link_Extractor
    Documentation_Fetcher -- "provides data for" --> Documentation_Ingestion_Orchestrator
    Data_Transformation_Utilities -- "outputs structured data to" --> Documentation_Ingestion_Orchestrator
Loading

CodeBoardingDemoContact

Details

The IAM Data Management subsystem is responsible for the complete lifecycle management of the internal AWS IAM data store. This encompasses the ingestion of raw AWS documentation, its parsing, and the subsequent population and updating of the local database with critical information such as service details, actions, ARNs (Amazon Resource Names), and condition keys. The core functionality of this subsystem is primarily encapsulated within the policy_sentry.shared.awsdocs and policy_sentry.shared.data modules.

Documentation Ingestion Orchestrator

The primary entry point and coordinator for the entire data ingestion process. It manages the flow from fetching raw data to persisting processed information into the IAM Data Store.

Related Classes/Methods:

Documentation Fetcher

Manages the acquisition, downloading, and local caching of raw AWS IAM HTML documentation files from AWS sources.

Related Classes/Methods:

Link Extractor

Extracts relevant documentation page links from the base AWS IAM documentation page, guiding the Documentation Fetcher to specific service documentation.

Related Classes/Methods:

Data Transformation Utilities

A collection of helper functions dedicated to cleaning, parsing, and normalizing the raw HTML documentation into structured data, identifying services, actions, ARNs, and condition keys.

Related Classes/Methods:

Configuration Loader

Loads custom configuration, such as access level overrides, from YAML files. This configuration influences how the raw documentation is processed and how data is ultimately stored.

Related Classes/Methods:

IAM Data Store

Defines the schema for the internal IAM data store and provides the interface for storing, retrieving, and managing the processed IAM data. It acts as the persistence layer for the subsystem.

Related Classes/Methods: