mark_code_scan_finding_treated
Record that a hardcoded string has been internationalized: mark ONE finding treated and store the key you created for it. Call this ONLY after the key really exists and the source actually renders it through the i18n runtime: this tool writes the audit trail, it does not create the key and does not touch the code. key is the key you created, namespace-qualified (e.g. common:app.save). Idempotent: re-marking an already-treated finding just returns it. Addresses the finding by its uuid from list_code_scan_findings. An unknown finding is refused rather than silently ignored.
Parameters
Section titled “Parameters”| Name | Type | Description | |
|---|---|---|---|
project_uuid | string | optional | Project UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise. |
finding_id | string | required | The finding's uuid, as returned by list_code_scan_findings. |
key | string | required | The key that now carries this string, namespace-qualified (e.g. common:app.save). Recorded as treated_key. |
Example
Section titled “Example”{ "tool": "mark_code_scan_finding_treated", "arguments": { "finding_id": "<finding_id>", "key": "<key>" }}