• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

newrelic / nri-flex / 26957353031
32%

Build:
DEFAULT BRANCH: master
Ran 04 Jun 2026 02:16PM UTC
Jobs 1
Files 47
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Jun 2026 02:13PM UTC coverage: 31.501% (+0.01%) from 31.491%
26957353031

push

github

web-flow
fix: resolve CodeQL go/insecure-hostkeycallback in SCP (#642)

Replace ssh.InsecureIgnoreHostKey() with proper known_hosts verification.

Changes:
- Default behavior requires hosts in ~/.ssh/known_hosts
- known_hosts_file config option to specify a custom path (supports ~)
- Returns clear error with instructions if known_hosts file not found
- No filesystem side effects (doesn't create files/directories)
- No insecure fallback — genuinely enforces host key verification
- Added unit tests for getHostKeyCallback and expandHome

Resolves NR-560141.

27 of 35 new or added lines in 1 file covered. (77.14%)

14 existing lines in 1 file now uncovered.

2011 of 6384 relevant lines covered (31.5%)

9.07 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
44.44
-3.3% internal/inputs/scp.go

Coverage Regressions

Lines Coverage ∆ File
14
44.44
-3.3% internal/inputs/scp.go
Jobs
ID Job ID Ran Files Coverage
1 run-linux - 26957353031.1 04 Jun 2026 02:16PM UTC 47
31.5
GitHub Action Run
Source Files on build 26957353031
  • Tree
  • List 47
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26957353031
  • f3849b4b on github
  • Prev Build on renovate/aws-sdk-go-v2-monorepo (#26892236311)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc