Commit Graph

160 Commits

Author SHA1 Message Date
Puskar Basu
e19d35c457 chore: update module to v2 and bump Go version to 1.24 (#4597) 2025-07-07 16:03:56 +05:30
Puskar Basu
da2f3ecc03 Upgrade to pipe-fittings v2, go-kit v1 (#4485) 2025-03-06 16:34:18 +05:30
kai
112647bae0 tidy 2024-10-15 11:44:13 +01:00
Puskar Basu
2f10d3a566 Remove args 2024-10-08 14:19:38 +05:30
Puskar Basu
ea39c685de removed watch arg from query 2024-10-03 20:08:53 +05:30
Puskar Basu
db57d991bc removed mod-location arg and all references 2024-10-03 20:05:54 +05:30
Puskar Basu
758a100215 finally working 2024-09-27 18:14:28 +05:30
Puskar Basu
0a836584e9 snapshot output and export working 2024-09-27 18:14:28 +05:30
Puskar Basu
9e713885e9 building 2024-09-27 18:14:28 +05:30
kai
1804741bbd tidy 2024-09-27 18:14:28 +05:30
kai
6efd1fd6b2 query display and query result moved to pipe fittings 2024-09-27 18:14:28 +05:30
Puskar Basu
f72f0165db remove list subcommand 2024-09-27 18:14:28 +05:30
kai
e5b1927a63 tidy imports 2024-09-27 18:14:28 +05:30
kai
cb681c67cc compiles but needs testing 2024-09-27 18:14:28 +05:30
kai
ef21f1452e steampipe compiles 2024-09-27 18:14:28 +05:30
kai
cd07bf20f1 working on it 2024-09-27 18:13:12 +05:30
Puskar Basu
394963a520 Revert "initial snapshot refactoring"
This reverts commit 924682ac8c.
2024-09-27 18:13:12 +05:30
Puskar Basu
14299b2c5d Revert "remove use of snapshotRequired"
This reverts commit a5ee02b5cd.
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
e958afafaf remove dashboard 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
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
085e933ddf Maintain the order of execution when running multiple queries in batch mode. Closes #3728 2024-01-02 11:52:16 +00: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
0c5b20d922 Fixes issue where cloud login is not recognised even if successful. Closes #3916 2023-09-27 17:22:39 +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
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
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
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
202cb68692 Add HCL support for defining rate limiters, with filewatching as per connection config. Closes #3746 2023-08-11 14:24:44 +01:00
Binaek Sarkar
a01776b78f Migrate from 'cloud.steampipe.io' to 'pipes.turbot.com'. Closes #3724 2023-08-08 12:24:38 +01:00
kaidaguerre
40804a3201 Execute RefreshConnections asyncronously and optimise for high connection count. Add connection_state table.
- Execute RefreshConnections asyncronously
- Add connection_state table to indicate the loading state of connections
- Optimise RefreshConnections by cloning connection schemas
- Add locking to ensure only a single instance of RefreshConnections runs
- Start executing queries without waiting for connections to load, add smart error handling to wait for required connection
- Optimise autocomplete for high connection count
- Autocomplete and inspect data available before all conections are refreshed
- Update file watcher to respond to CHMOD, so thaat it pickes up deletion of file contents

 Closes #3394
 Closes #3267
2023-05-10 09:05:08 +01:00
Puskar Basu
18a2f65b41 Refactor display configuration options code. 2023-04-17 11:06:07 +01:00
Aaronstotle
17a00353ae Add check to the mod init function so users are aware if it's run in the home directory or if there are a large number of non-mod files in the path. Closes #2562 2023-04-06 09:10:41 +01:00
Binaek Sarkar
17306488fc Fixes issue where fdw was not updated for 'service restart' command. Closes #3172 2023-03-10 12:33:59 +00:00
kaidaguerre
7c2ae6da93 when executing a query as a dashboard, name the dashboard custom.dashboard.sql_<query_hash>. Closes #3150 2023-02-28 18:19:13 +00:00
kaidaguerre
b67d39ecde Fix duplicated text input on interactive prompt during initialisation. Closes #3075 2023-02-16 12:35:43 +00:00
kai
d266917597 Merge branch 'v0.18.x' into main
# Conflicts:
#	CHANGELOG.md
#	pkg/version/version.go
2023-02-15 14:52:34 +00:00
Binaek Sarkar
d75ab0372e Fixes issue where snapshot mode in query leads to duplicate rows in console/file output 2023-02-15 19:08:19 +05:30
Mike Burgess
9669829827 Merge branch 'v0.18.x' 2023-02-03 13:04:02 +00:00
Puskar Basu
6ee0183a63 Fix query batch mode returning zero exit code when rows return errors. Closes #3044 2023-02-03 11:36:21 +00:00
Puskar Basu
e5564457af Fix issue where snapshot creation was failing for command line queries in batch mode. Closes #2943 2023-02-03 11:05:21 +00:00
Puskar Basu
e81b4a6888 Show the exported file location when --progress flag is enabled. Closes #2860 2023-01-27 16:27:39 +00:00
Puskar Basu
e4c50a9477 Ensure correct exit code is returned when a mod plugin requirements are not met. Closes #2986 2023-01-18 14:43:44 +00:00
kaidaguerre
6ee391faba Workspace file watching events sometime cause dashboard to stall and stop responding to events. Cancelling dashboards (e.g. by pressing 'back' on the browser) sometimes leave the server in a state where it will not respond to socket events. #3007.#. #3008 2023-01-17 11:52:53 +00:00
Puskar Basu
34ecf67496 Use consistent and defined exit codes. Closes #2935 2023-01-06 14:14:05 +00:00
Binaek Sarkar
056fa56241 Fixes issue where interactive prompt was not showing timing data for 'json', 'csv' and 'line' outputs. Closes #2699 2022-11-29 10:57:37 +00:00