-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add settings #11446
base: dev
Are you sure you want to change the base?
Add settings #11446
Conversation
DryRun Security SummaryThe pull request enhances the Dojo application's configuration by introducing new settings for SCM types, Jira connections, and HTTP request timeouts, while also updating the default SCM type handling in the user model. Expand for full summarySummary: The changes in this pull request focus on enhancing the configuration and functionality of the Dojo application, particularly around the handling of SCM (Source Code Management) types and Jira connections. The changes introduce new settings, such as These changes are likely to provide more flexibility and customization options for the Dojo application, which can be beneficial for the overall user experience and application management. From an application security perspective, the changes do not appear to introduce any obvious security concerns. However, it's important to ensure that any sensitive information, such as Jira connection details, is properly secured and not exposed in the application's settings. Files Changed:
Code AnalysisWe ran
Overall Riskiness🔴 Risk threshold exceeded. We've notified @mtesauro, @grendel513. |
HI @FirePanda169 I am curious about how much we would gain from short circuiting the SCM search times. If the performance gain is negligible, I am unsure if these settings will be more helpful than they would be confusing |
Hi @Maffooch I checked the response time on loading 10 findings. The time is almost the same. But I don't have records in the DojoMeta model. I don't have a chance to check more thoroughly yet. |
@FirePanda169 thank you for doing the quick validation! Once you test with some DojoMeta that would trigger the code paths that these new settings are influencing, let me know what the performance savings are |
* DD_SEARCH_SCM_TYPE - flag to enable/disable scm_type search * DD_DEFAULT_SCM_TYPE - default value for scm_type * DD_JIRA_CONNECT_METHOD - import path for jira connect method
4d4af37
to
69d6928
Compare
@Maffooch, the performance gain is really insignificant, in my case it is about 50 ms - the average time of one request. I removed DD_SEARCH_SCM_TYPE. |
Description
Add settings:
DD_DEFAULT_SCM_TYPE makes it a little easier to work with scm-type, since most people use only one scm-type
Test results
...