-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 #201 from Lissy93/REFACTOR/minor-improvments
- Loading branch information
Showing
12 changed files
with
220 additions
and
78 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,9 +1,26 @@ | ||
# Store environmental variables here. All variables are optional. | ||
# Lines beginning in '#' are ignored. | ||
|
||
# NODE_ENV=production # Can be either development, production or test | ||
# PORT=4000 # The port to expose the running application on | ||
# HOST=localhost # The host that Dashy is running on, domain or IP | ||
# BASE_URL=./ # The default base path for serving up static assets | ||
# VUE_APP_DOMAIN # Usually the same as BASE_URL, but accessible in frontend | ||
# IS_DOCKER=true # Usually already set, should be true if running in container | ||
# VUE_APP_VERSION # Again, set automatically using package.json during build | ||
# Can be either development, production or test | ||
# NODE_ENV=production | ||
|
||
# The port to expose the running application on | ||
# PORT=4000 | ||
|
||
# The host that Dashy is running on, domain or IP | ||
# HOST=localhost | ||
|
||
# The default base path for serving up static assets | ||
# BASE_URL=./ | ||
|
||
# Usually the same as BASE_URL, but accessible in frontend | ||
# VUE_APP_DOMAIN=https://dashy.to | ||
|
||
# Should enable SRI for build script and link resources | ||
# INTEGRITY=true | ||
|
||
# Computed automatically on build. Indicates if running in container | ||
# IS_DOCKER=true | ||
|
||
# Again, set automatically using package.json during build time | ||
# VUE_APP_VERSION=1.7.0 |
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,27 @@ | ||
on: | ||
issues: | ||
types: [opened, reopened] | ||
jobs: | ||
greet: | ||
runs-on: ubuntu-latest | ||
name: Close issue opened by non-stargazer | ||
steps: | ||
- name: close | ||
uses: uhyo/please-star-first@v1 | ||
with: | ||
token: ${{ secrets.BOT_GITHUB_TOKEN }} | ||
message: | | ||
Welcome to Dashy 👋 | ||
It's great to have you here, but unfortunately your ticket has been closed to prevent spam and low quality issues. Please ensure the following criteria are met, before reopening this issue. | ||
Issues are sometimes closed when users: | ||
- Have only recently joined GitHub | ||
- Have not yet stared this repository | ||
- Have not previously interacted with the repo | ||
Before you reopen this issue, please also ensure that: | ||
- You have checked that a similar issue does not already exist | ||
- You have checked the documentation for an existing solution | ||
- You have completed the relevant sections in the Issue template | ||
Once you have verified the above standards are met, you may reopen this issue. |
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 |
---|---|---|
|
@@ -95,6 +95,18 @@ This is covered in more detail in [App Management](/docs/management.md). | |
|
||
--- | ||
|
||
## Security Features | ||
|
||
#### Subresource Integrity | ||
[Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) or SRI is a security feature that enables browsers to verify that resources they fetch are delivered without unexpected manipulation. It works by allowing you to provide a cryptographic hash that a fetched resource must match. This prevents the app from loading any resources that have been manipulated, by verifying the files hashes. It safeguards against the risk of an attacker injecting arbitrary malicious content into any files served up via a CDN. | ||
|
||
Dashy supports SRI, and it is recommended to enable this if you are hosting your dashboard via a public CDN. To enable SRI, set the `INTEGRITY` environmental variable to `true`. | ||
|
||
#### Authentication | ||
Dashy supports both basic auth, as well as server-based SSO using Keycloak. Full details of which, along with alternate authentication methods can be found in the [Authentication Docs](/docs/authentication.md). If your dashboard is exposed to the internet and/ or contains any sensitive info it is strongly recommended to configure access control with Keycloak or another server-side method. | ||
|
||
--- | ||
|
||
## Reporting a Security Issue | ||
If you think you've found a critical issue with Dashy, please send an email to `[email protected]`. You can encrypt it, using [`0688 F8D3 4587 D954 E9E5 1FB8 FEDB 68F5 5C02 83A7`](https://keybase.io/aliciasykes/pgp_keys.asc?fingerprint=0688f8d34587d954e9e51fb8fedb68f55c0283a7). You should receive a response within 48 hours. | ||
|
||
|
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
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.