Commit Graph

46 Commits

Author SHA1 Message Date
Nathan Mische
8ba2cc5645 Make plugin start timeout configurable. (#4321) 2024-08-30 17:15:41 +05:30
kaidaguerre
07782a2b13 Adds support for verbose timing information. Closes #4237. Closes #4244
- JSON output format has changed to move the rows to under a `rows` property, with timing information under the `metadata` property
- Update timing display to show rows returned and rows fetched, as well as adding verbose mode which lists all scans
- Use enums for output mode and timing mode - timing is now either `on`, `off` or `verbose`
- Bugfix: ensure error is returned from ExecuteSystemClientCall. Closes #4246
2024-04-17 10:12:17 +01:00
loselarry
dcf3d89b01 chore: fix function names in comment (#4240)
Signed-off-by: loselarry <bikangning@yeah.net>
2024-04-10 10:16:18 +01:00
kaidaguerre
e6e9714e4c Update all ErrorAndWarnings function returns to pass by value, removing possibility of nil ErrorAndWarnings. Closes #3974 (#4212) 2024-03-21 11:46:10 +00:00
Brahim Boukoufallah
34ba9fd9ba Add database SSL password support for encrypted private key in order to handle your own certificates. Closes #4149 2024-03-15 14:50:21 +00:00
Puskar Basu
410fe9ef6f Add deprecation warnings for Mod commands
* print errors and warnings to stderr
* fix tests
* Update description
* update sample workspace profile content
* Changelog for v0.22.0
2024-03-06 11:13:17 +00:00
kaidaguerre
d7ff47b165 Deprecate cloud-token and cloud-host args and params. Write token to new ~/.pipes location (#4147) 2024-02-28 20:29:56 +05:30
kai
167db4863f v0.21.7-rc.0
update startup banner to include command
2024-02-09 12:33:33 +00:00
Binaek Sarkar
0387595c36 Update calls to go-kit.ListFiles with the new go-kit.ListFilesWithContext. Closes #3884 2024-01-08 11:45:29 +00:00
kaidaguerre
46ef6ec90a Add steampipe_plugin_column introspection table to internal schema. Closes #4003
(cherry picked from commit 12079986d5)
2023-11-29 12:55:21 +00:00
Binaek Sarkar
3f84a2630a Fixes issue where 'cloud-*' needed to be global flags. Closes #3923 2023-09-28 15:20:55 +01:00
Binaek Sarkar
0c5b20d922 Fixes issue where cloud login is not recognised even if successful. Closes #3916 2023-09-27 17:22:39 +01:00
kaidaguerre
79606c5bcd Rename internal introspection tables. Fix warning notifications from RefreshConnections. Improve error handlingh for config inconsistencies in conneciton and plugin config. Closes #3886 2023-09-22 16:02:41 +01:00
kaidaguerre
6b9a58c9f8 Add default values for STEAMPIPE_MEMORY_MAX_MB and STEAMPIPE_PLUGIN_MEMORY_MAX_MB. Closes #3833 2023-09-12 18:26:56 +01:00
Puskar Basu
9be7fb74f1 Cloud and workspace flags should not be Global Flags as they are not used for all commands. Closes #3542 2023-09-12 15:27:56 +01:00
kaidaguerre
f041597497 Add support for plugin connection config and options blocks. Add options and env var configuration of max memory. Closes #3807 2023-09-06 15:59:13 +01:00
Binaek Sarkar
a3e624869e Make dashboard start timeout configurable. Closes #3369 2023-08-12 17:42:54 +01:00
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
a01776b78f Migrate from 'cloud.steampipe.io' to 'pipes.turbot.com'. Closes #3724 2023-08-08 12:24:38 +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
Puskar Basu
e6ed76ca47 Add plugin list acceptance tests. Closes #3519 2023-06-05 15:17:26 +01:00
Patrick Decat
51f43f108b Allow selection of hosts for steampipe service. Closes #3505 2023-06-01 17:14:56 +01:00
Binaek Sarkar
299697ae2f Updates in cache configuration to allow disabling of all caching on server. Closes #3258
STEAMPIPE_CACHE environment variable resolves to service cache enabled as well as client cache enabled

service cache enabled is used by the plugin manager to enable/disable caching on the plugins during startup (runtime toggle is not allowed) - with a max_ttl

client cache enabled is used to enable/disable the cache on the database connection (fdw)
A TTL can also be set on the client side capped to max_ttl on the server
2023-03-31 15:12:25 +01:00
Binaek Sarkar
e4dbced826 Updates to workspace profile - add additional properties and command specific options blocks. Closes #3223 2023-03-21 12:00:47 +00:00
kaidaguerre
92396d77c0 Remove connection pool min size. Remove need to create empty mod introspection tables if introspection is not enabled. Remove connection pool min size. Closes #3207
* Remove all references to prepared statements
* remove sessionInitWaitGroup
2023-03-09 16:55:08 +00:00
Binaek Sarkar
d0ede13d4b Make database start timeout configurable. Closes #3038 2023-02-14 17:33:57 +00:00
Binaek Sarkar
fbf086f39c Fixes issue where config from 'default.spc' was taking precedence over ENV var settings. Closes #3060 2023-02-03 12:05:30 +00:00
Binaek Sarkar
b56447cbcc Consolidates setting of CLI flag shorthand. Closes #2403 2022-11-09 10:31:09 +00:00
Puskar Basu
c732838e1f Add acceptance tests to check behaviour of option blocks in workspaces. Closes #2678 2022-11-09 10:22:36 +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
6a773517ec If using a named workspace profile, mod_location is not being respected. Closes #2661 2022-11-02 22:10:02 +00:00
kaidaguerre
0d0ad19f67 Update formatting for login command. Update missing cloud token error. Closes #2654 2022-11-02 21:46:17 +00:00
kai
b062a1c9ba Default auto complete to on. #2560 2022-10-27 18:00:15 +01:00
kaidaguerre
940bec6b5f Connect to steampipe cloud using the steampipe cloud sdk. Closes #2610 2022-10-27 17:43:44 +01:00
kai
1d4a849dcc Set query timeout using env var STEAMPIPE_QUERY_TIMEOUT. #666 2022-10-27 11:58:23 +01:00
Puskar Basu
81a2cf65af Load workspace-profile from config directory. Closes #2595 2022-10-26 14:55:48 +01:00
kaidaguerre
d3830b1335 Add steampipe login command. Closes #2583 2022-10-25 17:33:35 +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
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
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
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
5193c70395 Restructure steampipe repo to use pkg folder. Closes #2204 2022-06-27 11:36:03 +01:00