Commit Graph

446 Commits

Author SHA1 Message Date
Puskar Basu
394963a520 Revert "initial snapshot refactoring"
This reverts commit 924682ac8c3839147507ba08425fb4e96f6218b8.
2024-09-27 18:13:12 +05:30
Puskar Basu
14299b2c5d Revert "remove use of snapshotRequired"
This reverts commit a5ee02b5cd08876471d5646a5cb53f7ba74810e0.
2024-09-27 18:13:12 +05:30
kai
d20cae491c remove use of snapshotRequired
comment out non compiling code for now
2024-09-27 18:13:12 +05:30
Puskar Basu
2049a66719 initial snapshot refactoring 2024-09-27 18:13:12 +05:30
Puskar Basu
e7e1184e95 dashboardexecute -> snapshot 2024-09-27 18:13:12 +05:30
Puskar Basu
6db67846e9 remove dashboard service from service cmd 2024-09-27 18:13:12 +05:30
Puskar Basu
e1b4fad4ff remove mod cmd 2024-09-27 18:13:12 +05:30
Puskar Basu
e958afafaf remove dashboard cmd 2024-09-27 18:13:12 +05:30
Puskar Basu
ce87e26ba7 remove check cmd 2024-09-27 18:13:12 +05:30
Puskar Basu
8619e463f0 remove variable cmd 2024-09-27 18:13:12 +05:30
Puskar Basu
663f4031ea Fix issue where steampipe returned 0 exit code even if failed to export snapshot. Closes #4276 2024-05-21 14:15:40 +01:00
kaidaguerre
07782a2b13 Adds support for verbose timing information. Closes #4237. Closes #4244
- JSON output format has changed to move the rows to under a `rows` property, with timing information under the `metadata` property
- Update timing display to show rows returned and rows fetched, as well as adding verbose mode which lists all scans
- Use enums for output mode and timing mode - timing is now either `on`, `off` or `verbose`
- Bugfix: ensure error is returned from ExecuteSystemClientCall. Closes #4246
2024-04-17 10:12:17 +01:00
Graza
ecefbcc00c Migrate from GCP to GHCR as CR for Plugins. Closes #4232 2024-04-08 15:15:18 +01:00
kaidaguerre
e6e9714e4c Update all ErrorAndWarnings function returns to pass by value, removing possibility of nil ErrorAndWarnings. Closes #3974 (#4212) 2024-03-21 11:46:10 +00:00
Puskar Basu
410fe9ef6f Add deprecation warnings for Mod commands
* print errors and warnings to stderr
* fix tests
* Update description
* update sample workspace profile content
* Changelog for v0.22.0
2024-03-06 11:13:17 +00:00
kaidaguerre
d7ff47b165 Deprecate cloud-token and cloud-host args and params. Write token to new ~/.pipes location (#4147) 2024-02-28 20:29:56 +05:30
kaidaguerre
1079ba7083 Fix growing memory usage following file watching events when running dashboard server. Closes #4150 2024-02-23 13:19:15 +00:00
kaidaguerre
bb26c0ee81 Add version to steampipe_plugin table. Closes #4141 2024-02-21 14:15:34 +00:00
kaidaguerre
33210d4fe7 Accept both sp and pp files as mod data extension. Closes #4089 2024-02-05 17:11:00 +00:00
kaidaguerre
08f49d843f For query command, load mod variables syncronously but the rest of mod async. Closes #4109 2024-02-02 15:03:31 +00:00
kaidaguerre
103d53f8e8 Fix setting dependency vars in var file. Fix UI freeze when prompting for workspace variables. Closes #4105 2024-02-01 13:53:21 +00:00
Binaek Sarkar
0387595c36 Update calls to go-kit.ListFiles with the new go-kit.ListFilesWithContext. Closes #3884 2024-01-08 11:45:29 +00:00
Binaek Sarkar
085e933ddf Maintain the order of execution when running multiple queries in batch mode. Closes #3728 2024-01-02 11:52:16 +00:00
François de Metz
9f16178c33 Fix custom registries bugs (#3960)
* Add tests on TestGetOrgNameAndStream

* Fix multiple bugs related to plugins installed from other registries

- the documentation link was not correct
- the uninstall message was not correct
- checking requirements on mods was always failing

(cherry picked from commit e55a9c23f6)
2023-11-29 12:55:15 +00:00
Puskar Basu
0d8d89728b Re-add support for --mod-location flag for variable list command. Closes #3942 2023-10-03 15:25:19 +01:00
Meet Rajesh Gor
347fccc71e Fix plugin list empty table
(cherry picked from commit 3116dce9fc)
2023-09-29 20:20:08 +01:00
Binaek Sarkar
3f84a2630a Fixes issue where 'cloud-*' needed to be global flags. Closes #3923 2023-09-28 15:20:55 +01:00
Binaek Sarkar
ad3f9cd022 Update help for steampipe plugin install 2023-09-28 15:09:51 +01:00
Binaek Sarkar
0c5b20d922 Fixes issue where cloud login is not recognised even if successful. Closes #3916 2023-09-27 17:22:39 +01:00
Binaek Sarkar
a4f67498cd Fixes inconsistency in 'check --timing' output. Closes #3914 2023-09-27 16:34:21 +01:00
kaidaguerre
6f051ea463 Do not add connections in error to plugin manager connection map. Closes #3893 2023-09-22 18:12:29 +01:00
Puskar Basu
01097a27e6 Warn users to not have mod.sp files in home directory. Closes #2321 2023-09-22 18:07:55 +01:00
Binaek Sarkar
269a74b945 Tweaks to export behaviour in 'check'. Closes #3777
Named exports now combined into a single export. Closes #3773
Do not create export files for Cancelled control runs. Closes #3578
check export should not be silent.  Closes #3577
2023-09-22 17:57:38 +01:00
Binaek Sarkar
3353f00c3f Fixes issue where 'stdin' would get consumed even if there are arguments. Closes #3879. Closes #1985. 2023-09-22 17:15:59 +01:00
kai
2b482f5ede Deprecate STEAMPIPE_DIAGNOSTICS_LEVEL for STEAMPIPE_DIAGNOSTIC_LEVEL 2023-09-22 16:13:08 +01:00
kaidaguerre
79606c5bcd Rename internal introspection tables. Fix warning notifications from RefreshConnections. Improve error handlingh for config inconsistencies in conneciton and plugin config. Closes #3886 2023-09-22 16:02:41 +01:00
Binaek Sarkar
c85b6c336f Adds support for installing all referenced plugins when no arguments are given to 'plugin install'. Closes #3451 2023-09-18 16:27:17 +01:00
Binaek Sarkar
671baeb36a Fixes issue where multiple 'service start' would error even on same listen params. Closes #3861 2023-09-18 16:24:47 +01:00
kaidaguerre
f232b14f06 Add support for multiple instances of the same plugin version to execute. Closes #3863 2023-09-18 15:39:17 +01:00
Binaek Sarkar
00fb338ec1 Updates messaging when service is started on an unavailable port. Closes #623 2023-09-18 12:24:44 +01:00
Binaek Sarkar
acc3f942ea Installs only FDW when fdw files are not installed. Closes #2040 2023-09-18 12:23:56 +01:00
Binaek Sarkar
a786d9292a Add rotates log files. Closes #3823. Closes #3825 2023-09-15 12:23:27 +01:00
Puskar Basu
90a43a3c69 Improve error message when steampipe fails to parse a mod definition file if a mod block does not exist. Closes #1198 2023-09-15 12:22:47 +01:00
kaidaguerre
7feb305fde Provide mechanism for plugin manager to send warnings back to CLI. Closes #3603 (#3835) 2023-09-13 15:34:15 +01:00
Puskar Basu
0d2bcf3b81 Move db location funcs into filepaths package. Closes #2122 2023-09-13 12:58:25 +01:00
Puskar Basu
9be7fb74f1 Cloud and workspace flags should not be Global Flags as they are not used for all commands. Closes #3542 2023-09-12 15:27:56 +01:00
Puskar Basu
f1c9de6dc1 Add examples to mod commands help outputs. Closes #1817 2023-09-11 15:59:57 +01:00
Binaek Sarkar
a3a714d6cd Fixes issue where temporary tables are dropped in interactive prompt when pool connections are recycled. Closes #3359. Closes #3781 2023-09-06 16:46:40 +01:00
kaidaguerre
f041597497 Add support for plugin connection config and options blocks. Add options and env var configuration of max memory. Closes #3807 2023-09-06 15:59:13 +01:00
kaidaguerre
2a86d08445 Add support to retrieve plugin rate limiter definitions and use to populate steampipe_rate_limiter table. Closes #3805 (#3803) 2023-09-06 13:28:22 +01:00