Commit Graph

122 Commits

Author SHA1 Message Date
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
kaidaguerre
8d7d2b6b04 Remove daemon process. Closes #1146 2021-11-18 17:57:06 +00:00
kaidaguerre
b07013c4dd Tie the connection watcher lifecycle to the plugin manager. Closes #1129 2021-11-16 22:48:10 +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
Puskar Basu
32a1be9130 Validate database name if STEAMPIPE_INITDB_DATABASE_NAME is used. Closes #1065 2021-11-09 11:26:50 +00:00
Puskar Basu
b5850d8506 Save test execution logs as artifacts from Acceptance test workflow if the workflow fails. Closes #1083 2021-11-09 11:25:04 +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