feat(scans): image install names not in the tree are a note
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 10m55s
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 10m55s
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
da11974d97
commit
e4b5e1fe83
2 files changed
+9
-3
No files matched your search
@@ -262,7 +262,7 @@ impl SkipCode {
|
||||
pub fn is_informational(self) -> bool {
|
||||
// An exhaustive match, so a new code has to be classified here.
|
||||
match self {
|
||||
Self::VendorCode | Self::SuppressedInSource => true,
|
||||
Self::VendorCode | Self::SuppressedInSource | Self::NotInTree => true,
|
||||
Self::FeatureDisabled
|
||||
| Self::SubmodulesNotFetched
|
||||
| Self::ToolFailed
|
||||
@@ -426,7 +426,11 @@ mod skipped_stage_tests {
|
||||
|
||||
#[test]
|
||||
fn only_code_exclusions_and_suppressions_are_informational() {
|
||||
let notes = [SkipCode::VendorCode, SkipCode::SuppressedInSource];
|
||||
let notes = [
|
||||
SkipCode::VendorCode,
|
||||
SkipCode::SuppressedInSource,
|
||||
SkipCode::NotInTree,
|
||||
];
|
||||
let skips = [
|
||||
SkipCode::FeatureDisabled,
|
||||
SkipCode::SubmodulesNotFetched,
|
||||
|
||||
@@ -2,9 +2,11 @@
|
||||
"scan_status": "completed",
|
||||
"skipped_stages": [
|
||||
"firmware_sbom",
|
||||
"image_install",
|
||||
"malware"
|
||||
],
|
||||
"notes": [
|
||||
"image_install"
|
||||
],
|
||||
"sbom": [
|
||||
"yocto-recipe:busybox@1.35.0 [in image: pump-image]",
|
||||
"yocto-recipe:libmodbus@3.1.6 [in image: pump-image]",
|
||||
|
||||
Reference in new issue
Block a user