René's URL Explorer Experiment


Title: Adding integration tests for trivy security scanner by SebieF · Pull Request #650 · secureCodeBox/secureCodeBox · GitHub

Open Graph Title: Adding integration tests for trivy security scanner by SebieF · Pull Request #650 · secureCodeBox/secureCodeBox

X Title: Adding integration tests for trivy security scanner by SebieF · Pull Request #650 · secureCodeBox/secureCodeBox

Description: Description Upon merging, this PR will add integration tests for the trivy security scanner. This will close #623. Contrary to what has been discussed there, downloading the database for trivy during the integration tests does not seem to be an issue. The tests took only about 35s. Successful download of the database has also been stated in the trivy logs. If the tests prove to be unstable, however, it could be considered to add an offline version of the trivy database as described here. This would pose the need for a scanner dockerfile created by us instead of the official image, where a version of the database would be included. Integration tests could be run with the "--skip-update" flag afterwards. Checklist Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests. Make sure npm test runs for the whole project. Make codeclimate checks happy

Open Graph Description: Description Upon merging, this PR will add integration tests for the trivy security scanner. This will close #623. Contrary to what has been discussed there, downloading the database for trivy dur...

X Description: Description Upon merging, this PR will add integration tests for the trivy security scanner. This will close #623. Contrary to what has been discussed there, downloading the database for trivy dur...

