Add the Security Advisory GitHub template (`github-security-advisory`)
Maintainer antworten meist innerhalb von 1 Tag
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
Part of #5. For maintainers announcing a security fix.
Idea
A severity pill at the top ("High"), colored by level, with the advisory ID next to it ("GHSA-3x9q-7m2v-p4hc"). Under it, the advisory title large ("Path traversal in @acme/static-files"), then the package with the affected and fixed versions on one line ("@acme/static-files · affected < 2.4.1 · fixed in 2.4.1"), and the site name at the bottom.
Template details
- File:
src/templates/github/security-advisory.ts, idgithub-security-advisory - Fields:
commonFields.title(the advisory title),severity(select: critical, high, medium, low; default high),advisoryId(text, optional, default "GHSA-3x9q-7m2v-p4hc"),packageName(text, optional, default "@acme/static-files"),affected(text, optional, default "< 2.4.1"),patched(text, optional, default "2.4.1"),commonFields.siteName,commonFields.bgColor,commonFields.accentColor,commonFields.textColor
Where to look
- Closest reference:
src/templates/saas/maintenance.ts(a status pill picked with a select field),src/templates/github/issue-card.ts(a GitHub-style header with a pill)
Acceptance criteria
- Each severity has its own pill color, the pill text stays readable with
contrastText(), and an unknown severity falls back to high - Long titles shrink with
autoFontSize()and then truncate, and an emptyadvisoryId,packageName,affected,patchedor site name (or only spaces) hides cleanly, with separators only between the parts that are there - Accent text stays readable on a light background
- Re-exported in
src/templates/github/index.tsand registered in the GitHub block ofsrc/templates/registry.ts - Meets the shared template checklist in #5
One template per contributor at a time, so more people get a chance.
Want to work on this? Comment below and I'll assign it to you. Please take one issue at a time, branch off dev, and open your PR against dev with Closes #279 in the description.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 8
- Forks
- 4
- Ø Merge
- 8 Std. 14 Min.
- Gemergte PRs (30 T.)
- 120
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus codercops/ogcops
-
Add the Updated Post blog template (`blog-updated-post`)Evtl. vergeben @sank8-2 hat das vor 1 Tag übernommen. Offengood first issue hacktoberfest templates
codercops/ogcops#289 · 3 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Add the Interview Q&A quote template (`quote-interview`)Evtl. vergeben @piyusshhjangid hat das vor 1 Tag übernommen. Offengood first issue hacktoberfest templates
codercops/ogcops#285 · 3 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Add the Live Recording podcast template (`podcast-live-recording`)Evtl. vergeben @Ravindar-Amogh-Gummadavelly hat das vor 2 Tagen übernommen. Offengood first issue hacktoberfest templates
codercops/ogcops#261 · 2 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
hacktoberfest
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 35/100
Maintainer antworten meist innerhalb von 1 Tag
-
feature good first issue hacktoberfest templates
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
codercops/ogcops#5 · 13 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in codercops/ogcops
Ähnliche Issues
-
[Bug]: Pen taps on sidebar rows start a drag and lose their clickEvtl. vergeben @makhnatkin hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
b310-digital/teammapper#1515 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 79/100
puckeditor/puck#1884 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
outline/outline#14378 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
nicobailon/pi-web-access#642 ·
Maintainer antworten meist innerhalb von 1 Tag