[ 
https://issues.apache.org/jira/browse/CAMEL-24791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Cosentino updated CAMEL-24791:
-------------------------------------
    Fix Version/s: 4.23.0

> camel-slack: use obvious placeholders for webhookUrl and token in the 
> component documentation
> ---------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-24791
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24791
>             Project: Camel
>          Issue Type: Task
>          Components: camel-slack
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 4.23.0
>
>
> h3. Summary
> The Spring XML sample in 
> {{components/camel-slack/src/main/docs/slack-component.adoc}} uses credential 
> values that look like real ones rather than obvious placeholders:
> * {{webhookUrl}} has the exact shape of a live Slack incoming webhook (team 
> id / bot id / 24-character secret).
> * {{token}} uses the {{xoxb-}} prefix with digit runs.
> The webhook value dates back to CAMEL-9541 and is almost certainly long dead, 
> but its shape means secret scanners flag it and readers may copy it verbatim 
> instead of substituting their own value.
> h3. Proposal
> Replace both with unmistakable placeholders so the sample reads as something 
> the user must fill in. Also update the mirrored copy under 
> {{catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/slack-component.adoc}}
>  so the uncommitted-changes check stays green.
> Documentation only; no code change.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to