This repository was archived by the owner on Sep 3, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 632
Configurable suggestion for Security Events over Incident reporting #6178
Merged
aaronherman
merged 10 commits into
main
from
toggle-incident-creation-button-by-project
Aug 15, 2025
Merged
Configurable suggestion for Security Events over Incident reporting #6178
aaronherman
merged 10 commits into
main
from
toggle-incident-creation-button-by-project
Aug 15, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Instead of hiding the Report Incident button
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request adds configurable functionality to suggest security event reporting over incident reporting. The feature enables projects to display UI hints directing users to the Security Event reporting page when they might be reporting a security-related incident.
- Adds a new project-level configuration option
suggest_security_event_over_incidentwith database schema changes - Introduces a top-level "Report Security Event" button in the application toolbar
- Displays a warning alert on the incident reporting page when the feature is enabled
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/dispatch/project/models.py | Adds database model field and schema for the new configuration option |
| src/dispatch/database/revisions/tenant/versions/2025-08-06_f2bce475e71b.py | Database migration to add the new column |
| src/dispatch/static/dispatch/src/project/store.js | Updates frontend store with new project configuration fields |
| src/dispatch/static/dispatch/src/project/NewEditSheet.vue | Adds UI checkbox for configuring the security event suggestion |
| src/dispatch/static/dispatch/src/components/AppToolbar.vue | Adds "Report Security Event" button to the toolbar |
| src/dispatch/static/dispatch/src/incident/ReportSubmissionCard.vue | Displays warning alert suggesting security event reporting when enabled |
Co-authored-by: Copilot <[email protected]> Signed-off-by: Aaron Herman <[email protected]>
Signed-off-by: Aaron Herman <[email protected]>
whitdog47
approved these changes
Aug 14, 2025
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a top level "Report Security Event" button

Adds a footer on the Report Incident page for configured projects
