turbot / steampipe-plugin-net

Use SQL to instantly query DNS records, certificates and other network information. Open source CLI. No DB required.
https://hub.steampipe.io/plugins/turbot/net
Apache License 2.0
23 stars 5 forks source link

Fix example query for table: net_connection #14

Closed rajlearner17 closed 3 years ago

rajlearner17 commented 3 years ago

Describe the bug Fix example query https://hub-steampipe-io-git-staging-turbot.vercel.app/plugins/turbot/net/tables/net_connection > Test a TCP connection to steampipe.io on port 443

The below query is correct in the repo, however, it's rendered differently in hub with the condition as in

In .md file

select
  *
from
  net_connection
where
  protocol = 'tcp'
  and address = 'steampipe.io:443'

In Hub

select
  *
from
  net_connection
where
  protocol = 'tcp'
  and address in 'steampipe.io:443'

Steampipe version (steampipe -v) Example: v0.3.0

Plugin version (steampipe plugin list) Example: v0.5.0

To reproduce Steps to reproduce the behavior (please include relevant code and/or commands).

Expected behavior A clear and concise description of what you expected to happen.

Additional context Add any other context about the problem here.

rajlearner17 commented 3 years ago

Already addressed here