Skip to content

Mongosync Insights v0.8.2.7#186

Open
BigMarcio wants to merge 11 commits into
mongodb:masterfrom
BigMarcio:MI202604
Open

Mongosync Insights v0.8.2.7#186
BigMarcio wants to merge 11 commits into
mongodb:masterfrom
BigMarcio:MI202604

Conversation

@BigMarcio
Copy link
Copy Markdown
Collaborator

Add estimatedSecondsToCEACatchup, Index Building, and Verification metrics to plot from mongosync logs
Fix Log Viewer to show the most recent log first
Fix the layout to properly show the LOAD link in all themes
Add a new Error Pattern to the list
Add recommendations to the error pattern
Add an explanation of how log verbosity affects the plots
Fix the Partition Initialization Details that were not rendering
Update initialization banner with mongosync insights version and URL

@semgrep-code-mongodb
Copy link
Copy Markdown

Semgrep found 1 request-with-http finding:

  • migration/mongosync_insights/lib/live_migration_metrics.py

Detected a request using 'http://'. This request will be unencrypted, and attackers could listen into traffic on the network and be able to obtain sensitive information. Use 'https://' instead.

View Dataflow Graph
flowchart LR
    classDef invis fill:white, stroke: none
    classDef default fill:#e7f5ff, color:#1c7fd6, stroke: none

    subgraph File0["<b>migration/mongosync_insights/lib/live_migration_metrics.py</b>"]
        direction LR
        %% Source

        subgraph Source
            direction LR

            v0["<a href=https://github.com/mongodb/support-tools/blob/05d12ec5e12a0608f68b56dd4f74cd8f91ddca7c/migration/mongosync_insights/lib/live_migration_metrics.py#L561 target=_blank style='text-decoration:none; color:#1c7fd6'>[Line: 561] http://</a>"]
        end
        %% Intermediate

        subgraph Traces0[Traces]
            direction TB

            v2["<a href=https://github.com/mongodb/support-tools/blob/05d12ec5e12a0608f68b56dd4f74cd8f91ddca7c/migration/mongosync_insights/lib/live_migration_metrics.py#L561 target=_blank style='text-decoration:none; color:#1c7fd6'>[Line: 561] url</a>"]
        end
        %% Sink

        subgraph Sink
            direction LR

            v1["<a href=https://github.com/mongodb/support-tools/blob/05d12ec5e12a0608f68b56dd4f74cd8f91ddca7c/migration/mongosync_insights/lib/live_migration_metrics.py#L563 target=_blank style='text-decoration:none; color:#1c7fd6'>[Line: 563] url</a>"]
        end
    end
    %% Class Assignment
    Source:::invis
    Sink:::invis

    Traces0:::invis
    File0:::invis

    %% Connections

    Source --> Traces0
    Traces0 --> Sink

Loading

🛟 Help? Slack #semgrep-help or go/semgrep-help.

Resolution Options:

  • Fix the code
  • Reply /fp $reason (if security gap doesn’t exist)
  • Reply /ar $reason (if gap is valid but intentional; add mitigations/monitoring)
  • Reply /other $reason (e.g., test-only)

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