Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Production #9508

Open
wants to merge 509 commits into
base: master
Choose a base branch
from
Open

Production #9508

wants to merge 509 commits into from

Conversation

oslynn
Copy link
Collaborator

@oslynn oslynn commented May 16, 2023

This PR ...

If you are suggesting a fix for a currently exploitable issue, please disclose the issue to the prime-reportstream team directly outside of GitHub instead of filing a PR, so we may immediately patch the affected systems before a disclosure. See SECURITY.md/Reporting a Vulnerability for more information.

Test Steps:

  1. Include steps to test these changes

Changes

  • Include a comprehensive list of changes in this PR
  • (For web UI changes) Include screenshots/video of changes

Checklist

Testing

  • Tested locally?
  • Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
  • (For Changes to /frontend-react/...) Ran npm run lint:write?
  • Added tests?

Process

  • Are there licensing issues with any new dependencies introduced?
  • Includes a summary of what a code reviewer should test/verify?
  • Updated the release notes?
  • Database changes are submitted as a separate PR?
  • DevOps team has been notified if PR requires ops support?

Linked Issues

  • Fixes #issue

To Be Done

Create GitHub issues to track the work remaining, if any

  • #issue

Specific Security-related subjects a reviewer should pay specific attention to

  • Does this PR introduce new endpoints?
    • new endpoint A
    • new endpoint B
  • Does this PR include changes in authentication and/or authorization of existing endpoints?
  • Does this change introduce new dependencies that need vetting?
  • Does this change require changes to our infrastructure?
  • Does logging contain sensitive data?
  • Does this PR include or remove any sensitive information itself?

If you answered 'yes' to any of the questions above, conduct a detailed Review that addresses at least:

  • What are the potential security threats and mitigations? Please list the STRIDE threats and how they are mitigated
    • Spoofing (faking authenticity)
      • Threat T, which could be achieved by A, is mitigated by M
    • Tampering (influence or sabotage the integrity of information, data, or system)
    • Repudiation (the ability to dispute the origin or originator of an action)
    • Information disclosure (data made available to entities who should not have it)
    • Denial of service (make a resource unavailable)
    • Elevation of Privilege (reduce restrictions that apply or gain privileges one should not have)
  • Have you ensured logging does not contain sensitive data?
  • Have you received any additional approvals needed for this change?

@github-actions
Copy link
Contributor

github-actions bot commented May 16, 2023

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

@oslynn oslynn temporarily deployed to staging May 16, 2023 18:11 — with GitHub Actions Inactive
@kant777 kant777 temporarily deployed to staging May 18, 2023 17:35 — with GitHub Actions Inactive
@kant777 kant777 temporarily deployed to prod May 18, 2023 17:35 — with GitHub Actions Inactive
@github-actions
Copy link
Contributor

github-actions bot commented May 18, 2023

Test Results

1 265 tests  +18   1 261 ✅ +18   7m 28s ⏱️ -10s
  164 suites + 2       4 💤 ± 0 
  164 files   + 2       0 ❌ ± 0 

Results for commit 7e793f5. ± Comparison against base commit 7895c62.

This pull request removes 5 and adds 23 tests. Note that renamed tests count towards both.
gov.cdc.prime.router.azure.BlobAccessTests ‑ copy blob()
gov.cdc.prime.router.fhirengine.utils.HL7ReaderTests ‑ get getMessages can parse a message that uses the deprecated CE type in OBX2()
gov.cdc.prime.router.fhirengine.utils.HL7ReaderTests ‑ get getMessages no mapped models()
gov.cdc.prime.router.fhirengine.utils.HL7ReaderTests ‑ get getMessages v27 succeeds()
gov.cdc.prime.router.fhirengine.utils.HL7ReaderTests ‑ test getMessageProfile()
gov.cdc.prime.router.ReceiverTests ‑ test MAJURO receiver timezone()
gov.cdc.prime.router.azure.ReportFunctionTests ‑ return ack if requested and enabled()
gov.cdc.prime.router.azure.service.SubmissionResponseBuilderTest ‑ build ACK response when enabled for sender and correct conditions ()
gov.cdc.prime.router.azure.service.SubmissionResponseBuilderTest ‑ build JSON response when enabled for sender but HL7 does not request it()
gov.cdc.prime.router.azure.service.SubmissionResponseBuilderTest ‑ build JSON response when enabled for sender but is a batch message()
gov.cdc.prime.router.azure.service.SubmissionResponseBuilderTest ‑ build JSON response when processing was unsuccessful()
gov.cdc.prime.router.fhirengine.engine.CustomTranslationFunctionsTest ‑ test mojuroTimezone with convertDateTimeToHL7()
gov.cdc.prime.router.fhirengine.engine.FhirConverterTests ‑ test condition code stamping without message header()
gov.cdc.prime.router.fhirengine.engine.FhirTranslatorTests ‑ test translation happy path with file digest exception()
gov.cdc.prime.router.fhirengine.translation.hl7.utils.CustomFHIRFunctionsTests ‑ test changeTimezone with date as string - exception()
…

♻️ This comment has been updated with latest results.

