Commit Graph

28 Commits

Author SHA1 Message Date
kai
8161066291 Fix legacy mod 'requires' property validation. #1686 2022-03-17 10:24:43 +00:00
kaidaguerre
05d8344ae8 Order the source files before decoding, limit decode passes to 2. 2022-03-09 12:47:00 +00:00
kaidaguerre
a66fc3b756 Update mod loading to execute up to 3 decode passes to resolve dependencies. Closes #1603 2022-03-08 21:34:31 +00:00
Puskar Basu
e8b5d9d61f Refactor mod resources to use ModResource resource map exclusively. Add unit tests to test dashboard parsing. Closes #1553. #1382 2022-03-02 16:32:11 +00:00
kaidaguerre
e3b6ac3630 Fix issue where when dashboard inherits from another dashboard with inputs, the inputs do not work correctly. Closes #1518 2022-02-24 21:15:49 +00:00
kaidaguerre
885fb54acc Update report execution to add support for runtime dependencies. Closes #1454 2022-02-22 11:46:14 +00:00
kaidaguerre
9394e7cc73 Fix failure to detect duplicate pseudo resources. Closes #1478 2022-02-21 16:24:30 +00:00
kaidaguerre
ce84fccf66 Update report execution to add support for runtime dependencies #1454 2022-02-15 15:54:19 +00:00
kaidaguerre
01c4b4fc43 Update steampipe-plugin-sdk version to v3. Closes #1445 2022-02-14 15:31:13 +00:00
kaidaguerre
35330a8fb0 Update reports functionality. Add reflection tables for report entities. Automatically install report assets. Closes #1265. Closes #567 Closes #1364 2022-01-31 15:17:18 +00:00
kaidaguerre
e0ff19a280 Update package naming to be consistent and follow Go standards. Closes #1282
General code spring cleaning:
* move file paths from `consts` package to `filepaths`
* move InitData and ExportData to query and control packages
2022-01-04 12:28:36 +00:00
kaidaguerre
33f55e584f Add support for mod management commands. Closes #442. Closes #443 2021-12-21 14:10:00 +00:00
Eng Zer Jun
335a3ee686 refactor: move from io/ioutil to io and os packages (#1153)
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-23 11:54:38 +00:00
kaidaguerre
041e1b0075 Support installation and resolution of mod dependencies. Add steampipe_reference introspection table. Closes #978. Closes #972 2021-10-11 14:46:59 +01:00
kaidaguerre
89e7b43988 Support json and yaml connection config. Closes #969 2021-10-01 12:31:51 +01:00
kaidaguerre
32da263cc3 Update prepared statement names to include mod name as prefix. Closes #847 2021-09-04 21:58:05 +01:00
kai
35d4fe9d30 rebase fix 2021-09-02 21:34:48 +01:00
kai
023807a8d7 mid migrate to dynamic 2021-09-02 21:34:43 +01:00
kai
c43109813b initial named param support 2021-09-02 21:34:43 +01:00
kaidaguerre
d7bd1e3166 Add LoadResourceNames function to parse all resource names in a workspace. Closes #813 2021-08-30 14:51:05 +01:00
kaidaguerre
9b941ecdcf Add support for variables. Closes #754 2021-08-06 11:10:53 +01:00
kaidaguerre
b7aa42ceb3 Refactor service code to make it simpler to support external database connections. Closes #696 2021-07-26 17:07:28 +01:00
kaidaguerre
66cb4b0263 Refactoring and updates to allow future support for reports. #683 2021-07-23 12:15:09 +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
35a7d75532 Control and ControlGroup 'parent' property now expects an object, not a string. Mod parsing now reports all errors. (#445)
Fix evalCtx generation to support locals of different type
2021-05-20 16:11:13 +01:00
kaidaguerre
a07511c578 Refactor parsing. Add support for requires block. Closes #424 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