mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-25 16:53:42 -04:00
Compare commits
7 Commits
32bd7af1b0
...
allow_node
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b87a523838 | ||
|
|
be991afeb2 | ||
|
|
e6815ed918 | ||
|
|
9c15262b06 | ||
|
|
b988d472ae | ||
|
|
ac96886a4a | ||
|
|
733994c095 |
10
.ds.baseline
10
.ds.baseline
@@ -133,7 +133,7 @@
|
|||||||
"filename": ".github/workflows/checks.yml",
|
"filename": ".github/workflows/checks.yml",
|
||||||
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
|
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
|
||||||
"is_verified": false,
|
"is_verified": false,
|
||||||
"line_number": 28,
|
"line_number": 29,
|
||||||
"is_secret": false
|
"is_secret": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -141,7 +141,7 @@
|
|||||||
"filename": ".github/workflows/checks.yml",
|
"filename": ".github/workflows/checks.yml",
|
||||||
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
|
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
|
||||||
"is_verified": false,
|
"is_verified": false,
|
||||||
"line_number": 45,
|
"line_number": 46,
|
||||||
"is_secret": false
|
"is_secret": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -151,7 +151,7 @@
|
|||||||
"filename": ".github/workflows/daily_checks.yml",
|
"filename": ".github/workflows/daily_checks.yml",
|
||||||
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
|
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
|
||||||
"is_verified": false,
|
"is_verified": false,
|
||||||
"line_number": 64,
|
"line_number": 66,
|
||||||
"is_secret": false
|
"is_secret": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -159,7 +159,7 @@
|
|||||||
"filename": ".github/workflows/daily_checks.yml",
|
"filename": ".github/workflows/daily_checks.yml",
|
||||||
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
|
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
|
||||||
"is_verified": false,
|
"is_verified": false,
|
||||||
"line_number": 80,
|
"line_number": 82,
|
||||||
"is_secret": false
|
"is_secret": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -374,5 +374,5 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"generated_at": "2026-03-26T17:19:11Z"
|
"generated_at": "2026-06-02T14:59:28Z"
|
||||||
}
|
}
|
||||||
|
|||||||
2
.github/actions/setup-project/action.yml
vendored
2
.github/actions/setup-project/action.yml
vendored
@@ -10,7 +10,7 @@ runs:
|
|||||||
&& sudo apt-get install -y --no-install-recommends \
|
&& sudo apt-get install -y --no-install-recommends \
|
||||||
libcurl4-openssl-dev
|
libcurl4-openssl-dev
|
||||||
- name: Set up Python 3.13.2
|
- name: Set up Python 3.13.2
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: "3.13.2"
|
python-version: "3.13.2"
|
||||||
- name: Install poetry
|
- name: Install poetry
|
||||||
|
|||||||
2
.github/workflows/adr-accepted.yml
vendored
2
.github/workflows/adr-accepted.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
run: exit 0
|
run: exit 0
|
||||||
|
|
||||||
- name: checkout main branch
|
- name: checkout main branch
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: main
|
ref: main
|
||||||
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
|||||||
11
.github/workflows/checks.yml
vendored
11
.github/workflows/checks.yml
vendored
@@ -14,6 +14,7 @@ env:
|
|||||||
WERKZEUG_DEBUG_PIN: off
|
WERKZEUG_DEBUG_PIN: off
|
||||||
REDIS_ENABLED: 0
|
REDIS_ENABLED: 0
|
||||||
AWS_US_TOLL_FREE_NUMBER: "+18556438890"
|
AWS_US_TOLL_FREE_NUMBER: "+18556438890"
|
||||||
|
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
@@ -37,7 +38,7 @@ jobs:
|
|||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- uses: ./.github/actions/setup-project
|
- uses: ./.github/actions/setup-project
|
||||||
- name: Install application dependencies
|
- name: Install application dependencies
|
||||||
run: make bootstrap
|
run: make bootstrap
|
||||||
@@ -70,7 +71,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: staging
|
environment: staging
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- uses: ./.github/actions/setup-project
|
- uses: ./.github/actions/setup-project
|
||||||
- name: Install poetry packages
|
- name: Install poetry packages
|
||||||
run: poetry install
|
run: poetry install
|
||||||
@@ -84,7 +85,7 @@ jobs:
|
|||||||
pip-audit:
|
pip-audit:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- uses: ./.github/actions/setup-project
|
- uses: ./.github/actions/setup-project
|
||||||
- name: Create requirements.txt
|
- name: Create requirements.txt
|
||||||
run: poetry export --output requirements.txt
|
run: poetry export --output requirements.txt
|
||||||
@@ -98,7 +99,7 @@ jobs:
|
|||||||
static-scan:
|
static-scan:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- uses: ./.github/actions/setup-project
|
- uses: ./.github/actions/setup-project
|
||||||
- name: Install bandit
|
- name: Install bandit
|
||||||
run: pip install bandit
|
run: pip install bandit
|
||||||
@@ -123,7 +124,7 @@ jobs:
|
|||||||
# Maps tcp port 5432 on service container to the host
|
# Maps tcp port 5432 on service container to the host
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- uses: ./.github/actions/setup-project
|
- uses: ./.github/actions/setup-project
|
||||||
- name: Install application dependencies
|
- name: Install application dependencies
|
||||||
run: make bootstrap
|
run: make bootstrap
|
||||||
|
|||||||
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@@ -56,7 +56,7 @@ jobs:
|
|||||||
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
|
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
|
|||||||
12
.github/workflows/daily_checks.yml
vendored
12
.github/workflows/daily_checks.yml
vendored
@@ -19,11 +19,13 @@ env:
|
|||||||
REDIS_ENABLED: 0
|
REDIS_ENABLED: 0
|
||||||
AWS_US_TOLL_FREE_NUMBER: "+18556438890"
|
AWS_US_TOLL_FREE_NUMBER: "+18556438890"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pip-audit:
|
pip-audit:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- uses: ./.github/actions/setup-project
|
- uses: ./.github/actions/setup-project
|
||||||
- name: Create requirements.txt
|
- name: Create requirements.txt
|
||||||
run: poetry export --output requirements.txt
|
run: poetry export --output requirements.txt
|
||||||
@@ -34,7 +36,7 @@ jobs:
|
|||||||
PYSEC-2023-312
|
PYSEC-2023-312
|
||||||
CVE-2026-4539
|
CVE-2026-4539
|
||||||
- name: Upload pip-audit artifact
|
- name: Upload pip-audit artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: pip-audit-report
|
name: pip-audit-report
|
||||||
path: /tmp/pip-audit-output.txt
|
path: /tmp/pip-audit-output.txt
|
||||||
@@ -42,14 +44,14 @@ jobs:
|
|||||||
static-scan:
|
static-scan:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- uses: ./.github/actions/setup-project
|
- uses: ./.github/actions/setup-project
|
||||||
- name: Install bandit
|
- name: Install bandit
|
||||||
run: pip install bandit
|
run: pip install bandit
|
||||||
- name: Run scan
|
- name: Run scan
|
||||||
run: bandit -r app/ -f txt -o /tmp/bandit-output.txt --confidence-level medium
|
run: bandit -r app/ -f txt -o /tmp/bandit-output.txt --confidence-level medium
|
||||||
- name: Upload bandit artifact
|
- name: Upload bandit artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: bandit-report
|
name: bandit-report
|
||||||
path: /tmp/bandit-output.txt
|
path: /tmp/bandit-output.txt
|
||||||
@@ -72,7 +74,7 @@ jobs:
|
|||||||
# Maps tcp port 5432 on service container to the host
|
# Maps tcp port 5432 on service container to the host
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- uses: ./.github/actions/setup-project
|
- uses: ./.github/actions/setup-project
|
||||||
- name: Install application dependencies
|
- name: Install application dependencies
|
||||||
run: make bootstrap
|
run: make bootstrap
|
||||||
|
|||||||
2
.github/workflows/deploy-demo.yml
vendored
2
.github/workflows/deploy-demo.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: demo
|
environment: demo
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/deploy-prod.yml
vendored
2
.github/workflows/deploy-prod.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: production
|
environment: production
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
|
|
||||||
environment: staging
|
environment: staging
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|
||||||
@@ -113,6 +113,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
|
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/github-script@v7
|
- uses: actions/github-script@v9
|
||||||
with:
|
with:
|
||||||
script: core.setFailed('Checks failed, not deploying')
|
script: core.setFailed('Checks failed, not deploying')
|
||||||
|
|||||||
6
.github/workflows/drift.yml
vendored
6
.github/workflows/drift.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
environment: staging
|
environment: staging
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
# Looks like we need to install Terraform ourselves now!
|
# Looks like we need to install Terraform ourselves now!
|
||||||
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
@@ -50,7 +50,7 @@ jobs:
|
|||||||
# environment: demo
|
# environment: demo
|
||||||
# steps:
|
# steps:
|
||||||
# - name: Checkout
|
# - name: Checkout
|
||||||
# uses: actions/checkout@v4
|
# uses: actions/checkout@v6
|
||||||
# with:
|
# with:
|
||||||
# ref: 'production'
|
# ref: 'production'
|
||||||
|
|
||||||
@@ -89,7 +89,7 @@ jobs:
|
|||||||
environment: production
|
environment: production
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: 'production'
|
ref: 'production'
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/terraform-demo.yml
vendored
4
.github/workflows/terraform-demo.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
|||||||
environment: demo
|
environment: demo
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
# Looks like we need to install Terraform ourselves now!
|
# Looks like we need to install Terraform ourselves now!
|
||||||
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
@@ -59,7 +59,7 @@ jobs:
|
|||||||
|
|
||||||
# inspiration: https://learn.hashicorp.com/tutorials/terraform/github-actions#review-actions-workflow
|
# inspiration: https://learn.hashicorp.com/tutorials/terraform/github-actions#review-actions-workflow
|
||||||
- name: Update PR
|
- name: Update PR
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v9
|
||||||
# we would like to update the PR even when a prior step failed
|
# we would like to update the PR even when a prior step failed
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
4
.github/workflows/terraform-production.yml
vendored
4
.github/workflows/terraform-production.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
|||||||
environment: production
|
environment: production
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
# Looks like we need to install Terraform ourselves now!
|
# Looks like we need to install Terraform ourselves now!
|
||||||
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
@@ -59,7 +59,7 @@ jobs:
|
|||||||
|
|
||||||
# inspiration: https://learn.hashicorp.com/tutorials/terraform/github-actions#review-actions-workflow
|
# inspiration: https://learn.hashicorp.com/tutorials/terraform/github-actions#review-actions-workflow
|
||||||
- name: Update PR
|
- name: Update PR
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v9
|
||||||
# we would like to update the PR even when a prior step failed
|
# we would like to update the PR even when a prior step failed
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
4
.github/workflows/terraform-staging.yml
vendored
4
.github/workflows/terraform-staging.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
|||||||
environment: staging
|
environment: staging
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
# Looks like we need to install Terraform ourselves now!
|
# Looks like we need to install Terraform ourselves now!
|
||||||
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
|
|
||||||
# inspiration: https://learn.hashicorp.com/tutorials/terraform/github-actions#review-actions-workflow
|
# inspiration: https://learn.hashicorp.com/tutorials/terraform/github-actions#review-actions-workflow
|
||||||
- name: Update PR
|
- name: Update PR
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v9
|
||||||
# we would like to update the PR even when a prior step failed
|
# we would like to update the PR even when a prior step failed
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
3352
poetry.lock
generated
3352
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -24,6 +24,7 @@ click-didyoumean = "==0.3.1"
|
|||||||
click-plugins = "==1.1.1.2"
|
click-plugins = "==1.1.1.2"
|
||||||
click-repl = "==0.3.0"
|
click-repl = "==0.3.0"
|
||||||
deprecated = "==1.3.1"
|
deprecated = "==1.3.1"
|
||||||
|
dulwich = "^1.2.5"
|
||||||
gevent = "==25.5.1"
|
gevent = "==25.5.1"
|
||||||
expiringdict = "==1.2.2"
|
expiringdict = "==1.2.2"
|
||||||
flask = "~=3.1"
|
flask = "~=3.1"
|
||||||
@@ -41,7 +42,7 @@ newrelic = "^11.5.0"
|
|||||||
packaging = "==26.0"
|
packaging = "==26.0"
|
||||||
poetry-dotenv-plugin = "==0.2.0"
|
poetry-dotenv-plugin = "==0.2.0"
|
||||||
psycopg2-binary = "==2.9.11"
|
psycopg2-binary = "==2.9.11"
|
||||||
pyjwt = "==2.12.0"
|
pyjwt = "==2.13.0"
|
||||||
python-dotenv = "==1.2.2"
|
python-dotenv = "==1.2.2"
|
||||||
sqlalchemy = "==2.0.47"
|
sqlalchemy = "==2.0.47"
|
||||||
werkzeug = "^3.1.5"
|
werkzeug = "^3.1.5"
|
||||||
@@ -59,7 +60,7 @@ smartypants = "^2.0.1"
|
|||||||
mistune = "^3.2.1"
|
mistune = "^3.2.1"
|
||||||
blinker = "^1.9.0"
|
blinker = "^1.9.0"
|
||||||
cryptography = "^46.0.7"
|
cryptography = "^46.0.7"
|
||||||
idna = "^3.11"
|
idna = "^3.15"
|
||||||
jmespath = "^1.1.0"
|
jmespath = "^1.1.0"
|
||||||
markupsafe = "^3.0.3"
|
markupsafe = "^3.0.3"
|
||||||
mako = "^1.3.12"
|
mako = "^1.3.12"
|
||||||
|
|||||||
Reference in New Issue
Block a user