You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<spanstyle="background-color:rgba(242, 86, 29, 0.3)">This experimental feature has been deprecated as of DefectDojo 2.44.0 (March release). Please exercise caution if using this feature with an older version of DefectDojo, as results may be inconsistent.</span>
94
-
95
-
Import and Re-Import can also be configured to handle uploads asynchronously to aid in
96
-
processing especially large scans. It works by batching Findings and Endpoints by a
97
-
configurable amount. Each batch will be be processed in separate celery tasks.
98
-
99
-
The following variables impact async imports.
100
-
101
-
-`DD_ASYNC_FINDING_IMPORT` defaults to False
102
-
-`DD_ASYNC_FINDING_IMPORT_CHUNK_SIZE` defaults to 100
103
-
104
-
When using asynchronous imports with dynamic scanners, Endpoints will continue to "trickle" in
105
-
even after the import has returned a successful response. This is because processing continues
106
-
to occur after the Findings have already been imported.
107
-
108
-
To determine if an import has been fully completed, please see the progress bar in the appropriate test.
Copy file name to clipboardExpand all lines: docs/content/en/open_source/upgrading/2.47.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,3 +9,7 @@ description: Drop support for PostgreSQL-HA in HELM
9
9
This release removes support for the PostgreSQL-HA (High Availability) Helm chart as a dependency in the DefectDojo Helm chart. Users relying on the PostgreSQL-HA Helm chart will need to transition to using the standard PostgreSQL configuration or an external PostgreSQL database.
10
10
11
11
There are no special instructions for upgrading to 2.47.x. Check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/2.47.0) for the contents of the release.
12
+
13
+
## Removal of Asynchronous Import
14
+
15
+
Please note that asynchronous import has been removed as it was announced in 2.46. If you haven't migrated from this feature yet, we recommend doing before upgrading to 2.47.0
Processes findings in chunks within N number of processes. The
265
-
ASYNC_FINDING_IMPORT_CHUNK_SIZE setting will determine how many
266
-
findings will be processed in a given worker/process/thread
267
-
"""
268
-
warn("This experimental feature has been deprecated as of DefectDojo 2.44.0 (March release). Please exercise caution if using this feature with an older version of DefectDojo, as results may be inconsistent.", stacklevel=2)
Processes findings in chunks within N number of processes. The
361
-
ASYNC_FINDING_IMPORT_CHUNK_SIZE setting will determine how many
362
-
findings will be processed in a given worker/process/thread
363
-
"""
364
-
warn("This experimental feature has been deprecated as of DefectDojo 2.44.0 (March release). Please exercise caution if using this feature with an older version of DefectDojo, as results may be inconsistent.", stacklevel=2)
365
-
chunk_list=self.chunk_findings(parsed_findings)
366
-
results_list= []
367
-
new_findings= []
368
-
# First kick off all the workers
369
-
forfindings_listinchunk_list:
370
-
result=self.process_findings(
371
-
findings_list,
372
-
sync=False,
373
-
**kwargs,
374
-
)
375
-
# Since I dont want to wait until the task is done right now, save the id
376
-
# So I can check on the task later
377
-
results_list+= [result]
378
-
# After all tasks have been started, time to pull the results
Processes findings in chunks within N number of processes. The
324
-
ASYNC_FINDING_IMPORT_CHUNK_SIZE setting will determine how many
325
-
findings will be processed in a given worker/process/thread
326
-
"""
327
-
warn("This experimental feature has been deprecated as of DefectDojo 2.44.0 (March release). Please exercise caution if using this feature with an older version of DefectDojo, as results may be inconsistent.", stacklevel=2)
328
-
# Indicate that the test is not complete yet as endpoints will still be rolling in.
329
-
self.update_test_progress(percentage_value=50)
330
-
chunk_list=self.chunk_findings(parsed_findings)
331
-
results_list= []
332
-
new_findings= []
333
-
reactivated_findings= []
334
-
findings_to_mitigate= []
335
-
untouched_findings= []
336
-
# First kick off all the workers
337
-
forfindings_listinchunk_list:
338
-
result=self.process_findings(
339
-
findings_list,
340
-
sync=False,
341
-
**kwargs,
342
-
)
343
-
# Since I dont want to wait until the task is done right now, save the id
344
-
# So I can check on the task later
345
-
results_list+= [result]
346
-
# After all tasks have been started, time to pull the results
Copy file name to clipboardExpand all lines: dojo/settings/settings.dist.py
-10Lines changed: 0 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -274,12 +274,6 @@
274
274
DD_RATE_LIMITER_ACCOUNT_LOCKOUT=(bool, False),
275
275
# when enabled SonarQube API parser will download the security hotspots
276
276
DD_SONARQUBE_API_PARSER_HOTSPOTS=(bool, True),
277
-
# when enabled, finding importing will occur asynchronously, default False
278
-
# This experimental feature has been deprecated as of DefectDojo 2.44.0 (March release). Please exercise caution if using this feature with an older version of DefectDojo, as results may be inconsistent.
279
-
DD_ASYNC_FINDING_IMPORT=(bool, False),
280
-
# The number of findings to be processed per celeryworker
281
-
# This experimental feature has been deprecated as of DefectDojo 2.44.0 (March release). Please exercise caution if using this feature with an older version of DefectDojo, as results may be inconsistent.
282
-
DD_ASYNC_FINDING_IMPORT_CHUNK_SIZE=(int, 100),
283
277
# When enabled, deleting objects will be occur from the bottom up. In the example of deleting an engagement
284
278
# The objects will be deleted as follows Endpoints -> Findings -> Tests -> Engagement
0 commit comments