Title: Inherit environment variables, volumes, and volume mounts from parent in cascading scans by EndPositive · Pull Request #538 · secureCodeBox/secureCodeBox · GitHub
Open Graph Title: Inherit environment variables, volumes, and volume mounts from parent in cascading scans by EndPositive · Pull Request #538 · secureCodeBox/secureCodeBox
X Title: Inherit environment variables, volumes, and volume mounts from parent in cascading scans by EndPositive · Pull Request #538 · secureCodeBox/secureCodeBox
Description: Description This PR ensures that child scans inherit environment variables, volumes, and volume mounts (hereafter named as 'spec') from their parent scan (499c077, 0f224fa). The spec from the applied cascading rule is merged with those from the parent scan (cascading rule spec takes precedence 3391d74). Finally, to ensure that the spec from the cascading rule is only applied to the currently matched scan (and not its children), the child scan purges the cascading rule spec from the parent scan when inheriting them (b7b1856). This behavior is useful in cases where you want to set the http_proxy variable for cascaded scans or when you want to mount CA certificates into cascaded scans. I also considered retrieving the spec from the root scan, but currently there's no way (to my knowledge) to accurately determine the root scan in the cascading scan hook). 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 This PR ensures that child scans inherit environment variables, volumes, and volume mounts (hereafter named as 'spec') from their parent scan (499c077, 0f224fa). The spec from t...
X Description: Description This PR ensures that child scans inherit environment variables, volumes, and volume mounts (hereafter named as 'spec') from their parent scan (499c077, 0f224fa). The spe...
Opengraph URL: https://github.com/secureCodeBox/secureCodeBox/pull/538
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:9eaf7335-a456-2d86-e8de-433949a4f4fa |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | CE0A:17D55F:C0108:F1A44:69911F7C |
| html-safe-nonce | bc58ae2e89868ea3bc70b43165202e03b5b21cc97071333cad215884b0fac7be |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTBBOjE3RDU1RjpDMDEwODpGMUE0NDo2OTkxMUY3QyIsInZpc2l0b3JfaWQiOiI2NjU3NTQ3MTg1NzQyMjI1Mjc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fb1f28ec4dfa33b47a67d7dc9bf21d125e21f3e315a802c4465e4aa0892cbff2 |
| hovercard-subject-tag | pull_request:683034744 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/538/checks |
| twitter:image | https://avatars.githubusercontent.com/u/25148195?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/25148195?s=400&v=4 |
| og:image:alt | Description This PR ensures that child scans inherit environment variables, volumes, and volume mounts (hereafter named as 'spec') from their parent scan (499c077, 0f224fa). The spec from t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width