Open cbruno10 opened 1 year ago
I also witnessed simlar timeouts with steampipe-mod-github-sherlock
when running steampipe check all
:
| + Pull request template should be added in each public repository .............................................................................................................. 1 / 1 [= ]
| |
| | ERROR: query timeout exceeded (240s)
| |
| + Description should be set in each public repository .......................................................................................................................... 1 / 1 [= ]
| |
| | ERROR: query timeout exceeded (240s)
| |
| + Website URL should be set in each public repository .......................................................................................................................... 1 / 1 [= ]
| |
| | ERROR: query timeout exceeded (240s)
| |
| + Topics should be set in each public repository ............................................................................................................................... 1 / 1 [= ]
| |
| | ERROR: query timeout exceeded (240s)
| |
| + Default branch should block force push in each public repository ............................................................................................................. 1 / 38 [=== ]
| |
| | ERROR: timeout: context deadline exceeded
| |
| + Default branch should block deletion in each public repository ............................................................................................................... 1 / 39 [=== ]
| |
| | ERROR: timeout: context deadline exceeded
| |
| + Default branch protections should apply to administrators in each public repository .......................................................................................... 5 / 38 [=== ]
| |
| | ERROR: timeout: context deadline exceeded
| |
| + Default branch requires pull request reviews before merging in each public repository ........................................................................................ 1 / 38 [=== ]
|
| ERROR: timeout: context deadline exceeded
|
Summary
OK ..................................................................................................................................................................................... 29 [== ]
SKIP .................................................................................................................................................................................... 0 [ ]
INFO .................................................................................................................................................................................. 122 [======= ]
ALARM ................................................................................................................................................................................... 8 [= ]
ERROR .................................................................................................................................................................................. 24 [== ]
TOTAL ............................................................................................................................................................................ 32 / 183 [==========]
@kaidaguerre do you have any insight or path to resolution or a workaround? I noticed that steampipe query timeout is off for all queries except benchmarks/controls (or something to that effect), is there a reason why that is the default? What are the implications of turning the query timeout off, do you know?
@idesofoctober Have you tried using the --query-timeout argument? That allows you to customize the timeout.
@e-gineer I have been fiddling with that (found it yesterday)....disabled it, and I think there are some unintended consequences in that things are "running" without any clear indication of what is happening (I don't see any queries going into AWS, the log (default loglevel) doesn't have new entries, etc. I changed it to ten minutes for a test run today, that may have been helpful (ran into a different bug due to my script not handling a certain internal condition properly, so need to try again). Any suggestions? Is there a way to limit the number of connections/queries to AWS at once, looks like the log is indicating a max of 25, can I lower that somewhere, do you know?
When running
steampipe check all
in the GitHub Compliance mod, orsteampipe check benchmark.cis_v150
in the AWS Compliance mod, we sometimes receive theERROR: query timeout exceeded (240s)
for controls.For instance:
The 4 errors were 4 controls receiving the same error across several benchmarks