Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stderr: Error: unknown flag: --severity #119

Open
tarlepp opened this issue Mar 29, 2024 · 0 comments
Open

stderr: Error: unknown flag: --severity #119

tarlepp opened this issue Mar 29, 2024 · 0 comments

Comments

@tarlepp
Copy link

tarlepp commented Mar 29, 2024

For some reason I'm getting this error with trivy action configuration like:

# GitHub Actions docs
# https://help.github.com/en/articles/about-github-actions
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: Vulnerability Scan
on:
  schedule:
    - cron: '0 12 * * *'
  workflow_dispatch:

jobs:
  scan:
    name: Scan docker image with Trivy
    runs-on: ubuntu-latest

    steps:
      - name: Checkout code
        uses: actions/checkout@v4

      - name: Build the Docker image
        run: docker build . --file Dockerfile --tag symfony-flex-backend:master

      - name: Scan image with Trivy
        uses: lazy-actions/gitrivy@v3
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          image: symfony-flex-backend:master
          ignore-unfixed: true

https://github.com/tarlepp/symfony-flex-backend/blob/master/.github/workflows/vulnerability-scan.yml

and the link to action run - https://github.com/tarlepp/symfony-flex-backend/actions/runs/8486331141/job/23252586636

That severity option is listed in https://github.com/lazy-actions/gitrivy?tab=readme-ov-file#inputs and I'm not even sending that myself.

What I'm doing wrong here?

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

No branches or pull requests

1 participant