The Worlds First All-In-One Cyber Security Suite https://pixelridgesoftworks.com
Go to file
VetheonGames 335cd89ebe Detailed Refactoring of Database Interaction
1. **Refactoring of Database Interaction Methods**
   - Refactored the `store_services` method in the `DatabaseManager` class to handle an array of services instead of a hash. This change was made to simplify the interaction with the database and to avoid unnecessary complexity in the data structure.
   - The `store_services` method now iterates over an array of services and inserts each service into the database with a default status of true. This design choice was made to ensure that all services are active by default.

2. **Modification of Database Schema**
   - Modified the `create_services_table` method in the `DatabaseManager` class to create a table with only two columns: `id` and `services`. This change was made to align the database schema with the new data structure used in the `store_services` method.
   - The `status` column was removed from the `services` table because the status of all services is now assumed to be true by default.

3. **Error Handling and Debugging**
   - Encountered a `Sequel::DatabaseError` with the message "Operand should contain 1 column(s)" during the execution of the `store_services` method. This error was caused by an attempt to insert a hash into a single database column.
   - The error was resolved by refactoring the `store_services` method to handle an array of services instead of a hash.

4. **Unorthodox Design Choices**
   - The decision to use an array of services instead of a hash and to assume that the status of all services is true by default may seem unorthodox. However, these design choices were made to simplify the interaction with the database and to avoid unnecessary complexity in the data structure.
   - These design choices also helped to resolve the `Sequel::DatabaseError` that was encountered during the execution of the `store_services` method.

This commit represents a significant refactoring of the database interaction methods in the NETRAVE project. The changes made in this commit have simplified the interaction with the database and have resolved a `Sequel::DatabaseError` that was encountered during the execution of the `store_services` method.
2023-06-09 19:39:54 -06:00
.github/ISSUE_TEMPLATE Update issue templates 2023-06-05 15:55:10 -06:00
.vscode Detailed Refactoring of Database Interaction 2023-06-09 19:39:54 -06:00
bin Detailed Refactoring of Database Interaction 2023-06-09 19:39:54 -06:00
Glade Enhancing User Experience by Streamlining Database Connection Setup 2023-06-07 13:16:49 -06:00
lib Detailed Refactoring of Database Interaction 2023-06-09 19:39:54 -06:00
Modules Add in module TODOs 2023-06-03 14:48:16 -06:00
TUI Refactoring for Modularity, Code Reuse, and Security Considerations 2023-06-04 14:41:12 -06:00
.gitignore Refactoring and Enhancing Database Management and System Information Gathering 2023-06-05 14:21:29 -06:00
.rubocop.yml Detailed Refactoring of Database Interaction 2023-06-09 19:39:54 -06:00
.ruby-version Detailed Refactoring of Database Interaction 2023-06-09 19:39:54 -06:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2023-06-05 15:42:52 -06:00
CONTRIBUTING.md Create CONTRIBUTING.md 2023-06-05 15:46:49 -06:00
LICENSE Initial commit 2023-06-03 10:24:08 -06:00
README.md Update README.md 2023-06-05 16:03:17 -06:00
SECURITY.md Create SECURITY.md 2023-06-05 15:48:41 -06:00
TODO.md Update TODO.md 2023-06-07 13:26:16 -06:00

NETRAVE: Network Environment for Threat Response and Advanced Vulnerability Extermination

Come chat with us on Discord

Table of Contents

  1. Introduction
  2. About NETRAVE
  3. About the Developer
  4. Technical Overview
  5. Modular Design
  6. Contributing
  7. Contact
  8. Conclusion

Introduction

Welcome to NETRAVE, a cybersecurity solution designed to provide a high level of security, vigilance, and response to threats, ensuring that network environments remain secure and resilient. This README provides a comprehensive overview of the software, its purpose, functions, objectives, and unique methods of handling issues/challenges.

About NETRAVE

NETRAVE is an acronym for Network Environment for Threat Response and Advanced Vulnerability Extermination. It is a modular cybersecurity software that aims to provide a high level of security, vigilance, and response to threats, ensuring that network environments remain secure and resilient.

About the Developer

Connor Crawford, also known as Vetheon, is currently the only developer behind NETRAVE. With over 8 years of experience in the private sector, Connor has a wealth of knowledge and expertise in software development, particularly in the realm of cybersecurity. Recognizing the need for more transparency and open-source solutions in cybersecurity, he began producing open-source software, with NETRAVE being one of his first flagship projects and his first ever large project written in Ruby.

Technical Overview

NETRAVE is designed with a modular architecture, which allows for easy customization, upgrades, and maintenance. Each module in NETRAVE is designed to perform a specific function, and they can work independently or in harmony, depending on the needs of the user.

The software is built using Ruby, a high-level, interpreted programming language that emphasizes simplicity and productivity. Ruby's dynamic typing and object-oriented design make it an ideal choice for a modular system like NETRAVE.

Modular Design

The modular design of NETRAVE is one of its key features. Each module is designed to perform a specific function, and they can work independently or in harmony, depending on the needs of the user. This design allows for easy customization, upgrades, and maintenance.

The modular design also allows for easy expansion. New modules can be added to the system as needed, providing additional functionality without disrupting the existing system. This flexibility makes NETRAVE a scalable solution that can adapt to the changing needs of a network environment.

Contributing

NETRAVE is an open-source project, and contributions are welcome. If you're interested in contributing, please fork the repository and make your changes. Once you're done, submit a pull request. All contributions, no matter how small, are greatly appreciated.

If you're looking for something to do, you can have a look in our TODO List

Contact

Connor is always open to receiving questions. If you have any questions, suggestions, or just want to say hi, you can reach him at vetheon@pixelatedstudios.net or on discord via VetheonGames#0001.

Conclusion

NETRAVE is a robust, modular cybersecurity solution that provides a high level of security, vigilance, and response to threats. Its open-source nature and modular design make it a flexible and adaptable solution that can meet the changing needs of any network environment. Whether you're a network administrator looking for a comprehensive security solution, or a developer interested in contributing to an open-source project, NETRAVE has something to offer you.