forked from dexidp/dex
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from ScottSemian/master
Update to Dex master
- Loading branch information
Showing
2,708 changed files
with
59,115 additions
and
1,120,359 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 |
---|---|---|
@@ -1 +1,4 @@ | ||
bin | ||
.github/ | ||
.gitpod.yml | ||
bin/ | ||
tmp/ |
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,21 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.go] | ||
indent_style = tab | ||
|
||
[*.proto] | ||
indent_size = 2 | ||
|
||
[{Makefile,*.mk}] | ||
indent_style = tab | ||
|
||
[{config.yaml.dist,config.dev.yaml}] | ||
indent_size = 2 |
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,6 @@ | ||
if ! has nix_direnv_version || ! nix_direnv_version 1.5.0; then | ||
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/1.5.0/direnvrc" "sha256-carKk9aUFHMuHt+IWh74hFj58nY4K3uywpZbwXX0BTI=" | ||
fi | ||
use flake | ||
|
||
dotenv_if_exists |
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,2 @@ | ||
[{*.yml,*.yaml}] | ||
indent_size = 2 |
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,3 @@ | ||
## Community Code of Conduct | ||
|
||
This project follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). |
File renamed without changes.
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,102 @@ | ||
name: 🐛 Bug report | ||
description: Report a bug to help us improve Dex | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for submitting a bug report! | ||
Please fill out the template below to make it easier to debug your problem. | ||
If you are not sure if it is a bug or not, you can contact us via the available [support channels](https://github.com/dexidp/dex/issues/new/choose). | ||
- type: checkboxes | ||
attributes: | ||
label: Preflight Checklist | ||
description: Please ensure you've completed all of the following. | ||
options: | ||
- label: I agree to follow the [Code of Conduct](https://github.com/dexidp/dex/blob/master/.github/CODE_OF_CONDUCT.md) that this project adheres to. | ||
required: true | ||
- label: I have searched the [issue tracker](https://www.github.com/dexidp/dex/issues) for an issue that matches the one I want to file, without success. | ||
required: true | ||
- label: I am not looking for support or already pursued the available [support channels](https://github.com/dexidp/dex/issues/new/choose) without success. | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Version | ||
description: What version of Dex are you running? | ||
placeholder: 2.29.0 | ||
validations: | ||
required: true | ||
- type: dropdown | ||
attributes: | ||
label: Storage Type | ||
description: Which persistent storage type are you using? | ||
options: | ||
- etcd | ||
- Kubernetes | ||
- In-memory | ||
- Postgres | ||
- MySQL | ||
- SQLite | ||
validations: | ||
required: true | ||
- type: dropdown | ||
attributes: | ||
label: Installation Type | ||
description: How did you install Dex? | ||
options: | ||
- Binary | ||
- Official container image | ||
- Official Helm chart | ||
- Custom container image | ||
- Custom Helm chart | ||
- Other (specify below) | ||
multiple: true | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Expected Behavior | ||
description: A clear and concise description of what you expected to happen. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Actual Behavior | ||
description: A clear description of what actually happens. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Steps To Reproduce | ||
description: Steps to reproduce the behavior if it is not self-explanatory. | ||
placeholder: | | ||
1. In this environment... | ||
2. With this config... | ||
3. Run '...' | ||
4. See error... | ||
- type: textarea | ||
attributes: | ||
label: Additional Information | ||
description: Links? References? Anything that will give us more context about the issue that you are encountering! | ||
- type: textarea | ||
attributes: | ||
label: Configuration | ||
description: Contents of your configuration file (if relevant). | ||
render: yaml | ||
placeholder: | | ||
issuer: http://127.0.0.1:5556/dex | ||
storage: | ||
# ... | ||
connectors: | ||
# ... | ||
staticClients: | ||
# ... | ||
- type: textarea | ||
attributes: | ||
label: Logs | ||
description: Dex application logs (if relevant). | ||
render: shell |
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,21 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: 📖 Documentation enhancement | ||
url: https://github.com/dexidp/website/issues | ||
about: Suggest an improvement to the documentation | ||
|
||
- name: ❓ Ask a question | ||
url: https://github.com/dexidp/dex/discussions/new?category=q-a | ||
about: Ask and discuss questions with other Dex community members | ||
|
||
- name: 📚 Documentation | ||
url: https://dexidp.io/docs/ | ||
about: Check the documentation for help | ||
|
||
- name: 💬 Slack channel | ||
url: https://cloud-native.slack.com/messages/dexidp | ||
about: Please ask and answer questions here | ||
|
||
- name: 💡 Dex Enhancement Proposal | ||
url: https://github.com/dexidp/dex/tree/master/enhancements/README.md | ||
about: Open a proposal for significant architectural change |
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,40 @@ | ||
name: 🎉 Feature request | ||
description: Suggest an idea for Dex | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for submitting a feature request! | ||
Please describe what you would like to change/add and why in detail by filling out the template below. | ||
If you are not sure if your request fits into Dex, you can contact us via the available [support channels](https://github.com/dexidp/dex/issues/new/choose). | ||
- type: checkboxes | ||
attributes: | ||
label: Preflight Checklist | ||
description: Please ensure you've completed all of the following. | ||
options: | ||
- label: I agree to follow the [Code of Conduct](https://github.com/dexidp/dex/blob/master/.github/CODE_OF_CONDUCT.md) that this project adheres to. | ||
required: true | ||
- label: I have searched the [issue tracker](https://www.github.com/dexidp/dex/issues) for an issue that matches the one I want to file, without success. | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Problem Description | ||
description: A clear and concise description of the problem you are seeking to solve with this feature request. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Proposed Solution | ||
description: A clear and concise description of what would you like to happen. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Alternatives Considered | ||
description: A clear and concise description of any alternative solutions or features you've considered. | ||
- type: textarea | ||
attributes: | ||
label: Additional Information | ||
description: 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!-- | ||
Thank you for sending a pull request! Here are some tips for contributors: | ||
1. Fill the description template below. | ||
2. Sign a DCO (if you haven't already signed it). | ||
3. Include appropriate tests (if necessary). Make sure that all CI checks passed. | ||
4. If the Pull Request is a work in progress, make use of GitHub's "Draft PR" feature and mark it as such. | ||
--> | ||
|
||
#### Overview | ||
|
||
<!-- Describe your changes briefly here. --> | ||
|
||
#### What this PR does / why we need it | ||
|
||
<!-- | ||
- Please state in detail why we need this PR and what it solves. | ||
- If your PR closes some of the existing issues, please add links to them here. | ||
Mentioned issues will be automatically closed. | ||
Usage: "Closes #<issue number>", or "Closes (paste link of issue)" | ||
--> | ||
|
||
#### Special notes for your reviewer | ||
|
||
#### Does this PR introduce a user-facing change? | ||
|
||
<!-- | ||
If no, just write "NONE" in the release-note block below. | ||
If yes, a release note is required: | ||
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required". | ||
--> | ||
|
||
```release-note | ||
``` |
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,24 @@ | ||
# Security Policy | ||
|
||
## Reporting a vulnerability | ||
|
||
To report a vulnerability, send an email to [[email protected]](mailto:[email protected]) | ||
detailing the issue and steps to reproduce. The reporter(s) can expect a | ||
response within 48 hours acknowledging the issue was received. If a response is | ||
not received within 48 hours, please reach out to any maintainer directly | ||
to confirm receipt of the issue. | ||
|
||
## Review Process | ||
|
||
Once a maintainer has confirmed the relevance of the report, a draft security | ||
advisory will be created on GitHub. The draft advisory will be used to discuss | ||
the issue with maintainers, the reporter(s). | ||
If the reporter(s) wishes to participate in this discussion, then provide | ||
reporter GitHub username(s) to be invited to the discussion. If the reporter(s) | ||
does not wish to participate directly in the discussion, then the reporter(s) | ||
can request to be updated regularly via email. | ||
|
||
If the vulnerability is accepted, a timeline for developing a patch, public | ||
disclosure, and patch release will be determined. The reporter(s) are expected | ||
to participate in the discussion of the timeline and abide by agreed upon dates | ||
for public disclosure. |
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,30 @@ | ||
version: 2 | ||
|
||
updates: | ||
- package-ecosystem: "gomod" | ||
directory: "/" | ||
labels: | ||
- "area/dependencies" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "gomod" | ||
directory: "/api/v2" | ||
labels: | ||
- "area/dependencies" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "docker" | ||
directory: "/" | ||
labels: | ||
- "area/dependencies" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
labels: | ||
- "area/dependencies" | ||
schedule: | ||
interval: "daily" |
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,30 @@ | ||
changelog: | ||
exclude: | ||
labels: | ||
- release-note/ignore | ||
categories: | ||
- title: Exciting New Features 🎉 | ||
labels: | ||
- kind/feature | ||
- release-note/new-feature | ||
- title: Enhancements 🚀 | ||
labels: | ||
- kind/enhancement | ||
- release-note/enhancement | ||
- title: Bug Fixes 🐛 | ||
labels: | ||
- kind/bug | ||
- release-note/bug-fix | ||
- title: Breaking Changes 🛠 | ||
labels: | ||
- release-note/breaking-change | ||
- title: Deprecations ❌ | ||
labels: | ||
- release-note/deprecation | ||
- title: Dependency Updates ⬆️ | ||
labels: | ||
- area/dependencies | ||
- release-note/dependency-update | ||
- title: Other Changes | ||
labels: | ||
- "*" |
This file was deleted.
Oops, something went wrong.
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,47 @@ | ||
name: OpenSSF Scorecard | ||
|
||
on: | ||
branch_protection_rule: | ||
push: | ||
branches: [ main ] | ||
schedule: | ||
- cron: '30 0 * * 5' | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
actions: read | ||
contents: read | ||
id-token: write | ||
security-events: write | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Run analysis | ||
uses: ossf/scorecard-action@08b4669551908b1024bb425080c797723083c031 # v2.2.0 | ||
with: | ||
results_file: results.sarif | ||
results_format: sarif | ||
publish_results: true | ||
|
||
- name: Upload results as artifact | ||
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 | ||
with: | ||
name: OpenSSF Scorecard results | ||
path: results.sarif | ||
retention-days: 5 | ||
|
||
- name: Upload results to GitHub Security tab | ||
uses: github/codeql-action/upload-sarif@a09933a12a80f87b87005513f0abb1494c27a716 # v2.21.4 | ||
with: | ||
sarif_file: results.sarif |
Oops, something went wrong.