Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marged refactoring #86

Open
wants to merge 74 commits into
base: git-sensor-sync
Choose a base branch
from
Open

Conversation

ShashwatDadhich
Copy link
Contributor

No description provided.

Copy link

gitguardian bot commented Feb 5, 2024

⚠️ GitGuardian has uncovered 32 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
9190503 Triggered Username Password cbd5a5d pkg/git/RepositoryManagerIT_test.go View secret
9190503 Triggered Username Password 51743fc pkg/git/RepositoryManagerIT_test.go View secret
9190503 Triggered Username Password ab22c47 pkg/git/RepositoryManagerIT_test.go View secret
9190503 Triggered Username Password e8a34c6 pkg/git/RepositoryManagerIT_test.go View secret
6669478 Triggered PGP Private Key e9f636f vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669478 Triggered PGP Private Key 586efbd vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669478 Triggered PGP Private Key 9ffc8e7 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669478 Triggered PGP Private Key 87ebad5 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669479 Triggered PGP Private Key e9f636f vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669479 Triggered PGP Private Key 586efbd vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669479 Triggered PGP Private Key 9ffc8e7 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669479 Triggered PGP Private Key 87ebad5 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669480 Triggered PGP Private Key e9f636f vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669480 Triggered PGP Private Key 586efbd vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669480 Triggered PGP Private Key 9ffc8e7 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669480 Triggered PGP Private Key 87ebad5 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669481 Triggered PGP Private Key e9f636f vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669481 Triggered PGP Private Key 586efbd vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669481 Triggered PGP Private Key 9ffc8e7 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669481 Triggered PGP Private Key 87ebad5 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669482 Triggered PGP Private Key e9f636f vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669482 Triggered PGP Private Key 586efbd vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669482 Triggered PGP Private Key 9ffc8e7 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669482 Triggered PGP Private Key 87ebad5 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669483 Triggered PGP Private Key e9f636f vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669483 Triggered PGP Private Key 586efbd vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669483 Triggered PGP Private Key 9ffc8e7 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669483 Triggered PGP Private Key 87ebad5 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669484 Triggered PGP Private Key e9f636f vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669484 Triggered PGP Private Key 586efbd vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669484 Triggered PGP Private Key 9ffc8e7 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
6669484 Triggered PGP Private Key 87ebad5 vendor/github.com/ProtonMail/go-crypto/openpgp/keys_test_data.go View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

adi6859 and others added 10 commits February 6, 2024 17:39
* adding git commit message truncation logic for large messages

* first commit draft

* cleaning dead code

* added commit count

* fix git format in cmd

* added interfaces

* comments

* removing output

* minor restructuring

* removing deuplicacy for OpenNewRepo

* changes

* fixes

* wire

* old story refactor

* fixes for IT tests

* cleaning

* refactorings

* minor

* test fixes

* test fixes

* test fixes

* PR comments

* removing old changes

* cleaning up

* wire

* minor changes

* added comments on interface methods

* next error handling

* added timeout and context in one flow

* added timeouts

* remaning flows

* minor changes

* renaming to gitCtx

* added command timeout

* added command timeout

* moving cancel defer in poller

* renaming

* added command level timeouts

* fix

* minor

* removing process timeout

* refactoring

* cli for analytics

* changes

* changes

* minor

* adding gogit timeout

* debugging

* testing fix

* fixes

* fixes

* minor refactor

* pr comments

* fixed it tests

* common-lib upgrade

* common lib from main

* fixes-be

* adding support for last seen hash

* fix for history being overwritten

* fixing for empty history

* changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants