fix(eol): the minimum OS an app installs on stays low until its severity is decided
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 9m10s

ios-deployment-target- and android-min-sdk-end-of-support flag the oldest OS
an app still installs on, not an end-of-life component it ships or builds
with; they keep their previous severity (low) pending a product decision.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
This commit is contained in:
Sharang ParnerkarandClaude Opus 5.5 committed 2026-10-09 21:18:56 +02:00
1 parent 5ca4eb4462
commit e84910d272
1 file changed
+11 -4
@@ -304,7 +304,7 @@ fn ios_deployment_target(
also runs on current iOS releases."
),
remediation,
severity: Severity::High,
severity: Severity::Low,
cwe: "CWE-1104",
path,
line: Some(line),
@@ -355,7 +355,7 @@ fn unity_platform_hits(root: &Path, project: &Path) -> Vec<Hit> {
),
remediation: "Raise the Minimum API Level in the Player Settings (Android) to a \
supported Android release, and test on it.",
severity: Severity::High,
severity: Severity::Low,
cwe: "CWE-1104",
path,
line: Some(setting.line),
@@ -467,14 +467,21 @@ mod tests {
}
/// The hits as `rule path:line`; every end-of-support hit is high, like
/// every other end-of-life finding.
/// every other end-of-life finding, except the minimum OS an app still
/// installs on, which stays low until that severity is decided.
fn hits(t: &Tree) -> Vec<String> {
let found = check_tree(&t.0);
for hit in found
.iter()
.filter(|h| h.rule_id.ends_with("-end-of-support"))
{
assert_eq!(hit.severity, Severity::High, "{}", hit.rule_id);
let expected = match hit.rule_id {
"ios-deployment-target-end-of-support" | "android-min-sdk-end-of-support" => {
Severity::Low
}
_ => Severity::High,
};
assert_eq!(hit.severity, expected, "{}", hit.rule_id);
}
found
.into_iter()