Commit Graph

73 Commits

Author SHA1 Message Date
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
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
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
Puskar Basu
c30d71cc2c Update acceptance tests to use new functionality_test_mod. Closes #1056 2021-10-28 09:55:12 +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
kaidaguerre
5f978227db Delete accidentally added files 2021-10-21 11:22:36 +01:00
Binaek Sarkar
808052602d Update check command to support markdown output . Closes #1011 2021-10-20 17:05:09 +01:00
Puskar Basu
10667eb6c4 Add acceptance test for testing steampipe check all functionality. Closes #1027 2021-10-20 14:41:45 +01:00
Puskar Basu
b927053d3b Add acceptance tests to check dynamic schema functionality through CSV plugin. Closes #1021 2021-10-20 14:21:06 +01:00
Puskar Basu
ece0381926 Add HTML check formatter. Closes #480 2021-10-20 10:28:08 +01:00
kai
04820139bb fix acceptance tests 2021-10-19 17:36:05 +01:00
kaidaguerre
bd791223e8 Add support for plugins with dynamic schema. Closes #1012 2021-10-18 12:20:13 +01:00
Puskar Basu
a0494168bd Add acceptance test for connection config with options block. Closes #995 2021-10-08 15:18:21 +01:00
Binaek Sarkar
48c1041c9c Add check summary in table output. Closes #710. 2021-10-04 16:43:16 +01:00
kaidaguerre
89e7b43988 Support json and yaml connection config. Closes #969 2021-10-01 12:31:51 +01:00
Puskar Basu
0cbb6be8f8 Acceptance tests for introspection table updates. Closes #962 2021-09-30 12:09:09 +01:00
Puskar Basu
8228aff51f Add acceptance tests for control params. Closes #928 2021-09-22 15:21:50 +01:00
Puskar Basu
1063b811a4 Add mod to test failures 2021-09-03 18:47:49 +05:30
Puskar Basu
de4db2d570 Added control and test for positional args 2021-09-03 17:11:14 +05:30
Puskar Basu
021734d261 Added tests for checking inline sql within control 2021-09-03 17:05:26 +05:30
Puskar Basu
ba17b02f88 Updated tests 2021-09-03 16:46:47 +05:30
Puskar Basu
75e50f9ff7 Added controls and queries for acceptance testing this feature 2021-09-02 21:34:48 +01:00
kai
1293dfae9b update acc tests 2021-09-02 21:34:48 +01:00
Puskar Basu
3c961ca4ff Modify acceptance tests for aggregated connections. Closes #750 2021-08-24 10:02:04 +01:00
Puskar Basu
3da1c4b5ce Update search-path acceptance tests to modify the queries. Closes #793 2021-08-24 10:01:29 +01:00
Puskar Basu
93db0dd23a Retry control run if the plugin crashes. Closes #757 2021-08-18 16:53:18 +01:00