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
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:27fe7df6-3ec3-11f2-2f83-286b44bb56b3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 923E:3BE04B:6AE3F36:91B2BB8:6978679C |
| html-safe-nonce | ed2c52abd8a8ab051c4cab2ca5f52125c3526828b7933dd88c1791e88063eaa4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjNFOjNCRTA0Qjo2QUUzRjM2OjkxQjJCQjg6Njk3ODY3OUMiLCJ2aXNpdG9yX2lkIjoiNTE3MDM1NjM3MzcxNTE4MzUxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7e9fe24b21c365bf971c0105a36ea1b3b05ebf99a2b94313b216ce3a5d9c556e |
| hovercard-subject-tag | pull_request:737079357 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/secureCodeBox/secureCodeBox/pull/650/files |
| twitter:image | https://avatars.githubusercontent.com/u/32578476?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/32578476?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/secureCodeBox/secureCodeBox git https://github.com/secureCodeBox/secureCodeBox.git |
| octolytics-dimension-user_id | 34573705 |
| octolytics-dimension-user_login | secureCodeBox |
| octolytics-dimension-repository_id | 80711933 |
| octolytics-dimension-repository_nwo | secureCodeBox/secureCodeBox |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 80711933 |
| octolytics-dimension-repository_network_root_nwo | secureCodeBox/secureCodeBox |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 520b65a872113b919c1bbdb03834a50af15859fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width