Privacy redaction, waiver file, cache correctness, and slim core install#156
Merged
Conversation
Dependency ReviewThe following issues were found:
License Issuesrequirements.txt
setup.py
OpenSSF ScorecardScorecard details
Scanned Files
|
Output polish: image-only runs get the correct AI hint, waived findings are surfaced in the terminal summary, --json, and HTML report, the HTML report gains a score rating badge and a "Fixed In" column, and the Trivy spinner no longer garbles CI logs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This release hardens DockSec for team and CI adoption across seven areas:
Secret-looking values in Dockerfiles and compose files are now masked before any content is sent to an LLM provider (on by default, --no-redact to opt out), and the README documents exactly what leaves the machine.
AI analysis input limits raised from 50 lines / 2,000 chars to 400 / 16,000 (compose 600 / 24,000), with an explicit warning whenever input is truncated.
The base install is now a slim, scan-only core with no LLM dependencies; AI analysis is installed via pip install "docksec[ai]". Unused dependencies (pandas, tqdm, tenacity) removed and pins relaxed to compatible ranges.
Scan cache is keyed by image content digest and Dockerfile content hash, so rebuilt tags and changed Dockerfiles never serve stale results; entries expire after 24 hours; new --no-cache flag.
New ignore file (--ignore-file, auto-detected .docksec-ignore.yml) for auditable, per-finding waivers with reasons and expiry dates, honored by scoring, reports, --json, and --fail-on.
Compose rules tuned to cut alert fatigue: the port rule flags only sensitive ports and now catches bare container-port entries that bind 0.0.0.0; three boilerplate rules demoted in severity.
Version bumped to 2026.7.4; Action examples pinned to a release tag.