Commit Graph

314 Commits

Author SHA1 Message Date
kaidaguerre
33f4f80565 Workspace file watching events sometime cause dashboard to stall and stop responding to events. Cancelling dashboards (e.g. by pressing 'back' on the browser) sometimes leave the server in a state where it will not respond to socket events. Closes #3007. Closes #3008 2023-01-17 12:52:59 +00:00
kaidaguerre
15984137ae Add deprecation warnings for deprecated hcl properties. Closes #2973 2023-01-11 16:34:58 +00:00
Puskar Basu
34ecf67496 Use consistent and defined exit codes. Closes #2935 2023-01-06 14:14:05 +00:00
kaidaguerre
0a391e9636 Update dashboard states to "initialized", "blocked", "running", "complete", "error", "canceled". Closes #2939 2023-01-04 14:08:56 +00:00
Binaek Sarkar
3ef30c4a80 Fixes issue where task running goroutine would try to access viper config as it is being written to. Closes #2845 2022-12-14 12:15:52 +00:00
Binaek Sarkar
10bd95e687 Fixes issue where implicit services are not shutting down when the last instance of steampipe exits. Closes #2833 2022-12-12 17:09:58 +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
7a16ec8c57 Updates usages of 'go-kit; for changes in Filewatcher and String/Hash helpers. Closes #2779 2022-11-30 10:12:03 +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
056fa56241 Fixes issue where interactive prompt was not showing timing data for 'json', 'csv' and 'line' outputs. Closes #2699 2022-11-29 10:57:37 +00:00
Binaek Sarkar
d2f8541385 Update the update checker to run asynchronously. Closes #2770 2022-11-25 11:26:50 +00:00
Binaek Sarkar
62878d336b Adds a '--max-parallel' flag to 'steampipe dashboard' and set default to 10. Closes #2754 2022-11-25 09:58:28 +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
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
Binaek Sarkar
b56447cbcc Consolidates setting of CLI flag shorthand. Closes #2403 2022-11-09 10:31:09 +00:00
kai
b40cc0941f Using query command --export flag raises an error that it cannot be used in interactive mode, even when not in interactive mode. Closes #2707 2022-11-08 21:42:38 +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
cbd6b18ef6 Steampipe query fails with nil pointer exception if query execution fails and result is being exported as snapshot. Closes #2692 2022-11-07 15:25:59 +00:00
kai
f47d55b2bb Fix steampipe query --timing not outputting timing information if sharing or exporting a snapshot. Closes #2677 2022-11-07 14:05:39 +00:00
kai
7d28c99e27 Fix steampipe dashboard not showing progress when running a single dashboard. Closes #2685 2022-11-07 10:37:34 +00:00
kai
6f7e48607a Fix config resolution so install-dir and mod-location are correctly resolved when set in workspace profiles/env vars. Closes #2681
Improve resource not found errors
Put install dir back into workspace profiles
Update export arg help
2022-11-07 10:37:34 +00:00
kai
804cc6f3bf Fix crash when plugin list fails to connect to database.
Improve logging for login command
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
e5a14bce00 Adds 'list' sub command for 'query', 'check' and 'dashboard'. Closes #2653 2022-11-03 15:58:56 +00:00
kai
f70310d4e8 Update login and snapshot messaging. 2022-11-03 13:30:51 +00:00
Puskar Basu
7228dedca2 Fix unintuitive errors from steampipe plugin commands when a plugin (version) is missing. Closes #2361 2022-11-03 11:09:45 +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
c42fbdb8d5 Update formatting for login command. Update missing cloud token error. Closes #2654 2022-11-02 14:04:59 +00:00
kaidaguerre
1539023a48 Set default output format for dashboard to none. Closes #2658 2022-11-02 14:04:41 +00:00
kaidaguerre
a5ea31f2d0 Fix columns values being incorrectly ordered when sharing a query snapshot. Closes #2648 2022-11-01 22:13:37 +00:00
kaidaguerre
7050ab06bf Fix input validation failure - update DashboardExecutionTree.RuntimeDependencies to key by unqualified name not short name. Closes #2637 2022-11-01 10:55:43 +00:00
kaidaguerre
f463c4d01a Improve messaging and error reporting for steampipe login. (#2625) 2022-10-28 18:54:41 +01: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
940bec6b5f Connect to steampipe cloud using the steampipe cloud sdk. Closes #2610 2022-10-27 17:43:44 +01:00
kaidaguerre
7188101a80 Update --snapshot-tag arg to be string array, not string slice (i.e. values will be passed raw, not parsed as a CSV). Closes #2597 2022-10-26 18:00:58 +01:00
Puskar Basu
81a2cf65af Load workspace-profile from config directory. Closes #2595 2022-10-26 14:55:48 +01:00
kaidaguerre
42c2323eb2 Add query_timeout to workspace profile. Closes #2593
Improve timeout error message.
Remove refreshDbClient call after timeout.
Set default check query timeout to 240sec and query to 0 (no timeout)
2022-10-26 14:53:50 +01:00
François de Metz
b3838186e1 Add a configurable query timeout. Closes #666 2022-10-26 10:09:17 +01:00
kaidaguerre
d3830b1335 Add steampipe login command. Closes #2583 2022-10-25 17:33:35 +01:00
kaidaguerre
f790f46bed Update node and edge providers to key category map by short name. Closes #2581 2022-10-24 17:31:00 +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
Binaek Sarkar
a373b9ca91 Fixes issue where prompt fails to show up when service installation runs in interactive mode. Closes #2529 2022-10-21 12:13:52 +01:00
kaidaguerre
30e59f3b41 Fix usage of deprecated workspace-chdir. Closes #2565 2022-10-20 11:40:50 +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
michizhou
f80f9c1b21 Deprecate workspace-chdir, replace with mod-location. Closes #2511 2022-10-19 11:08:34 +01:00
kai
6315deae3f Update snapshot-tags dashboard and query arg to support comma separated vals. Closes #2544 2022-10-18 13:53:09 +01:00
kaidaguerre
5abbcdb5dd Update snapshot-tags arg to support comma separated vals. Closes #2544 2022-10-18 12:01:26 +01:00
kaidaguerre
028d46c8ff Revert connection watching min-interval. Remove filewatcher from utils and and use go-kit filewatcher instead. 2022-10-17 22:07:21 +01:00
kaidaguerre
6d47496d99 Ensure check templates BEFORE registering check exporters. Closes #2536 2022-10-17 14:04:46 +01:00