gnodet-bot commented on code in PR #30332:
URL: https://github.com/apache/camel/pull/30332#discussion_r4625976393


##########
docs/user-manual/modules/ROOT/pages/security-policy.adoc:
##########
@@ -37,6 +37,13 @@ an option that merely has the same name as an insecure 
option of another compone
 camel-hivemq) is not flagged. Any other property (such as 
`camel.ssl.trustAllCertificates`) is checked by the
 option name.
 
+With camel-main and the Camel CLI, the properties of the beans that route 
files define (the `beans` section of a YAML
+or XML DSL file, and the beans of a Spring XML or Blueprint XML file) are 
checked once the routes are loaded, under the
+key of a bean configured from properties: `camel.beans.<name>.<property>`, 
such as `camel.beans.opaPolicy.failOpen`.
+The same key goes in `camel.security.allowedProperties` to allow one of them. 
Camel Spring Boot checks the
+configuration properties only, not the beans of route files. The options set 
in the endpoint URIs of the routes are
+not checked.

Review Comment:
   💡 **Nit (still open):** The sentence reads as a bare limitation statement. 
Clarify that endpoint URI options are outside the scope of _this_ policy (they 
are enforced at the component level):
   
   ```suggestion
   configuration properties only, not the beans of route files. The options set 
in the endpoint URIs of the routes are
   not checked by this policy (they are validated at the component level 
instead).
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to