Be-Secure / BeSman

Command line utility for provisioning customized security environments. This utility comes under the Be-Secure project which is an umbrella of open source security projects, tools, sandbox environments to perform security assessments and secure open source technology stacks
https://be-secure.github.io/Be-Secure/bes-besman-details/
Apache License 2.0
21 stars 19 forks source link

[Bug]: Asking user to download env config file even if it exists in machine when there is missing env configuration #221

Closed asa1997 closed 3 months ago

asa1997 commented 4 months ago

Contribution guidelines

Description

BeSman is asking user to download the environment configuration file even when it already exists in user's machine when there is a missing environment config parameter

Expected behaviour

Should only ask the user to download it when the config file doesnt exists. If it does exist then user should be asked to open it.

Actual behaviour

User is being asked to download it.

Steps to reproduce

  1. install besman.
  2. keep a copy of environment configuration with missing parameter in $HOME
  3. install the environment

Relevant screenshots

image

Possible Solution

Should introduce a condition check.

Additional Information

No response