Headline
CVE-2023-25822: Version v.23.2 | ReportPortal Documentation
ReportPortal is an AI-powered test automation platform. Prior to version 5.10.0 of the com.epam.reportportal:service-api
module, corresponding to ReportPortal version 23.2, the ReportPortal database becomes unstable and reporting almost fully stops except for small launches with approximately 1 test inside when the test_item.path field is exceeded the allowable ltree
field type indexing limit (path length>=120, approximately recursive nesting of the nested steps). REINDEX INDEX path_gist_idx and path_idx aren’t helped. The problem was fixed in com.epam.reportportal:service-api
module version 5.10.0 (product release 23.2), where the maximum number of nested elements were programmatically limited. A workaround is available. After deletion of the data with long paths, and reindexing both indexes (path_gist_idx and path_idx), the database becomes stable and ReportPortal works properly.
- New feature - Monitoring:
A new Event Monitoring interface has been introduced, providing administrators with a convenient means to review all activities at the Project level through the Search & Filter functionality within the Admin panel. Events at the instance level are not visible on the UI, but they are securely stored in the database. This data can be easily transmitted to SIEM systems for future monitoring and analysis.
More details can be found via the link.
- Project Activity Panel Adjustments:
The list of project activities displayed in the Project Activity Panel has been expanded.
More details can be found via the link.
info
Please take into account that starting from this point forward, all events will have a new format for their storing in the database. Consequently, all events which have been stored prior to version 23.2 will be deleted.
- New feature – Delete Account:
Now instance administrators can empower users to delete their accounts and obfuscate associated personal data.
More details can be found via the link.
- New feature – Personal Data Retention policy:
ReportPortal now offers the option to set a retention period for collected personal data during instance configuration.
More details can be found via the link.
note
Please note that Features 3 and 4 are configurable, giving you the flexibility to decide whether you want to use these features or not. If you choose to utilize them, you can configure them using environmental variables. Further details can be found in the respective documentation.
- New feature – API Key:
You can now generate as many API Keys as you need. You also have the ability to keep track of the creation date of API Keys and revoke any that are unused. Old tokens will still continue to function. Additionally, easy identification of the purpose of API Keys is facilitated through the use of prefixes.
More details can be found via the link.
- Gitlab CI integration Workaround:
More details can be found via the link.
- “Load current step” functionality adjustments:
Minor refinements have been applied to the “Load current step” functionality. Now, you can access the “Load current step” feature by hovering over a step.
- Download file name changes:
Attachment details and download format have been revised: files are now downloaded with the real file names.
- Configuration examples updates:
Configuration examples on the user profile page have been updated.
Storage layer now supports S3 storage, allowing data consolidation into a single bucket for the entire instance.
We’ve added postfix for bucket names in binary storage.
We’ve updated dependencies with security fixes: service-auto-analyzer and service-metrics-gatherer.
The issue of slow Log View loading when STEP has a complex structure of the nested steps nesting and count of them has been resolved and now up to 7x faster.
Service-jobs stability is improved during the reporting logs with the large stack traces.
We’ve optimized the attachments cleaning mechanism that allows us to increase the default value of the chunk_size by 20 times: from 1000 to 20000 in the docker compose and Kubernetes deployments.
Content Security Policy has been extended by adding the .browserstack.com. Now you can embed videos as a markdown from BrowserStack in order to ease failed tests troubleshooting.
Job for Flushing Demo data works as expected thanks to sql error fix.
We’ve updated react to version 17 and its dependencies to reduce the number of vulnerabilities and have a smooth transition to version 18.
Issues arising when service-api is starting (connected to bucket structure update or the binary storage type update) while there are integrations to external services like Jira have been resolved. Old logic for migrating integration salt has been removed.
Launches import via API is possible with additional parameters: name, description, attributes.
Rename notIssue parameter for import launch : For the end-point POST/v1 /{projectName} /launch /import parameter notIssue is renamed to skippedIsNotIssue. Logic remains the same.
#1815, #1795, #957, #1644, #1590. All ReportPortal images now support multiple platforms: linux/amd64
#1970. Deserialization issue has been fixed.
Service Name
Repository
Tag
Index
reportportal/service-index
5.10.0
Authorization
reportportal/service-authorization
5.10.0
UI
reportportal/service-ui
5.10.0
API
reportportal/service-api
5.10.0
Jobs
reportportal/service-jobs
5.10.0
Migrations
reportportal/migrations
5.10.0
Auto Analyzer
reportportal/service-auto-analyzer
5.10.0
Metrics Gatherer
reportportal/service-metrics-gatherer
5.10.0
Migration guide
Related news
### Impact ReportPortal database becomes unstable and reporting almost fully stops except for small launches with approximately 1 test inside when the test_item.path field is exceeded the allowable "ltree" field type indexing limit (path length>=120 approximately, recursive nesting of the nested steps). REINDEX INDEX path_gist_idx and path_idx aren't helped. ### Patches The problem was fixed in `service-api` module of version `5.10.0` (product release [23.2](https://reportportal.io/docs/releases/Version23.2/)), where the maximum number of nested elements were programmatically limited. ### Workarounds After deletion of the data with long paths, and reindexing both indexes (path_gist_idx and path_idx), the database becomes stable and ReportPortal is working properly.