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
{{ message }}
Repository navigation
Commit 8dde4dd
Browse filesBrowse the repository at this point in the historyBrowse files
Chart each site's risk over time, one line per telemetry source
A site is often watched by more than one scanner: the built-in dynamic scan
and, where it is set up, Rapid7 InsightAppSec, with older runs recorded by
hand. Those readings measure different things and should not be drawn as one
line, so the site page now shows a separate risk trend for each source, built
only once there is a finished scan to plot.
Each point is one scan, oldest on the left, joined into a line. Its height is
a weighted risk worked out from the scan's own finding counts, with the same
per severity weights the grade uses, so every kind of scan lands on one scale
even when only counts came back. The dot takes the color of the scan's worst
finding, and a small bubble above each point carries the scan id so a reading
is easy to pick out; the whole point links to that scan, and hovering it names
the date, the risk and the counts behind it.
The geometry is worked out in the shared chart helper and drawn as inline SVG,
so it needs no page script and reads the same in either theme.
<divclass="faint small risk-trend-note">Each point is one finished scan, oldest on the left. Risk weighs findings by severity: critical 25, high 12, medium 5, low 2. The number in each bubble is the scan id; click a point to open that scan. A dot takes the color of the scan's worst finding.</div>
270
+
</div>
271
+
{% else %}<divclass="empty">No finished scan yet, so there is nothing to trend.</div>{% endif %}
272
+
</div>
273
+
233
274
<divclass="card" data-live="site-scans">
234
275
<divclass="card-head">Dynamic scans
235
276
{% if scan_total %}<spanclass="faint small" style="font-weight:400">{{ scan_total }} in all, newest first</span>{% endif %}</div>
0 commit comments