You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3with:
version: 8run_install: false
- name: Set node version to ${{ matrix.node_version }}uses: actions/setup-node@v4with:
node-version: ${{ matrix.node_version }}cache: pnpmregistry-url: "https://npm.pkg.github.com"
- name: Installrun: pnpm i
- name: Run Trivy vulnerability scanneruses: aquasecurity/trivy-action@masterwith:
scan-type: 'repo'scan-ref: '.'format: 'table'exit-code: '1'ignore-unfixed: falseseverity: 'CRITICAL,HIGH'timeout: 20m0scontinue-on-error: true
But I got a result of
30T04:03:48Z INFO Vulnerability scanning is enabled
2024-09-30T04:03:48Z INFO Secret scanning is enabled
2024-09-30T04:03:48Z INFO If your scanning is slow, please try '--scanners vuln' to disable secret scanning
20[24](https://github.com/YMC-GROUP/yna-g3-front-blank/actions/runs/11099159562/job/30832937580#step:7:25)-09-30T04:03:48Z INFO Please see also https://aquasecurity.github.io/trivy/v0.53/docs/scanner/secret#recommendation for faster secret detection
2024-09-30T04:03:48Z INFO Number of language-specific files num=0
so no report is generated.
The text was updated successfully, but these errors were encountered:
after setting pnpm version to 9, the pnpm-lock.yaml seems to be found.
2024-10-01T00:04:49Z INFO Secret scanning is enabled
2024-10-01T00:04:49Z INFO If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2024-10-01T00:04:49Z INFO Please see also https://aquasecurity.github.io/trivy/v0.53/docs/scanner/secret#recommendation for faster secret detection
2024-10-01T00:04:50Z INFO Suppressing dependencies for development and testing. To display them, try the '--include-dev-deps' flag.
2024-10-01T00:04:50Z INFO Number of language-specific files num=1
But still no result is generated.
Should I specify --include-dev-deps? I tried like:
I've tried to use trivy directly, and report seems to be emtpy without the parameter of --include-dev-deps.
So the issue turns into how to set --include-dev-deps in github actions.
My project directory is like:
And i run the Actions like:
But I got a result of
so no report is generated.
The text was updated successfully, but these errors were encountered: