Binaek Sarkar
06af870908
Fix running a single dashboard from the command line failing if the dashboard needs inputs and the dashboard name is not fully qualified. Closes #3168 . Closes #3154
2023-02-28 15:27:09 +00:00
Puskar Basu
68399b39ef
Add acceptance tests for dynamic aggregators. Closes #3147
2023-02-28 11:38:21 +00:00
kai
d266917597
Merge branch 'v0.18.x' into main
...
# Conflicts:
# CHANGELOG.md
# pkg/version/version.go
2023-02-15 14:52:34 +00:00
Binaek Sarkar
d75ab0372e
Fixes issue where snapshot mode in query leads to duplicate rows in console/file output
2023-02-15 19:08:19 +05:30
Binaek Sarkar
3096f9bfb8
Adds tests around service lifecycle
2023-02-03 16:32:06 +00:00
Mike Burgess
9669829827
Merge branch 'v0.18.x'
2023-02-03 13:04:02 +00:00
Binaek Sarkar
fbf086f39c
Fixes issue where config from 'default.spc' was taking precedence over ENV var settings. Closes #3060
2023-02-03 12:05:30 +00:00
kaidaguerre
34bea3d1ef
Add support for aggregator connections with dynamic tables. Closes #2886
2023-01-27 19:47:43 +00:00
Binaek Sarkar
ed4fc2d293
Updates 'csv' output for 'query' to output empty string for cells with 'null' values. Closes #2847
2023-01-20 09:26:30 +00:00
Puskar Basu
8b68c0779f
Update introspection tables acceptance test suite. Closes #2906
2023-01-18 14:31:15 +00:00
kaidaguerre
faf7039bad
Fix acceptance tests - remove tests using control search path
2023-01-10 09:58:24 +00:00
kaidaguerre
db2cd925bd
Update parsing to validate hcl properties. Closes #2923
2023-01-09 21:44:05 +00:00
Puskar Basu
a687326a7d
Add dashboard acceptance tests. Closes #2818
2023-01-09 11:48:56 +05:30
kai
04a3daa7c4
Revert "Add dashboard acceptance tests. Closes #2818 "
...
This reverts commit 0a5aecf6c1 .
2023-01-06 18:41:17 +00:00
Puskar Basu
0a5aecf6c1
Add dashboard acceptance tests. Closes #2818
2023-01-06 17:19:31 +00:00
Puskar Basu
34ecf67496
Use consistent and defined exit codes. Closes #2935
2023-01-06 14:14:05 +00:00
Puskar Basu
4f72c3bceb
Add acceptance tests to verify query outputs containing null values. Closes #2897 ( #2898 )
2023-01-03 17:40:25 +00:00
kaidaguerre
fa18c8f0e2
Add support for node reuse. Update graph, flow and hierarchy to declare nodes and edges inline, rather than as a list of references. Closes #2871
...
Only top level resources can have with and param blocks. Closes #2872
Refactor resource and dashboard run hierarchies to use base impl structs. Closes #2873
2022-12-14 17:18:57 +00:00
Binaek Sarkar
947162de22
Fixes issue where value from '--separator' was not being used in CSV rendering. Closes #544
2022-11-30 09:50:34 +00:00
Puskar Basu
c732838e1f
Add acceptance tests to check behaviour of option blocks in workspaces. Closes #2678
2022-11-09 10:22:36 +00:00
Binaek Sarkar
e5a14bce00
Adds 'list' sub command for 'query', 'check' and 'dashboard'. Closes #2653
2022-11-03 15:58:56 +00:00
kaidaguerre
3d084c5bc8
Add snapshot-title arg. Ensure snapshots and exports are named consistently. Closes #2666
2022-11-03 11:09:07 +00:00
Puskar Basu
bd6d7b5ecb
Fix and re-enable docker tests in release workflow
2022-11-03 10:16:12 +00:00
Puskar Basu
eec7393d3f
Add acceptance tests for Workspace Profiles. Closes #2571
2022-10-31 09:25:09 +00:00
Puskar Basu
81a2cf65af
Load workspace-profile from config directory. Closes #2595
2022-10-26 14:55:48 +01:00
kaidaguerre
1e3db26e8f
Add support for workspace profiles - parse from config and select using --workspace arg. Closes #2510
...
Add support for implicit workspace. Closes #2514
If snapshot-location is a local file path, copy snapshot instead of uploading. Closes #2550
Do not show snapshot upload status if --progress=false. Closes #2517
Replace --workspace with --snapshot-location. Closes #2512
2022-10-19 13:02:24 +01:00
michizhou
f80f9c1b21
Deprecate workspace-chdir, replace with mod-location. Closes #2511
2022-10-19 11:08:34 +01:00
kaidaguerre
ef845286c1
Add support for sharing snapshots. Add snapshot output and export format for query and check. Add ability to run named dashboards. #2473
2022-10-05 15:30:57 +01:00
kaidaguerre
404dd35e21
Update database code to use pgx interface so we can leverage the connection pool hook functions to pre-warm connections. Closes #2422 ( #2438 )
...
* Provide feedback for failed prepared statements
* Move error functions to error_helpers
* Make maintenance client retriable
2022-10-05 12:38:57 +01:00
kaidaguerre
cb42d5d3eb
Update CLI to upload snapshots to the cloud using --share and --snapshot options. Update Dashboard command to support passing a dashboard name as an argument. Closes #2365 . Closes #2367
2022-09-02 17:05:40 +01:00
Puskar Basu
1a9a80f848
Add an acceptance test to verify 'check all' functionality. Closes #2190
2022-06-21 11:17:10 +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
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
kaidaguerre
d497d6915e
Workspace lock file is not being correctly migrated. Closes #2069
2022-05-16 13:46:40 +01:00
Puskar Basu
095d34c00a
Add control severity in the check run CSV output. Closes #1966
2022-05-13 12:37:07 +01:00
Binaek Sarkar
c5ced36a48
Hides the '--schema-comments' flag in the root 'steampipe' command. Closes #2010
2022-05-06 13:41:19 +01:00
kaidaguerre
4f3238c4c2
Add dashboard support for controls and benchmarks. Closes #1760
2022-04-13 12:44:38 +01:00
Puskar Basu
5277da9e51
Add acceptance test for connection name escaping. Closes #1772
2022-04-11 09:23:30 +01:00
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
Puskar Basu
cb6bb054eb
Required Steampipe version in mod.sp is not respected when running query command. Closes #1734 . Closes #1718
2022-03-24 11:00:31 +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
bedafa586a
Re-design and update cache acceptance tests. Closes #1570
2022-03-15 10:04:17 +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
Puskar Basu
a7e10e729b
Fix acceptance tests. Closes #1568
2022-03-04 13:06:48 +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
33f55e584f
Add support for mod management commands. Closes #442 . Closes #443
2021-12-21 14:10:00 +00:00
Binaek Sarkar
28d12e70eb
Update Postgres driver to github.com/jackc/pgx. Closes #1179
2021-12-09 17:15:59 +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