-
Notifications
You must be signed in to change notification settings - Fork 69
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
2.5.0 #751
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 重构: saas 层所有接口后移 - 性能优化: profiles/departments等主体接口 - bugfix: excel导入等
* refactor(api/v2): performance
…693) * refactor(remove): unused codes * refactor(api/login): move into api/login dir
fix(api/permission): 权限中心无权限提示
test(makefile): add makefile support make test
chore(release): update release log
* feat(api/web): add audit log for create/update/delete * fix(local/import): report fail record during import from excel * fix(saas/bugs): fix bugs in the testing * fix(api/ldap): address from ldap://localhost:389 to ldap://127.0.0.1:389 * feat(audit/login): export * docs(api/v2): comment the used api urls * feat(excel/operation): import and export * fix(profile/patch): update lost the extras field * fix(audit/log): decorator make the drf fail
* feat(department/property): add cache in memory for has_children and full_name * perf(home/tree): api performance, use raw json instead serializer * fix(cr/comment): change locmem cache key prefix to bk_user
* fix(api/web): permission return False should raise exception for building iam application * fix(frontend/search_user): update resp.data.data to resp.data.results
style(flake8): lints
Refactor saas
s.save() | ||
|
||
except Exception as e: | ||
print("update local password settings fail: key={}, error={}".format(x["key"], e)) |
Check failure
Code scanning / CodeQL
Clear-text logging of sensitive information
[Sensitive data (password)](1) is logged here.
logger.exception("do proxy error") | ||
return HttpResponse( | ||
status=status.HTTP_500_INTERNAL_SERVER_ERROR, | ||
content=str(e), |
Check warning
Code scanning / CodeQL
Information exposure through an exception
[Stack trace information](1) flows to this location and may be exposed to an external user.
fix(unittest): fix ci failed
fix(unittest): update
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
REFACTOR
OPTIMIZATION