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 641
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
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
4aa4af8
Toggle Report Incident button by project, add Report Security Event t…
aaronherman 36e3dbf
Switch to adding a footnote suggestion on Incident page
aaronherman 7f0e39d
Update src/dispatch/project/models.py
aaronherman c6d9640
Only show "Report Security Event" if a project prefers security events
aaronherman 586d669
Update AppToolbar.vue
aaronherman 03dd32f
Merge branch 'main' into toggle-incident-creation-button-by-project
aaronherman 8d745fc
Update ReportSubmissionCard.vue
aaronherman e06f02f
Merge branch 'main' into toggle-incident-creation-button-by-project
aaronherman 68cd8fe
Update 2025-08-06_f2bce475e71b.py
aaronherman 8d63cdc
Merge branch 'main' into toggle-incident-creation-button-by-project
aaronherman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
src/dispatch/database/revisions/tenant/versions/2025-08-06_f2bce475e71b.py
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| """Adds support for configuring security event suggestions in the project model. | ||
|
|
||
| Revision ID: f2bce475e71b | ||
| Revises: 408118048599 | ||
| Create Date: 2025-08-06 09:48:16.045362 | ||
|
|
||
| """ | ||
| from alembic import op | ||
| import sqlalchemy as sa | ||
|
|
||
|
|
||
| revision = 'f2bce475e71b' | ||
| down_revision = '4649b11b683f' | ||
| branch_labels = None | ||
| depends_on = None | ||
|
|
||
|
|
||
| def upgrade(): | ||
| op.add_column('project', sa.Column('suggest_security_event_over_incident', sa.Boolean(), server_default='t', nullable=True)) | ||
|
|
||
|
|
||
| def downgrade(): | ||
| op.drop_column('project', 'suggest_security_event_over_incident') |
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.