Import Methods

One of the things we understand at DefectDojo is that every company’s security needs are completely different. There is no ‘one-size-fits-all’ approach. As your organization changes, having a flexible approach is key.

DefectDojo allows you to connect your security tools in a flexible way to match those changes.

Scan Upload Methods

When DefectDojo receives a vulnerability report from a security tool, it will create Findings based on the vulnerabilities contained within that report. DefectDojo acts as the central repository for these Findings where they can be triaged, remediated or otherwise addressed by you and your team.

There are four main ways that DefectDojo can upload Finding reports:

  • Via direct import through the UI (“Add Findings”)
  • Via API endpoint (allowing for automated data ingest)
  • Via Universal Importer, a command-line tool which leverages the DefectDojo API
  • Via Connectors for certain tools, an ‘out of the box’ data integration
  • Via Smart Upload for certain tools, an importer designed to handle infrastructure scans

Comparing Upload Methods

UI ImportAPIConnectors ProSmart Upload
Supported Scan TypesAll: see Supported ToolsAll: see Supported ToolsSnyk, Semgrep, Burp Suite, AWS Security Hub, Probely, Checkmarx, TenableNexpose, NMap, OpenVas, Qualys, Tenable
Automation?Available via API: /reimport /import endpointsTriggered from CLI Importer or external codeConnectors is inherently automatedAvailable via API: /smart_upload_import endpoint

Product Hierarchy

Each of these methods can create Product Hierarchy on the spot. Product Hierarchy refers to DefectDojo’s Product Types, Products, Engagements or Tests: objects in DefectDojo which help organize your data into relevant context.

  • Vulnerability data can be imported into an existing Product Hierarchy. Product Types, Products, Engagements and Tests can all be created in advance, and then data can be imported to that location in DefectDojo.
  • The contextual Product Hierarchy can be created at the time of import. When importing a report, you can create a new Product Type, Product, Engagement and/or Test. This is handled by DefectDojo through the ‘auto-create context’ option.

Next Steps

  • If you have a brand new DefectDojo instance, learning how to use the Import Scan Form is a great starting point.
  • If you want to learn how to translate DefectDojo’s organizational system into a robust pipeline, you can start by consulting our article on Product Hierarchy.
  • If you want to set up Connectors to work with a supported tool, see our About Connectors article.