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

18258 auth gcp #2973

Merged
merged 9 commits into from
Aug 20, 2024
Merged

Conversation

pwei1018
Copy link
Collaborator

Issue #:
bcgov/entity#18258

Description of changes:

  • Flask Upgrade to 3
  • poetry
  • Remove sqlcontinuum
  • Remove tracing
  • Remove Sentry
  • Improve logging
  • replace version endpoint to meta/info endpoint
  • Clean environment variables/Config
  • Vault mapping
  • CD flow to GCP
  • Linting
  • Unit Testing
  • Clean up folders and files

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-auth license (Apache 2.0).

@pwei1018 pwei1018 marked this pull request as ready for review August 19, 2024 19:18
@@ -59,7 +62,7 @@
if entity_info:
entity = Entity(**camelback2snake(entity_info))
entity.pass_code = passcode_hash(entity.pass_code)
current_app.logger.debug(f'Creating entity from dictionary {entity_info}')
current_app.logger.debug(f"Creating entity from dictionary {entity_info}")

Check notice

Code scanning / SonarCloud

Logging should not be vulnerable to injection attacks Low

Change this code to not log user-controlled data. See more on SonarCloud
@@ -12,22 +12,26 @@ LABEL org.label-schema.vcs-ref=${VCS_REF} \

USER root

LABEL maintainer="BCROS"
LABEL maintainer="travissemple"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

patrickwei haha

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep your name. lol~

auth-api/README.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@seeker25 seeker25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM skipped over test files as recommended

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
91 Security Hotspots
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@pwei1018 pwei1018 merged commit 9564549 into bcgov:feature-gcp-migration Aug 20, 2024
4 of 6 checks passed
pwei1018 added a commit to pwei1018/sbc-auth that referenced this pull request Aug 29, 2024
pwei1018 added a commit to pwei1018/sbc-auth that referenced this pull request Sep 4, 2024
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