Skip to content

feat(nixos): add users.nix to kube-nas #63

feat(nixos): add users.nix to kube-nas

feat(nixos): add users.nix to kube-nas #63

Workflow file for this run

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Run Aqua Security Trivy vulnerability scanner
on:
push:
branches:
- main
pull_request:
jobs:
trivy:
name: Trivy
runs-on: ubuntu-latest
steps:
# https://github.com/marketplace/actions/harden-runner
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
# https://github.com/marketplace/actions/checkout
- name: Checkout Repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
# https://github.com/marketplace/actions/aqua-security-trivy
- name: Run Trivy vulnerability scanner in IaC mode
uses: aquasecurity/trivy-action@062f2592684a31eb3aa050cc61e7ca1451cecd3d # 0.18.0
with:
scan-type: config
hide-progress: false
format: sarif
output: trivy-results.sarif
exit-code: "1"
ignore-unfixed: true
severity: CRITICAL,HIGH
scan-ref: infra/terraform
# Upload the results to GitHub's code scanning dashboard.
# https://github.com/github/codeql-action
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@3ab4101902695724f9365a384f86c1074d94e18c # v3.24.7
with:
sarif_file: trivy-results.sarif