Commit Graph

482 Commits

Author SHA1 Message Date
kai
15b07cfb71 do not delete legacy command schema 2023-05-18 16:59:11 +01:00
kai
7753d5385d If custom is search path is set, only fail a query if ALL connections are in error 2023-05-18 16:54:56 +01:00
kai
5be1f7fdb7 v0.20.0-rc.4 2023-05-18 15:41:19 +01:00
kai
e117adfc0e update FDW to v1.7.0 2023-05-18 15:40:35 +01:00
Binaek Sarkar
42847ec327 Prevent the writing of zero length 'plugins/versions.json'. Closes #3448 2023-05-18 15:12:45 +01:00
Binaek Sarkar
e5e8105657 Fixes issue where caching is still enabled for plugins compiled with SDKv4. Closes #3427 2023-05-18 15:02:49 +01:00
Binaek Sarkar
0fa28fcaf3 Introduces SQL functions to easily manipulate caching functionality. Closes #3442 2023-05-18 14:59:44 +01:00
kai
8ec8c76907 Fix .connection meta-command in interactive returning an empty table #3449 2023-05-18 14:56:24 +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
323b5dc1db v0.20.0-rc.3 2023-05-18 10:41:49 +01:00
kai
3b1e99182a Replace all '...' with ellipsis … in terminal output. Closes #3441 2023-05-18 10:41:27 +01:00
kai
3a05c039ba Update FDW to v1.7.0-rc.7 2023-05-18 10:36:05 +01:00
kai
f7be761c5c Fix NRE when inspecting introspection tables. Closes #3440 2023-05-18 10:34:51 +01:00
kai
3d1423b235 Fix typo in constants.ForeighTableSettings. Update updateScanMetadataMaxId to use new table name. #3416 2023-05-18 08:57:31 +01:00
kai
027abfb4f9 v0.20.0-rc.2 2023-05-17 16:00:23 +01:00
Binaek Sarkar
1a45bfa1c5 Do not show deprecation warnings for require blocks in 'mod.sp'. Closes #3429 2023-05-17 15:36:17 +01:00
kai
f09997da80 Remove formatting from connection validaiton errors. #3432 2023-05-17 15:24:11 +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
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
9653db55da Drops legacy 'internal' and 'steampipe_command' schema. Closes #3403 2023-05-17 13:31:37 +01:00
kaidaguerre
ef0662d974 Set mod name in resource metadata for pseudo-resources. Closes #3405 2023-05-17 13:18:38 +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
Puskar Basu
3d0c976131 Fix error message when connecting to steampipe cloud if login token has expired or become corrupted. Closes #3418 2023-05-17 13:14:57 +01:00
kaidaguerre
f4b5d64d71 Fix interactive timing output not including scan metadata (hydrate calls/ rows). Closes #3420 2023-05-17 11:29:04 +01:00
kai
ff3c736616 v0.20.0-rc.1 2023-05-16 17:18:05 +01:00
kaidaguerre
5fdf6920cf Add support for connecting to a steampipe server which does not have connection state table (i.e. it is a pre v0.20.0 version). Closes #3414 2023-05-16 17:15:13 +01:00
kaidaguerre
4635640f4e Remove 'steampipe_command' schema and move settings and scan_metadata foreign tables to 'steampipe_internal' schema. Closes #3416 2023-05-16 17:12:44 +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
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
kai
2209ce9ada v0.20.0-rc.0 2023-05-15 13:08: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
Binaek Sarkar
9980427e83 Fixes issue where deprecation warning was not shown for using 'options.connection' in 'connection' block. Closes #3223. 2023-05-11 11:40:08 +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
b2a3a4fbfe Detect older versions of MacOS and warn that Steampipe does not support them. Closes #3256 2023-05-09 13:43:07 +01:00
Puskar Basu
746fcc80a6 Fixes issue where workspace introspection option was boolean instead of control/info/none. Closes #3389 2023-05-09 13:40:36 +01:00
Binaek Sarkar
e1cbdf9c6b Updates the default content written to 'default.spc' and remove deprecated blocks. Closes #3391 2023-05-09 13:39:56 +01:00
Binaek Sarkar
8a084a002e Fixes issue where an empty spinner is shown. Closes #3378 2023-05-05 11:18:08 +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
176c58676c Merge branch 'v0.19.x'
# Conflicts:
#	pkg/constants/db.go
2023-04-27 15:30:06 +01:00
kai
d095e2479c Update FDW to v1.6.3: Fix array bounds error when querying with an aggregator with no children. Show useful error instead. 2023-04-27 15:26:17 +01:00
kai
42c8525604 v0.19.5 2023-04-27 15:13:28 +01:00
Binaek Sarkar
be81357e20 Fixes issue where mod installation would fail silently for unmet dependencies in top mod in force mode. Closes #3358 (#3363) 2023-04-26 14:24:36 +01:00
kai
6182730e17 v0.19.0-alpha.6 2023-04-20 12:04:55 +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
810be50551 Fixes issue where having non graphic code points in output would mess up table output in interactive. Closes #3205 2023-04-20 11:50:59 +01:00
kai
bff8abdbcb Revert "Support mods requiring different versions of the same mod. Resources from transitive dependencies should not added the mod resource map #3302 (#3303)"
This reverts commit dd08d9d8a4.
2023-04-20 11:30:57 +01:00
kai
2b15fed259 Revert "Add dependency_path to steampipe_mod so it is possible to tell if a mod is a dependency mod. Closes #3304 "
This reverts commit e1703b9c75.
2023-04-20 11:30:57 +01:00
kai
b7b3d48afd Revert "Fixes issue where mod install/update continues installation even with unsatisfied requirements. Closes #3291"
This reverts commit 473a3e08b9.
2023-04-20 11:30:57 +01:00