René's URL Explorer Experiment


Title: chore(scanner): use slog when interacting with claircore by crozzy · Pull Request #18828 · stackrox/stackrox · GitHub

Open Graph Title: chore(scanner): use slog when interacting with claircore by crozzy · Pull Request #18828 · stackrox/stackrox

X Title: chore(scanner): use slog when interacting with claircore by crozzy · Pull Request #18828 · stackrox/stackrox

Description: Claircore recently ported its logging from zlog to slog and as such scanner should now initialize a slog logger in order to take advantage of the new logging paradigm. Description The commit message explains it but the larger question is whether all the scanner logging calls should be ported over to slog. This is a question to the larger scanner team. User-facing documentation CHANGELOG.md is updated OR update is not needed documentation PR is created and is linked above OR is not needed Testing and quality the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag CI results are inspected Automated testing added unit tests added e2e tests added regression tests added compatibility tests modified existing tests How I validated my change change me!

Open Graph Description: Claircore recently ported its logging from zlog to slog and as such scanner should now initialize a slog logger in order to take advantage of the new logging paradigm. Description The commit messag...

X Description: Claircore recently ported its logging from zlog to slog and as such scanner should now initialize a slog logger in order to take advantage of the new logging paradigm. Description The commit messag...

Opengraph URL: https://github.com/stackrox/stackrox/pull/18828

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d6c56328-3fdb-30a9-62fe-79ca6c713137
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA7E0:2A7A3D:A755A7:E2731C:6A4D7441
html-safe-noncede82177d1d512f35ddf9b7ae1e97d617b87d6cd0f3448e113499f3d2e3f457c0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0UwOjJBN0EzRDpBNzU1QTc6RTI3MzFDOjZBNEQ3NDQxIiwidmlzaXRvcl9pZCI6IjQ2OTg2MDg5NTEzMjY3NjYxNDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5334f1f6105b9522a8d222fc6be33185dc935929d39ef4578a09f5f381309d06
hovercard-subject-tagpull_request:3243396514
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/stackrox/stackrox/pull/18828/files
twitter:imagehttps://avatars.githubusercontent.com/u/1027041?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1027041?s=400&v=4
og:image:altClaircore recently ported its logging from zlog to slog and as such scanner should now initialize a slog logger in order to take advantage of the new logging paradigm. Description The commit messag...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec78260c7b3f4ac4b0356c8208537f05406a3a2d46a9ec3f735b372dcc519c39e
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/stackrox/stackrox git https://github.com/stackrox/stackrox.git
octolytics-dimension-user_id40638982
octolytics-dimension-user_loginstackrox
octolytics-dimension-repository_id434017296
octolytics-dimension-repository_nwostackrox/stackrox
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id434017296
octolytics-dimension-repository_network_root_nwostackrox/stackrox
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release399fff412f48461d435721c009efc17ea44be72f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/stackrox/stackrox/pull/18828/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackrox%2Fstackrox%2Fpull%2F18828%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackrox%2Fstackrox%2Fpull%2F18828%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=stackrox%2Fstackrox
Reloadhttps://github.com/stackrox/stackrox/pull/18828/files
Reloadhttps://github.com/stackrox/stackrox/pull/18828/files
Reloadhttps://github.com/stackrox/stackrox/pull/18828/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/18828/files
stackrox https://github.com/stackrox
stackroxhttps://github.com/stackrox/stackrox
Notifications https://github.com/login?return_to=%2Fstackrox%2Fstackrox
Fork 180 https://github.com/login?return_to=%2Fstackrox%2Fstackrox
Star 1.3k https://github.com/login?return_to=%2Fstackrox%2Fstackrox
Code https://github.com/stackrox/stackrox
Issues 52 https://github.com/stackrox/stackrox/issues
Pull requests 548 https://github.com/stackrox/stackrox/pulls
Actions https://github.com/stackrox/stackrox/actions
Security and quality 0 https://github.com/stackrox/stackrox/security
Insights https://github.com/stackrox/stackrox/pulse
Code https://github.com/stackrox/stackrox
Issues https://github.com/stackrox/stackrox/issues
Pull requests https://github.com/stackrox/stackrox/pulls
Actions https://github.com/stackrox/stackrox/actions
Security and quality https://github.com/stackrox/stackrox/security
Insights https://github.com/stackrox/stackrox/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fstackrox%2Fstackrox%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fstackrox%2Fstackrox%2Fissues%2Fnew%2Fchoose
crozzyhttps://github.com/crozzy
stackrox:masterhttps://github.com/stackrox/stackrox/tree/master
crozzy:update-scannerv4-logging-to-sloghttps://github.com/crozzy/stackrox/tree/update-scannerv4-logging-to-slog
Conversation 7 https://github.com/stackrox/stackrox/pull/18828
Commits 1 https://github.com/stackrox/stackrox/pull/18828/commits
Checks 90 https://github.com/stackrox/stackrox/pull/18828/checks
Files changed https://github.com/stackrox/stackrox/pull/18828/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/18828/files
chore(scanner): use slog when interacting with claircore https://github.com/stackrox/stackrox/pull/18828/files#top
Show all changes 1 commit https://github.com/stackrox/stackrox/pull/18828/files
cc1c65d chore(scanner): use slog when interacting with claircore crozzy Feb 3, 2026 https://github.com/stackrox/stackrox/pull/18828/commits/cc1c65d0bbec8327dee2d8f7d0146889070ba8e8
Clear filters https://github.com/stackrox/stackrox/pull/18828/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/18828/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/18828/files
go.mod https://github.com/stackrox/stackrox/pull/18828/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
go.sum https://github.com/stackrox/stackrox/pull/18828/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63
mappers_test.go https://github.com/stackrox/stackrox/pull/18828/files#diff-4bd4b2043c29eec0923749735cb49154fbee1f663c65b1acd282272d0ccf08d4
main.go https://github.com/stackrox/stackrox/pull/18828/files#diff-2e3a957f2fd5cd830988ac7922af69a7691da4d8ffd798d95bfc126cde49784b
distributions_test.go https://github.com/stackrox/stackrox/pull/18828/files#diff-4e9c62e62a88b595b566ae9e3145d2f8b54c3072005fd18e0c7c7789c72ec1cb
external_index_report_test.go https://github.com/stackrox/stackrox/pull/18828/files#diff-3d17ebe71d918db97ed6055d085fdf0106de334d49b714c23da526a3e223d894
manifest_metadata_test.go https://github.com/stackrox/stackrox/pull/18828/files#diff-b06a5159898921d613848f81b845c4c4f95902ac84cb79f8f2c0e31960c372c1
vuln_update_test.go https://github.com/stackrox/stackrox/pull/18828/files#diff-c501881ae64e80967d8a5ab02d1960cf22da252ac433fd85027e0f2063273a32
image_test.go https://github.com/stackrox/stackrox/pull/18828/files#diff-ae8be6912da02e5be4c0bb4d27b8076fa41bee0b913d9bafca9e080640735faf
updater_names_test.go https://github.com/stackrox/stackrox/pull/18828/files#diff-03210e9d0afc7162dc66b5502c6c2b8b5261bf02647a44dbd7453433ad4c2240
csaf_test.go https://github.com/stackrox/stackrox/pull/18828/files#diff-38e6e2ca0a0750f28bc3ed3eb0ed025ece91dc2473b7cdfba4ae8bebcf4f9935
fetcher_test.go https://github.com/stackrox/stackrox/pull/18828/files#diff-70c92b57294e593dcfc278d2bd4844ea4955c333fa32209f9d5d724729a9b854
parser_test.go https://github.com/stackrox/stackrox/pull/18828/files#diff-e255f41ef07811a9c7ac692d9c649590b44c07211db39d51833a579647406622
fixedby_test.go https://github.com/stackrox/stackrox/pull/18828/files#diff-ac5207b2680a9b2f69d0c63b5a5ef5898ca3c642a3a4cc457127958355693f42
nvd_test.go https://github.com/stackrox/stackrox/pull/18828/files#diff-6722b28adb57711ee58133868c380c88f7f524e6e65bddc77f94060ec07d23c2
indexer_test.go https://github.com/stackrox/stackrox/pull/18828/files#diff-2bf64203cf265e723778e418597cf4f13dfcc95cd2ecb2b77fb4ee10c62f5634
dist_test.go https://github.com/stackrox/stackrox/pull/18828/files#diff-c650b0f6a3bf223927c1221c768eb1773ad8da4f1a129749c9f201f1637e97fd
updater_test.go https://github.com/stackrox/stackrox/pull/18828/files#diff-4a4e325dc15373dbff47f86f172da880331f05876ad419ed414878e26d9c843c
sbom.go https://github.com/stackrox/stackrox/pull/18828/files#diff-49387fb52d86859cdb0d8983d6fa7ffcab565a90cd8536bfb6bbbffbd6b15345
sbom_test.go https://github.com/stackrox/stackrox/pull/18828/files#diff-43716ac31512c0021279e47dd78804b03c2d6dfb6b501b3ee7d09e95f642c4e7
indexer_test.go https://github.com/stackrox/stackrox/pull/18828/files#diff-ef0514a49e24002573e77ea135c8357d69f0dcc10b4eb32fa4d8aa73915cc4f8
matcher_test.go https://github.com/stackrox/stackrox/pull/18828/files#diff-d9d5028b28bfada7f6c02f51ac5ab3db3b3734feb71ea04e0f389336692d2b5c
https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L111
go.modhttps://github.com/stackrox/stackrox/pull/18828/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
View file https://github.com/crozzy/stackrox/blob/cc1c65d0bbec8327dee2d8f7d0146889070ba8e8/go.mod
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/18828/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/18828/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/stackrox/stackrox/pull/18828/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/stackrox/stackrox/pull/18828/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/stackrox/stackrox/pull/18828/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/stackrox/stackrox/pull/18828/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/stackrox/stackrox/pull/18828/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/stackrox/stackrox/pull/18828/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/stackrox/stackrox/pull/18828/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/stackrox/stackrox/pull/18828/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/stackrox/stackrox/pull/18828/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/stackrox/stackrox/pull/18828/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/stackrox/stackrox/pull/18828/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L112
go.sumhttps://github.com/stackrox/stackrox/pull/18828/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63
View file https://github.com/crozzy/stackrox/blob/cc1c65d0bbec8327dee2d8f7d0146889070ba8e8/go.sum
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/stackrox/stackrox/pull/18828/files
https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L84
pkg/scannerv4/mappers/mappers_test.gohttps://github.com/stackrox/stackrox/pull/18828/files#diff-4bd4b2043c29eec0923749735cb49154fbee1f663c65b1acd282272d0ccf08d4
View file https://github.com/crozzy/stackrox/blob/cc1c65d0bbec8327dee2d8f7d0146889070ba8e8/pkg/scannerv4/mappers/mappers_test.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/18828/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/18828/files#diff-4bd4b2043c29eec0923749735cb49154fbee1f663c65b1acd282272d0ccf08d4
https://github.com/stackrox/stackrox/pull/18828/files#diff-4bd4b2043c29eec0923749735cb49154fbee1f663c65b1acd282272d0ccf08d4
https://github.com/stackrox/stackrox/pull/18828/files#diff-4bd4b2043c29eec0923749735cb49154fbee1f663c65b1acd282272d0ccf08d4
https://github.com/stackrox/stackrox/pull/18828/files#diff-4bd4b2043c29eec0923749735cb49154fbee1f663c65b1acd282272d0ccf08d4
https://github.com/stackrox/stackrox/pull/18828/files#diff-4bd4b2043c29eec0923749735cb49154fbee1f663c65b1acd282272d0ccf08d4
https://github.com/stackrox/stackrox/pull/18828/files#diff-4bd4b2043c29eec0923749735cb49154fbee1f663c65b1acd282272d0ccf08d4
https://github.com/stackrox/stackrox/pull/18828/files#diff-4bd4b2043c29eec0923749735cb49154fbee1f663c65b1acd282272d0ccf08d4
https://github.com/stackrox/stackrox/pull/18828/files#diff-4bd4b2043c29eec0923749735cb49154fbee1f663c65b1acd282272d0ccf08d4
https://github.com/stackrox/stackrox/pull/18828/files#diff-4bd4b2043c29eec0923749735cb49154fbee1f663c65b1acd282272d0ccf08d4
https://github.com/stackrox/stackrox/pull/18828/files#diff-4bd4b2043c29eec0923749735cb49154fbee1f663c65b1acd282272d0ccf08d4
https://github.com/stackrox/stackrox/pull/18828/files#diff-4bd4b2043c29eec0923749735cb49154fbee1f663c65b1acd282272d0ccf08d4
https://github.com/stackrox/stackrox/pull/18828/files#diff-4bd4b2043c29eec0923749735cb49154fbee1f663c65b1acd282272d0ccf08d4
https://github.com/stackrox/stackrox/pull/18828/files#diff-4bd4b2043c29eec0923749735cb49154fbee1f663c65b1acd282272d0ccf08d4
https://github.com/stackrox/stackrox/blob/master/.github/CODEOWNERS#L90
scanner/cmd/scanner/main.gohttps://github.com/stackrox/stackrox/pull/18828/files#diff-2e3a957f2fd5cd830988ac7922af69a7691da4d8ffd798d95bfc126cde49784b
View file https://github.com/crozzy/stackrox/blob/cc1c65d0bbec8327dee2d8f7d0146889070ba8e8/scanner/cmd/scanner/main.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/18828/{{ revealButtonHref }}
https://github.com/stackrox/stackrox/pull/18828/files#diff-2e3a957f2fd5cd830988ac7922af69a7691da4d8ffd798d95bfc126cde49784b
https://github.com/stackrox/stackrox/pull/18828/files#diff-2e3a957f2fd5cd830988ac7922af69a7691da4d8ffd798d95bfc126cde49784b
https://github.com/stackrox/stackrox/pull/18828/files#diff-2e3a957f2fd5cd830988ac7922af69a7691da4d8ffd798d95bfc126cde49784b
https://github.com/stackrox/stackrox/pull/18828/files#diff-2e3a957f2fd5cd830988ac7922af69a7691da4d8ffd798d95bfc126cde49784b
crozzyhttps://github.com/crozzy
Feb 3, 2026https://github.com/stackrox/stackrox/pull/18828/files#r2761493487
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/stackrox/stackrox/pull/18828/files
https://github.com/stackrox/stackrox/pull/18828/files#diff-2e3a957f2fd5cd830988ac7922af69a7691da4d8ffd798d95bfc126cde49784b
Please reload this pagehttps://github.com/stackrox/stackrox/pull/18828/files
Please reload this pagehttps://github.com/stackrox/stackrox/pull/18828/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.