-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Template and asset handling on SecHub jobs #3523
Milestone
Comments
This was referenced Oct 16, 2024
de-jcup
added a commit
that referenced
this issue
Nov 14, 2024
- it is now ensured on every pds job call, that the assets in storage are same as in db. Same logic for admin create/update operation is used. - improved PDSWebScanJobScenario12IntTest which does now uses templates and assets. The test ensures that the PDS instance will receive the pds template meta data. - changed templateDefinition format. Assets now no longer an array but only one entry. Means we have 1:n relation here from asset to templates and no longer m:n. - added unit tests - introduced TemplateData resolver in commons-model which can be used from PDS and wrapper applications - introduced TemplateData inside SecHub convfiguration file
The #3610 will validate user input at job creation time. We do not additionally validate here. |
de-jcup
added a commit
that referenced
this issue
Nov 15, 2024
- it is now ensured on every pds job call, that the assets in storage are same as in db. Same logic for admin create/update operation is used. - improved PDSWebScanJobScenario12IntTest which does now uses templates and assets. The test ensures that the PDS instance will receive the pds template meta data. - changed templateDefinition format. Assets now no longer an array but only one entry. Means we have 1:n relation here from asset to templates and no longer m:n. - added unit tests - introduced TemplateData resolver in commons-model which can be used from PDS and wrapper applications - introduced TemplateData inside SecHub convfiguration file - Template and Asset REST controller are now annotated with profile admin access
de-jcup
added a commit
that referenced
this issue
Nov 15, 2024
- it is now ensured on every pds job call, that the assets in storage are same as in db. Same logic for admin create/update operation is used. - improved PDSWebScanJobScenario12IntTest which does now uses templates and assets. The test ensures that the PDS instance will receive the pds template meta data. - changed templateDefinition format. Assets now no longer an array but only one entry. Means we have 1:n relation here from asset to templates and no longer m:n. - added unit tests - introduced TemplateData resolver in commons-model which can be used from PDS and wrapper applications - introduced TemplateData inside SecHub convfiguration file - Template and Asset REST controller are now annotated with profile admin access
de-jcup
added a commit
that referenced
this issue
Nov 15, 2024
- it is now ensured on every pds job call, that the assets in storage are same as in db. Same logic for admin create/update operation is used. - improved PDSWebScanJobScenario12IntTest which does now uses templates and assets. The test ensures that the PDS instance will receive the pds template meta data. - changed templateDefinition format. Assets now no longer an array but only one entry. Means we have 1:n relation here from asset to templates and no longer m:n. - added unit tests - introduced TemplateData resolver in commons-model which can be used from PDS and wrapper applications - introduced TemplateData inside SecHub convfiguration file - Template and Asset REST controller are now annotated with profile admin access
de-jcup
added a commit
that referenced
this issue
Nov 15, 2024
- introduced TestAPI.executeResilient which is a short term for executeRunnableAndAcceptAssertionsMaximumTimes(4, runnable, 500); - all time relevant parts inside integration test TemplateScenario1IntTest do now use this for testing
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wanted
SecHub template and asset handling on starting jobs
pds.config.template.metadata.list
which contains informationabout assets for template types and also variable data
PDS
will receivepds.config.template.metadata.list
parameter(upload in asset storage if not already there, or if checksum is not as expected -
as a fallback for a db restore or storage problems)
The text was updated successfully, but these errors were encountered: