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(jans-pycloudlib): split google secrets when payload is larger than 65536 bytes #3890

Merged
merged 1 commit into from
Feb 20, 2023

Conversation

iromli
Copy link
Contributor

@iromli iromli commented Feb 20, 2023

Prepare


Description

Target issue

closes #3865

Implementation Details


Test and Document the changes

  • Static code analysis has been run locally and issues have been fixed
  • Relevant unit and integration tests have been added/updated
  • Relevant documentation has been updated if any (i.e. user guides, installation and configuration guides, technical design docs etc)

@iromli iromli requested a review from moabu as a code owner February 20, 2023 14:13
@mo-auto mo-auto added comp-jans-pycloudlib kind-bug Issue or PR is a bug in existing functionality labels Feb 20, 2023
@sonarcloud
Copy link

sonarcloud bot commented Feb 20, 2023

[jans-pycloudlib] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Feb 20, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@2bd7a67). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #3890   +/-   ##
=======================================
  Coverage        ?   67.87%           
=======================================
  Files           ?       30           
  Lines           ?     2403           
  Branches        ?        0           
=======================================
  Hits            ?     1631           
  Misses          ?      772           
  Partials        ?        0           
Flag Coverage Δ
unittests 67.87% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

# Delete the secret.
self.client.delete_secret(request={"name": name})
except NotFound:
logger.warning(f'Secret {self.google_secret_name} does not exist in the secret manager.')

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information

This expression logs [sensitive data (secret)](1) as clear text.
@moabu moabu merged commit a86b098 into main Feb 20, 2023
@moabu moabu deleted the cn-google-secret branch February 20, 2023 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-pycloudlib kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix(jans-pycloudlib): google config/secrets are exceeding max size
3 participants