Hardhat-Enterprises / Deakin-Detonator-Toolkit

Deakin Detonator Toolkit redesign using Tauri, React and Mantine.
11 stars 19 forks source link

641 feature request gitleak tool integration #654

Closed chandelshubham63 closed 2 months ago

chandelshubham63 commented 3 months ago

This PR is for new tool Gitleaks integration in DDT, enhancing security testing capabilities. Gitleaks scans Git repositories for sensitive information leaks, providing crucial insights into potential security risks. The integration allows users to specify the repository path and provides an advanced mode for additional Git log options and report file path customization.

Testing- I tested it and it worked perfectly, ensuring accurate detection of sensitive information leaks.

How to use- To utilize, specify the repository path and optionally provide advanced settings for more detailed control.

michaeljpigott commented 2 months ago

Hey @chandelshubham63

I am getting an error message even though the code has run. The message probably should be "Processed completed successfully". Can you please investigate? image

chandelshubham63 commented 2 months ago

Hi @michaeljpigott, just wanted to clarify that gitleaks typically returns exit code 1 to indicate findings (leaks) in the repository, not necessarily an error. This is part of its normal behavior, as it's designed to alert users about potential sensitive information. So, while the process did complete, the exit code 1 signifies the presence of leaks that require attention rather than an error. Let me know if you have any further questions!