Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 95 additions & 0 deletions ISSUE_TEMPLATE/security-finding.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: Security Finding
description: Report an automated security scanner finding (for maintainers)
title: "[security] <package>: <vulnerability ID>"
labels: ["security/triage-needed"]
body:
- type: markdown
attributes:
value: |
**This template is for automated scanner findings reviewed by maintainers.**
If you are an external reporter, please use [Private Vulnerability Reporting](https://github.com/cozystack/cozystack/security/advisories/new) or email cncf-cozystack-security@lists.cncf.io instead.
- type: input
id: vulnerability_id
attributes:
label: Vulnerability ID
description: CVE where one is assigned, otherwise the GHSA or other advisory ID.
placeholder: "e.g., CVE-YYYY-NNNNN or GHSA-xxxx-xxxx-xxxx"
validations:
required: true
Comment on lines +11 to +18

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The cve field is mandatory, but not all security findings have a CVE ID (e.g., they might have a GHSA ID or be an internal finding). It is better to use a more inclusive label like 'Vulnerability ID' and update the placeholder to reflect this. I also suggest renaming the ID to vulnerability_id for clarity.

  - type: input
    id: vulnerability_id
    attributes:
      label: Vulnerability ID
      placeholder: "e.g., CVE-YYYY-NNNNN or GHSA-xxxx-xxxx-xxxx"
    validations:
      required: true

- type: input
id: scanner
attributes:
label: Scanner
placeholder: "e.g., Trivy, Grype, osv-scanner, Dependabot"
validations:
required: true
- type: input
id: finding_id
attributes:
label: Scanner finding ID
description: Rule ID, alert URL or other identifier the scanner gives this finding, if any. Used to match repeat reports of the same finding across scan runs.
placeholder: "e.g., https://github.com/cozystack/cozystack/security/code-scanning/123"
- type: dropdown
id: severity
attributes:
label: Severity
options:
- Critical
- High
- Medium
- Low
validations:
required: true
- type: input
id: package
attributes:
label: Affected package
placeholder: "e.g., libcrypto3, stdlib, redis"
validations:
required: true
- type: input
id: installed_version
attributes:
label: Installed version
placeholder: "e.g., 3.5.1-r0"
- type: input
id: fixed_version
attributes:
label: Fixed version
placeholder: "e.g., 3.5.5-r0 (or 'none available')"
- type: textarea
id: affected_components
attributes:
label: Affected Cozystack components
placeholder: |
- packages/system/velero
- packages/apps/postgres
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
placeholder: Brief description of the vulnerability and its impact
validations:
required: true
- type: textarea
id: references
attributes:
label: References
placeholder: |
- https://nvd.nist.gov/vuln/detail/CVE-YYYY-NNNNN
- https://github.com/advisories/GHSA-XXXX
- type: dropdown
id: triage_status
attributes:
label: Triage status
options:
- new (needs triage)
- confirmed
- false-positive
- accepted-risk
- in-progress
- fixed
validations:
required: true
Loading