Skip to content

chore: overhaul CI/CD security scanning and harden workflows#50

Merged
Stensel8 merged 12 commits intomainfrom
development
Apr 10, 2026
Merged

chore: overhaul CI/CD security scanning and harden workflows#50
Stensel8 merged 12 commits intomainfrom
development

Conversation

@Stensel8
Copy link
Copy Markdown
Owner

@Stensel8 Stensel8 commented Apr 10, 2026

Summary

Volledige herziening van de CI/CD workflows, dependency scanning en security setup. Alle GitHub Actions zijn SHA-gepind, CodeQL is geüpgraded naar v4, Trivy uploadt nu naar de Security tab, en de Python security-fixes zijn afgerond.

Type of change

  • chore — maintenance (dependencies, config, CI/CD)
  • fix — bug fix (broken link, incorrect command, layout issue)

What changed

Security scanning

  • CodeQL geüpgraded van v2v4; conflicterende Default Setup vervangen door advanced config
  • CodeQL scant nu alleen Python (geen Go — er zijn geen .go bronbestanden)
  • Trivy scan output gewijzigd van table naar SARIF + upload naar GitHub Security tab
  • Resterende CodeQL-alert gefixt: terminal-fallback in show_message() logde gevoelige info zonder sanitatie

Workflows

  • Alle uses: SHA-gepind (@SHA # vX.Y.Z) in alle workflow-bestanden
  • check-dependencies.yml verwijderd — Renovate doet dit natiever
  • python-checks.yml: bandit op -ll (gelijk aan pr-checks.yml)
  • SHA-pins in pr-checks.yml, hugo.yml, python-checks.yml, trivy-scan.yml bijgewerkt

Dependency scanning

  • dependabot.yml: docker ecosystem verwijderd (geen Dockerfiles)
  • renovate.json: config:baseconfig:recommended; docker rule verwijderd

saxion-eduroam.py

  • 9 flake8-fouten opgelost (E302, E305, W291, W293, E501)
  • SHA256 checksum bijgewerkt in EN en NL docs

Checklist

  • PR title follows the commit convention (e.g. fix: correct nmcli command in eduroam guide)
  • Both EN and NL versions updated (if applicable)
  • Media is in AVIF format (not PNG/JPG)
  • No broken image references (/images/*.avif all exist in static/images/)
  • Tested locally with hugo server

🤖 Generated with Claude Code

Stensel8 and others added 10 commits April 10, 2026 22:39
- Updated Hugo workflow to use peaceiris/actions-hugo@v3.0.0 and Hugo 0.160.1
- Updated Go workflow to use actions/setup-go@v6
- Updated Trivy workflow to use aquasecurity/trivy-action@v0.35.0
- Added Python workflow for linting and security checks
- Added Python ecosystem to Dependabot and Renovate
- Fixed clear-text logging of sensitive information in saxion-eduroam.py
- Updated checksums for saxion-eduroam.py in documentation
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[actions/github-script](https://redirect.github.com/actions/github-script)
| action | major | `v8` → `v9` |

---

### Release Notes

<details>
<summary>actions/github-script (actions/github-script)</summary>

###
[`v9`](https://redirect.github.com/actions/github-script/compare/v8...v9)

[Compare
Source](https://redirect.github.com/actions/github-script/compare/v8...v9)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Stensel8/Zephyrus-Linux).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMTAuMiIsInVwZGF0ZWRJblZlciI6IjQzLjExMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Comment thread static/scripts/saxion-eduroam.py Fixed
Comment thread static/scripts/saxion-eduroam.py Fixed
Comment thread static/scripts/saxion-eduroam.py Fixed
Stensel8 and others added 2 commits April 10, 2026 23:53
…ogging alerts

CodeQL traces self.username (user input) through show_message() down to
print() and flags it as clear-text logging of sensitive data. Custom
sanitizers like _sanitize_for_log() are not recognised as CodeQL sink
guards, so the taint persists regardless.

Removing the username from the success message breaks the data flow
entirely, resolving all three py/clear-text-logging-sensitive-data alerts
without changing the functional behaviour of the script.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Stensel8 Stensel8 merged commit 230c7f6 into main Apr 10, 2026
13 checks passed
@Stensel8 Stensel8 deleted the development branch April 10, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants