Patrick Decat
7cb8edd1b2
fix: do not abort when unrelated connections are not yet loaded ( #4233 )
...
* fix: do not abort when unrelated connections are not yet loaded
* fix: convert config read error to warning
2024-06-06 13:22:18 +01:00
kai
c17bd9388f
Accept legacy boolean values for timing in query options. #4237
2024-04-26 14:38:42 +01:00
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
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
kaidaguerre
43540d318c
Add support for nested dashboards. Closes #4208
2024-03-20 15:58:57 +00:00
Puskar Basu
f63ff54741
Remove deprecated options. Closes #4131 , Closes #4132 , Closes #3751
2024-02-22 14:58:34 +00:00
kai
4e031b447b
Merge branch 'v0.21.x'
...
# Conflicts:
# pkg/steampipeconfig/modconfig/mod.go
2024-02-06 11:47:32 +00:00
kaidaguerre
33210d4fe7
Accept both sp and pp files as mod data extension. Closes #4089
2024-02-05 17:11:00 +00:00
kaidaguerre
3458984aaf
Update go-kit to v0.9.0. Use terraform-components instead of a direct terraform reference
2024-02-01 17:12:23 +00:00
kaidaguerre
103d53f8e8
Fix setting dependency vars in var file. Fix UI freeze when prompting for workspace variables. Closes #4105
2024-02-01 13:53:21 +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
79b66fb9fa
Move hcl_helpers and type_conversion package to go-kit. Closes #3962
...
(cherry picked from commit 737efa381b )
2023-11-29 12:55:13 +00:00
guangwu
d1917fa695
chore: slice loop replace ( #3958 )
...
(cherry picked from commit 8ddf26db60 )
2023-11-29 12:55:13 +00:00
kaidaguerre
0199aaceca
Add function to clear connection cache. Closes #3937
...
* Add function to clear connection cache.
* Update FDW to v1.9.0 - Add ability to clear connection cache by inserting into settings table.
* Update plugin sdk to v5.6.1
* fix listen unit tests
(cherry picked from commit 4fa11a424e )
2023-09-29 20:20:08 +01:00
kaidaguerre
2306767fd2
Improve the warning output when plugins with incompatible SDK versions fail to load. Closes #3911
2023-09-27 17:59:32 +01:00
Puskar Basu
01097a27e6
Warn users to not have mod.sp files in home directory. Closes #2321
2023-09-22 18:07:55 +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
Binaek Sarkar
b7df52c059
Raises warning when pseudo resources are ignored because of named hcl resources. Closes #1328 . Closes #1480
2023-09-19 10:39:18 +01:00
kaidaguerre
f232b14f06
Add support for multiple instances of the same plugin version to execute. Closes #3863
2023-09-18 15:39:17 +01:00
Puskar Basu
90a43a3c69
Improve error message when steampipe fails to parse a mod definition file if a mod block does not exist. Closes #1198
2023-09-15 12:22:47 +01:00
kaidaguerre
95fed2ed2a
Key the rate limiter and plugin config maps by plugin image ref, not short name. Closes #3820
2023-09-11 15:56:35 +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
kaidaguerre
2a86d08445
Add support to retrieve plugin rate limiter definitions and use to populate steampipe_rate_limiter table. Closes #3805 ( #3803 )
2023-09-06 13:28:22 +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
37e4b94148
Move ErrorAndWarnings to error_helpers. Closes #3653
2023-07-12 13:58:57 +01:00
kai
8c3099fddd
Fix wording for dependent mod arg validation error. #3546
2023-06-14 15:54:00 +01:00
kaidaguerre
f25c083dee
Improve mod require arg validation errors - include value expressions and arg file ranges. #3546
2023-06-14 15:54:00 +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
kaidaguerre
91436fafba
Support resolution of variables for transitive dependencies using parent mod 'args' property
...
`steampipe mod update` now updates transitive mods
It is now be possible to set values for variables in the current mod using fully qualified variable names.
Only variables for root mod and top level dependency mods can be set by user
Closes #3533 . Closes #3547 . Closes #3548 . Closes #3549
2023-06-09 16:22:09 +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
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
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
kaidaguerre
f47985f88f
Update mod require, deprecate steampipe property and add steampipe block. Deprecate plugin version property and add min_version`. Closes #3347 . Fix args passed to dependency mods failing to resolve if they reference variables. Closes #3348
2023-04-19 12:28:53 +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
kai
48e6d532c6
Merge branch 'v0.19.x'
...
# Conflicts:
# pkg/modinstaller/mod_installer.go
2023-04-13 14:30:01 +01:00
Binaek Sarkar
473a3e08b9
Fixes issue where mod install/update continues installation even with unsatisfied requirements. Closes #3291
2023-04-06 18:42:39 +01:00
kai
1f77b1b8bb
Merge branch 'v0.19.x'
2023-04-04 15:55:06 +01:00
kaidaguerre
e1703b9c75
Add dependency_path to steampipe_mod so it is possible to tell if a mod is a dependency mod. Closes #3304
2023-04-04 15:51:48 +01:00
kai
be5219d446
Merge branch 'v0.19.x'
...
# Conflicts:
# pkg/steampipeconfig/modconfig/mod_resources.go
2023-04-04 15:48:05 +01:00
kaidaguerre
dd08d9d8a4
Support mods requiring different versions of the same mod. Resources from transitive dependencies should not added the mod resource map #3302 ( #3303 )
2023-04-04 15:08:27 +01:00
Binaek Sarkar
be36276fd8
Add deprecation warnings for connection.options "connection" and global terminal options. CLoses #3246
2023-03-23 14:43:06 +00: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
kaidaguerre
8f87f7828c
Revert: Validate that input references are of the form self.input.<input-name>.value. Remove until mods are updated. #2990
2023-02-21 15:56:24 +00:00
kai
82b3b7454c
Remove TableAggregationSpecs
2023-02-15 12:43:54 +00:00
kaidaguerre
34bea3d1ef
Add support for aggregator connections with dynamic tables. Closes #2886
2023-01-27 19:47:43 +00:00
kaidaguerre
21b1172147
Update HCL validation to allow benchmark and control blocks in dashboard. Closes #3015
2023-01-18 12:24:58 +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
076b5c1957
Validate that input references are of the form self.input.<input-name>.value. Closes #2990
2023-01-16 12:30:34 +00:00