{"id":29551333,"url":"https://github.com/doximity/terraform-provider-defectdojo","last_synced_at":"2025-07-18T04:05:41.046Z","repository":{"id":37827338,"uuid":"476892185","full_name":"doximity/terraform-provider-defectdojo","owner":"doximity","description":"DefectDojo API Terraform Provider","archived":false,"fork":false,"pushed_at":"2025-01-24T18:11:38.000Z","size":377,"stargazers_count":5,"open_issues_count":14,"forks_count":3,"subscribers_count":54,"default_branch":"master","last_synced_at":"2025-04-01T16:33:42.399Z","etag":null,"topics":["defectdojo","go","terraform"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/doximity.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-01T23:08:47.000Z","updated_at":"2025-01-24T18:11:40.000Z","dependencies_parsed_at":"2024-06-19T16:23:30.467Z","dependency_job_id":"c0611969-ccde-4d5d-a610-da50c9b5c00d","html_url":"https://github.com/doximity/terraform-provider-defectdojo","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/doximity/terraform-provider-defectdojo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doximity%2Fterraform-provider-defectdojo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doximity%2Fterraform-provider-defectdojo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doximity%2Fterraform-provider-defectdojo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doximity%2Fterraform-provider-defectdojo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doximity","download_url":"https://codeload.github.com/doximity/terraform-provider-defectdojo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doximity%2Fterraform-provider-defectdojo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265698016,"owners_count":23813124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["defectdojo","go","terraform"],"created_at":"2025-07-18T04:05:38.905Z","updated_at":"2025-07-18T04:05:41.023Z","avatar_url":"https://github.com/doximity.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-provider-defectdojo\n\n[DefectDojo API Terraform Provider](https://registry.terraform.io/providers/doximity/defectdojo)\n\n## Requirements\n\n- [Terraform](https://www.terraform.io/downloads.html) \u003e= 1.0\n- [Go](https://golang.org/doc/install) \u003e= 1.17\n\n## Building The Provider\n\n1. Clone the repository\n1. Enter the repository directory\n1. Build the provider using the Go `install` command:\n\n```shell\ngo install\n```\n\n## Adding Dependencies\n\nThis provider uses [Go modules](https://github.com/golang/go/wiki/Modules).\nPlease see the Go documentation for the most up to date information about using Go modules.\n\nTo add a new dependency `github.com/author/dependency` to your Terraform provider:\n\n```shell\ngo get github.com/author/dependency\ngo mod tidy\n```\n\nThen commit the changes to `go.mod` and `go.sum`.\n\n## Using the provider\n\nYou can configure the provider via environment variables:\n```\n$ export DEFECTDOJO_BASEURL=\"https://demo.defectdojo.org\"\n$ export DEFECTDOJO_APIKEY=\"my-api-key\"\n```\n\nOr with a username/password:\n\n```\n$ export DEFECTDOJO_BASEURL=\"https://demo.defectdojo.org\"\n$ export DEFECTDOJO_USERNAME=\"admin\"\n$ export DEFECTDOJO_PASSWORD=\"ebgngrguvegrra\"\n```\n\nOr in the terraform configuration:\n\n```hcl\nprovider \"defectdojo\" {\n  base_url = \"https://defectdojo.my-company.com\"\n  api_key = var.dd_api_key # don't put your key in the code!\n}\n```\n\n```hcl\nprovider \"defectdojo\" {\n  base_url = \"https://defectdojo.my-company.com\"\n  username = \"admin\"\n  password = var.dd_password # don't put your password in the code!\n}\n```\n\nStart using resources:\n\n```\ndata \"defectdojo_product_type\" \"this\" {\n  name     = \"My Product Type\"\n}\n\nresource \"defectdojo_product\" \"this\" {\n  name            = var.product_name\n  description     = \"This product represents is named `${var.product_name}`\"\n  product_type_id = data.defectdojo_product_type.this.id\n}\n```\n\n## Developing the Provider\n\nIf you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (see [Requirements](#requirements) above).\n\nTo compile the provider, run `go install`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory.\n\nTo generate or update documentation, run `go generate`.\n\nIn order to run the full suite of Acceptance tests, run `make testacc`.\n\n*Note:* Acceptance tests create real resources, and often cost money to run.\n\n```shell\nmake testacc\n```\n\nRun one test at a time:\n\n```shell\nTESTARGS=\"-run TestFunctionName\" make testacc\n```\n\nExtra debug output:\n\n```shell\nTF_LOG=\"DEBUG\" make testacc\n```\n\n## Releasing a new version\n\nCreate a branch/pull-request named something like `prepare for release v0.0.1`. Update the CHANGELOG.md file.\n\nMerge your changes to `master` and then push a version tag to master, like:\n\n```\n$ git checkout master\n$ git pull\n$ git tag v0.0.1\n$ git push --tags\n```\n\n## Releasing a pre-release version\n\nYou can release a pre-release version from any commit. Just name the tag with a suffix:\n\n```\n$ git checkout something\n$ git tag v0.0.1-pre\n$ git push --tags\n```\n\n## Contributing\n\nPull requests are welcome. By contributing to this repository you are agreeing to the [Contributor License Agreement (CONTRIBUTING.md)](./CONTRIBUTING.md)\n\n## Licencse\n\nLicensed under the Apache v2 license. See [LICENSE.txt](./LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoximity%2Fterraform-provider-defectdojo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoximity%2Fterraform-provider-defectdojo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoximity%2Fterraform-provider-defectdojo/lists"}