github-advanced-security[bot] commented on code in PR #1139: URL: https://github.com/apache/syncope/pull/1139#discussion_r2213292466
########## core/provisioning-api/src/main/java/org/apache/syncope/core/provisioning/api/IntAttrNameParser.java: ########## @@ -103,11 +107,12 @@ public IntAttrName parse(final String intAttrName, final AnyTypeKind provisionAnyTypeKind) throws ParseException { IntAttrName result = new IntAttrName(); - if (intAttrName.indexOf('.') == -1) { + Matcher matcher = Pattern.compile(END_PATTERN).matcher(intAttrName); + if (!matcher.matches() && !StringUtils.containsAny(intAttrName, RESERVED_WORDS)) { Review Comment: ## Deprecated method or constructor invocation Invoking [StringUtils.containsAny](1) should be avoided because it has been deprecated. [Show more details](https://github.com/apache/syncope/security/code-scanning/2265) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@syncope.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org