Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Conversation

@aaronherman
Copy link
Contributor

This pull request includes updates to the case_triage_reminder function, enhancements to query logic, and an update to a user-facing message for case triage reminders.

Enhancements to query logic:

  • src/dispatch/case/scheduled.py: Updated the case_triage_reminder function to use a more complex query with the or_ condition, allowing cases to be filtered by either title ("Security Event Triage") or status (CaseStatus.new). This replaces the previous call to get_all_by_status.

User-facing message update:

  • src/dispatch/messaging/strings.py: Enhanced the CASE_TRIAGE_REMINDER_DESCRIPTION message to include instructions for updating the case title, priority, severity, and tags, providing clearer guidance to users.

@aaronherman aaronherman requested review from Copilot and whitdog47 June 24, 2025 13:12
@aaronherman aaronherman added the enhancement New feature or request label Jun 24, 2025
Copy link
Contributor

Copilot AI left a 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 PR adds functionality to send a Slack reminder with a default title for security events and updates a user-facing message to provide clearer guidance.

  • Updates the query in the case_triage_reminder function to filter cases by title or status.
  • Revises the case triage reminder string to include additional update instructions.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/dispatch/messaging/strings.py Revised reminder message to include instructions for updating fields.
src/dispatch/case/scheduled.py Updated case_triage_reminder logic with an OR query for filtering cases.

Copy link
Contributor

@whitdog47 whitdog47 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There will also now be a "Stable" status. Do you want this reminder setup for that state too?

@aaronherman
Copy link
Contributor Author

There will also now be a "Stable" status. Do you want this reminder setup for that state too?

It currently will send for New status or "Security Event Triage" titles, regardless of their status, so it should be good now!

@aaronherman aaronherman merged commit 5479c80 into main Jun 24, 2025
9 checks passed
@aaronherman aaronherman deleted the feat/send-triage-reminder-security-events branch June 24, 2025 23:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants