davsclaus opened a new pull request, #30732: URL: https://github.com/apache/camel/pull/30732
_Claude Code on behalf of davsclaus_ JIRA: https://issues.apache.org/jira/browse/CAMEL-27096 `CyberArkVaultConfiguration.verifySsl` defaults to `true`, but the camel-main metadata documented `camel.vault.cyberark.verifySsl` with default `false`. The field had a bare `@Metadata`, and `PrepareCamelMainMojo` takes the default from the annotation. The option had no `insecure:ssl` marker either. The runtime behaviour does not change: verification was always on by default. ## Changes - `CyberArkVaultConfiguration` (camel-api): `@Metadata(defaultValue = "true", security = "insecure:ssl", insecureValue = "false")` on `verifySsl`. It is the only vault option with this problem: the other initialized fields of the vault configurations already have a `defaultValue`. - `PrepareCamelMainMojo`: read `insecureValue` from `@Metadata` (and from the bean JSON of the cluster services). Before, it was dropped, so the option would have been written to `SecurityUtils` as insecure when `true`. - Regenerated `camel-main-configuration-metadata.json` and `main.adoc` in camel-main (with the patched plugin), and copied them into the catalog. - Regenerated `SecurityUtils`: it now has the key `camel.vault.cyberark.verifyssl` with the insecure value `false`. It was generated by running only the `update-sensitive-helper` goal against the committed catalog JSON. Before, the option only matched by its name `verifyssl`, through the `cyberark-vault` and `ibm-watsonx-ai` components. ## Tests - `PrepareCamelMainMojoTest`: a new field in `MyConfiguration` checks that the default, the security category and the insecure value come from `@Metadata`. - `SecurityUtilsTest`: `camel.vault.cyberark.verifySsl` is insecure when `false` and not when `true`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