Opengraph URL: https://github.com/secureCodeBox/secureCodeBox/pull/650

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:27fe7df6-3ec3-11f2-2f83-286b44bb56b3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id923E:3BE04B:6AE3F36:91B2BB8:6978679C
html-safe-nonceed2c52abd8a8ab051c4cab2ca5f52125c3526828b7933dd88c1791e88063eaa4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjNFOjNCRTA0Qjo2QUUzRjM2OjkxQjJCQjg6Njk3ODY3OUMiLCJ2aXNpdG9yX2lkIjoiNTE3MDM1NjM3MzcxNTE4MzUxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7e9fe24b21c365bf971c0105a36ea1b3b05ebf99a2b94313b216ce3a5d9c556e
hovercard-subject-tagpull_request:737079357
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/secureCodeBox/secureCodeBox/pull/650/files
twitter:imagehttps://avatars.githubusercontent.com/u/32578476?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/32578476?s=400&v=4
og:image:altDescription Upon merging, this PR will add integration tests for the trivy security scanner. This will close #623. Contrary to what has been discussed there, downloading the database for trivy dur...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/secureCodeBox/secureCodeBox git https://github.com/secureCodeBox/secureCodeBox.git
octolytics-dimension-user_id34573705
octolytics-dimension-user_loginsecureCodeBox
octolytics-dimension-repository_id80711933
octolytics-dimension-repository_nwosecureCodeBox/secureCodeBox
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id80711933
octolytics-dimension-repository_network_root_nwosecureCodeBox/secureCodeBox
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
release520b65a872113b919c1bbdb03834a50af15859fd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/secureCodeBox/secureCodeBox/pull/650/changes#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FsecureCodeBox%2FsecureCodeBox%2Fpull%2F650%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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%2FsecureCodeBox%2FsecureCodeBox%2Fpull%2F650%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=secureCodeBox%2FsecureCodeBox
Reloadhttps://github.com/secureCodeBox/secureCodeBox/pull/650/changes
Reloadhttps://github.com/secureCodeBox/secureCodeBox/pull/650/changes
Reloadhttps://github.com/secureCodeBox/secureCodeBox/pull/650/changes
secureCodeBox https://github.com/secureCodeBox
secureCodeBoxhttps://github.com/secureCodeBox/secureCodeBox
Notifications https://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox
Fork 177 https://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox
Star 950 https://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox
Code https://github.com/secureCodeBox/secureCodeBox
Issues 72 https://github.com/secureCodeBox/secureCodeBox/issues
Pull requests 3 https://github.com/secureCodeBox/secureCodeBox/pulls
Discussions https://github.com/secureCodeBox/secureCodeBox/discussions
Actions https://github.com/secureCodeBox/secureCodeBox/actions
Projects 1 https://github.com/secureCodeBox/secureCodeBox/projects
Security 1 https://github.com/secureCodeBox/secureCodeBox/security
Insights https://github.com/secureCodeBox/secureCodeBox/pulse
Code https://github.com/secureCodeBox/secureCodeBox
Issues https://github.com/secureCodeBox/secureCodeBox/issues
Pull requests https://github.com/secureCodeBox/secureCodeBox/pulls
Discussions https://github.com/secureCodeBox/secureCodeBox/discussions
Actions https://github.com/secureCodeBox/secureCodeBox/actions
Projects https://github.com/secureCodeBox/secureCodeBox/projects
Security https://github.com/secureCodeBox/secureCodeBox/security
Insights https://github.com/secureCodeBox/secureCodeBox/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FsecureCodeBox%2FsecureCodeBox%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox%2Fissues%2Fnew%2Fchoose
nigthknighthttps://github.com/nigthknight
mainhttps://github.com/secureCodeBox/secureCodeBox/tree/main
tests/trivy-integrationhttps://github.com/secureCodeBox/secureCodeBox/tree/tests/trivy-integration
Conversation 2 https://github.com/secureCodeBox/secureCodeBox/pull/650
Commits 5 https://github.com/secureCodeBox/secureCodeBox/pull/650/commits
Checks 0 https://github.com/secureCodeBox/secureCodeBox/pull/650/checks
Files changed https://github.com/secureCodeBox/secureCodeBox/pull/650/files
Please reload this pagehttps://github.com/secureCodeBox/secureCodeBox/pull/650/changes
Adding integration tests for trivy security scanner https://github.com/secureCodeBox/secureCodeBox/pull/650/changes#top
Show all changes 5 commits https://github.com/secureCodeBox/secureCodeBox/pull/650/files
0458c05 Adding trivy integration test SebieF Sep 19, 2021 https://github.com/secureCodeBox/secureCodeBox/pull/650/commits/0458c050ce6b2ef94be0f9871a0043b3ec9c9d44
e153c96 Adding trivy integration tests to ci SebieF Sep 19, 2021 https://github.com/secureCodeBox/secureCodeBox/pull/650/commits/e153c96a590f60ac40196dae9a61e85c43bfdf64
5f83677 Fixing wrong parser name in ci SebieF Sep 19, 2021 https://github.com/secureCodeBox/secureCodeBox/pull/650/commits/5f83677cecca2854d5c1cbc36e3d21ab68c23820
0c88c0f Downgrading scanned juiceshop image to v10.2.0 SebieF Sep 21, 2021 https://github.com/secureCodeBox/secureCodeBox/pull/650/commits/0c88c0fdb2d12b7a01af7d3baf6afde521fe472b
dbe44d7 Refactored test results to use GreaterThanOrEqual SebieF Sep 21, 2021 https://github.com/secureCodeBox/secureCodeBox/pull/650/commits/dbe44d7f274f852dc3230214fe593d370c131fd1
Clear filters https://github.com/secureCodeBox/secureCodeBox/pull/650/files
Please reload this pagehttps://github.com/secureCodeBox/secureCodeBox/pull/650/changes
Please reload this pagehttps://github.com/secureCodeBox/secureCodeBox/pull/650/changes
ci.yaml https://github.com/secureCodeBox/secureCodeBox/pull/650/changes#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd
trivy.test.js https://github.com/secureCodeBox/secureCodeBox/pull/650/changes#diff-62cc3867004928e944e1e8a6938bdf2806afd2fea1738b87e6c920ac454bf77f
.github/workflows/ci.yamlhttps://github.com/secureCodeBox/secureCodeBox/pull/650/changes#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd
View file https://github.com/secureCodeBox/secureCodeBox/blob/dbe44d7f274f852dc3230214fe593d370c131fd1/.github/workflows/ci.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/secureCodeBox/secureCodeBox/pull/650/{{ revealButtonHref }}
https://github.com/secureCodeBox/secureCodeBox/pull/650/changes#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd
https://github.com/secureCodeBox/secureCodeBox/pull/650/changes#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd
tests/integration/scanner/trivy.test.jshttps://github.com/secureCodeBox/secureCodeBox/pull/650/changes#diff-62cc3867004928e944e1e8a6938bdf2806afd2fea1738b87e6c920ac454bf77f
View file https://github.com/secureCodeBox/secureCodeBox/blob/dbe44d7f274f852dc3230214fe593d370c131fd1/tests/integration/scanner/trivy.test.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/secureCodeBox/secureCodeBox/pull/650/{{ revealButtonHref }}
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.