Commit Graph

35 Commits

Author SHA1 Message Date
kaidaguerre
3bf90acaf6 Add support for independent execution and resolution of base resource runtime dependencies. Closes #2893 2022-12-19 16:55:26 +00:00
kaidaguerre
fa18c8f0e2 Add support for node reuse. Update graph, flow and hierarchy to declare nodes and edges inline, rather than as a list of references. Closes #2871
Only top level resources can have with and param blocks. Closes #2872
Refactor resource and dashboard run hierarchies to use base impl structs. Closes #2873
2022-12-14 17:18:57 +00:00
kaidaguerre
dbd1d10fcc Add support for plugin sdk v5, with plugin message stream - support update of dynamic plugin schema based on file events. Closes #2767 2022-11-30 10:50:46 +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
Binaek Sarkar
ed06658554 Modifies unit tests for the new FormatterResolver. Closes #2509 2022-11-25 10:13:05 +00:00
Binaek Sarkar
18a1c51597 Upgrades 'pgx' to v5. Closes #2776 2022-11-23 17:34:21 +00:00
kaidaguerre
fe6365b1ef Remove usage of prepared statements - instead excute sql directly. Wrap with executions in LeafRuns to support runtime dependency resolution. Closes #2789. #2772 2022-11-23 14:11:56 +00:00
Binaek Sarkar
c60e24f74d Fixes issue where control execution errors were not shown in CSV rendering. Closes #2674 2022-11-18 11:30:31 +00:00
Binaek Sarkar
9697f6c455 Fixes issue where a '--where' or '--tag' flag were not creating the introspection tables. Closes #2760 2022-11-18 11:25:58 +00:00
kaidaguerre
8e46e7255b Use long name for control run in snapshot. Fixes Control dashboards are not displaying progress. Closes #2735 2022-11-10 21:57:14 +00:00
kai
bda602fb89 Update control snapshot export to strip unwanted fields and remove indents. #2702 2022-11-08 17:14:43 +00:00
kai
dcb693bb74 Show error if export flag set for interactive query. Closes #2696
Fail with helpful message if invalid typename passed to check command. Closes #2693
2022-11-08 13:29:30 +00:00
kai
65b14f33c2 Ensure root panel is full populated in snapshot when exported from check run. #2687 2022-11-07 10:39:11 +00:00
kai
e401e2b7cb Add brief as an alias of text check format. 2022-11-07 10:38:02 +00:00
kai
f628f8ac76 Fix snapshots generated by check for control run not being valid. Closes #2687 2022-11-07 10:37:34 +00:00
kai
7e4ecf3724 Update argument descriptions for --output --export, --snapshot-location
Remove 'check' from dashboard arg descriptions
Do not show "Output format defaulted to 'none'" message if sharing a snapshot
remove query timeout from database options
Fix snapshot creation crash when required inputs are not provided
2022-11-07 10:37:34 +00:00
Binaek Sarkar
b23c4b1f04 Clean up error messaging when a bad template is put in the templates dir. Closes #2670 2022-11-03 15:09:27 +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
938593ebfc Fix --where and --tags args for steampipe check. Closes #2613 (#2624) 2022-10-28 15:52:45 +01:00
kaidaguerre
0452bb0b81 Validate checkout output and export formats before execution. Closes #2619. Add support for using sps as snapshot output/export format. Closes #2623 2022-10-28 14:57:44 +01:00
kaidaguerre
8045e2ed75 Fix steampipe check --snapshot interface conversion errors. Closes #2614 2022-10-28 14:42:51 +01:00
kaidaguerre
940bec6b5f Connect to steampipe cloud using the steampipe cloud sdk. Closes #2610 2022-10-27 17:43:44 +01:00
François de Metz
b3838186e1 Add a configurable query timeout. Closes #666 2022-10-26 10:09:17 +01:00
kaidaguerre
0e27f38202 Update workspace profile parsing to load options blocks. Include these options values in viper with correct precedence. Closes #2579 2022-10-24 13:58:50 +01:00
kaidaguerre
2309abb7fd Support executing any query-provider resources using the steampipe query command. Optimize autocomplete. Closes #2558 2022-10-24 10:45:28 +01: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
kaidaguerre
397c951fe2 Refactor control export to use ExportManager. Closes #2515 2022-10-12 16:25:31 +01:00
kaidaguerre
1dc28f4681 Add --source-snapshot option to dashboard command. Closes #2503. (#2491) 2022-10-11 23:36:27 +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
kaidaguerre
ae9472273d Only create introspection tables if STEAMPIPE_INTROSPECTION env var is set. Closes #2396 2022-08-31 11:08:05 +01:00
kaidaguerre
305fb9107b Add support for plugins to handle multiple connections. Closes #2262 2022-07-22 14:53:54 +01:00
kaidaguerre
4be75a2249 For DashboardChanged event, is a leaf node is changed, mark the whole parentage tree as changed. Fix incorrectly identified changed inputs. Closes #2221 Closes #2222 2022-07-07 09:27:48 +01:00
kaidaguerre
5193c70395 Restructure steampipe repo to use pkg folder. Closes #2204 2022-06-27 11:36:03 +01:00