-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,824 changed files
with
569,079 additions
and
91,155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
--- | ||
sensitiveCodepaths: | ||
- 'dojo/object/*.py' # FIXME | ||
- 'dojo/announcement/*.py' | ||
- 'dojo/api_v2/*.py' | ||
- 'dojo/api_v2/**/*.py' | ||
- 'dojo/authorization/*.py' | ||
- 'dojo/db_migrations/*.py' | ||
- 'dojo/endpoint/*.py' | ||
- 'dojo/engagement/*.py' | ||
- 'dojo/finding/*.py' | ||
- 'dojo/finding_group/*.py' | ||
- 'dojo/group/*.py' | ||
- 'dojo/importers/*.py' | ||
- 'dojo/importers/**/*.py' | ||
- 'dojo/jira_link/*.py' | ||
- 'dojo/metrics/*.py' | ||
- 'dojo/note_type/*.py' | ||
- 'dojo/notes/*.py' | ||
- 'dojo/product/*.py' | ||
- 'dojo/product_type/*.py' | ||
- 'dojo/reports/*.py' | ||
- 'dojo/risk_acceptance/*.py' | ||
- 'dojo/search/*.py' | ||
- 'dojo/templates/*.html' | ||
- 'dojo/templates/**/*.html' | ||
- 'dojo/templatetags/*.py' | ||
- 'dojo/test/*.py' | ||
- 'dojo/tool_config/*.py' | ||
- 'dojo/tool_product/*.py' | ||
- 'dojo/tool_type/*.py' | ||
- 'dojo/user/*.py' | ||
- 'dojo/apps.py' | ||
- 'dojo/celery.py' | ||
- 'dojo/context_processors.py' | ||
- 'dojo/decorators.py' | ||
- 'dojo/filters.py' | ||
- 'dojo/forms.py' | ||
- 'dojo/middleware.py' | ||
- 'dojo/models.py' | ||
- 'dojo/okta.py' | ||
- 'dojo/pipeline.py' | ||
- 'dojo/remote_user.py' | ||
- 'dojo/tasks.py' | ||
- 'dojo/urls.py' | ||
- 'dojo/utils.py' | ||
- 'dojo/views.py' | ||
- 'dojo/wsgi.py' | ||
- 'docker/environments/*.env' | ||
- 'docker/extra_settings' | ||
- 'docker/entrypoint-celery-beat.sh' | ||
- 'docker/entrypoint-celery-worker.sh' | ||
- 'docker/entrypoint-initializer.sh' | ||
- 'docker/entrypoint-nginx.sh' | ||
- 'docker/entrypoint-uwsgi.sh' | ||
- 'docker/wait-for-it.sh' | ||
allowedAuthors: | ||
usernames: | ||
- mtesauro | ||
- devGregA | ||
- grendel513 | ||
- cneill | ||
- Maffooch | ||
- blakeowens | ||
notificationList: | ||
- '@mtesauro' | ||
- '@grendel513' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
name: Support Request | ||
about: If you need support or are running into some trouble | ||
title: '' | ||
labels: support | ||
assignees: '' | ||
|
||
--- | ||
**Slack us first!** | ||
The easiest and fastest way to help you is via Slack. There's a free and easy signup to join our #defectdojo channel in the OWASP Slack workspace: [Get Access.](https://owasp-slack.herokuapp.com/) | ||
If you're confident you've found a bug, or are allergic to Slack, you can submit an issue anyway. | ||
|
||
**Be informative** | ||
Please enter as much information as possible, otherwise we can't provide support. If possible upgrade to the latest release or dev branch and try again. | ||
|
||
**Problem description** | ||
A clear and concise description of what the problem is. For errors include at least the exact error message you are seeing (including traceback). | ||
|
||
**Steps to reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Deployment method** *(select with an `X`)* | ||
- [ ] Docker Compose | ||
- [ ] Kubernetes | ||
- [ ] GoDojo | ||
|
||
**Environment information** | ||
- Operating System: [e.g. Ubuntu 18.04] | ||
- DefectDojo version (see footer) or commit message: [use `git show -s --format="[%ci] %h: %s [%d]"`] | ||
|
||
**Logs** | ||
Use `docker-compose logs` (or similar, depending on your deployment method) to get the logs and add the relevant sections here showing the error occurring (if applicable). | ||
|
||
**Sample scan files** | ||
If applicable, add sample scan files to help reproduce your problem. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Additional context** (optional) | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,62 @@ | ||
--- | ||
docs: | ||
- docs/**/* | ||
- readme-docs/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- docs/**/* | ||
- readme-docs/**/* | ||
|
||
docker: | ||
- docker/**/* | ||
- docker** | ||
- Docker* | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- docker/**/* | ||
- docker** | ||
- Docker* | ||
|
||
helm: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- helm/defectdojo/* | ||
- helm/defectdojo/**/* | ||
|
||
"New Migration": | ||
- dojo/db_migrations/* | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- dojo/db_migrations/* | ||
|
||
unittests: | ||
- unittests/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- unittests/**/* | ||
|
||
integration_tests: | ||
- tests/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- tests/**/* | ||
|
||
settings_changes: | ||
- dojo/settings/settings.dist.py | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- dojo/settings/settings.dist.py | ||
|
||
apiv2: | ||
- dojo/api_v2/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- dojo/api_v2/**/* | ||
|
||
ui: | ||
- dojo/static/**/* | ||
- dojo/templates/**/* | ||
- dojo/templatetags/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- dojo/static/**/* | ||
- dojo/templates/**/* | ||
- dojo/templatetags/**/* | ||
|
||
parser: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- dojo/tools/**/* | ||
|
||
localization: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- dojo/locale/* | ||
- dojo/locale/**/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: "Build Docker Images For Testing" | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
jobs: | ||
build: | ||
# build with docker so we can use layer caching | ||
name: Build Docker Images | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
docker-image: [django, nginx, integration-tests] | ||
os: [alpine, debian] | ||
exclude: | ||
- docker-image: integration-tests | ||
os: alpine | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Read Docker Image Identifiers | ||
id: read-docker-image-identifiers | ||
run: echo "IMAGE_REPOSITORY=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
with: | ||
buildkitd-flags: --debug | ||
driver-opts: image=moby/buildkit:master # needed to get the fix for https://github.com/moby/buildkit/issues/2426 | ||
|
||
- name: Build | ||
id: docker_build | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: . | ||
push: false | ||
tags: defectdojo/defectdojo-${{ matrix.docker-image }}:${{ matrix.os }} | ||
file: Dockerfile.${{ matrix.docker-image }}-${{ matrix.os }} | ||
outputs: type=docker,dest=${{ matrix.docker-image }}-${{ matrix.os }}_img | ||
cache-from: type=gha,scope=${{ matrix.docker-image }} | ||
cache-to: type=gha,mode=max,scope=${{ matrix.docker-image }} | ||
|
||
# export docker images to be used in next jobs below | ||
- name: Upload image ${{ matrix.docker-image }} as artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ matrix.docker-image }} | ||
path: ${{ matrix.docker-image }}-${{ matrix.os }}_img | ||
retention-days: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.