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

fix: remove env vars with password #2300

Merged
merged 1 commit into from
Mar 14, 2024
Merged

fix: remove env vars with password #2300

merged 1 commit into from
Mar 14, 2024

Conversation

tedim52
Copy link
Contributor

@tedim52 tedim52 commented Mar 14, 2024

Description

Removes env vars in tests with PASSWORD that git guardian was picking up as secrets.

Is this change user facing?

NO

References (if applicable)

Copy link

gitguardian bot commented Mar 14, 2024

⚠️ GitGuardian has uncovered 5 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
9583343 Triggered Generic Password bcfdaeb core/server/api_container/server/startosis_engine/startosis_interpreter_plan_yaml_test.go View secret
9966505 Triggered Generic Password bcfdaeb core/server/api_container/server/startosis_engine/startosis_interpreter_plan_yaml_test.go View secret
9966505 Triggered Generic Password bcfdaeb core/server/api_container/server/startosis_engine/startosis_interpreter_plan_yaml_test.go View secret
9966505 Triggered Generic Password bcfdaeb core/server/api_container/server/startosis_engine/startosis_interpreter_plan_yaml_test.go View secret
9966505 Triggered Generic Password bcfdaeb core/server/api_container/server/startosis_engine/startosis_interpreter_plan_yaml_test.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!

@tedim52 tedim52 requested a review from leoporoli March 14, 2024 15:47
@leoporoli leoporoli added this pull request to the merge queue Mar 14, 2024
Merged via the queue into main with commit 6646c20 Mar 14, 2024
53 of 54 checks passed
@leoporoli leoporoli deleted the tedi/erasesecrets branch March 14, 2024 16:49
github-merge-queue bot pushed a commit that referenced this pull request Mar 14, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.88.7](0.88.6...0.88.7)
(2024-03-14)


### Bug Fixes

* remove env vars with password
([#2300](#2300))
([6646c20](6646c20))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: kurtosisbot <kurtosisbot@users.noreply.github.com>
tedim52 added a commit that referenced this pull request Mar 21, 2024
## Description

Removes env vars in tests with `PASSWORD` that git guardian was picking
up as secrets.

## Is this change user facing?
NO

## References (if applicable)
tedim52 pushed a commit that referenced this pull request Mar 21, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.88.7](0.88.6...0.88.7)
(2024-03-14)


### Bug Fixes

* remove env vars with password
([#2300](#2300))
([6646c20](5468fb5))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: kurtosisbot <kurtosisbot@users.noreply.github.com>
tedim52 added a commit that referenced this pull request Mar 21, 2024
## Description

Removes env vars in tests with `PASSWORD` that git guardian was picking
up as secrets.

## Is this change user facing?
NO

## References (if applicable)
tedim52 pushed a commit that referenced this pull request Mar 21, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.88.7](0.88.6...0.88.7)
(2024-03-14)


### Bug Fixes

* remove env vars with password
([#2300](#2300))
([6646c20](3f12404))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: kurtosisbot <kurtosisbot@users.noreply.github.com>
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.

2 participants