Commit Graph

18 Commits

Author SHA1 Message Date
Binaek Sarkar
7c85c5c2db Update service start to add --foreground flag. Closes #535 2021-07-01 09:34:04 +01:00
Binaek Sarkar
abd5f5ec7c Update plugin cmds to start the service in PreRun and stop service in PostRun. Close #578 2021-07-01 09:21:45 +01:00
tyagiparth
5fdc9cab79 Support executing controls from query command. Closes #470 2021-06-28 10:26:51 +01:00
kai
cd545eec99 Update missing plugin error message. #557 2021-06-17 16:22:16 +01:00
tyagiparth
418a34c6cb Validate that plugin versions required by mod are installed. Closes #557 2021-06-17 12:42:41 +01:00
kaidaguerre
e94ba35333 Set soft Ulimit to hard Ulimit value, fixes Steampipe failing to run when too many benchmarks use the same controls. Closes #528 (#529) 2021-06-14 17:53:14 +01:00
Binaek Sarkar
0f4c510b16 Add support for autocomplete in bash. Closes #481 2021-06-11 16:17:50 +01:00
kai
4dbc6bad6b Initial iteration of control result display code 2021-05-20 16:11:50 +01:00
kai
4b9c739cc9 Add steampipe_mod reflection table. Closes #444 2021-05-20 16:11:13 +01:00
kai
7e3ae0a386 Add parsing support for variable references, functions and locals. Closes #405
Update check to te-add implicit conversion of named query name to named query, so setting the SQL field to a query name would work.

Update reflection tables to fix JSONB arrays

Workspace loads and watches files recursively if a mod.sp file exists in the workspace folder

Update reflection tables - 'labels' and 'links' are now JSONB columns

rename control property Query to SQL and do NOT try to resolve this as a named query

Add documentation property to control_group
2021-05-20 16:11:13 +01:00
kai
fcb6cbc96b Add support for control execution scopes and --where argument. Closes #408 2021-05-20 16:11:13 +01:00
kai
b02f9644cb control query should support named queries. Closes #420
Fix query resource name in metadata

update metadata tables from file watch events

remove db reference to workspace.
store named query in history untouched

rename ReflectionData to metadata. Handle arrays.

Reflection data working apart from pointers to arrays

For query command, pull client to higher level to allow creation ot reflection temp tables
Add executeSqlAsRoot
StartDb stops service if there is an error
Add temp table creation for reflection tables

remove invalid listen address

remove invalid listen address
2021-05-20 16:11:13 +01:00
kai
77eff21c23 Add check command. Add support for control groups. Closes #413 2021-05-20 16:11:13 +01:00
kai
5c7feedc48 Update mod parsing to support controls. update mods and queries to use string pointers for properties to allow optional hcl properties. Reenable mod loading and workspace exclusions. Closes #410 2021-05-20 15:26:30 +01:00
kai
c393bc7095 Revert "Update mod parsing to support controls. update mods and queries to use string pointers for properties to allow optional hcl properties. Reenable mod loading and workspace exclusions. Closes #410"
This reverts commit 7f80f0f6
2021-04-19 16:47:57 +01:00
kai
7f80f0f69f Update mod parsing to support controls. update mods and queries to use string pointers for properties to allow optional hcl properties. Reenable mod loading and workspace exclusions. Closes #410 2021-04-19 15:59:32 +01:00
kaidaguerre
b0a06c4133 Update file watching to only use fsnotify to watch files - implement folder watch within steampipe. Closes #380 2021-04-14 21:11:06 +01:00
kaidaguerre
f87cc07785 Add workspace support - create named queries from sql files in current directory. Closes #369 2021-04-12 16:52:43 +01:00