Commit Graph

58 Commits

Author SHA1 Message Date
Binaek Sarkar
885a85492c Fixes issue where '.inspect' would panic for long column descriptions. Closes #3709 2023-08-07 11:10:43 +01:00
kaidaguerre
b06348757a Fix linting warnings
---------

Co-authored-by: Binaek Sarkar <binaek@turbot.com>
Co-authored-by: Puskar Basu <puskar@turbot.com>
2023-07-06 16:08:23 +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
Binaek Sarkar
a1caf53eeb Adds 'steampipe_server_settings' table populated with server settings data during service startup. Closes #3462 2023-06-21 13:23:14 +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
Binaek Sarkar
2147aa5f1e Merge branch 'v0.20.x' 2023-06-09 20:10:40 +05:30
Binaek Sarkar
5dffe40fa2 Fixes issue where OS specific metadata directories were being considered as check templates. Closes #3523 2023-06-09 10:17:33 +01:00
Puskar Basu
e6ed76ca47 Add plugin list acceptance tests. Closes #3519 2023-06-05 15:17:26 +01:00
kai
3b1e99182a Replace all '...' with ellipsis … in terminal output. Closes #3441 2023-05-18 10:41:27 +01:00
kaidaguerre
40804a3201 Execute RefreshConnections asyncronously and optimise for high connection count. Add connection_state table.
- Execute RefreshConnections asyncronously
- Add connection_state table to indicate the loading state of connections
- Optimise RefreshConnections by cloning connection schemas
- Add locking to ensure only a single instance of RefreshConnections runs
- Start executing queries without waiting for connections to load, add smart error handling to wait for required connection
- Optimise autocomplete for high connection count
- Autocomplete and inspect data available before all conections are refreshed
- Update file watcher to respond to CHMOD, so thaat it pickes up deletion of file contents

 Closes #3394
 Closes #3267
2023-05-10 09:05:08 +01:00
kaidaguerre
137e438bdc Resource references in depdency mods must be fully qualified. Locals in dependency mods cannot be referenced. Support transitive dependencies referencing variables from different versions of same mod. Closes #3335. Closes #3336. Closes #3337 2023-04-14 12:37:32 +01:00
Binaek Sarkar
ee8b6647c4 Rationalising 'status hooks'. Do not show spinner when setting status, instead require an explicit Show. #2432 2023-03-14 11:48:14 +00:00
Binaek Sarkar
c896d88e88 Make workspace loading async. Closes #3123 2023-02-20 17:18:33 +00:00
kai
3ba7798147 Add design/search_path.md 2023-02-16 12:30:45 +00:00
Puskar Basu
adf8093560 Fix issue where check csv output was appending an extra line at the end. Closes #3106 2023-02-14 17:30:43 +00:00
kaidaguerre
063ab8b634 Remove double counting of control errors in benchmark summary. Closes #3084 2023-02-07 09:33:13 +00:00
kaidaguerre
6ee391faba 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. #3007.#. #3008 2023-01-17 11:52:53 +00:00
kaidaguerre
15984137ae Add deprecation warnings for deprecated hcl properties. Closes #2973 2023-01-11 16:34:58 +00:00
kaidaguerre
cf81bbcee4 Remove search_path and search_path_prefix from Control and Query. Closes #2963 2023-01-09 22:35:08 +00:00
kaidaguerre
1f879761b9 Fix invalid node found in control execution tree error when exporting control run as snapshot. Closes #2957 2023-01-09 11:37:12 +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
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