Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed Oauth to oicd plugin and configured it.... #6

Closed
wants to merge 42 commits into from

Conversation

lme-nca
Copy link

@lme-nca lme-nca commented Mar 8, 2024

⚠️ Note on feature completeness ⚠️

We are narrowing the scope of acceptable enhancements to DefectDojo in preparation for v3. Learn more here:
https://github.com/DefectDojo/django-DefectDojo/blob/master/readme-docs/CONTRIBUTING.md

Description

Describe the feature / bug fix implemented by this PR.
If this is a new parser, the parser guide may be worth (re)reading.

Test results

Ideally you extend the test suite in tests/ and dojo/unittests to cover the changed in this PR.
Alternatively, describe what you have and haven't tested.

Documentation

Please update any documentation when needed in the documentation folder)

Checklist

This checklist is for your information.

  • Make sure to rebase your PR against the very latest dev.
  • Features/Changes should be submitted against the dev.
  • Bugfixes should be submitted against the bugfix branch.
  • Give a meaningful name to your PR, as it may end up being used in the release notes.
  • Your code is flake8 compliant.
  • Your code is python 3.11 compliant.
  • If this is a new feature and not a bug fix, you've included the proper documentation in the docs at https://github.com/DefectDojo/django-DefectDojo/tree/dev/docs as part of this PR.
  • Model changes must include the necessary migrations in the dojo/db_migrations folder.
  • Add applicable tests to the unit tests.
  • Add the proper label to categorize your PR.

Extra information

Please clear everything below when submitting your pull request, it's here purely for your information.

Moderators: Labels currently accepted for PRs:

  • Import Scans (for new scanners/importers)
  • enhancement
  • performance
  • feature
  • bugfix
  • maintenance (a.k.a chores)
  • dependencies
  • New Migration (when the PR introduces a DB migration)
  • settings_changes (when the PR introduces changes or new settings in settings.dist.py)

Contributors: Git Tips

Rebase on dev branch

If the dev branch has changed since you started working on it, please rebase your work after the current dev.

On your working branch mybranch:

git rebase dev mybranch

In case of conflict:

 git mergetool
 git rebase --continue

When everything's fine on your local branch, force push to your myOrigin remote:

git push myOrigin --force-with-lease

To cancel everything:

git rebase --abort

Squashing commits

git rebase -i origin/dev
  • Replace pick by fixup on the commits you want squashed out
  • Replace pick by reword on the first commit if you want to change the commit message
  • Save the file and quit your editor

Force push to your myOrigin remote:

git push myOrigin --force-with-lease

pna-nca and others added 29 commits March 1, 2024 09:12
Django database engine supports OPTIONS entry in DATABASES setting. This
entry is the only way to configure specific non-standard database
connection settings, for instance: mutual TLS authentication.

This commit adds DD_DATABASE_OPTIONS environment variable support as
dictionary, empty by default.
…nt key permissions)

Due to kubernetes/kubernetes#57923 we have to
copy the provided client secrets to a temporary writable location and
adjust private key file permissions (to 0600). This has to be done for
all Pods which may connect to the database.
…es one

When using non-DefectDojo native authentication backend, there could be
a case when groups are created by this backend. For instance, when LDAP
module is configured to mirror groups. This commit handles this case and
creates/deletes Dojo_Group instance when "auth_group" is
created/deleted.
When using non-DefectDojo native authentication backend, there could be
a case when group membership is updated by this backend. For instance,
when LDAP module is configured to mirror groups it will automatically add
users to groups. This commit handles this case and update Dojo native
group membership according to internal groups configured by auth backend.
This commit removes mysql requirements from Python and Docker. It also changes
the default database engine in settings to avoid failure during dummy startup.

This commit does not have chances to be merged into upstream.
@github-actions github-actions bot added the ui label Mar 15, 2024
@lme-nca lme-nca changed the base branch from tag-2.31.5-NCA to tag-2.33.0-NCA April 11, 2024 11:54
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@lme-nca lme-nca closed this Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants