Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


def upgrade():
op.add_column('project', sa.Column('suggest_security_event_over_incident', sa.Boolean(), server_default='t', nullable=True))
op.add_column('project', sa.Column('suggest_security_event_over_incident', sa.Boolean(), server_default='f', nullable=True))


def downgrade():
Expand Down
40 changes: 20 additions & 20 deletions src/dispatch/static/dispatch/src/incident/ReportSubmissionCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,26 @@
If you suspect an incident and need help, please fill out this form to the best of your
abilities.
</p>
<v-alert
v-if="project?.suggest_security_event_over_incident"
type="warning"
variant="tonal"
class="mt-4 mb-4"
density="compact"
>
<template #prepend>
<v-icon>mdi-security</v-icon>
</template>
<div>
<strong>Consider reporting as a Security Event instead</strong>
<br />
Please consider using the
<router-link :to="{ name: 'eventReport' }" class="text-decoration-none">
Security Event reporting page
</router-link>
for better handling and response.
</div>
</v-alert>
<p v-if="project_faq">
If you have additional questions, please check out the following FAQ document:
<a :href="project_faq.weblink" target="_blank" style="text-decoration: none">
Expand Down Expand Up @@ -102,26 +122,6 @@
</v-card-text>
<v-card-actions>
<div class="w-100">
<v-alert
v-if="project?.suggest_security_event_over_incident"
type="warning"
variant="tonal"
class="mb-4"
density="compact"
>
<template #prepend>
<v-icon>mdi-security</v-icon>
</template>
<div>
<strong>Consider reporting as a Security Event instead</strong>
<br />
Please consider using the
<router-link :to="{ name: 'eventReport' }" class="text-decoration-none">
Security Event reporting page
</router-link>
for better handling and response.
</div>
</v-alert>
<v-btn
color="info"
block
Expand Down
Loading