mirror of
https://github.com/storytold/craft-i18n.git
synced 2026-11-28 17:29:14 +01:00
Records why the 3 open SonarCloud issues stay: - pythonsecurity:S8707 (×2), `tools/weblate_bridge.py`: `pr-body <changes>` and `import --changes` read and write a file the maintainer running the tool names, with that maintainer's rights. The import runs outside Actions (see `weblate.yml`), so confining the path to one folder could break that caller. - rust:S2612, `crates/craft-i18n-tests/src/packs.rs`: `0o644` is the mode of the public files in a release language pack (`<locale>.tar.zst`), which every user reads.
14 lines
813 B
Properties
14 lines
813 B
Properties
sonar.projectKey=storytold_craft-i18n
|
|
sonar.organization=storytold
|
|
sonar.coverage.exclusions=**/tools/**,**/docs/**
|
|
|
|
# S8707 (path traversal from CLI arguments): weblate_bridge.py is a maintainer tool; the
|
|
# `--changes` and `pr-body` paths are files its operator names, read or written with the operator's
|
|
# own rights. S2612 (file permissions): 0o644 is the mode of the public files in a release language
|
|
# pack archive, which every user reads.
|
|
sonar.issue.ignore.multicriteria=bridge_paths,pack_mode
|
|
sonar.issue.ignore.multicriteria.bridge_paths.ruleKey=pythonsecurity:S8707
|
|
sonar.issue.ignore.multicriteria.bridge_paths.resourceKey=tools/weblate_bridge.py
|
|
sonar.issue.ignore.multicriteria.pack_mode.ruleKey=rust:S2612
|
|
sonar.issue.ignore.multicriteria.pack_mode.resourceKey=crates/craft-i18n-tests/src/packs.rs
|