Skip to content

Commit 1076eeb

Browse files
running in production should change aes key
1 parent 45b5383 commit 1076eeb

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

docs/content/en/open_source/installation/running-in-production.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ With a separate database, the minimum recommendations to run DefectDojo are:
2828
a different disk than your OS\'s for potential performance
2929
improvements.
3030

31+
### Security
32+
Verify the `nginx` configuration and other run-time aspects such as security headers.
33+
Change the AES256 encryption key `&91a*agLqesc*0DJ+2*bAbsUZfR*4nLw` to something unique for your instance.
34+
This encryption key is used to encrypt API keys and other credentials stored in Defect Dojo to connect to external tools such as SonarQube.
35+
36+
```
37+
DD_CREDENTIAL_AES_256_KEY: "${DD_CREDENTIAL_AES_256_KEY:-long-and-unique-aes-key-to-encrypt-credentials-for-tool-configurations-stored-by-defect-dojo}"
38+
```
39+
40+
3141
## File Backup
3242

3343
In both cases (dedicated DB or containerized), if you are self-hosting, it is recommended that you implement and create periodic backups of your data.
@@ -55,7 +65,7 @@ concurrent connections.
5565

5666
### Celery worker
5767

58-
By default, a single mono-process celery worker is spawned. When storing a large amount of findings, leveraging async functions (like deduplication), or both. Eventually, it is important to adjust these parameters to prevent resource starvation.
68+
By default, a single mono-process celery worker is spawned. When storing a large amount of findings, leveraging async functions (like deduplication), or both. Eventually, it is important to adjust these parameters to prevent resource starvation.
5969

6070
The following variables can be changed to increase worker performance, while keeping a single celery container.
6171

@@ -80,8 +90,8 @@ and see what is in effect.
8090

8191
<span style="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>
8292

83-
Import and Re-Import can also be configured to handle uploads asynchronously to aid in
84-
processing especially large scans. It works by batching Findings and Endpoints by a
93+
Import and Re-Import can also be configured to handle uploads asynchronously to aid in
94+
processing especially large scans. It works by batching Findings and Endpoints by a
8595
configurable amount. Each batch will be be processed in separate celery tasks.
8696

8797
The following variables impact async imports.
@@ -90,7 +100,7 @@ The following variables impact async imports.
90100
- `DD_ASYNC_FINDING_IMPORT_CHUNK_SIZE` defaults to 100
91101

92102
When using asynchronous imports with dynamic scanners, Endpoints will continue to "trickle" in
93-
even after the import has returned a successful response. This is because processing continues
103+
even after the import has returned a successful response. This is because processing continues
94104
to occur after the Findings have already been imported.
95105

96106
To determine if an import has been fully completed, please see the progress bar in the appropriate test.

0 commit comments

Comments
 (0)