80 Commits

Author SHA1 Message Date
Puskar Basu
29cb60aec9 Fix date and timestamptz display. closes #4450 2026-02-13 17:56:39 +05:30
Puskar Basu
38269b941f update and re-enable snapshot tests 2024-10-03 16:55:43 +05:30
Puskar Basu
c6b8c835ab Update query JSON output to be consistent across pipelings - also handle duplicate column names. Closes #4317 2024-09-02 12:14:53 +01:00
kaidaguerre
07782a2b13 Adds support for verbose timing information. Closes #4237. Closes #4244
- JSON output format has changed to move the rows to under a `rows` property, with timing information under the `metadata` property
- Update timing display to show rows returned and rows fetched, as well as adding verbose mode which lists all scans
- Use enums for output mode and timing mode - timing is now either `on`, `off` or `verbose`
- Bugfix: ensure error is returned from ExecuteSystemClientCall. Closes #4246
2024-04-17 10:12:17 +01:00
Graza
ecefbcc00c Migrate from GCP to GHCR as CR for Plugins. Closes #4232 2024-04-08 15:15:18 +01:00
Binaek Sarkar
7a7e86909c Fix acceptance tests and expectations. Closes #4032 2023-12-20 10:49:09 +00:00
Meet Rajesh Gor
a4457be5c8 Fixes issue where a query would return 'null' for an empty resultset when output is set to json in 'query'. Closes #3955 (#3959)
(cherry picked from commit 6cb04c6b5e)
2023-11-29 12:55:13 +00:00
Binaek Sarkar
3f84a2630a Fixes issue where 'cloud-*' needed to be global flags. Closes #3923 2023-09-28 15:20:55 +01:00
Binaek Sarkar
0c5b20d922 Fixes issue where cloud login is not recognised even if successful. Closes #3916 2023-09-27 17:22:39 +01:00
kaidaguerre
79606c5bcd Rename internal introspection tables. Fix warning notifications from RefreshConnections. Improve error handlingh for config inconsistencies in conneciton and plugin config. Closes #3886 2023-09-22 16:02:41 +01:00
Puskar Basu
9be7fb74f1 Cloud and workspace flags should not be Global Flags as they are not used for all commands. Closes #3542 2023-09-12 15:27:56 +01:00
Binaek Sarkar
a01776b78f Migrate from 'cloud.steampipe.io' to 'pipes.turbot.com'. Closes #3724 2023-08-08 12:24:38 +01:00
kaidaguerre
43dd6c7a61 Refactor Plugin manager:remove support for plugins which do not support multiple connections, simplify startup.
If plugin process crashes, benchmark or dashboard runs can leave running plugin processes after shutdown. Fixes #3598
2023-06-21 16:18:49 +01:00
Meet Rajesh Gor
3185f09bdd Adds support for --output flag for plugin list cmd - along with support for json output. Closes #3368 2023-06-14 10:05:16 +01:00
Binaek Sarkar
9011d3fef3 Merge branch 'v0.20.x' 2023-06-09 20:45:05 +05:30
Binaek Sarkar
feaeeb5061 Fixes issue where blank dimension values are leaving extra spaces in 'table' rendering. Closes #3474 2023-06-09 16:04:02 +01:00
Puskar Basu
e6ed76ca47 Add plugin list acceptance tests. Closes #3519 2023-06-05 15:17:26 +01:00
Binaek Sarkar
6d73804f3a Fixes issue where 'internal' would be added twice in the search_path if one is mentioned in the non default search path. Closes #3397 2023-05-17 15:19:45 +01:00
kaidaguerre
b0b2c62338 Add support for 'import_schema' property in connection config, controlling whether to create a postgres schema for a steampipe connection. Closes #3407
Rename 'connection_state' table to 'steampipe_connection_state'. #3403
Rename 'internal' table to 'steampipe_internal
Remove 'Connection' property from ConnectionState
2023-05-15 13:07:36 +01:00
Puskar Basu
8cb5935a36 Add query column in introspection tables to populate FullName if a QueryProvider references a named query. Closes #3161 2023-03-13 15:32:51 +00:00
Puskar Basu
68399b39ef Add acceptance tests for dynamic aggregators. Closes #3147 2023-02-28 11:38:21 +00:00
Binaek Sarkar
d75ab0372e Fixes issue where snapshot mode in query leads to duplicate rows in console/file output 2023-02-15 19:08:19 +05:30
Binaek Sarkar
ed4fc2d293 Updates 'csv' output for 'query' to output empty string for cells with 'null' values. Closes #2847 2023-01-20 09:26:30 +00:00
Puskar Basu
8b68c0779f Update introspection tables acceptance test suite. Closes #2906 2023-01-18 14:31:15 +00:00
Puskar Basu
a687326a7d Add dashboard acceptance tests. Closes #2818 2023-01-09 11:48:56 +05:30
kai
04a3daa7c4 Revert "Add dashboard acceptance tests. Closes #2818 "
This reverts commit 0a5aecf6c1.
2023-01-06 18:41:17 +00:00
Puskar Basu
0a5aecf6c1 Add dashboard acceptance tests. Closes #2818 2023-01-06 17:19:31 +00:00
Puskar Basu
4f72c3bceb Add acceptance tests to verify query outputs containing null values. Closes #2897 (#2898) 2023-01-03 17:40:25 +00:00
Binaek Sarkar
947162de22 Fixes issue where value from '--separator' was not being used in CSV rendering. Closes #544 2022-11-30 09:50:34 +00:00
kaidaguerre
3d084c5bc8 Add snapshot-title arg. Ensure snapshots and exports are named consistently. Closes #2666 2022-11-03 11:09:07 +00:00
kaidaguerre
1e3db26e8f Add support for workspace profiles - parse from config and select using --workspace arg. Closes #2510
Add support for implicit workspace. Closes #2514
If snapshot-location is a local file path, copy snapshot instead of uploading. Closes #2550
Do not show snapshot upload status if --progress=false. Closes #2517
Replace --workspace with --snapshot-location. Closes #2512
2022-10-19 13:02:24 +01:00
michizhou
f80f9c1b21 Deprecate workspace-chdir, replace with mod-location. Closes #2511 2022-10-19 11:08:34 +01:00
kaidaguerre
ef845286c1 Add support for sharing snapshots. Add snapshot output and export format for query and check. Add ability to run named dashboards. #2473 2022-10-05 15:30:57 +01:00
kaidaguerre
404dd35e21 Update database code to use pgx interface so we can leverage the connection pool hook functions to pre-warm connections. Closes #2422 (#2438)
* Provide feedback for failed prepared statements
* Move error functions to error_helpers
* Make maintenance client retriable
2022-10-05 12:38:57 +01:00
kaidaguerre
cb42d5d3eb Update CLI to upload snapshots to the cloud using --share and --snapshot options. Update Dashboard command to support passing a dashboard name as an argument. Closes #2365. Closes #2367 2022-09-02 17:05:40 +01:00
Puskar Basu
1a9a80f848 Add an acceptance test to verify 'check all' functionality. Closes #2190 2022-06-21 11:17:10 +01:00
Puskar Basu
d214812e5f Update json control output template to use Go templating, rather than just serialising the results. Closes #2163 2022-06-10 17:34:47 +01:00
kaidaguerre
d497d6915e Workspace lock file is not being correctly migrated. Closes #2069 2022-05-16 13:46:40 +01:00
Puskar Basu
095d34c00a Add control severity in the check run CSV output. Closes #1966 2022-05-13 12:37:07 +01:00
Binaek Sarkar
c5ced36a48 Hides the '--schema-comments' flag in the root 'steampipe' command. Closes #2010 2022-05-06 13:41:19 +01:00
kaidaguerre
4f3238c4c2 Add dashboard support for controls and benchmarks. Closes #1760 2022-04-13 12:44:38 +01:00
Binaek Sarkar
e9cfcd852c Fixes issue where tags are not sorted in output of 'check' command. Closes #1715 2022-03-29 12:57:35 +01:00
Puskar Basu
a7e10e729b Fix acceptance tests. Closes #1568 2022-03-04 13:06:48 +00:00
Puskar Basu
5e4e8fd765 Add JSON template for check export. Closes #1337 2022-01-25 16:55:40 +00:00
Puskar Basu
45d81dd895 Fix asff-json template line spacing and make templates more readable. Closes #1323 2022-01-20 18:27:01 +00:00
Binaek Sarkar
60920fce3e Add support for a generic template formatter for check output. Closes #1289 2022-01-17 13:24:01 +00:00
Binaek Sarkar
28d12e70eb Update Postgres driver to github.com/jackc/pgx. Closes #1179 2021-12-09 17:15:59 +00:00
kaidaguerre
1fdfc02c34 Startup optimizations. Closes #1186. Closes #1183. Closes #1182
- Update connection management to use file modified time instead of filehash to detect connection changes
- Avoid retrieving schema from database for check and non-interactive query execution
- When retrieving plugin schema, identify the minimum set of schemas we need to fetch - to allow for multiple connections with the same schema
- Update plugin manager to instantiate plugins in parallel
2021-12-07 15:34:14 +00:00
Binaek Sarkar
b92ff8a074 Enables the tablefunc extension for the steampipe database. Closes #1154 2021-12-07 12:57:19 +00:00
kaidaguerre
ad3e6447c0 Add support for connecting to a remote database, andf for connecting to Stweampipe #1175 2021-11-24 16:44:26 +00:00