Skip to content

Update sample data#14400

Open
github-actions[bot] wants to merge 1 commit intodevfrom
update-sample-data
Open

Update sample data#14400
github-actions[bot] wants to merge 1 commit intodevfrom
update-sample-data

Conversation

@github-actions
Copy link
Contributor

This pull request updates the sample data.

Copy link
Member

@valentijnscholten valentijnscholten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The second run of our Update Sample Data workflow. The big diff is for the Locations variant of the sample data which was not included in the first run. The original sample data file now has a smaller diff as expected.

@valentijnscholten valentijnscholten added this to the 2.56.0 milestone Feb 26, 2026
Copy link
Contributor

@mtesauro mtesauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@fopina
Copy link
Contributor

fopina commented Feb 26, 2026

How is this normally loaded by you guys, btw? I mean to avoid content-type conflicts and such
Typically I believe those are excluded from dumps (together with permissions) and --natural-keys is used to allow the default content type initialization to happen during migrate and still be able to loaddata without conflicts

@mtesauro
Copy link
Contributor

How is this normally loaded by you guys, btw? I mean to avoid content-type conflicts and such Typically I believe those are excluded from dumps (together with permissions) and --natural-keys is used to allow the default content type initialization to happen during migrate and still be able to loaddata without conflicts

For the public demo, we do the following:

python3 ./manage.py flush --no-input"
python3 ./manage.py loaddata /app/dojo/fixtures/defect_dojo_sample_data.json"

But this is part of the nuke it from orbit and start from zero "refresh" that happens every night.

Generally speaking, the sample data isn't normally used to load a fresh install of DefectDojo unless you want to have some data to play around with.

HTH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants