mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-24 12:24:17 +00:00
feat(supabase): add project, auth, storage and database checks
- Read project SSL, network, Data API, backup and API key settings - Evaluate Supabase Auth hardening from the project auth config - Report public Storage buckets - Surface Postgres posture from the Supabase security advisor - Add project filtering, region-aware findings and configurable thresholds
This commit is contained in:
1 parent
4ab20d4489
commit
4b4175c495
157 files changed
+5156
-59
No files matched your search
@@ -60,6 +60,7 @@ jobs:
|
||||
cli.codecov.io:443
|
||||
auth.docker.io:443
|
||||
api.vercel.com:443
|
||||
api.supabase.com:443
|
||||
api.atlassian.com:443
|
||||
aka.ms:443
|
||||
|
||||
@@ -544,6 +545,30 @@ jobs:
|
||||
flags: prowler-py${{ matrix.python-version }}-vercel
|
||||
files: ./vercel_coverage.xml
|
||||
|
||||
# Supabase Provider
|
||||
- name: Check if Supabase files changed
|
||||
if: steps.check-changes.outputs.any_changed == 'true'
|
||||
id: changed-supabase
|
||||
uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96 # v47.0.6
|
||||
with:
|
||||
files: |
|
||||
./prowler/**/supabase/**
|
||||
./tests/**/supabase/**
|
||||
./uv.lock
|
||||
|
||||
- name: Run Supabase tests
|
||||
if: steps.changed-supabase.outputs.any_changed == 'true'
|
||||
run: uv run pytest -n auto --cov=./prowler/providers/supabase --cov-report=xml:supabase_coverage.xml tests/providers/supabase
|
||||
|
||||
- name: Upload Supabase coverage to Codecov
|
||||
if: steps.changed-supabase.outputs.any_changed == 'true'
|
||||
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
with:
|
||||
flags: prowler-py${{ matrix.python-version }}-supabase
|
||||
files: ./supabase_coverage.xml
|
||||
|
||||
# Scaleway Provider
|
||||
- name: Check if Scaleway files changed
|
||||
if: steps.check-changes.outputs.any_changed == 'true'
|
||||
|
||||
Reference in new issue
Block a user