You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(hover): display vulnerability summary on hover for images and layers (#21)
This introduces on-hover vulnerability summaries for Docker images
and individual layers, providing immediate feedback directly in the
editor.
Previously, diagnostics would flag that vulnerabilities were present,
but offered no details on the affected packages, their severities, or
available fixes. This forced users to leave their editor and consult
external tools to understand the security risks.
With this change, developers can now hover over a scanned image or a
`Dockerfile` instruction to see a concise summary, including severity
breakdowns and fixable packages. This provides the actionable context
needed to assess security impact and begin remediation without
interrupting the development workflow.
Sysdig LSP provides on-demand vulnerability explanations directly in your editor. After running a scan on an image (e.g., base image, Docker Compose service), you can hover over the image name to see a detailed summary of the scan results.
4
+
5
+
This feature allows you to quickly assess the security posture of an image without leaving your code, displaying information such as total vulnerabilities, severity breakdown, and fixable packages in a convenient tooltip.
6
+
7
+

8
+
9
+
## How It Works
10
+
11
+
1.**Run a Scan**: Use a code action or code lens to scan an image in your `Dockerfile` or `docker-compose.yml`.
12
+
2.**Hover to View**: Move your cursor over the image name you just scanned.
13
+
3.**Get Instant Feedback**: A tooltip will appear with a formatted Markdown summary of the vulnerabilities found.
14
+
15
+
This provides immediate context, helping you decide whether to update a base image or investigate a specific package.
0 commit comments