How denaxlare/projeto_sprint_1 works
This is a small interactive asset and vulnerability management CLI. A user enters through the main menu to register, consult, update, or remove assets, and to manage vulnerabilities associated with an asset; the application loads state at startup and saves it on exit. Runtime state and enums live in one module, while persistence serializes them to dados.json. The graph reflects the sampled source; no README documentation was provided.
Main entry points: main.py Main menu · modelos.py Enums and state · ativos.py Asset management · vulnerabilidades.py Vulnerability management
Components 8
CLI application
- Main menu
sprint1/main.py
Domain management
- Asset management
sprint1/ativos.py - Vulnerability management
sprint1/vulnerabilidades.py - Input helpers
sprint1/auxiliares.py
State and persistence
- Enums and state
sprint1/modelos.py - JSON persistence
sprint1/persistencia.py
Other components
- User
- dados.json
dados.json
Connections 11
- User → Main menu: chooses actions
- Main menu → Asset management: dispatches asset actions
- Main menu → Vulnerability management: dispatches vulnerability actions
- Main menu → JSON persistence: loads at startup; saves on exit
- Asset management → Input helpers: uses input selection
- Vulnerability management → Input helpers: selects responsible assets
- Asset management → Enums and state: reads and updates state
- Vulnerability management → Enums and state: reads and updates state
- Input helpers → Enums and state: reads asset state
- JSON persistence → Enums and state: loads and saves state
- JSON persistence → dados.json: reads and writes