mxab / pre-commit-trivy

MIT License
18 stars 9 forks source link

chore: update trivy to 0.45.0 #10

Closed meysam81 closed 1 year ago

meysam81 commented 1 year ago

The second commit is a bugfix. I ran my pre-commit, and it complained about not having a PATH set, as seen in the screenshot below.

image

mxab commented 1 year ago

Hi @meysam81 , sorry I somehow missed your PR. I just merged another one with an even newer version.

mxab commented 1 year ago

@meysam81 regarding the ., doesn't it work if you add the dot at the end of your config

e.g.:

    -   id: trivyfs-docker
        args:
          - --skip-dirs
          - ./tests
          - . # last arg indicates the path/file to scan
meysam81 commented 1 year ago

Yeah, that solved it. Thanks :pray: