Harden daily workflows and simplify the public docs - #7
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a0dc7f7430
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| foreach (var listener in listeners | ||
| .Where(listener => !coveredListeners.Contains(listener)) | ||
| .OrderBy(static listener => listener.Key, StringComparer.Ordinal)) | ||
| if (selectionMode == VulnerabilitySelectionMode.ExactListeners) |
There was a problem hiding this comment.
Treat unscannable container mappings as incomplete
In scan --all --fail-on ..., a listener with container exposure whose ImageId is null or fails the immutable-ID check is now silently omitted because only ExactListeners emits unresolved subjects. If any other image scans successfully, subjects.Count is nonzero and Summary.IsComplete can become true, allowing the vulnerability gate to pass despite a selected Docker mapping that was never scanned. Preserve an incomplete subject/diagnostic for container exposures rejected by this filter while continuing to ignore genuinely unrelated native listeners.
Useful? React with 👍 / 👎.
What changed
scan --allevaluate every mapped immutable Docker image without failing on unrelated native listenerslock --allow-weak-ownerpolicy for standard-user baselines, while keeping unknown owners and evidence regressions fail-closedWhy
Normal standard-user hosts could not create a useful full-host baseline, and the advertised all-listener vulnerability gate failed whenever native listeners were present. Helper discovery also relied on ambient executable/module search paths. The public README had grown into an internal design record instead of a practical project page.
Validation
scan --all --fail-on high