-
Notifications
You must be signed in to change notification settings - Fork 2
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
12 changed files
with
139 additions
and
42 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,38 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "maven" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" | ||
day: "monday" | ||
time: "06:00" | ||
timezone: "Etc/UTC" | ||
groups: | ||
java-test-dependencies: | ||
patterns: | ||
- "org.junit.jupiter:*" | ||
- "org.mockito:*" | ||
maven-build-plugins: | ||
patterns: | ||
- "org.apache.maven.plugins:*" | ||
- "org.owasp:dependency-check-maven" | ||
- "org.sonatype.plugins:nexus-staging-maven-plugin" | ||
- "org.codehaus.mojo:exec-maven-plugin" | ||
java-production-dependencies: | ||
patterns: | ||
- "*" | ||
exclude-patterns: | ||
- "org.junit.jupiter:*" | ||
- "org.mockito:*" | ||
- "org.apache.maven.plugins:*" | ||
- "org.owasp:dependency-check-maven" | ||
- "org.sonatype.plugins:nexus-staging-maven-plugin" | ||
- "org.codehaus.mojo:exec-maven-plugin" | ||
- package-ecosystem: "github-actions" | ||
directory: "/" # even for `.github/workflows` | ||
schedule: | ||
interval: "monthly" | ||
groups: | ||
github-actions: | ||
patterns: | ||
- "*" |
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,63 @@ | ||
name: OWASP Maven Dependency Check | ||
on: | ||
schedule: | ||
- cron: '0 14 * * 0' | ||
push: | ||
branches: | ||
- 'release/**' | ||
workflow_dispatch: | ||
|
||
|
||
jobs: | ||
check-dependencies: | ||
name: Check dependencies | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
show-progress: false | ||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: 17 | ||
cache: 'maven' | ||
- name: Cache NVD DB | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.m2/repository/org/owasp/dependency-check-data/ | ||
key: dependency-check-${{ github.run_id }} | ||
restore-keys: | | ||
dependency-check | ||
env: | ||
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 5 | ||
- name: Run org.owasp:dependency-check plugin | ||
id: dependency-check | ||
continue-on-error: true | ||
run: mvn -B validate -Pdependency-check | ||
env: | ||
NVD_API_KEY: ${{ secrets.NVD_API_KEY }} | ||
- name: Upload report on failure | ||
if: steps.dependency-check.outcome == 'failure' | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: dependency-check-report | ||
path: target/dependency-check-report.html | ||
if-no-files-found: error | ||
- name: Slack Notification on regular check | ||
if: github.event_name == 'schedule' && steps.dependency-check.outcome == 'failure' | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
SLACK_USERNAME: 'Cryptobot' | ||
SLACK_ICON: false | ||
SLACK_ICON_EMOJI: ':bot:' | ||
SLACK_CHANNEL: 'cryptomator-desktop' | ||
SLACK_TITLE: "Vulnerabilities in ${{ github.event.repository.name }} detected." | ||
SLACK_MESSAGE: "Download the <https://github.com/${{ github.repository }}/actions/run/${{ github.run_id }}|report> for more details." | ||
SLACK_FOOTER: false | ||
MSG_MINIMAL: true | ||
- name: Failing workflow on release branch | ||
if: github.event_name == 'push' && steps.dependency-check.outcome == 'failure' | ||
shell: bash | ||
run: exit 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 @@ | ||
org.cryptomator.macos.keychain.displayName=macOS асҡыс сынйыры (Keychain) |
Empty file.
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 @@ | ||
org.cryptomator.macos.keychain.displayName=macOS Keychain | ||
org.cryptomator.macos.keychain.displayName=macOS ਕੀਚੇਨ |