/devops-skills:image-scanningfrom devops-skills
Scans container images for CVEs, misconfigurations, and embedded secrets in CI pipelines. Gates builds on severity and exploitability, distinguishes fixable findings from noise, and tracks base image freshness.
Ships in devops-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A scanner that reports everything is indistinguishable from one that reports nothing — teams stop reading a 400-line CVE list after the first week. The job of scanning is not to find every issue, it's to find the ones worth someone's attention and force a decision on them before the image ships.
A finding without a decision (fix, accept, or block) is just noise with a CVE number attached.
A scan that runs only against images already sitting in the registry catches problems after they've potentially been deployed. Scan in the CI pipeline immediately after build, before push, so a critical finding blocks promotion rather than triggering a retroactive scramble. Also re-scan images already in the registry periodically — a base image with zero known CVEs today can have a new one disclosed next week against the same digest, so freshness at build time is not sufficient on its own.
Done when: every image is scanned before it is pushed to a registry other images pull from.
Blocking a deploy on every CVE, including ones with no known exploit and no reachable code path, trains engineers to route around the scanner rather than fix things. Set a gate policy by severity (block critical and high with a known fix available, warn on medium, log low) and by whether the vulnerable package is actually reachable at runtime — a CVE in an unused transitive dependency is a different risk than one in your entry point.
| Severity | Fix available | Action |
|---|---|---|
| Critical/High | Yes | Block the build |
| Critical/High | No | Warn, track, time-box a decision |
| Medium/Low | Either | Log, review on a cadence |
Done when: the pipeline's block/warn behavior matches a written policy, not an ad hoc threshold someone picked once.
A finding with no available patched version is not actionable today no matter how severe it is — flagging it the same way as a one-line dependency bump wastes triage time. Sort findings by "upgrade available" first; those are cheap wins. For the rest, check whether the vulnerable code path is reachable at all — many scanners can filter to only what's actually imported or invoked, cutting a long CVE list down to the handful that matter. Suppress the remainder with a documented, expiring exception, not a silent ignore rule that nobody revisits.
Done when: every suppressed finding has a documented reason and a review date.
Most CVEs found in a scan trace back to an outdated base image, not application code — rebuilding against a refreshed base silently fixes a large fraction of findings without touching a line of your own code. Automate base image bumps (Renovate, Dependabot, or a scheduled rebuild job) so the image is never more than a few weeks stale, rather than waiting for a scan failure to prompt an update.
Done when: the base image digest in use is never more than the team's agreed staleness window behind upstream.
A vulnerability scanner and a secret scanner look for different things and most tools need both
enabled explicitly. A committed API key or private key baked into a layer is a more immediate risk
than most CVEs, and it survives even a later RUN rm (see containerization on why). Run
secret-detection as part of the same pipeline step, and treat any hit as an automatic block plus
a credential rotation, not just a finding to triage.
Done when: the scan pipeline checks for embedded secrets in addition to package vulnerabilities, and a hit blocks the build.
A scan result that lives only in a CI log disappears the moment anyone asks "was this image
scanned before it deployed six weeks ago." Attach scan results and pass/fail status to the image
as attestations or in an artifact store tied to the image digest, so provenance and audit
questions can be answered later. Broader supply-chain provenance and signing live in
supply-chain-security and container-registry; this step is only about not losing the scan
evidence you already generated.
Done when: a scan result for any deployed image digest can be retrieved after the fact.
State which scanner and policy gated the build, the count of critical/high findings with fixes available versus without, and whether secret scanning ran. Name any suppressed finding still outstanding and its review date — an unreviewed suppression is the honest gap, not a clean-looking pass/fail.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
container-security, cve-scanning, pipeline-gating, trivy, grype, snyk
npx claudepluginhub arjunprabhulal/devops-skills --plugin devops-skills88 skills in this plugin
/alertingCovers designing alerts that page a human only when a human needs to act — symptom-based alerting over cause-based, multi-window burn-rate alerts on error budgets, severity tiers that route between page/ticket/dashboard, requiring every page to link a runbook, and tuning out alert fatigue. Use this whenever the user is writing a new alert rule, asking why on-call is paged too often or missing real incidents, choosing an alert threshold, or designing severity routing. For the SLO the burn-rate math comes from use `slo-definition`, and for what a runbook should contain use `runbooks`./api-gatewayCovers the managed front-door pattern for APIs — request routing, centralized auth, rate limiting and quotas, request/response shaping, and recognizing when a gateway helps versus becomes a bottleneck or single point of failure. Use this whenever the user is designing an API entry point, adding rate limits or quotas, centralizing auth for several backend services, transforming a request between an external and internal contract, or debugging a gateway timeout. For east-west traffic between internal services use `service-connectivity`, and for token issuance details use `iam-access-management`./argocd-operationsCovers running Argo CD day to day — structuring app-of-apps, choosing sync policies and waves, reading health versus sync status correctly, and unsticking a degraded or hung Application. Use this whenever the user mentions Argo CD, an Application stuck "Progressing" or "OutOfSync," app-of-apps or ApplicationSets, sync waves and hooks, or asks why a deploy shows synced but the workload is unhealthy. For the underlying model this tool implements use `gitops`; for automated canary analysis on top of it use `progressive-delivery`; for the workloads it manages use `kubernetes-operations`.