No new notification or issue for a not_affected/fixed CVE stays always on. Closing an issue that is already open now depends on ISSUE_AUTOCLOSE (off | dry_run | on, unknown -> off with a warning), like ISSUE_CATCHUP: dry_run logs one line per target with the counts per VEX status and makes no tracker call; on closes at most 20 per target and scan (every Gitea request waits for its instance's slot) and logs closed/deferred/failed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
60 lines
4.3 KiB
Markdown
60 lines
4.3 KiB
Markdown
# Issues & Tracking
|
|
|
|
Prüfwerk automatically creates issues in your existing issue trackers when new security findings are discovered. This integrates security into your development workflow without requiring teams to check a separate tool.
|
|
|
|
## How Issues Are Created
|
|
|
|
When a scan discovers new findings, the following happens automatically:
|
|
|
|
1. Each new finding is checked against existing issues using its fingerprint
|
|
2. If no matching issue exists, a new issue is created in the configured tracker
|
|
3. The issue includes the finding title, severity, vulnerability details, file location, and a link back to the finding in Prüfwerk
|
|
4. The finding is updated with a link to the external issue
|
|
|
|
This means every actionable finding gets tracked in the same system your developers already use.
|
|
|
|
### Catch-up for findings without an issue (Gitea)
|
|
|
|
A scan opens issues only for the findings it finds new, so a finding whose issue could not be opened at the time (Gitea unreachable, the issue refused) stays without one. With `ISSUE_CATCHUP=on`, every scan of a Gitea target then also goes through its open, triaged and to-review findings of severity medium or above that have no issue: one whose issue exists (found by the fingerprint in its body, then by title; a grouped finding by fingerprint only) is linked to it, the others get a new issue. At most 20 new issues per target and scan, highest severity and oldest first; the rest follow in the next scans. `ISSUE_CATCHUP=dry_run` only logs how many issues it would open and link, per severity, and changes nothing. The default is `off`; GitHub, GitLab and Jira are not caught up.
|
|
|
|
### CVE issues (managed repositories)
|
|
|
|
For a repository from a managed git source, known vulnerabilities in its dependencies become issues too: one per package and CVE, labelled `cve`. A critical or high CVE opens one, and so does any CVE in CISA's Known Exploited Vulnerabilities catalog (rated at least high). A CVE whose EPSS percentile reaches `CVE_ISSUE_EPSS_PERCENTILE` (default `0.95`) is rated one step higher, so a medium one opens an issue as high. The issue names the KEV entry, the EPSS score with its attribution, and CISA's SSVC exploitation where known. When a complete scan no longer finds the CVE, the issue is closed; when it comes back, it is reopened. A CVE with the VEX status `not_affected` or `fixed` gets no new issue. Its issue that is already open is closed only with `ISSUE_AUTOCLOSE=on`: with a comment naming the status and the justification, at most 20 per target and scan (the rest follow in the next scans). `ISSUE_AUTOCLOSE=dry_run` only logs, per target, how many issues it would close per VEX status, and changes nothing; the default is `off`. When the statement is withdrawn, a closed issue is reopened.
|
|
|
|
## Issues List
|
|
|
|
Open **Tickets** (Issues) in the sidebar to see all tracker issues across your targets.
|
|
|
|
The issues table shows:
|
|
|
|
| Column | Description |
|
|
|--------|-------------|
|
|
| Tracker | Badge showing GitHub, GitLab, Gitea, or Jira |
|
|
| ID | Issue number in the external system |
|
|
| Title | Issue title |
|
|
| Status | Open, Closed, or tracker-specific status |
|
|
| Created | When the issue was created |
|
|
| Link | Direct link to the issue in the external tracker |
|
|
|
|
Click the link to go directly to the issue in your tracker.
|
|
|
|
## Supported Trackers
|
|
|
|
GitHub Issues, GitLab Issues, Gitea Issues and Jira.
|
|
|
|
The tracker is configured per target. The dashboard has no settings for it yet;
|
|
it is set through the API. See
|
|
[Connecting an Issue Tracker](/guide/repositories#connecting-an-issue-tracker).
|
|
|
|
## Deduplication
|
|
|
|
Issues are deduplicated using the same fingerprint hash that deduplicates findings. This means:
|
|
|
|
- If the same vulnerability appears in consecutive scans, only one issue is created: issues are created only for new findings
|
|
- Before creating an issue, Prüfwerk searches the tracker by fingerprint and then by title, and does not create a second one
|
|
- Different findings (even if similar) get separate issues because their fingerprints differ based on rule, file path and line
|
|
|
|
## Linked Issues in Finding Detail
|
|
|
|
When viewing a [finding's detail page](/guide/findings#finding-detail), you will see a **Verknüpftes Ticket** (Linked issue) section if an issue was created for that finding. This provides a direct link to the external tracker issue, making it easy to jump between the security context in Prüfwerk and the development workflow in your tracker.
|