Binaek Sarkar
e9cfcd852c
Fixes issue where tags are not sorted in output of 'check' command. Closes #1715
2022-03-29 12:57:35 +01:00
Binaek Sarkar
fceb5f97e5
Improves messaging when controls time out. Closes #1330
2022-03-24 11:01:27 +00:00
kaidaguerre
fb2a1c0daa
Fix setting search path after connection config changed event. Closes #1700
2022-03-22 13:15:12 +00: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
Puskar Basu
200f70a822
Fix unit tests. Update acceptance test workflow to run them correctly. Closes #1611
2022-03-17 11:33:57 +00:00
kaidaguerre
26f6baa1bd
Expose reporting metadata to the dashboard UI. Closes #1411
2022-03-04 17:15:01 +00:00
kaidaguerre
859fb41b9d
When setting a dashboard input, re-execute if the previous value is NOT nil. Closes #1560 . Add raw SQL to dashboard leaf node, instead of execute SQL. C loses# 1559
2022-03-03 12:56:21 +00:00
kaidaguerre
885fb54acc
Update report execution to add support for runtime dependencies. Closes #1454
2022-02-22 11:46:14 +00:00
kaidaguerre
2c7d9950ed
Refactor prepared statement creation code to support all QueryProviders. Closes #1468
2022-02-17 14:41:23 +00:00
kaidaguerre
ce84fccf66
Update report execution to add support for runtime dependencies #1454
2022-02-15 15:54:19 +00:00
kaidaguerre
01c4b4fc43
Update steampipe-plugin-sdk version to v3. Closes #1445
2022-02-14 15:31:13 +00:00
Binaek Sarkar
742879fc53
Create and use a $STEAMPIPE_INSTALL_DIR/tmp for oci installations. Closes #1375
2022-02-08 12:13:35 +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
Gábor Lipták
b862cf1f76
Cleanup deadcode and unused ( #1334 )
...
Signed-off-by: Gábor Lipták <gliptak@gmail.com >
2022-01-25 16:54:36 +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
Gábor Lipták
31ff1f037e
Cleanup deadcode ( #1299 )
...
Signed-off-by: Gábor Lipták <gliptak@gmail.com >
2022-01-20 14:28:05 +00:00
Puskar Basu
be67b786f4
Update check templates to remove functions. Closes #1320
2022-01-19 16:36:11 +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
Binaek Sarkar
8dcc171ec6
Fixe issue where check table output is not getting displayed at all. Closes #1300
2022-01-10 15:27:23 +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
9882563547
Only create prepared statements if the query has parameters. Closes #1231
2021-12-14 12:34:29 +00:00
Binaek Sarkar
39d6ae986c
Fix issue where 'check' was not prematurely cancelling database connections when using a remote connection. Closes #1227
2021-12-14 10:02:38 +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
Binaek Sarkar
f2580be172
Fixes issue where a check cancel was not waiting for query cancellation to finish, resulting in the service not stopping. Closes #1171
2021-11-24 16:21:10 +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
501042c763
Re-add control execution retry in case of plugin crash. Close #1088
2021-11-08 16:52:19 +00:00
Binaek Sarkar
9dda6d6f47
Fixes issue where the steampipe service is not shutdown when a check is cancelled. Closes #1081
2021-11-08 16:13:51 +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
Puskar Basu
fd082f6cad
Update acceptance tests - add generic queries and controls to test control rendering. Closes #1059
2021-11-02 14:56:52 +00:00
Binaek Sarkar
024f2423f0
Constrain check table-output rendering to a minimum width. Closes #1062
2021-11-01 17:00:30 +00:00
Puskar Basu
9622e13ba9
steampipe check --dry-run should not display control summary. Closes #1053
2021-10-28 09:53:48 +01:00
Mike Burgess
2e8e2f1896
Control state icons should be center-aligned in HTML export #1034 .
2021-10-22 20:02:37 +01:00
Binaek Sarkar
1b70b628de
Updates to html check output format. Closes #1034
2021-10-22 18:19:36 +01:00
kaidaguerre
e073054248
Control results should be ordered by status. Closes #465
2021-10-22 16:56:44 +01:00
kaidaguerre
8551ec9868
Rename 'markdown' format to 'md'. #1011
2021-10-22 12:28:39 +01:00
Binaek Sarkar
300102d3fc
Update check to add markdown output format. Closes #1011
2021-10-22 11:15:09 +01:00
kaidaguerre
a3ad46e83c
Update control summary - only show severity block if there are high/critical items. #710
2021-10-21 15:03:57 +01:00
Binaek Sarkar
808052602d
Update check command to support markdown output . Closes #1011
2021-10-20 17:05:09 +01:00
Puskar Basu
ece0381926
Add HTML check formatter. Closes #480
2021-10-20 10:28:08 +01:00
Binaek Sarkar
48c1041c9c
Add check summary in table output. Closes #710 .
2021-10-04 16:43:16 +01:00