Title: Templating reference · secureCodeBox/secureCodeBox · Discussion #2707 · GitHub
Open Graph Title: Templating reference · secureCodeBox/secureCodeBox · Discussion #2707
X Title: Templating reference · secureCodeBox/secureCodeBox · Discussion #2707
Description: Templating reference
Open Graph Description: I'm trying to create versioned engagement in DefectDojo with ScheduledScan. I didn't managed to find reference to configure templating in annotations. Can you say what fields I can reference in ann...
X Description: I'm trying to create versioned engagement in DefectDojo with ScheduledScan. I didn't managed to find reference to configure templating in annotations. Can you say what fields I can referenc...
Opengraph URL: https://github.com/secureCodeBox/secureCodeBox/discussions/2707
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"Templating reference","text":"I'm trying to create versioned engagement in DefectDojo with ScheduledScan. I didn't managed to find reference to configure templating in annotations. Can you say what fields I can reference in annotations or place in the code responsible for templating?
","upvoteCount":1,"answerCount":2,"acceptedAnswer":{"@type":"Answer","text":"The auto-discovery templating params are right now not really nicely documented.
\nEasiest reference are the example templates configured by default: https://github.com/secureCodeBox/secureCodeBox/blob/main/auto-discovery/kubernetes/values.yaml#L43
\nFor more details you can reference the parameters handed intot he templating function in code.
\nThese can be found here:
\n\n- For Container AutoDiscovery: https://github.com/secureCodeBox/secureCodeBox/blob/main/auto-discovery/kubernetes/controllers/container_scan_controller.go#L240
\n- For Service AutoDiscovery: https://github.com/secureCodeBox/secureCodeBox/blob/main/auto-discovery/kubernetes/controllers/service_scan_controller.go#L149
\n
","upvoteCount":1,"url":"https://github.com/secureCodeBox/secureCodeBox/discussions/2707#discussioncomment-10967671"}}}
| route-pattern | /_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format) |
| route-controller | voltron_discussions_fragments |
| route-action | discussion_layout |
| fetch-nonce | v2:c2be96aa-b952-387f-d764-7f72b00d4779 |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | CBD0:17AD91:AF4E52:EE948F:698F00BA |
| html-safe-nonce | cf027c64f3edf6902387f5fb917e2e3a6bbab3b571b043ee8802c7d6f70bf332 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkQwOjE3QUQ5MTpBRjRFNTI6RUU5NDhGOjY5OEYwMEJBIiwidmlzaXRvcl9pZCI6IjYxNDQ2MTg1MTMwOTkwNjM0ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5b0e92997633ca524ec1695f04fffeb4d1adce7cffd652fc8513e2eb0207c91e |
| hovercard-subject-tag | discussion:7315078 |
| github-keyboard-shortcuts | repository,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/_view_fragments/Voltron::DiscussionsFragmentsController/show/secureCodeBox/secureCodeBox/2707/discussion_layout |
| twitter:image | https://opengraph.githubassets.com/e63a9ac7d20eaae527c8d560fb4874ee9917604c810d89ad81be5746a5b7a0c0/secureCodeBox/secureCodeBox/discussions/2707 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e63a9ac7d20eaae527c8d560fb4874ee9917604c810d89ad81be5746a5b7a0c0/secureCodeBox/secureCodeBox/discussions/2707 |
| og:image:alt | I'm trying to create versioned engagement in DefectDojo with ScheduledScan. I didn't managed to find reference to configure templating in annotations. Can you say what fields I can reference in ann... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f7bf82d8907f81525d95af82e60354b419d083df9534c8631d06bb9c0bf07ac |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 29d97d94d5b31f96c01179273264722362f058e7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width