cbruno10
3816cf7a8a
Minor spacing fix in steampipe check help flags ( #2220 )
2022-07-06 16:20:11 +01:00
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
938ad80d37
Update dashboard snapshot format, making control/benchmark output consistent with dashboards. Closes #2154
2022-06-15 16:01:51 +01:00
Puskar Basu
d214812e5f
Update json control output template to use Go templating, rather than just serialising the results. Closes #2163
2022-06-10 17:34:47 +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
5b05c03ee2
Update 'check' and 'dashboard' command to NOT fail if any connection fails to load. CLoses #1885
2022-04-19 12:11:05 +01:00
kaidaguerre
4f3238c4c2
Add dashboard support for controls and benchmarks. Closes #1760
2022-04-13 12:44:38 +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
kaidaguerre
6699d7de77
Ensure service is shutdown if check/dashboard/query are cancelled during initialisation. Closes #1288
2022-03-17 16:32:24 +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
kaidaguerre
2c7d9950ed
Refactor prepared statement creation code to support all QueryProviders. Closes #1468
2022-02-17 14:41:23 +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
Binaek Sarkar
389c22c813
CSV template for check export. Closes #1315
2022-01-27 15:48:56 +00:00
Puskar Basu
5e4e8fd765
Add JSON template for check export. Closes #1337
2022-01-25 16:55:40 +00:00
Puskar Basu
45d81dd895
Fix asff-json template line spacing and make templates more readable. Closes #1323
2022-01-20 18:27:01 +00:00
Binaek Sarkar
60920fce3e
Add support for a generic template formatter for check output. Closes #1289
2022-01-17 13:24:01 +00:00
kaidaguerre
efbebd99ee
Decouple spinner display code from database and execution layer. Closes #1290
2022-01-06 11:54:18 +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
d46e7d02fc
Fix issue where benchmark execution duration is incorrect in check. Closes #1249
2022-01-03 13:02:14 +00:00
kaidaguerre
33f55e584f
Add support for mod management commands. Closes #442 . Closes #443
2021-12-21 14:10:00 +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
kaidaguerre
413ab2a112
Warning are not shown when running 'steampipe check'. Closes #1229
2021-12-14 12:20:14 +00:00
Binaek Sarkar
a627cf0180
Disable progress when running in a non-tty environment. Closes #1210
2021-12-13 09:30:53 +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
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
55bad37d65
Fix issue where check progress reports negative values when errors occur. Closes #1131
2021-11-19 15:58:55 +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
aa6137e189
When cli displays error messages from plugins, they should be prefixed with plugin name. Do not show plugin error messages in JSON/CSV output. Closes #1110 . Closes #1071
2021-11-16 10:30:43 +00:00
kaidaguerre
6bcccf306d
session should always be closed by the caller instead of in dbClient.ExecuteInSession. Closes #1068
...
- Return actual error when WaitForConnection fails during client creation
- Do not register a parallel execution in progress display until the session has been acquired
2021-11-05 13:40:29 +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
Binaek Sarkar
024f2423f0
Constrain check table-output rendering to a minimum width. Closes #1062
2021-11-01 17:00:30 +00:00
Binaek Sarkar
d96998aaa0
Updates auto generated file name format for check exports. Closes #1045
2021-10-22 18:32:18 +01:00
Binaek Sarkar
1b70b628de
Updates to html check output format. Closes #1034
2021-10-22 18:19:36 +01:00
kaidaguerre
e15b78308f
Update and tidy the help text. Closes #1039
2021-10-22 13:27:37 +01:00
Binaek Sarkar
300102d3fc
Update check to add markdown output format. Closes #1011
2021-10-22 11:15:09 +01:00
Puskar Basu
89cd993ab6
Review exit codes for steampipe commands. Closes #833
2021-10-22 10:10:32 +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
ab52e7efaa
Add steampipe_variable reflection table. Closes #859
2021-09-15 13:55:04 +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
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
6f605ffccd
refactor parsing
2021-09-02 21:34:43 +01:00