Skip to content

Assesments uploads should be case insensitive - #145

Merged
summitt merged 5 commits into
mainfrom
assesments-uploads-should-be-case-insensitive
Aug 10, 2026
Merged

Assesments uploads should be case insensitive#145
summitt merged 5 commits into
mainfrom
assesments-uploads-should-be-case-insensitive

Conversation

@summitt

@summitt summitt commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

summitt added 5 commits August 7, 2026 13:04
CSV autoschedule now matches existing assessments by appId
case-insensitively using an anchored MongoDB regex, so a CSV row
with 'app-001' resolves to an existing 'APP-001' assessment
instead of creating a duplicate. Adds a test verifying lowercased
appIds match uppercase existing ones.
… action

Allow the assessor to close a finding in dev, staging, or prod when
saving a passing retest, with the choice taking precedence over the
system verificationOption. Add severity adjustment on retest with a
required annotation when changed, recording the change in the same
chSevTable format the remediation team uses. Add an on-failure option
to either close the verification (default) or send it back to the
remediation team. Adds unit tests for the close-environment and
severity-change helper logic.
Admins can now reopen a finalized assessment from the Finalize page.
Reopen resets the assessment workflow, clears the completed date, and
returns the status to In Progress; any vulnerabilities that were
Closed are moved back to Open. An email notification is sent on
reopen. The action is restricted to administrators and only allowed
when the assessment is currently finalized.

Also keeps finalized assessments in the assessment queue for a
30-day grace period via a shared nonCompletedOrRecentlyFinalized
query clause, so recently finalized assessments remain visible to
find and reopen.
The peer review queue's Download Report button was the only DownloadReport
caller not passing a format, so it fell through to selectVariant's
PDF-preferring default. Reviewers mark the report up, so hand them the
editable Word document.

Reports stored before variants existed are unaffected: getEffectiveVariants
synthesizes a single variant from getFileType(), which defaults to "docx",
so format=docx matches it and serves the same file as before.

Also renames downPdf to downloadReport, which is what it now does.
@summitt
summitt merged commit d94bba8 into main Aug 10, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant