subham sarkar

Results 11 issues of subham sarkar

`fact_deprecated` analyzer is now able to correctly detect all the deprecated const and type. I have also updated `SA1019`'s testdata in order to show the effect on SA1019 after fixing...

Consider the following case: Reference: https://cs.opensource.google/go/go/+/refs/tags/go1.19:src/os/file.go;l=88 In "os" package, `os.SEEK_SET`, `os.SEEK_CUR` and `os.SEEK_END` are deprecated and are suggested to be replaced with: `io.SeekStart`, `io.SeekCurrent`, and `io.SeekEnd`. ```go // Seek whence...

false-negative

There was a bug report indicating that although the source had correct values, after ingestion using metricbeat's SQL module, the types were mishandled, causing issues. For example, the source looks...

bug
Team:Service-Integrations
bugfix

## Proposed commit message ## Checklist - [ ] My code follows the style guidelines of this project - [ ] I have commented my code, particularly in hard-to-understand areas...

bug
Team:Service-Integrations
bugfix

While investigating a bug report, we noticed the deduplication is done [here](https://github.com/elastic/beats/blob/b2b17a328739d2a015abc4e4f67c8ed2a0c02c47/metricbeat/module/prometheus/collector/collector.go#L154) where it should've been done earlier. A problem was faced when rate calculation was done for counter metrics...

bug
Team:Service-Integrations

For llama3, the example seemed to work but for some other models like qwen2 and friends, it was not working properly. I faced issues where `getCurrentWeather` tool worked but not...

## Proposed commit message This PR adds optional support for a separate `token_url` configuration in the Salesforce input's JWT Bearer Flow authentication. Currently, when using JWT authentication in the Salesforce...

Team:Elastic-Agent-Data-Plane
Team:Obs-InfraObs

## Proposed commit message Fixes a potential panic in the graphite server metricset when processing metrics with fewer parts than the configured template expects. The `template.Apply()` function iterated over template...

Team:Elastic-Agent-Data-Plane
Team:Obs-InfraObs

## Proposed commit message This PR improves the robustness of the Zookeeper server by adding proper bounds checking to prevent potential index-out-of-range panics, removes unused regex variables, and adds test...

Team:Obs-InfraObs