Skip to content

Repository files navigation

Data Generator

This project generates synthetic data for enterprise application management, including locations, applications, application usage, and information flows. The generated data is saved as CSV files.

Features

  • Generates random locations, applications, application usage, and information flows
  • Uses the Faker library for realistic fake data
  • Outputs four CSV files:
    • eam_locations.csv
    • eam_applications.csv
    • eam_application_usage.csv
    • eam_information_flows.csv
  • Each run prints a summary of generated records and the output files

Requirements

Installation

pip install -r requirements.txt

Usage

Run the data generator script:

python data_generator.py

The generated CSV files will appear in the same directory.
After completion, the script prints a summary like:

--- Generation Complete ---
Generated <locations> locations.
Generated <applications> applications.
Generated <application usage entries> application usage entries.
Generated <information flows> information flows.
CSV files created: eam_locations.csv, eam_applications.csv, eam_application_usage.csv, eam_information_flows.csv

Configuration

You can adjust the number of applications, locations, and information flows by editing the configuration variables at the top of data_generator.py:

  • NUM_APPLICATIONS
  • NUM_LOCATIONS
  • AVG_LOCATIONS_PER_APP
  • NUM_INFORMATION_FLOWS

Output

  • eam_locations.csv: List of generated locations with region, country, and city.
  • eam_applications.csv: List of applications with details like name, description, criticality, and vendor.
  • eam_application_usage.csv: Links applications to locations with user counts.
  • eam_information_flows.csv: Simulated information flows between applications, including flow name, description, frequency, protocol, and sensitivity.

License

This project is provided for demonstration and testing purposes.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages