-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Automatic Import] Safely output the package manifest #192316
[Automatic Import] Safely output the package manifest #192316
Conversation
@elasticmachine merge upstream |
Pinging @elastic/security-scalability (Team:Security-Scalability) |
💚 Build Succeeded
Metrics [docs]Unknown metric groupsESLint disabled in files
Total ESLint disabled count
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally... LGTM..!
## Release note Fixes issues with rendering the package manifest in Automatic Import. ## Summary Previously the multiline output or special symbols in the user-provided strings, like description, were breaking YAML structure of the package manifest. The user would be confronted with a message like this, during the last step, after all the work of generating the integration was completed. The incorrect behavior can be observed in detail with a failing test in the first commit of the PR. In this PR, we change the manifest construction logic from template rendering into TypeScript code. As a result, all user-provided strings are correctly serialized. We keep as close as possible to the original manifest structure, also keeping the parameter names. --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit 521b6ee)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
#192524) # Backport This will backport the following commits from `main` to `8.15`: - [[Automatic Import] Safely output the package manifest (#192316)](#192316) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ilya Nikokoshev","email":"ilya.nikokoshev@elastic.co"},"sourceCommit":{"committedDate":"2024-09-09T13:52:07Z","message":"[Automatic Import] Safely output the package manifest (#192316)\n\n## Release note\r\n\r\nFixes issues with rendering the package manifest in Automatic Import.\r\n\r\n## Summary\r\n\r\nPreviously the multiline output or special symbols in the user-provided\r\nstrings, like description, were breaking YAML structure of the package\r\nmanifest. The user would be confronted with a message like this, during\r\nthe last step, after all the work of generating the integration was\r\ncompleted.\r\n\r\nThe incorrect behavior can be observed in detail with a failing test in\r\nthe first commit of the PR.\r\n\r\nIn this PR, we change the manifest construction logic from template\r\nrendering into TypeScript code. As a result, all user-provided strings\r\nare correctly serialized. We keep as close as possible to the original\r\nmanifest structure, also keeping the parameter names.\r\n\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"521b6eec30cb5f8e4a81307110760527d21fd154","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","backport:prev-minor","v8.16.0","Team:Security-Scalability"],"title":"[Automatic Import] Safely output the package manifest","number":192316,"url":"https://github.com/elastic/kibana/pull/192316","mergeCommit":{"message":"[Automatic Import] Safely output the package manifest (#192316)\n\n## Release note\r\n\r\nFixes issues with rendering the package manifest in Automatic Import.\r\n\r\n## Summary\r\n\r\nPreviously the multiline output or special symbols in the user-provided\r\nstrings, like description, were breaking YAML structure of the package\r\nmanifest. The user would be confronted with a message like this, during\r\nthe last step, after all the work of generating the integration was\r\ncompleted.\r\n\r\nThe incorrect behavior can be observed in detail with a failing test in\r\nthe first commit of the PR.\r\n\r\nIn this PR, we change the manifest construction logic from template\r\nrendering into TypeScript code. As a result, all user-provided strings\r\nare correctly serialized. We keep as close as possible to the original\r\nmanifest structure, also keeping the parameter names.\r\n\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"521b6eec30cb5f8e4a81307110760527d21fd154"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/192316","number":192316,"mergeCommit":{"message":"[Automatic Import] Safely output the package manifest (#192316)\n\n## Release note\r\n\r\nFixes issues with rendering the package manifest in Automatic Import.\r\n\r\n## Summary\r\n\r\nPreviously the multiline output or special symbols in the user-provided\r\nstrings, like description, were breaking YAML structure of the package\r\nmanifest. The user would be confronted with a message like this, during\r\nthe last step, after all the work of generating the integration was\r\ncompleted.\r\n\r\nThe incorrect behavior can be observed in detail with a failing test in\r\nthe first commit of the PR.\r\n\r\nIn this PR, we change the manifest construction logic from template\r\nrendering into TypeScript code. As a result, all user-provided strings\r\nare correctly serialized. We keep as close as possible to the original\r\nmanifest structure, also keeping the parameter names.\r\n\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"521b6eec30cb5f8e4a81307110760527d21fd154"}}]}] BACKPORT--> Co-authored-by: Ilya Nikokoshev <ilya.nikokoshev@elastic.co>
## Release Note Fixes a bug in Automatic Import where icons were not shown after the integration was installed. ## Summary Closes #201008. When implementing safe manifest output #192316 a bug crept in: the icons array was incorrectly output as a dictionary icons: src: /img/logoElastic.svg title: syslog_test3 Logo size: 32x32 type: image/svg+xml and the test was not smart enough to pick it up: expect(manifest.icons).toBeTruthy(); We fix the field and add better tests for it.
…1139) ## Release Note Fixes a bug in Automatic Import where icons were not shown after the integration was installed. ## Summary Closes elastic#201008. When implementing safe manifest output elastic#192316 a bug crept in: the icons array was incorrectly output as a dictionary icons: src: /img/logoElastic.svg title: syslog_test3 Logo size: 32x32 type: image/svg+xml and the test was not smart enough to pick it up: expect(manifest.icons).toBeTruthy(); We fix the field and add better tests for it. (cherry picked from commit 30e075a)
…1139) ## Release Note Fixes a bug in Automatic Import where icons were not shown after the integration was installed. ## Summary Closes elastic#201008. When implementing safe manifest output elastic#192316 a bug crept in: the icons array was incorrectly output as a dictionary icons: src: /img/logoElastic.svg title: syslog_test3 Logo size: 32x32 type: image/svg+xml and the test was not smart enough to pick it up: expect(manifest.icons).toBeTruthy(); We fix the field and add better tests for it. (cherry picked from commit 30e075a)
…1139) ## Release Note Fixes a bug in Automatic Import where icons were not shown after the integration was installed. ## Summary Closes elastic#201008. When implementing safe manifest output elastic#192316 a bug crept in: the icons array was incorrectly output as a dictionary icons: src: /img/logoElastic.svg title: syslog_test3 Logo size: 32x32 type: image/svg+xml and the test was not smart enough to pick it up: expect(manifest.icons).toBeTruthy(); We fix the field and add better tests for it. (cherry picked from commit 30e075a)
…1139) ## Release Note Fixes a bug in Automatic Import where icons were not shown after the integration was installed. ## Summary Closes elastic#201008. When implementing safe manifest output elastic#192316 a bug crept in: the icons array was incorrectly output as a dictionary icons: src: /img/logoElastic.svg title: syslog_test3 Logo size: 32x32 type: image/svg+xml and the test was not smart enough to pick it up: expect(manifest.icons).toBeTruthy(); We fix the field and add better tests for it. (cherry picked from commit 30e075a)
) (#201225) # Backport This will backport the following commits from `main` to `8.x`: - [[Automatic Import] Correctly output icons in the manifest (#201139)](#201139) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ilya Nikokoshev","email":"ilya.nikokoshev@elastic.co"},"sourceCommit":{"committedDate":"2024-11-21T15:34:07Z","message":"[Automatic Import] Correctly output icons in the manifest (#201139)\n\n## Release Note\r\n\r\nFixes a bug in Automatic Import where icons were not shown after the\r\nintegration was installed.\r\n\r\n## Summary\r\n\r\nCloses #201008.\r\n\r\nWhen implementing safe manifest output #192316 a bug crept in:\r\nthe icons array was incorrectly output as a dictionary\r\n\r\n icons:\r\n src: /img/logoElastic.svg\r\n title: syslog_test3 Logo\r\n size: 32x32\r\n type: image/svg+xml\r\n\r\nand the test was not smart enough to pick it up:\r\n\r\n expect(manifest.icons).toBeTruthy();\r\n\r\nWe fix the field and add better tests for it.","sha":"30e075a1b601a9bd5564667b67b3112479d1eebc","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","v9.0.0","backport:prev-major","8.17 candidate","Team:Security-Scalability","Feature:AutomaticImport"],"title":"[Automatic Import] Correctly output icons in the manifest","number":201139,"url":"https://github.com/elastic/kibana/pull/201139","mergeCommit":{"message":"[Automatic Import] Correctly output icons in the manifest (#201139)\n\n## Release Note\r\n\r\nFixes a bug in Automatic Import where icons were not shown after the\r\nintegration was installed.\r\n\r\n## Summary\r\n\r\nCloses #201008.\r\n\r\nWhen implementing safe manifest output #192316 a bug crept in:\r\nthe icons array was incorrectly output as a dictionary\r\n\r\n icons:\r\n src: /img/logoElastic.svg\r\n title: syslog_test3 Logo\r\n size: 32x32\r\n type: image/svg+xml\r\n\r\nand the test was not smart enough to pick it up:\r\n\r\n expect(manifest.icons).toBeTruthy();\r\n\r\nWe fix the field and add better tests for it.","sha":"30e075a1b601a9bd5564667b67b3112479d1eebc"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201139","number":201139,"mergeCommit":{"message":"[Automatic Import] Correctly output icons in the manifest (#201139)\n\n## Release Note\r\n\r\nFixes a bug in Automatic Import where icons were not shown after the\r\nintegration was installed.\r\n\r\n## Summary\r\n\r\nCloses #201008.\r\n\r\nWhen implementing safe manifest output #192316 a bug crept in:\r\nthe icons array was incorrectly output as a dictionary\r\n\r\n icons:\r\n src: /img/logoElastic.svg\r\n title: syslog_test3 Logo\r\n size: 32x32\r\n type: image/svg+xml\r\n\r\nand the test was not smart enough to pick it up:\r\n\r\n expect(manifest.icons).toBeTruthy();\r\n\r\nWe fix the field and add better tests for it.","sha":"30e075a1b601a9bd5564667b67b3112479d1eebc"}}]}] BACKPORT--> Co-authored-by: Ilya Nikokoshev <ilya.nikokoshev@elastic.co>
…1139) (#201223) # Backport This will backport the following commits from `main` to `8.16`: - [[Automatic Import] Correctly output icons in the manifest (#201139)](#201139) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ilya Nikokoshev","email":"ilya.nikokoshev@elastic.co"},"sourceCommit":{"committedDate":"2024-11-21T15:34:07Z","message":"[Automatic Import] Correctly output icons in the manifest (#201139)\n\n## Release Note\r\n\r\nFixes a bug in Automatic Import where icons were not shown after the\r\nintegration was installed.\r\n\r\n## Summary\r\n\r\nCloses #201008.\r\n\r\nWhen implementing safe manifest output #192316 a bug crept in:\r\nthe icons array was incorrectly output as a dictionary\r\n\r\n icons:\r\n src: /img/logoElastic.svg\r\n title: syslog_test3 Logo\r\n size: 32x32\r\n type: image/svg+xml\r\n\r\nand the test was not smart enough to pick it up:\r\n\r\n expect(manifest.icons).toBeTruthy();\r\n\r\nWe fix the field and add better tests for it.","sha":"30e075a1b601a9bd5564667b67b3112479d1eebc","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","v9.0.0","backport:prev-major","8.17 candidate","Team:Security-Scalability","Feature:AutomaticImport"],"title":"[Automatic Import] Correctly output icons in the manifest","number":201139,"url":"https://github.com/elastic/kibana/pull/201139","mergeCommit":{"message":"[Automatic Import] Correctly output icons in the manifest (#201139)\n\n## Release Note\r\n\r\nFixes a bug in Automatic Import where icons were not shown after the\r\nintegration was installed.\r\n\r\n## Summary\r\n\r\nCloses #201008.\r\n\r\nWhen implementing safe manifest output #192316 a bug crept in:\r\nthe icons array was incorrectly output as a dictionary\r\n\r\n icons:\r\n src: /img/logoElastic.svg\r\n title: syslog_test3 Logo\r\n size: 32x32\r\n type: image/svg+xml\r\n\r\nand the test was not smart enough to pick it up:\r\n\r\n expect(manifest.icons).toBeTruthy();\r\n\r\nWe fix the field and add better tests for it.","sha":"30e075a1b601a9bd5564667b67b3112479d1eebc"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201139","number":201139,"mergeCommit":{"message":"[Automatic Import] Correctly output icons in the manifest (#201139)\n\n## Release Note\r\n\r\nFixes a bug in Automatic Import where icons were not shown after the\r\nintegration was installed.\r\n\r\n## Summary\r\n\r\nCloses #201008.\r\n\r\nWhen implementing safe manifest output #192316 a bug crept in:\r\nthe icons array was incorrectly output as a dictionary\r\n\r\n icons:\r\n src: /img/logoElastic.svg\r\n title: syslog_test3 Logo\r\n size: 32x32\r\n type: image/svg+xml\r\n\r\nand the test was not smart enough to pick it up:\r\n\r\n expect(manifest.icons).toBeTruthy();\r\n\r\nWe fix the field and add better tests for it.","sha":"30e075a1b601a9bd5564667b67b3112479d1eebc"}}]}] BACKPORT--> Co-authored-by: Ilya Nikokoshev <ilya.nikokoshev@elastic.co>
…1139) (#201224) # Backport This will backport the following commits from `main` to `8.17`: - [[Automatic Import] Correctly output icons in the manifest (#201139)](#201139) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ilya Nikokoshev","email":"ilya.nikokoshev@elastic.co"},"sourceCommit":{"committedDate":"2024-11-21T15:34:07Z","message":"[Automatic Import] Correctly output icons in the manifest (#201139)\n\n## Release Note\r\n\r\nFixes a bug in Automatic Import where icons were not shown after the\r\nintegration was installed.\r\n\r\n## Summary\r\n\r\nCloses #201008.\r\n\r\nWhen implementing safe manifest output #192316 a bug crept in:\r\nthe icons array was incorrectly output as a dictionary\r\n\r\n icons:\r\n src: /img/logoElastic.svg\r\n title: syslog_test3 Logo\r\n size: 32x32\r\n type: image/svg+xml\r\n\r\nand the test was not smart enough to pick it up:\r\n\r\n expect(manifest.icons).toBeTruthy();\r\n\r\nWe fix the field and add better tests for it.","sha":"30e075a1b601a9bd5564667b67b3112479d1eebc","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","v9.0.0","backport:prev-major","8.17 candidate","Team:Security-Scalability","Feature:AutomaticImport"],"title":"[Automatic Import] Correctly output icons in the manifest","number":201139,"url":"https://github.com/elastic/kibana/pull/201139","mergeCommit":{"message":"[Automatic Import] Correctly output icons in the manifest (#201139)\n\n## Release Note\r\n\r\nFixes a bug in Automatic Import where icons were not shown after the\r\nintegration was installed.\r\n\r\n## Summary\r\n\r\nCloses #201008.\r\n\r\nWhen implementing safe manifest output #192316 a bug crept in:\r\nthe icons array was incorrectly output as a dictionary\r\n\r\n icons:\r\n src: /img/logoElastic.svg\r\n title: syslog_test3 Logo\r\n size: 32x32\r\n type: image/svg+xml\r\n\r\nand the test was not smart enough to pick it up:\r\n\r\n expect(manifest.icons).toBeTruthy();\r\n\r\nWe fix the field and add better tests for it.","sha":"30e075a1b601a9bd5564667b67b3112479d1eebc"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201139","number":201139,"mergeCommit":{"message":"[Automatic Import] Correctly output icons in the manifest (#201139)\n\n## Release Note\r\n\r\nFixes a bug in Automatic Import where icons were not shown after the\r\nintegration was installed.\r\n\r\n## Summary\r\n\r\nCloses #201008.\r\n\r\nWhen implementing safe manifest output #192316 a bug crept in:\r\nthe icons array was incorrectly output as a dictionary\r\n\r\n icons:\r\n src: /img/logoElastic.svg\r\n title: syslog_test3 Logo\r\n size: 32x32\r\n type: image/svg+xml\r\n\r\nand the test was not smart enough to pick it up:\r\n\r\n expect(manifest.icons).toBeTruthy();\r\n\r\nWe fix the field and add better tests for it.","sha":"30e075a1b601a9bd5564667b67b3112479d1eebc"}}]}] BACKPORT--> Co-authored-by: Ilya Nikokoshev <ilya.nikokoshev@elastic.co>
…1139) (#201222) # Backport This will backport the following commits from `main` to `8.15`: - [[Automatic Import] Correctly output icons in the manifest (#201139)](#201139) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ilya Nikokoshev","email":"ilya.nikokoshev@elastic.co"},"sourceCommit":{"committedDate":"2024-11-21T15:34:07Z","message":"[Automatic Import] Correctly output icons in the manifest (#201139)\n\n## Release Note\r\n\r\nFixes a bug in Automatic Import where icons were not shown after the\r\nintegration was installed.\r\n\r\n## Summary\r\n\r\nCloses #201008.\r\n\r\nWhen implementing safe manifest output #192316 a bug crept in:\r\nthe icons array was incorrectly output as a dictionary\r\n\r\n icons:\r\n src: /img/logoElastic.svg\r\n title: syslog_test3 Logo\r\n size: 32x32\r\n type: image/svg+xml\r\n\r\nand the test was not smart enough to pick it up:\r\n\r\n expect(manifest.icons).toBeTruthy();\r\n\r\nWe fix the field and add better tests for it.","sha":"30e075a1b601a9bd5564667b67b3112479d1eebc","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","v9.0.0","backport:prev-major","8.17 candidate","Team:Security-Scalability","Feature:AutomaticImport"],"title":"[Automatic Import] Correctly output icons in the manifest","number":201139,"url":"https://github.com/elastic/kibana/pull/201139","mergeCommit":{"message":"[Automatic Import] Correctly output icons in the manifest (#201139)\n\n## Release Note\r\n\r\nFixes a bug in Automatic Import where icons were not shown after the\r\nintegration was installed.\r\n\r\n## Summary\r\n\r\nCloses #201008.\r\n\r\nWhen implementing safe manifest output #192316 a bug crept in:\r\nthe icons array was incorrectly output as a dictionary\r\n\r\n icons:\r\n src: /img/logoElastic.svg\r\n title: syslog_test3 Logo\r\n size: 32x32\r\n type: image/svg+xml\r\n\r\nand the test was not smart enough to pick it up:\r\n\r\n expect(manifest.icons).toBeTruthy();\r\n\r\nWe fix the field and add better tests for it.","sha":"30e075a1b601a9bd5564667b67b3112479d1eebc"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201139","number":201139,"mergeCommit":{"message":"[Automatic Import] Correctly output icons in the manifest (#201139)\n\n## Release Note\r\n\r\nFixes a bug in Automatic Import where icons were not shown after the\r\nintegration was installed.\r\n\r\n## Summary\r\n\r\nCloses #201008.\r\n\r\nWhen implementing safe manifest output #192316 a bug crept in:\r\nthe icons array was incorrectly output as a dictionary\r\n\r\n icons:\r\n src: /img/logoElastic.svg\r\n title: syslog_test3 Logo\r\n size: 32x32\r\n type: image/svg+xml\r\n\r\nand the test was not smart enough to pick it up:\r\n\r\n expect(manifest.icons).toBeTruthy();\r\n\r\nWe fix the field and add better tests for it.","sha":"30e075a1b601a9bd5564667b67b3112479d1eebc"}}]}] BACKPORT--> Co-authored-by: Ilya Nikokoshev <ilya.nikokoshev@elastic.co>
…1139) ## Release Note Fixes a bug in Automatic Import where icons were not shown after the integration was installed. ## Summary Closes elastic#201008. When implementing safe manifest output elastic#192316 a bug crept in: the icons array was incorrectly output as a dictionary icons: src: /img/logoElastic.svg title: syslog_test3 Logo size: 32x32 type: image/svg+xml and the test was not smart enough to pick it up: expect(manifest.icons).toBeTruthy(); We fix the field and add better tests for it.
…1139) ## Release Note Fixes a bug in Automatic Import where icons were not shown after the integration was installed. ## Summary Closes elastic#201008. When implementing safe manifest output elastic#192316 a bug crept in: the icons array was incorrectly output as a dictionary icons: src: /img/logoElastic.svg title: syslog_test3 Logo size: 32x32 type: image/svg+xml and the test was not smart enough to pick it up: expect(manifest.icons).toBeTruthy(); We fix the field and add better tests for it.
Release note
Fixes issues with rendering the package manifest in Automatic Import.
Summary
Previously the multiline output or special symbols in the user-provided strings, like description, were breaking YAML structure of the package manifest. The user would be confronted with a message like this, during the last step, after all the work of generating the integration was completed:
The incorrect behavior can be observed in detail with a failing test in the first commit.
In this PR, we change the manifest construction logic from template rendering into TypeScript code. As a result, all user-provided strings are correctly serialized. We keep as close as possible to the original manifest structure, also keeping the parameter names.
Example
An example generated manifest:
Checklist
Risk Matrix