Skip to content

Conversation

@MatejNedic
Copy link
Member

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

#302

💡 Motivation and Context

💚 How did you test it?

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • I updated reference documentation to reflect the change
  • All tests passing
  • No breaking changes

🔮 Next steps

@github-actions github-actions bot added component: parameter-store Parameter Store integration related issue component: secrets-manager Secrets Manager integration related issue labels Apr 9, 2022
* Pattern used for prefix validation.
*/
private static final Pattern PREFIX_PATTERN = Pattern.compile("(/)?([a-zA-Z0-9.\\-]+)(?:/[a-zA-Z0-9]+)*");
private static final Pattern PREFIX_PATTERN = Pattern.compile("(/)?([a-zA-Z0-9.\\-]+)(?:/[a-zA-Z0-9.\\-]+)*");
Copy link
Contributor

Choose a reason for hiding this comment

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

I am wondering if it couldn't be simply [a-zA-Z0-9.\-/]+..?

@maciejwalkowiak maciejwalkowiak changed the title Improve validation prefix logging Relax prefix validation rules in Parameter Store and Secrets Manager Apr 10, 2022
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

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

No Coverage information No Coverage information
3.2% 3.2% Duplication

@maciejwalkowiak maciejwalkowiak added this to the 2.4.1 milestone Apr 10, 2022
@maciejwalkowiak maciejwalkowiak merged commit f034d79 into 2.4.x Apr 10, 2022
@maciejwalkowiak maciejwalkowiak deleted the improve-logging-when-validation-fails branch April 10, 2022 09:04
padilo pushed a commit to padilo/spring-cloud-aws that referenced this pull request May 2, 2022
…wspring#303)

Fixes awspring#302 
Co-authored-by: Maciej Walkowiak <walkowiak.maciej@yahoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: parameter-store Parameter Store integration related issue component: secrets-manager Secrets Manager integration related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants