forked from geopython/pygeoapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'geopython:master' into staging
- Loading branch information
Showing
117 changed files
with
3,419 additions
and
4,965 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,6 +1,7 @@ | ||
.git | ||
.github | ||
.pytest_cache | ||
.mypy_cache | ||
build | ||
dist | ||
docs | ||
|
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,12 +1,21 @@ | ||
# Overview | ||
|
||
# Related Issue / Discussion | ||
# Related issue / discussion | ||
|
||
# Additional Information | ||
# Additional information | ||
|
||
# Contributions and Licensing | ||
# Dependency policy (RFC2) | ||
|
||
- [ ] I have ensured that this PR meets [RFC2](https://pygeoapi.io/development/rfc/2) requirements | ||
|
||
# Updates to public demo | ||
|
||
- [ ] I have ensured that breaking changes to the [pygeoapi master demo server](https://github.com/geopython/demo.pygeoapi.io) have been addressed | ||
- [ ] https://github.com/geopython/demo.pygeoapi.io/blob/master/services/pygeoapi_master/local.config.yml | ||
|
||
# Contributions and licensing | ||
|
||
(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing) | ||
|
||
- [ ] I'd like to contribute [feature X|bugfix Y|docs|something else] to pygeoapi. I confirm that my contributions to pygeoapi will be compatible with the pygeoapi license guidelines at the time of contribution. | ||
- [ ] I'd like to contribute [feature X|bugfix Y|docs|something else] to pygeoapi. I confirm that my contributions to pygeoapi will be compatible with the pygeoapi license guidelines at the time of contribution | ||
- [ ] I have already previously agreed to the pygeoapi Contributions and Licensing Guidelines |
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,46 @@ | ||
name: Check vulnerabilities | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- '**.md' | ||
pull_request: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- '!**.md' | ||
release: | ||
types: | ||
- released | ||
|
||
jobs: | ||
|
||
vulnerabilities: | ||
runs-on: ubuntu-22.04 | ||
defaults: | ||
run: | ||
working-directory: . | ||
steps: | ||
- name: Checkout pygeoapi | ||
uses: actions/checkout@v4 | ||
- name: Scan vulnerabilities with trivy | ||
uses: aquasecurity/trivy-action@master | ||
with: | ||
scan-type: fs | ||
exit-code: 1 | ||
ignore-unfixed: true | ||
severity: CRITICAL,HIGH | ||
scanners: vuln,misconfig,secret | ||
scan-ref: . | ||
- name: Build locally the image from Dockerfile | ||
run: | | ||
docker buildx build -t ${{ github.repository }}:${{ github.sha }} --platform linux/amd64 --no-cache -f Dockerfile . | ||
- name: Scan locally built Docker image for vulnerabilities with trivy | ||
uses: aquasecurity/trivy-action@master | ||
with: | ||
scan-type: image | ||
exit-code: 1 | ||
ignore-unfixed: true | ||
severity: CRITICAL,HIGH | ||
vuln-type: os,library | ||
image-ref: '${{ github.repository }}:${{ github.sha }}' |
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,2 @@ | ||
# Accept the risk | ||
DS002 # Dockerfile with non-root user |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.