mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-13 15:04:19 +00:00
New RLS table jira_issues keyed on (integration, provider, finding uid) that stores the Jira issue key, URL and last observed status for every finding sent to Jira. send_findings_to_jira() pre-checks the batch in bounded chunks, refreshes the status of linked issues in bulk, skips findings whose issue is still open (reported as skipped_count / skipped), creates a replacement issue when the linked one is closed or deleted in Jira, and reserves the slot before calling Jira so concurrent runs cannot duplicate. Read-only GET /api/v1/jira-issues exposes the links with provider-scoped visibility. Rows are removed with the provider.