Commit Graph

395 Commits

Author SHA1 Message Date
Binaek Sarkar
08b447a261 Differentiate between user and system queries using application name. Closes #3600 2023-08-25 16:50:27 +01:00
Puskar Basu
6aaf9bc5be Update 'sperr' import references. Closes #3748 2023-08-17 13:52:04 +05:30
kaidaguerre
202cb68692 Add HCL support for defining rate limiters, with filewatching as per connection config. Closes #3746 2023-08-11 14:24:44 +01:00
Binaek Sarkar
8e73030a0e Fixes issue with the plugin manager where multi line logs were not coming up. Closes #3706. Closes #3678. 2023-08-09 13:08:35 +01:00
Binaek Sarkar
a01776b78f Migrate from 'cloud.steampipe.io' to 'pipes.turbot.com'. Closes #3724 2023-08-08 12:24:38 +01:00
Puskar Basu
dc90bc0afe Update BuildFullResourceName to validate for non empty arguments. Closes #3601 2023-08-07 13:39:58 +01:00
Meet Rajesh Gor
ce2bc0cb5b Add flag for disabling writing of default plugin config during plugin installation. Closes #3531. Closes #2206 2023-07-28 10:15:37 +01:00
Puskar Basu
84ffb71412 Steampipe commands should bypass plugin requirement check if installed plugin is local. Closes #3643 2023-07-27 12:58:52 +01:00
Puskar Basu
5fe095b878 Remove migration and backward compatibility of data files from v0.13.0. Closes #3517 2023-07-26 14:29:33 +01:00
Binaek Sarkar
74f2f6ae24 Removes deprecated 'workspace-chdir' flag. Closes #3658 2023-07-26 11:39:56 +01:00
Patrick Decat
3c5e98d13b feat: upgrade to oras-go v2 and support OCI registries requiring authentication. Closes #2819 2023-07-14 10:20:31 +01:00
Binaek Sarkar
37e4b94148 Move ErrorAndWarnings to error_helpers. Closes #3653 2023-07-12 13:58:57 +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
Binaek Sarkar
448ee3b401 Fixes issue where 'service start' is not listening on 'network' by default. Closes #3593 2023-07-06 16:05:47 +01:00
Meet Rajesh Gor
f0308599b2 Clean up tmp dirs after plugin commands 2023-07-06 16:04:34 +01:00
Binaek Sarkar
9754ed0c1a Creates 'version.json' in each plugin directory. Recompose the global plugin versions.json if it is missing or corrupt. Closes #3492 2023-06-30 08:56:59 +01:00
kai
c4b256f91f Merge branch 'v0.20.x'
# Conflicts:
#	cmd/plugin.go
#	pkg/steampipeconfig/modconfig/connection.go
#	tests/acceptance/test_files/service.bats
2023-06-21 13:29:01 +01:00
Binaek Sarkar
8a6bb4f9bf Fixes issue where exporting check all yields a badly formatted filename. Closes #3591 2023-06-20 16:34:34 +01:00
Binaek Sarkar
1aec14bd4c Add test for plugin list with disabled connection. Closes #3561 2023-06-16 18:15:55 +01:00
Rick Bowen
ca2235d25a Fix zsh completion instructions 2023-06-14 12:11:22 +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
kai
1efe089ea5 Merge branch 'v0.20.x' 2023-06-12 16:23:23 +01:00
kaidaguerre
ac7bdafafa Update variable validation - warn/error when setting a value for a variable which is not found or inaccessible. Validate that mod requires args properties can be resolved. Closes #3546 2023-06-12 16:16:50 +01:00
Binaek Sarkar
2147aa5f1e Merge branch 'v0.20.x' 2023-06-09 20:10:40 +05:30
Binaek Sarkar
0e29bfa7e6 Fixes issue when steampipe fails to startup if data files could not be migrated. Closes #3518 2023-06-09 14:22:47 +01:00
Patrick Decat
51f43f108b Allow selection of hosts for steampipe service. Closes #3505 2023-06-01 17:14:56 +01:00
Puskar Basu
80f9e5a1cd Fix issue where steampipe completion was creating install directories. Closes #3485 2023-05-30 15:17:34 +01:00
Puskar Basu
00dd1fc92d Fix issue where plugin list was returning non-0 exit code if the plugin was already installed. Closes #3444 2023-05-18 15:02:01 +01:00
kaidaguerre
fab91ebd7d Fix steampipe plugin list not printing the Missing Plugin and Failed Plugin tables. Closes #3439 2023-05-18 14:50:58 +01:00
Binaek Sarkar
68db840c92 Fixes issue where not being able to open the browser results in a fatal error during login. Closes 3437 2023-05-18 14:50:28 +01:00
kai
3b1e99182a Replace all '...' with ellipsis … in terminal output. Closes #3441 2023-05-18 10:41:27 +01:00
kaidaguerre
7703975883 Refactor/fix connection and plugin validation during refreshConnections - ensure failed connections are set to 'error' in connection state. Closes #3432 2023-05-17 14:43:27 +01:00
Binaek Sarkar
6c1393fdb7 Fixes issue where 'plugin-manager' incorrectly executes scheduled tasks (e.g. update check). Closes #3421 2023-05-17 13:16:40 +01:00
kaidaguerre
dcd0ced93a Update refresh connections to write comments for exemplar schemas first, followed by remaining schemas. Closes #3413 2023-05-16 14:13:02 +01:00
Meet Rajesh Gor
861e77d273 Adds a '--progress' flag to 'plugin install' to disable progress bars. Closes #2953 2023-05-15 16:01:15 +01:00
Binaek Sarkar
6db9656e5a Ensure plugin-manager command does not execute scheduled tasks - avoid deprecation warnings which make the plugin manager GRPC startup fail. Closes #3410 2023-05-15 15:59:41 +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
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
Binaek Sarkar
3cf30ba45d Fixes issue where 'mod install' on an existing mod would sometimes corrupt the 'mod.sp' file.
Closes #3376
Closes #3383
Closes #3280
Closes #2676
2023-05-09 22:34:09 +01:00
Puskar Basu
414664080c Fixes issue where network failures during plugin install was returning 0 exit code. Closes #3367 2023-05-05 11:02:41 +01:00
kai
d1e677f220 Merge branch 'v0.19.x'
# Conflicts:
#	pkg/version/version.go
2023-04-27 15:14:05 +01:00
kai
25949522c4 Fix connection validation warning following a file watcher event causing plugin manager to crash with unhandled signal. Closes #3371 2023-04-27 15:05:47 +01:00
Puskar Basu
3bdd2eedde Improve error message when running steampipe check/dashboard outside a mod and refactor default mod creation. Closes #3215
Rationalise default mod creation 
Fix nil ref exception for mod commands when using legacy `requires` block

---------

Co-authored-by: kai <kai@turbot.com>
2023-04-20 12:02:50 +01:00
Binaek Sarkar
a6919cca75 Fixes issue where a mod would install even if plugin dependencies are not met. Closes #3041 2023-04-18 15:28:58 +01:00
Puskar Basu
8e8a093779 Do not show deprecation warnings every time while running any steampipe command. Closes #3281 2023-04-18 15:26:37 +01:00
Puskar Basu
18a2f65b41 Refactor display configuration options code. 2023-04-17 11:06:07 +01:00
Meet Rajesh Gor
7a5abf86bb fix: trim protocol in url for mod commands. Closes #3257 2023-04-13 14:47:48 +01:00
Puskar Basu
97bff47bc5 Show plugin name with stream in the progress bar during plugin update. Closes #3241 2023-04-13 14:44:42 +01:00
Aaronstotle
17a00353ae Add check to the mod init function so users are aware if it's run in the home directory or if there are a large number of non-mod files in the path. Closes #2562 2023-04-06 09:10:41 +01:00
Binaek Sarkar
902ba89cf7 Fixes issue where execution continues even if there's an unexpected error in parsing config. Closes #3286 2023-04-03 11:43:00 +01:00