miracum / fhir-pseudonymizer

A REST service to pseudonymize and anonymize FHIR® resources.
MIT License
14 stars 2 forks source link

75 crypto hashing a literal reference uri node #76

Closed jabberwoc closed 1 year ago

jabberwoc commented 1 year ago

This extends the special case when crypto hashing a literal reference element by supporting uri nodes like Bundle.entry.request.url or Bundle.entry.fullUrl in addition to reference string nodes.

github-actions[bot] commented 1 year ago

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
⚠️ CSHARP dotnet-format 4 1 10.68s
✅ EDITORCONFIG editorconfig-checker 4 0 0.01s
✅ REPOSITORY checkov yes no 9.48s
✅ REPOSITORY dustilock yes no 0.0s
✅ REPOSITORY gitleaks yes no 0.35s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY secretlint yes no 2.05s
✅ REPOSITORY syft yes no 0.52s
✅ REPOSITORY trivy yes no 4.59s

See detailed report in MegaLinter reports _Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff_

_MegaLinter is graciously provided by OX Security_

github-actions[bot] commented 1 year ago

Code Coverage

Package Line Rate Branch Rate Health
FhirPseudonymizer.Tests 99% 100%
FhirPseudonymizer 77% 66%
Summary 81% (529 / 651) 68% (73 / 108)

Minimum allowed line rate is 50%


iter8 report


Experiment summary:
*******************

  Experiment completed: true
  No task failures: true
  Total number of tasks: 7
  Number of completed tasks: 7

Whether or not service level objectives (SLOs) are satisfied:
*************************************************************

  SLO Conditions                 | Satisfied
  --------------                 | ---------
  http/error-count <= 0          | true
  http/latency-mean (msec) <= 25 | true
  http/latency-p99 (msec) <= 50  | true

Latest observed values for metrics:
***********************************

  Metric                     | value
  -------                    | -----
  http/error-count           | 0.00
  http/error-rate            | 0.00
  http/latency-max (msec)    | 1565.11
  http/latency-mean (msec)   | 11.50
  http/latency-min (msec)    | 3.45
  http/latency-p50 (msec)    | 10.06
  http/latency-p75 (msec)    | 12.57
  http/latency-p90 (msec)    | 16.41
  http/latency-p95 (msec)    | 19.80
  http/latency-p99 (msec)    | 32.22
  http/latency-p99.9 (msec)  | 59.66
  http/latency-stddev (msec) | 20.34
  http/request-count         | 25000.00
jabberwoc commented 1 year ago

Note: This contains a fix for conditional reference pseudonymization. It was missing the actual call to transform the id.

miracum-bot commented 1 year ago

:tada: This PR is included in version 2.17.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: