chore: overhaul CI/CD security scanning and harden workflows#50
Merged
chore: overhaul CI/CD security scanning and harden workflows#50
Conversation
- 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>
…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>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
v2→v4; conflicterende Default Setup vervangen door advanced config.gobronbestanden)show_message()logde gevoelige info zonder sanitatieWorkflows
uses:SHA-gepind (@SHA # vX.Y.Z) in alle workflow-bestandencheck-dependencies.ymlverwijderd — Renovate doet dit natieverpython-checks.yml: bandit op-ll(gelijk aanpr-checks.yml)pr-checks.yml,hugo.yml,python-checks.yml,trivy-scan.ymlbijgewerktDependency scanning
dependabot.yml:dockerecosystem verwijderd (geen Dockerfiles)renovate.json:config:base→config:recommended;dockerrule verwijderdsaxion-eduroam.py
Checklist
fix: correct nmcli command in eduroam guide)/images/*.avifall exist instatic/images/)hugo server🤖 Generated with Claude Code