elastic / elastic/integrations
[Osquery Manager]: Timeouts above 900 not possible
- Dominant language
- Handlebars
- Stars
- 333
- Forks
- 647
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 182
Description
### Integration Name
Osquery Manager [osquery_manager]
### Dataset Name
_No response_
### Integration Version
1.19.1
### Agent Version
9.2.0
### Agent Output Type
elasticsearch
### Elasticsearch Version
9.2.0
### OS Version and Architecture
ECH
### Software/API Version
_No response_
### Error Message
```
[request body]: Invalid value "901" supplied to "timeout"
```
-> click on Full error:
```
Error
at Fetch.fetchResponse (https://my-deployment-91154e.kb.us-central1.gcp.cloud.es.io/68626ce831ff/bundles/core/core.entry.js:1:247258)
at async fetch (https://my-deployment-91154e.kb.us-central1.gcp.cloud.es.io/68626ce831ff/bundles/core/core.entry.js:1:251059)
at async https://my-deployment-91154e.kb.us-central1.gcp.cloud.es.io/68626ce831ff/bundles/core/core.entry.js:1:245291
at async https://my-deployment-91154e.kb.us-central1.gcp.cloud.es.io/68626ce831ff/bundles/core/core.entry.js:1:245248
```
### Event Original
_No response_
### What did you do?
Try to issue an osquery with a timeout larger than 900
https://github.com/user-attachments/assets/94f53958-4375-4fbb-916f-0f55e335158d
### What did you see?
Error 'toast' message saying `[request body]: Invalid value "901" supplied to "timeout"`, and nothing happens
### What did you expect to see?
That the osquery runs with a timeout of 901 seconds.
### Anything else?
While searching for more information, I saw that this should have been fixed by https://github.com/elastic/beats/issues/42352
Contributor guide
Assessment
This issue has not been assessed yet.