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

[Backport 2.3] Username validation for special characters (#2277) #2333

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

rutuja-amazon
Copy link
Contributor

Description

Username validation for special characters (#2277)

  • Only prevent user creation on colon characters, separate out tests

Signed-off-by: Rutuja Surve [email protected]
Signed-off-by: Rutuja Surve [email protected]
Signed-off-by: Peter Nied [email protected]
Co-authored-by: Peter Nied [email protected] (cherry picked from commit efbc48b)

@codecov-commenter
Copy link

codecov-commenter commented Dec 13, 2022

Codecov Report

Merging #2333 (6010ac4) into 2.3 (c23950d) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##                2.3    #2333   +/-   ##
=========================================
  Coverage     61.02%   61.02%           
- Complexity     3228     3229    +1     
=========================================
  Files           256      256           
  Lines         18075    18081    +6     
  Branches       3225     3226    +1     
=========================================
+ Hits          11030    11034    +4     
- Misses         5467     5468    +1     
- Partials       1578     1579    +1     
Impacted Files Coverage Δ
...security/dlic/rest/api/InternalUsersApiAction.java 83.78% <100.00%> (+1.43%) ⬆️
...ecurity/configuration/ConfigurationRepository.java 72.13% <0.00%> (-2.19%) ⬇️
...a/org/opensearch/security/tools/SecurityAdmin.java 35.75% <0.00%> (-0.25%) ⬇️
...nsearch/security/dlic/rest/api/AuditApiAction.java 68.08% <0.00%> (+4.25%) ⬆️
...ecurity/configuration/StaticResourceException.java 25.00% <0.00%> (+25.00%) ⬆️

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

@peternied peternied merged commit 9cb1d42 into opensearch-project:2.3 Dec 13, 2022
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