Commit Graph

113 Commits

Author SHA1 Message Date
Puskar Basu
81a2cf65af Load workspace-profile from config directory. Closes #2595 2022-10-26 14:55:48 +01:00
kaidaguerre
d3830b1335 Add steampipe login command. Closes #2583 2022-10-25 17:33:35 +01:00
kaidaguerre
0e27f38202 Update workspace profile parsing to load options blocks. Include these options values in viper with correct precedence. Closes #2579 2022-10-24 13:58:50 +01:00
kaidaguerre
30e59f3b41 Fix usage of deprecated workspace-chdir. Closes #2565 2022-10-20 11:40:50 +01:00
kaidaguerre
1e3db26e8f Add support for workspace profiles - parse from config and select using --workspace arg. Closes #2510
Add support for implicit workspace. Closes #2514
If snapshot-location is a local file path, copy snapshot instead of uploading. Closes #2550
Do not show snapshot upload status if --progress=false. Closes #2517
Replace --workspace with --snapshot-location. Closes #2512
2022-10-19 13:02:24 +01:00
michizhou
f80f9c1b21 Deprecate workspace-chdir, replace with mod-location. Closes #2511 2022-10-19 11:08:34 +01:00
kaidaguerre
028d46c8ff Revert connection watching min-interval. Remove filewatcher from utils and and use go-kit filewatcher instead. 2022-10-17 22:07:21 +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
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
kaidaguerre
76025788e3 Connection config watching failing to add connection schema when connections are added. Closes #2295 2022-08-04 20:39:18 +01:00
kaidaguerre
e838c8b1f9 Enable GODEBUG madvdontneed=1 to ensure OS reclaims memory immediately 2022-07-27 19:37:18 +01:00
kaidaguerre
305fb9107b Add support for plugins to handle multiple connections. Closes #2262 2022-07-22 14:53:54 +01:00
kaidaguerre
5193c70395 Restructure steampipe repo to use pkg folder. Closes #2204 2022-06-27 11:36:03 +01:00
Gábor Lipták
af7d97c229 Correct golint warnings (3) (#2065) 2022-06-07 14:36:04 +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
kai
7c878c56ed Uncomment config migration code. 2022-05-04 09:20:14 +01:00
kaidaguerre
2c5f369c92 Allow dependent mods to have the same variable name as the parent mod. Closes #1922 2022-04-26 15:39:47 +01:00
Puskar Basu
9f7e408e96 Maintain backward and forward compatibility during state and version file migrations. Closes #1913 2022-04-26 11:34:35 +01:00
kaidaguerre
f8f71ab8ee Add variables list command. Closes #1868 2022-04-14 21:15:21 +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
kaidaguerre
26f6baa1bd Expose reporting metadata to the dashboard UI. Closes #1411 2022-03-04 17:15:01 +00:00
kaidaguerre
fff587f596 Rename report command to dashboard. #1459 2022-02-16 11:12:52 +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
Binaek Sarkar
3f7344c314 Fixes issue where plugins were logging using a different time format from FDW and Database. Closes #927 2022-01-20 14:19:58 +00:00
kaidaguerre
efbebd99ee Decouple spinner display code from database and execution layer. Closes #1290 2022-01-06 11:54: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
Binaek Sarkar
a627cf0180 Disable progress when running in a non-tty environment. Closes #1210 2021-12-13 09:30:53 +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
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
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
kaidaguerre
e15b78308f Update and tidy the help text. Closes #1039 2021-10-22 13:27:37 +01:00
kaidaguerre
bd791223e8 Add support for plugins with dynamic schema. Closes #1012 2021-10-18 12:20:13 +01:00
Binaek Sarkar
783050b3e6 Add completion command providing completion support for bash, zshell and fish. Closes #481 2021-09-02 17:11:53 +01:00
Binaek Sarkar
83f7f8f06f Fixes issue where STEAMPIPE_INSTALL_DIR is not being used. Closes #613 2021-07-14 13:51:59 +01:00
kaidaguerre
c98a0f4adc Add support for aggregate connections. Closes #610 (#611) 2021-07-13 18:08:30 +01:00
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
kaidaguerre
8560428e77 Revert bash autocompletion. #481 2021-06-17 10:40:55 +01:00
Binaek Sarkar
93f7d8192c Fix to display timing profile data when appropriate env var is set. Closes #513 2021-06-11 16:18:52 +01:00
Binaek Sarkar
0f4c510b16 Add support for autocomplete in bash. Closes #481 2021-06-11 16:17:50 +01:00
kai
bd65bc5b75 Support controls with multiple parents. Add support for 'json' output format 2021-05-20 16:14:02 +01:00
kai
77eff21c23 Add check command. Add support for control groups. Closes #413 2021-05-20 16:11:13 +01:00
Binaek Sarkar
3aaae8ac2c Ensure scheduled tasks are not executed in query batch mode. Closes #301 (#415) 2021-04-22 12:55:37 +01:00
kaidaguerre
75104c6125 Update default options. And Command arg descriptions. Remove error for empty query file, and just log instead. Close #382 2021-04-15 14:40:58 +01:00
Binaek Sarkar
a25b1806dd Save namedQuery name in history, instead of the SQL. Move watch argument to query command. Closes #383 2021-04-15 10:34:04 +01:00
kaidaguerre
c98a500188 Update query command to accept multiple unnamed args, each of which may be a filepath, query SQL or a named query. Closes #388 2021-04-14 22:00:00 +01:00