kaidaguerre
5193c70395
Restructure steampipe repo to use pkg folder. Closes #2204
2022-06-27 11:36:03 +01:00
kaidaguerre
6ac9d9ff8a
Add --show-password to service status command. Update service help text. #2033
2022-06-21 14:10:27 +01:00
kaiba42
316d1b3486
Add '--show-password' cli arg to reveal the db user password. Disables password visibility by default. Closes #2033
2022-06-14 15:21:57 +01:00
Gábor Lipták
af7d97c229
Correct golint warnings (3) ( #2065 )
2022-06-07 14:36:04 +01:00
Binaek Sarkar
1189032aa6
Prevents backup creation if there is an instance of 'pg12' running. Closes #1916
2022-04-25 16:14:06 +01:00
kaidaguerre
c07fe30294
Add 'input' flag to disable interactive prompting for variables. Closes #1839
2022-04-12 16:08:05 +01:00
Puskar Basu
41cf8926ae
Use constants as exit codes in steampipe cli. Closes #1577
2022-04-01 14:06:38 +01:00
Binaek Sarkar
0105e28bf6
Fixes inconsistent output for service commands with --dashboard. Closes #1599
2022-03-09 17:40:59 +00:00
Binaek Sarkar
d16fcf60ad
Add support for finding the mod definition by searching up the working directory tree. Closes #1533
2022-03-07 15:52:57 +00:00
Binaek Sarkar
5fa20150fa
Adds support for starting dashboard server with service start ( #1472 )
2022-02-21 16:15:19 +00:00
kaidaguerre
35330a8fb0
Update reports functionality. Add reflection tables for report entities. Automatically install report assets. Closes #1265 . Closes #567 Closes #1364
2022-01-31 15:17:18 +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
079e0fc584
Add support for installer to detect running service when upgrading. Closes #1269
2022-01-06 09:37:38 +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
Binaek Sarkar
aea6b017f2
Ensure plugin manager and db service state are managed as a unit - they should always be started and stopped together. Closes #1149
2021-11-19 16:07:20 +00:00
kaidaguerre
b07013c4dd
Tie the connection watcher lifecycle to the plugin manager. Closes #1129
2021-11-16 22:48:10 +00:00
kaidaguerre
e15b78308f
Update and tidy the help text. Closes #1039
2021-10-22 13:27:37 +01:00
Binaek Sarkar
667c3aacec
Fix for incorrect message from service status when service is not running. Closes #975
2021-10-07 16:57:55 +01:00
Binaek Sarkar
8b9672592b
Removes deprecated flags from service start. Closes #582
2021-10-06 11:36:18 +01:00
kai
549f4a7a20
Update help text for 'database-password' arg. #725
2021-09-28 16:49:54 +01:00
kai
b453188f57
Small updates to output of steampipe service commands. #812
2021-09-27 13:50:25 +01:00
Binaek Sarkar
818cb9e94a
Allow providing a user/pass combination to be used when running in Service Mode. Closes #725
2021-09-24 11:08:19 +01:00
Binaek Sarkar
69e4b80a2f
Small updates to output of steampipe service commands. Closes #812
2021-09-16 11:02:03 +01:00
kaidaguerre
35a6fe9e34
Add support for connecting to a remote database client. Closes #908
2021-09-15 13:29:26 +01:00
Binaek Sarkar
166bfb2862
Fix service lifecycle management issues when state file is deleted which service is running. Closes #872
2021-09-13 15:51:54 +01:00
kaidaguerre
c25a9b76a1
Add connection config file watching for service in foreground mode. Closes #815
2021-09-10 17:52:30 +01:00
Binaek Sarkar
04781f7c88
Fix for 0 exit code even if service start fails. Closes #762
2021-08-17 20:17:56 +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
kai
0968672e3c
Update FDW to 0.1.0-rc.2 - add panic recovery in goroutine reading GRPC stream.
2021-07-15 17:13:03 +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
919b779b9b
Run initdb if database is installed but data directory is empty. Closes #575
2021-07-14 12:23:15 +01:00
Abhinash Khuntia
e7f781c176
Update steampipe service to support SSL. Closes #602
2021-07-14 10:21:05 +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
3098b95e53
Add --all flag to service status to list status for all running services. Closes #532
2021-07-01 09:24:48 +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
645ed5ff25
Change message in service status when service is running from a query/check session. Closes #531
2021-06-15 17:18:03 +01:00
Binaek Sarkar
93f7d8192c
Fix to display timing profile data when appropriate env var is set. Closes #513
2021-06-11 16:18:52 +01:00
Binaek Sarkar
0f4c510b16
Add support for autocomplete in bash. Closes #481
2021-06-11 16:17:50 +01:00
kaidaguerre
0da4feb894
Add search-path and search-path-prefix arguments to query command. Closes #358
2021-04-12 15:32:48 +01:00
kai
2f7d5bf499
If config specifies a search path, do not add public to the beginning, #353
2021-04-09 18:09:27 +01:00
kai
828cd4e828
All boolean properties in options files should be of type bool, rather than truthy strings. Remove unused argument background #313
2021-03-18 16:21:42 +00:00
kai
dfc35cf637
Boolean env vars should support all truthy values.
...
Update config precedence code to allow baseline defaults for keys with no corresponding flags.
Fix default values od database-port and database-listen.
Closes #35
2021-03-18 10:44:20 +00:00
kai
553e3b18d8
Deprecate db-port and listener, replace with database-port and database-listener. Closes #302
2021-03-17 20:18:39 +00:00
Binaek Sarkar
a4880eafed
Handle a service instance running from different install directories, without increasing query startup time. Closes #299
2021-03-17 18:21:43 +00:00