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

newrelic / nri-flex / 26756226152
32%
master: 31%

Build:
Build:
LAST BUILD BRANCH: renovate/actions-setup-go-7.x
DEFAULT BRANCH: master
Ran 01 Jun 2026 12:58PM 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

01 Jun 2026 12:55PM UTC coverage: 31.587% (+0.1%) from 31.491%
26756226152

Pull #642

github

ujwalsah
fix: resolve CodeQL go/insecure-hostkeycallback in SCP

Replace ssh.InsecureIgnoreHostKey() with proper known_hosts verification.

Changes:
- Default behavior requires hosts in ~/.ssh/known_hosts
- known_hosts_file: specify a custom path (supports ~ expansion)
- skip_host_key_verification: explicit opt-in for insecure behavior
  (logs warning once via sync.Once, uses custom callback to avoid
  triggering CodeQL on ssh.InsecureIgnoreHostKey)
- Returns clear error with instructions if known_hosts file not found
- No filesystem side effects (doesn't create files/directories)
- Added unit tests for getHostKeyCallback and expandHome

Resolves NR-560141.
Pull Request #642: fix: resolve CodeQL go/insecure-hostkeycallback in SCP

36 of 47 new or added lines in 1 file covered. (76.6%)

13 existing lines in 1 file now uncovered.

2020 of 6395 relevant lines covered (31.59%)

9.06 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
47.1
-0.65% internal/inputs/scp.go

Coverage Regressions

Lines Coverage ∆ File
13
47.1
-0.65% internal/inputs/scp.go
Jobs
ID Job ID Ran Files Coverage
1 run-linux - 26756226152.1 01 Jun 2026 12:58PM UTC 47
31.59
GitHub Action Run
Source Files on build 26756226152
  • 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 #26756226152
  • Pull Request #642
  • PR Base - master (#26742293462)
  • 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