Files
git.stella-ops.org/src/StellaOps.Feedser.Source.CertFr/AGENTS.md
master b97fc7685a
Some checks failed
Build Test Deploy / authority-container (push) Has been cancelled
Build Test Deploy / docs (push) Has been cancelled
Build Test Deploy / deploy (push) Has been cancelled
Build Test Deploy / build-test (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
Initial commit (history squashed)
2025-10-11 23:28:35 +03:00

1.8 KiB

AGENTS

Role

ANSSI CERT-FR advisories connector (avis/alertes) providing national enrichment: advisory metadata, CVE links, mitigation notes, and references.

Scope

  • Harvest CERT-FR items via RSS and/or list pages; follow item pages for detail; window by publish/update date.
  • Validate HTML or JSON payloads; extract structured fields; map to canonical aliases, references, severity text.
  • Maintain watermarks and de-duplication by content hash; idempotent processing.

Participants

  • Source.Common (HTTP, HTML parsing helpers, validators).
  • Storage.Mongo (document, dto, advisory, reference, source_state).
  • Models (canonical).
  • Core/WebService (jobs: source:certfr:fetch|parse|map).
  • Merge engine (later) to enrich only.

Interfaces & contracts

  • Treat CERT-FR as enrichment; never override distro or PSIRT version ranges absent concrete evidence.
  • References must include primary bulletin URL and vendor links; tag kind=bulletin/vendor/mitigation appropriately.
  • Provenance records cite "cert-fr" with method=parser and source URL.

In/Out of scope

In: advisory metadata extraction, references, severity text, watermarking. Out: OVAL or package-level authority.

Observability & security expectations

  • Metrics: SourceDiagnostics emits shared feedser.source.http.* counters/histograms tagged feedser.source=certfr, covering fetch counts, parse failures, and map activity.
  • Logs: feed URL(s), item ids/urls, extraction durations; no PII; allowlist hostnames.

Tests

  • Author and review coverage in ../StellaOps.Feedser.Source.CertFr.Tests.
  • Shared fixtures (e.g., MongoIntegrationFixture, ConnectorTestHarness) live in ../StellaOps.Feedser.Testing.
  • Keep fixtures deterministic; match new cases to real-world advisories or regression scenarios.