Commit Graph

128 Commits

Author SHA1 Message Date
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
Puskar Basu
016c7b4181 Fix oracle docker test 2022-09-12 17:02:41 +05:30
Puskar Basu
1d77d0639b Fix issue where docker acc tests were always running from main 2022-09-12 17:02:18 +05:30
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
kai
e76434e2d5 Fix acceptance tests 2022-08-31 11:58:06 +01:00
Puskar Basu
ea9d44db61 Fix docker tests getting stuck in release workflow. 2022-08-23 12:10:22 +01:00
Puskar Basu
aeac80e540 Improve caching acceptance tests. Closes #2309 2022-08-09 14:23:54 +01:00
Puskar Basu
487ba35e82 Update release workflow 2022-08-09 12:50:05 +01:00
Puskar Basu
0b4f93ed12 Update base image for the steampipe docker container. Closes #2233 2022-08-02 10:21:45 +01:00
Puskar Basu
d1719e6d1f Run acceptance tests on docker containers in release workflow. Closes #1546 2022-07-06 13:57:54 +01:00
Puskar Basu
1a9a80f848 Add an acceptance test to verify 'check all' functionality. Closes #2190 2022-06-21 11:17:10 +01:00
kaidaguerre
dc6b636822 Add support for Open Telemetry. Closes #1193 2022-06-16 15:17:52 +01:00
Puskar Basu
7a4ebe4276 Add acceptance tests to check connection config options are parsed and used correctly in a query. Closes #2177 2022-06-16 14:29:41 +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
Puskar Basu
0e6988e953 Add acceptance test to parse main steampipe mods. Closes #2064 2022-06-07 11:57:04 +01:00
Puskar Basu
351ef175c2 Update acceptance tests to halt the entire test suite, if steampipe installation fails. Closes #2109 2022-05-27 16:02:18 +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
Puskar Basu
4c30dd7896 Add acceptance test to verify public schema migration. Closes #2053 2022-05-13 11:32:10 +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
Puskar Basu
50bf17fa06 Fix time-to-query acceptance tests. Closes #1960 2022-04-28 10:19:38 +01:00
Binaek Sarkar
3a88d81342 Adds fix so that restoration does not completely fail if Materialized Views in the backup cannot be refreshed. Closes #1933 2022-04-26 14:08:21 +01:00
kaidaguerre
4f3238c4c2 Add dashboard support for controls and benchmarks. Closes #1760 2022-04-13 12:44:38 +01:00
Puskar Basu
c4ff352c41 Migrate all json config files to use snake case property names. Closes #1730 2022-04-12 17:23:29 +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
Puskar Basu
5d6b7b5ad7 Expand plugin query tests. Closes #1621 2022-03-14 14:30:48 +00:00
kaidaguerre
7712d881e3 Fix dashboard errors not always being reported, or reported with no detail. Closes #1582 2022-03-07 16:48:15 +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
Binaek Sarkar
5fa20150fa Adds support for starting dashboard server with service start (#1472) 2022-02-21 16:15:19 +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
Binaek Sarkar
a0d5c3fc3b Enforce timezone in local test bed. Closes #1350 2022-01-24 14:31:31 +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
Binaek Sarkar
159b11608a Fix issue where database name is not printed in output of 'service start' . Closes #1270 2022-01-03 10:09:55 +00:00
kaidaguerre
33f55e584f Add support for mod management commands. Closes #442. Closes #443 2021-12-21 14:10:00 +00:00
kaidaguerre
6e51de36df Only load pseudo-resources if there is a modfile in the workspace folder. Closes #1238 2021-12-16 15:40:18 +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
Binaek Sarkar
b92ff8a074 Enables the tablefunc extension for the steampipe database. Closes #1154 2021-12-07 12:57:19 +00:00
Puskar Basu
7be8229153 Re-enable dynamic schema tests. Closes #1076 2021-11-30 12:31:54 +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