Skip to content

Add observability operation#180

Open
diogopaulo wants to merge 3 commits intomainfrom
feature/rdv-1728-observability
Open

Add observability operation#180
diogopaulo wants to merge 3 commits intomainfrom
feature/rdv-1728-observability

Conversation

@diogopaulo
Copy link
Copy Markdown

Added a new parameter for the CC (-o) for observability purposes. This emits JSON events to stdout at key tunnel lifecycle points (starting, connected, disconnected, error). Each event is a single-line JSON object including destination hosts, connection status, and latency.

Generated outputs like

{
  "correlation_id":"550e8400-e29b-41d4-a716-446655440000",
  "time":1743033600.123,
  "host":"worker-01",
  "source":"outsystemscc",
  "sourcetype":"outsystemscc:tunnel",
  "event": {
    "version":"1.2.3",
    "event_type":"tunnel_starting",
    "server":"wss://pg.example.com/",
    "remotes":["R:8081:db.internal:5432"],
    "destination_hosts":["db.internal"],
    "status":"starting",
    "latency_ms":null,
    "error":null
  }
}

@diogopaulo diogopaulo requested a review from a team as a code owner March 30, 2026 13:11
@diogopaulo diogopaulo added the do not merge This pull request should not be merged even if checks pass label Mar 30, 2026
@diogopaulo
Copy link
Copy Markdown
Author

Tagged as do not merge because it's the first time doing changes on the OS CC and want to understand if I am going on the right direction.

@wiz-code-outsystems
Copy link
Copy Markdown

wiz-code-outsystems bot commented Mar 30, 2026

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities -
Data Finding Sensitive Data -
Secret Finding Secrets -
IaC Misconfiguration IaC Misconfigurations -
SAST Finding SAST Findings -
Software Management Finding Software Management Findings -
Total -

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

Pull Request Developer Guidance

Questions? See the Wiz FAQ.

Please contact the Security Office if you encounter issues with Wiz PR scanning.

@diogopaulo diogopaulo requested a review from samartha-pm March 31, 2026 07:23
…operty specifies what time unit it uses in string format. The event time now is NanoSeconds.
@diogopaulo diogopaulo removed do not merge This pull request should not be merged even if checks pass labels Mar 31, 2026
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