https://github.com/defguard/fake-data-generator
Inserts fake data into database (Users, Devices)
https://github.com/defguard/fake-data-generator
Last synced: 4 months ago
JSON representation
Inserts fake data into database (Users, Devices)
- Host: GitHub
- URL: https://github.com/defguard/fake-data-generator
- Owner: DefGuard
- Created: 2022-12-09T13:09:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-03T20:57:50.000Z (about 1 year ago)
- Last Synced: 2025-01-14T04:12:08.902Z (5 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What is this?
This repository contains a python script that generates fake data for Defguard system and inserts it into database. Data
that is generated includes:- Users
- Devices# How do I use it?
```
Usage: main.py [OPTIONS] COMMAND [ARGS]...Options:
--help Show this message and exit.Commands:
insert-devices
insert-users
```To insert users:
```
main.py insert-users postgresql+psycopg2://defguard:defguard@localhost/defguard --count 1000
```To insert devices:
```
main.py insert-devices postgresql+psycopg2://defguard:defguard@localhost/defguard --count 10 --user-id 1
```