feat(mobile): legacy Android and Unity builds flagged, not resolved; Android found everywhere
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 7m43s
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 7m43s
The first pilot scan of an Android + Unity repository on prod showed: the two Android apps were not recognised, Unity was typed as a desktop app, and the SBOM was empty without saying why. - Classification: every AndroidManifest.xml outside test folders is an Android module: Gradle's src/main, an Eclipse/ADT project's root, a Unity project's Assets/Plugins/Android. #449 counted only src/main and the repository root, so the ADT apps (and with #458 the target type) were missed. - build-lifecycle (new, like dotnet-lifecycle; CWE-1104, medium): - legacy-build-system-no-sbom for an ADT project (properties file, no Gradle) and a Unity project without Packages/manifest.json; the remedy is migrating the build. Bound to cra-ai-23. - android-sdk-end-of-support for target=android-N below 29. - unity-editor-end-of-support, judged conservatively (before 2021, and the 2021-2023 tech streams). Both bound to cra-ai-22. Such builds are not resolved (decided: flag, do not support); they also record a skipped sbom_dependencies stage, so the SBOM requirements read "Nicht bewertet" instead of clean. - Unity SBOM: the editor version, and for modern projects the packages in Packages/packages-lock.json (else manifest.json); listed as not matched for CVEs (no advisory database covers Unity). - A syft failure is no longer silent: a skipped `sbom` stage (tool syft), so the SBOM requirements are not assessed; syft gets 10 minutes. Nightly fixture mobile-legacy-adt-unity in the pilot's shape. 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:
1 parent
0da96110c3
commit
5a71bc2ea2
24 files changed
+836
-28
No files matched your search
@@ -729,6 +729,21 @@
|
||||
"dotnet-framework-end-of-support"
|
||||
],
|
||||
"check": "Components must still receive security updates; a project targeting a .NET or .NET Framework version past Microsoft's end of support violates it."
|
||||
},
|
||||
{
|
||||
"tool": "build-lifecycle",
|
||||
"scan_type": "sbom",
|
||||
"languages": [
|
||||
"java",
|
||||
"kotlin",
|
||||
"csharp"
|
||||
],
|
||||
"cwe": [],
|
||||
"rules": [
|
||||
"android-sdk-end-of-support",
|
||||
"unity-editor-end-of-support"
|
||||
],
|
||||
"check": "The platform a product is built for must still receive security updates; an Android API level or a Unity editor release out of support violates it."
|
||||
}
|
||||
],
|
||||
"note": null,
|
||||
@@ -744,6 +759,20 @@
|
||||
"languages": [],
|
||||
"cwe": [],
|
||||
"rules": []
|
||||
},
|
||||
{
|
||||
"tool": "build-lifecycle",
|
||||
"scan_type": "sbom",
|
||||
"languages": [
|
||||
"java",
|
||||
"kotlin",
|
||||
"csharp"
|
||||
],
|
||||
"cwe": [],
|
||||
"rules": [
|
||||
"legacy-build-system-no-sbom"
|
||||
],
|
||||
"check": "The product's components must be declared in a machine-readable form an SBOM can be built from; a build system that declares none (Eclipse/ADT, Unity without its package manifest) violates it."
|
||||
}
|
||||
],
|
||||
"note": null,
|
||||
|
||||
Reference in new issue
Block a user