GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - secureCodeBox/defectdojo-client-java: This repo contains a OWASP DefectDojo API Client based on Java.

BranchesTags
Open more actions menu

Latest commit

 

History

338 Commits
338 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.reuse
.reuse
 
 
LICENSES
LICENSES
 
 
docs
docs
 
 
src
src
 
 
.editorconfig
.editorconfig
 
 
.sdkmanrc
.sdkmanrc
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
CONTRIBUTORS.md
CONTRIBUTORS.md
 
 
DCO
DCO
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
lombok.config
lombok.config
 
 
pom.xml
pom.xml
 
 

Repository files navigation

DefectDojo Client Java

Java Client to interact with the DefectDojo API.

Dependency Information

You can find the latest version and dependency infos on Maven Central.

Development

To run a local build clone this repo and just invoke the following command in the repo directory:

mvn clean install

Release

The release process is documented in a separate file.

Supported DefectDojo Versions

The client is supposed to be compatible with DefectDojo 1.10 and later, older version of DefectDojo might still work, but are not officially supported.

Example

import com.fasterxml.jackson.core.JsonProcessingException;
import io.securecodebox.persistence.defectdojo.config.Config;
import io.securecodebox.persistence.defectdojo.service.ProductTypeService;

import java.net.URISyntaxException;

public class DefectDojoClientTest {
    public static void main(String[] args) throws URISyntaxException, JsonProcessingException {

        // Configure DefectDojo URl and APIv2 Key
        var conf = new DefectDojoConfig("https://defectdojo.example.com", "f8....");

        var productTypeService = new ProductTypeService(conf);
        var productTypes = productTypeService.search();

        System.out.println("ProductTypes:");
        for (var productType : productTypes) {
            System.out.println(" - Id: " + productType.getId() + ", Name: '" + productType.getName()) + "'";
        }
    }
}

Testing a modified client

To build a gradle project that depends on this client one can use ./gradlew build --include-build <path_to_this_folder>. Gradle will then build the project with this local version of the the client.

About

This repo contains a OWASP DefectDojo API Client based on Java.

Topics

client-librarydefectdojogradlehacktoberfestjavaowasp

Resources

Readme

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

9 stars

Watchers

3 watching

Forks

13 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.