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: github.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:164a2bca-2eb2-e283-a90b-fa480d8c9179 |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | E80E:30E8A:C8B46B8:1061779F:69767D5A |
| html-safe-nonce | 740ca0e1f00fd79248a168201b38f6e4821c12ceba9e2985548ad8beeb16103c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODBFOjMwRThBOkM4QjQ2Qjg6MTA2MTc3OUY6Njk3NjdENUEiLCJ2aXNpdG9yX2lkIjoiMTk5MzMxODk0Njg5MDQ4MDk4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | da34656f6119a6fc4523bb26e5733191f58ff03aa33e2f797bf86e2f598da770 |
| 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 | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| 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 | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width