Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ updates:
directory: "./tests/testsuite/roles/testing/files"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "terraform"
directory: "./tests/setup"
schedule:
interval: "weekly"
26 changes: 26 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: "CodeQL"

on: # yamllint disable-line rule:truthy
push:
branches: "**"
schedule:
- cron: "0 6 * * 1"

jobs:
analyze:
runs-on: "ubuntu-22.04"
permissions:
security-events: "write"
strategy:
fail-fast: false
matrix:
language: ["python"]
steps:
- uses: "actions/checkout@v4"
- uses: "github/codeql-action/init@v3"
with:
languages: "${{ matrix.language }}"
- uses: "github/codeql-action/analyze@v3"
with:
category: "/language:${{ matrix.language }}"
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

* [PERFORMANCE.md](./docs/PERFORMANCE.md), [SECURITY.md](./docs/SECURITY.md) and
[RELIABILITY.md](./docs/RELIABILITY.md) documents in the documentation. (#93)
* CodeQL code scanning workflow for Python static analysis. (#29)
* Dependabot updates for `github-actions` and `terraform` ecosystems. (#29)

### Changed

Expand Down
23 changes: 23 additions & 0 deletions docs/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,26 @@ sources.
- Gunicorn (port 8088) binds to `localhost` only, accessible exclusively through the Nginx reverse proxy.
- IPv6 should be disabled or configured to be non-routable to prevent unintended network exposure.
- DNS resolution between nodes is required for InnoDB Cluster group replication and SSH connectivity.

## Supply Chain Security

### Code Scanning

[CodeQL](https://codeql.github.com/) runs on every push and weekly via a scheduled workflow, performing static
analysis on all Python source code. Results are reported to the GitHub Security tab under
[Code scanning alerts](https://github.com/szachovy/superset-cluster/security/code-scanning).

### Dependency Management

[Dependabot](https://docs.github.com/en/code-security/dependabot) is configured to monitor and automatically
propose updates for the following ecosystems on a weekly schedule:

| Ecosystem | Directory | Scope |
|-----------|-----------|-------|
| `docker` | `./tests/setup` | Base image updates |
| `pip` | `./tests/testsuite/roles/testing/files` | Python test dependencies |
| `github-actions` | `/` | CI/CD action versions |
| `terraform` | `./tests/setup` | Terraform provider versions |

Dependabot alerts for known vulnerabilities are available in the
[Security tab](https://github.com/szachovy/superset-cluster/security/dependabot).
Loading