commit
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
# Feedser GHSA Connector – Operations Runbook
 | 
			
		||||
 | 
			
		||||
_Last updated: 2025-10-12_
 | 
			
		||||
_Last updated: 2025-10-16_
 | 
			
		||||
 | 
			
		||||
## 1. Overview
 | 
			
		||||
The GitHub Security Advisories (GHSA) connector pulls advisory metadata from the GitHub REST API `/security/advisories` endpoint. GitHub enforces both primary and secondary rate limits, so operators must monitor usage and configure retries to avoid throttling incidents.
 | 
			
		||||
@@ -114,3 +114,10 @@ When enabling GHSA the first time, run a staged backfill:
 | 
			
		||||
- Prometheus: `ghsa_ratelimit_remaining_bucket` (from histogram) – use `histogram_quantile(0.99, ...)` to trend capacity.
 | 
			
		||||
- VictoriaMetrics: `LAST_over_time(ghsa_ratelimit_remaining_sum[5m])` for simple last-value graphs.
 | 
			
		||||
- Grafana: stack remaining + used to visualise total limit per resource.
 | 
			
		||||
 | 
			
		||||
## 8. Canonical metric fallback analytics
 | 
			
		||||
When GitHub omits CVSS vectors/scores, the connector now assigns a deterministic canonical metric id in the form `ghsa:severity/<level>` and publishes it to Merge so severity precedence still resolves against GHSA even without CVSS data.
 | 
			
		||||
 | 
			
		||||
- Metric: `ghsa.map.canonical_metric_fallbacks` (counter) with tags `severity`, `canonical_metric_id`, `reason=no_cvss`.
 | 
			
		||||
- Monitor the counter alongside Merge parity checks; a sudden spike suggests GitHub is shipping advisories without vectors and warrants cross-checking downstream exporters.
 | 
			
		||||
- Because the canonical id feeds Merge, parity dashboards should overlay this metric to confirm fallback advisories continue to merge ahead of downstream sources when GHSA supplies more recent data.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user