-
Notifications
You must be signed in to change notification settings - Fork 11
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
1 parent
3d8b129
commit 96913a8
Showing
21 changed files
with
593 additions
and
530 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,38 +1,38 @@ | ||
# name: Analysis | ||
name: Analysis | ||
|
||
# on: | ||
# push: | ||
# branches: [main] | ||
# pull_request: | ||
# types: [opened, reopened, synchronize, ready_for_review, converted_to_draft] | ||
# schedule: | ||
# - cron: "0 11 * * 0" # 3 AM PST = 12 PM UDT, runs sundays | ||
# workflow_dispatch: | ||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
types: [opened, reopened, synchronize, ready_for_review, converted_to_draft] | ||
schedule: | ||
- cron: "0 11 * * 0" # 3 AM PST = 12 PM UDT, runs sundays | ||
workflow_dispatch: | ||
|
||
# concurrency: | ||
# group: ${{ github.workflow }}-${{ github.ref }} | ||
# cancel-in-progress: true | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
# jobs: | ||
# # https://github.com/marketplace/actions/aqua-security-trivy | ||
# trivy: | ||
# name: Trivy Security Scan | ||
# if: ${{ ! github.event.pull_request.draft }} | ||
# runs-on: ubuntu-22.04 | ||
# timeout-minutes: 1 | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - name: Run Trivy vulnerability scanner in repo mode | ||
# uses: aquasecurity/trivy-action@0.22.0 | ||
# with: | ||
# format: "sarif" | ||
# output: "trivy-results.sarif" | ||
# ignore-unfixed: true | ||
# scan-type: "fs" | ||
# scanners: "vuln,secret,config" | ||
# severity: "CRITICAL,HIGH" | ||
jobs: | ||
# https://github.com/marketplace/actions/aqua-security-trivy | ||
trivy: | ||
name: Trivy Security Scan | ||
if: ${{ ! github.event.pull_request.draft }} | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 1 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run Trivy vulnerability scanner in repo mode | ||
uses: aquasecurity/trivy-action@0.53.0 | ||
with: | ||
format: "sarif" | ||
output: "trivy-results.sarif" | ||
ignore-unfixed: true | ||
scan-type: "fs" | ||
scanners: "vuln,secret,config" | ||
severity: "CRITICAL,HIGH" | ||
|
||
# - name: Upload Trivy scan results to GitHub Security tab | ||
# uses: github/codeql-action/upload-sarif@v3 | ||
# with: | ||
# sarif_file: "trivy-results.sarif" | ||
- name: Upload Trivy scan results to GitHub Security tab | ||
uses: github/codeql-action/upload-sarif@v3 | ||
with: | ||
sarif_file: "trivy-results.sarif" |
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 |
---|---|---|
|
@@ -30,6 +30,7 @@ | |
}, | ||
{ | ||
"sk": "HIST", | ||
"orcs": "NA", | ||
"subAreas": [ | ||
{ | ||
"name": "LEGACY SUBAREA", | ||
|
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,13 +1,15 @@ | ||
const REGION = process.env.AWS_REGION || 'local'; | ||
const ENDPOINT = 'http://localhost:8000'; | ||
const REGION = process.env.AWS_REGION || 'local-env'; | ||
const ENDPOINT = 'http://172.17.0.2:8000'; | ||
const TABLE_NAME = process.env.TABLE_NAME || 'ParksAr-tests'; | ||
const CONFIG_TABLE_NAME = process.env.CONFIG_TABLE_NAME || 'ConfigAr-tests'; | ||
const NAME_CACHE_TABLE_NAME = process.env.NAME_CACHE_TABLE_NAME || 'NameCacheAr-tests'; | ||
|
||
|
||
module.exports = { | ||
REGION, | ||
ENDPOINT, | ||
TABLE_NAME, | ||
CONFIG_TABLE_NAME, | ||
NAME_CACHE_TABLE_NAME, | ||
NAME_CACHE_TABLE_NAME | ||
}; | ||
|
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.