kaidaguerre
5193c70395
Restructure steampipe repo to use pkg folder. Closes #2204
2022-06-27 11:36:03 +01:00
kaidaguerre
dc6b636822
Add support for Open Telemetry. Closes #1193
2022-06-16 15:17:52 +01:00
kaidaguerre
b6d84d256a
Add support for setting dependent mod variable values using an spvars or by setting and Args property in the mod Require block. Closes #2076 . Closes #2077
2022-05-17 14:31:40 +01:00
kai
3581d87953
Update command help for --input arg to "Enable interactive prompts". Closes #1920
2022-04-21 17:13:39 +01:00
kaidaguerre
c07fe30294
Add 'input' flag to disable interactive prompting for variables. Closes #1839
2022-04-12 16:08:05 +01:00
kaidaguerre
26f6baa1bd
Expose reporting metadata to the dashboard UI. Closes #1411
2022-03-04 17:15:01 +00:00
kaidaguerre
775a1f44c7
Disable spinner for batch mode queries. Fixes #1340
2022-01-22 11:58:35 +00:00
kaidaguerre
efbebd99ee
Decouple spinner display code from database and execution layer. Closes #1290
2022-01-06 11:54:18 +00:00
Binaek Sarkar
990275c0a0
Fix issue where service is not shutdown if interrupted while interactive prompt is initialising. Closes #1004
2022-01-05 15:45:55 +00:00
kaidaguerre
e0ff19a280
Update package naming to be consistent and follow Go standards. Closes #1282
...
General code spring cleaning:
* move file paths from `consts` package to `filepaths`
* move InitData and ExportData to query and control packages
2022-01-04 12:28:36 +00:00
Binaek Sarkar
0732f8ee4f
Fix issue where service is not shutdown when check is cancelled. Closes #1250
2021-12-21 12:50:20 +00:00
Binaek Sarkar
dad700b26c
Add context awareness in services and commands. Closes #1206 . Closes #1214 . Closes #1215
2021-12-09 14:02:19 +00:00
kaidaguerre
1fdfc02c34
Startup optimizations. Closes #1186 . Closes #1183 . Closes #1182
...
- Update connection management to use file modified time instead of filehash to detect connection changes
- Avoid retrieving schema from database for check and non-interactive query execution
- When retrieving plugin schema, identify the minimum set of schemas we need to fetch - to allow for multiple connections with the same schema
- Update plugin manager to instantiate plugins in parallel
2021-12-07 15:34:14 +00:00
kaidaguerre
ad3e6447c0
Add support for connecting to a remote database, andf for connecting to Stweampipe #1175
2021-11-24 16:44:26 +00:00
kaidaguerre
3bb4bf97d3
Create prepared statements one by one to allow accurate error reporting and reduce memory burden. Fix workspace file watching. Fix async error display. Close ##1148. Close #1152 . Close #1085
2021-11-21 10:53:33 +00:00
Binaek Sarkar
a09ed88304
Optimize parallel control execution. Provider more responsive feedback for control runs. Update postgres log config to optimise performance. Closes #1101
2021-11-16 21:57:38 +00:00
kaidaguerre
7e7e0dd130
Add support for parallel control execution. Only spawn a single plugin per steampipe connection - defer plugin spawning to a PluginManager service. CLoses#1073, Closes #1001
2021-11-04 11:29:28 +00:00
kaidaguerre
e15b78308f
Update and tidy the help text. Closes #1039
2021-10-22 13:27:37 +01:00
kaidaguerre
695b2704a4
Rename backend database environment variables
2021-10-19 18:27:51 +01:00
kaidaguerre
041e1b0075
Support installation and resolution of mod dependencies. Add steampipe_reference introspection table. Closes #978 . Closes #972
2021-10-11 14:46:59 +01:00
kaidaguerre
38e3d5908f
Tidy the creation of session scoped data. #955
2021-09-28 12:27:03 +01:00
kai
903d50f72b
rename to session data - fix bug
2021-09-27 17:20:37 +01:00
kai
eafd908bde
Check results of EnsureSessionState and handle errors. #939
2021-09-27 11:56:20 +01:00
Binaek Sarkar
2621d6f7d6
Ensure session data is restored after a SQL client error. Reset SQL client after a failure to create a transaction. Closes #939
2021-09-24 11:10:48 +01:00
kaidaguerre
35a6fe9e34
Add support for connecting to a remote database client. Closes #908
2021-09-15 13:29:26 +01:00
kaidaguerre
596768718f
Rename reflectionTables to IntrospectionTables. Closes #895
2021-09-13 12:07:54 +01:00
kaidaguerre
7783b38cdd
Add prepared statement name column to steampipe_query and steampipe_control reflection tables. Closes #890
2021-09-13 11:54:49 +01:00
kaidaguerre
93e714124e
In batch query mode, only create prepared statements which are required. Closes #866
2021-09-08 12:41:28 +01:00
kai
a153fd556a
Filewatcher only updates tables/prepared statements if there is a resource change. Handle long query names
2021-09-03 14:20:52 +01:00
kai
b82407a121
Fix freeze in interactive mode
2021-09-02 21:34:48 +01:00
kai
c3b1087e6e
Support controls with inline SQL
2021-09-02 21:34:48 +01:00
kai
8f3a24f87e
handle query and SQL for control
2021-09-02 21:34:43 +01:00
kai
fcba5bc6aa
sanitise sql before creating prepared statement
2021-09-02 21:34:43 +01:00
kai
6f605ffccd
refactor parsing
2021-09-02 21:34:43 +01:00
kai
1fe09ccf07
InitiaL implementation - no named params or defaults
2021-09-02 21:34:43 +01:00
Binaek Sarkar
783050b3e6
Add completion command providing completion support for bash, zshell and fish. Closes #481
2021-09-02 17:11:53 +01:00
kaidaguerre
c166b5d749
Fix '--var' arg to accept complex type values. Closes #776
2021-08-18 16:18:49 +01:00
kaidaguerre
9b941ecdcf
Add support for variables. Closes #754
2021-08-06 11:10:53 +01:00
kaidaguerre
f9e5a8d10c
Fix errors during async interactive startup leaving the prompt in a bad state. Refactor the ResultsStreamer to avoid needing to call Done() before restarting the prompt. Closes #716 . Closes #728
2021-08-02 17:05:43 +01:00
kaidaguerre
b7aa42ceb3
Refactor service code to make it simpler to support external database connections. Closes #696
2021-07-26 17:07:28 +01:00
kaidaguerre
66cb4b0263
Refactoring and updates to allow future support for reports. #683
2021-07-23 12:15:09 +01:00
kaidaguerre
412eebb8bc
Cancellation improvements. #652
2021-07-21 16:31:29 +01:00
kaidaguerre
465e767886
During control run, multiple ctrl c presses causes send on closed channel error. Closes #630
2021-07-16 17:13:45 +01:00
kaidaguerre
f5796f0db3
In interactive mode, perform connection refresh and workflow loading asynchronously. Closes #627
2021-07-15 16:36:37 +01:00
Binaek Sarkar
7830670368
Fix for issue where query freezes if there's no data on stdin. Closes #570
2021-07-12 08:52:04 +01:00
Binaek Sarkar
f4c6d479ba
Update service start code to remove need to spawn a separate process when starting for 'check'/'query`. Closes #581
2021-07-08 15:26:45 +01:00
Binaek Sarkar
7c85c5c2db
Update service start to add --foreground flag. Closes #535
2021-07-01 09:34:04 +01:00
Binaek Sarkar
e1031902ee
Update service start to 'claim' a service started by query or check session, instead of failing. Closes #580
2021-07-01 09:32:12 +01:00
Binaek Sarkar
115c8e5feb
Remove locking from service code to allow multiple 'query' and 'check' sessions in parallel without requiring a service start. Closes #579
2021-07-01 09:24:48 +01:00
Binaek Sarkar
abd5f5ec7c
Update plugin cmds to start the service in PreRun and stop service in PostRun. Close #578
2021-07-01 09:21:45 +01:00