@kant777 kant777 temporarily deployed to prod May 18, 2023 17:43 — with GitHub Actions Inactive
@oslynn oslynn temporarily deployed to prod May 23, 2023 17:23 — with GitHub Actions Inactive
@oslynn oslynn temporarily deployed to staging May 23, 2023 17:23 — with GitHub Actions Inactive
@oslynn oslynn temporarily deployed to prod May 23, 2023 17:34 — with GitHub Actions Inactive
@brick-green brick-green temporarily deployed to prod May 25, 2023 14:55 — with GitHub Actions Inactive
@brick-green brick-green temporarily deployed to staging May 25, 2023 14:55 — with GitHub Actions Inactive
@brick-green brick-green temporarily deployed to prod May 25, 2023 15:03 — with GitHub Actions Inactive
@thetaurean thetaurean temporarily deployed to prod May 30, 2023 18:43 — with GitHub Actions Inactive
@thetaurean thetaurean temporarily deployed to staging May 30, 2023 18:43 — with GitHub Actions Inactive
@thetaurean thetaurean temporarily deployed to prod May 30, 2023 18:53 — with GitHub Actions Inactive
@thetaurean thetaurean temporarily deployed to staging June 1, 2023 18:14 — with GitHub Actions Inactive
@thetaurean thetaurean temporarily deployed to prod June 1, 2023 18:14 — with GitHub Actions Inactive
@thetaurean thetaurean temporarily deployed to prod June 1, 2023 18:24 — with GitHub Actions Inactive
@jack-h-wang jack-h-wang temporarily deployed to staging June 8, 2023 19:13 — with GitHub Actions Inactive
@jack-h-wang jack-h-wang temporarily deployed to prod June 8, 2023 19:13 — with GitHub Actions Inactive
@jack-h-wang jack-h-wang temporarily deployed to prod June 8, 2023 19:22 — with GitHub Actions Inactive
@jack-h-wang jack-h-wang temporarily deployed to prod June 13, 2023 18:23 — with GitHub Actions Inactive
@jack-h-wang jack-h-wang temporarily deployed to staging June 13, 2023 18:24 — with GitHub Actions Inactive
@jack-h-wang jack-h-wang temporarily deployed to prod June 13, 2023 18:35 — with GitHub Actions Inactive
@jack-h-wang jack-h-wang temporarily deployed to staging June 15, 2023 17:07 — with GitHub Actions Inactive
@jack-h-wang jack-h-wang temporarily deployed to prod June 15, 2023 17:07 — with GitHub Actions Inactive
@jack-h-wang jack-h-wang temporarily deployed to prod June 15, 2023 17:16 — with GitHub Actions Inactive
@jack-h-wang jack-h-wang temporarily deployed to prod June 20, 2023 17:35 — with GitHub Actions Inactive
@jack-h-wang jack-h-wang temporarily deployed to staging June 20, 2023 17:35 — with GitHub Actions Inactive
@jack-h-wang jack-h-wang temporarily deployed to prod June 20, 2023 17:50 — with GitHub Actions Inactive
adegolier and others added 4 commits January 8, 2025 20:23
* [WIP] Still working on tests. Fixed HL7AckUtilsTest and moved isBatch() into the companion object in HL7Reader.

* [WIP] Tests still broken, fixed FHIRBundleHelpersTests by using default parsing to get the message type instead of RS specific parsing

* [WIP] Fixed HL7Reader tests and marked a couple things in HL7Reader as deprecated because they are only being used in the CLI and should probably not be used elsewhere. Removing useages from CLI was out of scope for this ticket.

* [WIP] Added error handling to HL7MessageHelpers for batching files

* Dealing with merge conflicts

* More effort to deal with merge conflicts

* One more little leftover from merge conflicts

* Fixed some more references to getMessages() that came in from main and added some HL7Reader tests back in with modifications

* Minor fix to HL7MessageHelpers

* added requested helper function

* removed unnecessary test

* Removed MessageType validation from SubmissionReceiver

* Removed HL7MessageParseAndConvertConfiguration

* Modified ProcessFhirCommands to remove things from HL7Reader that were only otherwise part of the getMessages() saga

* removed deprecation mark from ProcessFhirCommands
bethbeza and others added 14 commits January 9, 2025 14:41
…adata (#16505)

* Update call to FhirToHl7Converter to pass in correct BlobContainerMetadata

* Update TODO comment in Receiver.consistencyErrorMessage
* Updated Washington STLT transform to ignore AOE  01.9.2025

* Updated Washington STLT transform to ignore AOE  01.9.2025 fixed sytnax by adding value and hl7spec fields

* Fixed WA-receiver-transform.yml

* Fixed WA-receiver-transform.yml

---------

Co-authored-by: victor-chaparro <[email protected]>
Co-authored-by: victor-chaparro <[email protected]>
* Importing JosiahSiegel/runleaks default state.

* Appending default configuration changes.

* dockerfile fixes


---------

Co-authored-by: Matt Szubrycht <[email protected]>
Co-authored-by: matts <[email protected]>
Add pd1-4 mapping to Patient.generalPractitioner
* Added SOP for validating new conditions

* Update new-conditions-sop.md
* Importing JosiahSiegel/workflow-housekeeper default state.

* Appending default configuration changes.

---------

Co-authored-by: matts <[email protected]>
…rm (#17033)

* Updating Terraform Azure Service Principal PRIME-ReportStream-Terraform

* Correcting issues caused by previous updates

---------

Co-authored-by: matts <[email protected]>
Copy link
Contributor

Branch deployed to Chromatic 🚀.

  • ⚠️ Detected 3 tests with visual changes.
  • ✅ All tests passed.

View via:

Copy link
Contributor

⚠️ Broken Links ⚠️

https://www.hhs.gov/vulnerability-disclosure-policy/index.html

Error: Request failed with status code 403


❌ /assets/xlsm/20241204_ReportStream-Mapping-Template.xlsm

Error: Internal link: Page error


https://www.cdc.gov/poxvirus/mpox/lab-personnel/report-results.html

Error: Request failed with status code 404


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.