-
Notifications
You must be signed in to change notification settings - Fork 33
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
Image checkmarx/kics:gh-action-kics1.6 contains old version of kics #84
Comments
Thanks Thomas, The KICS github action uses a different tag to select which version of KICS it runs. After some gap in this, two days ago we jumped from 1.6.6 to 1.6.11. |
Hi @konstruktoid , Thank you for your feedback on this. Do this information clarify your situation? |
thanks for the quick replies, but why should it be 'one step behind'? |
The reason is just to make sure there aren't any regressions. |
so the latest KICS version shouldn’t be considered stable? |
Latest KICS versions are always stable, don't worry about that. KICS github action is always one version behind just to add a layer of certainty that there aren't any regressions. This situation is not related to KICS engine, that issue was fixed by this PR. Basically ncc needed to be updated in the KICS github action side. |
Yeah, the issue was fixed by #83 but that doesn't seem to have been pushed to the Docker hub? > [email protected] build
> ncc build src/main.js
ncc: Version 0.31.1
ncc: Compiling file index.js into CJS
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at hashOf (/app/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:37:1[85](https://github.com/konstruktoid/ansible-cowrie-rootless/actions/runs/4440664275/jobs/7811907364#step:5:86)5992)
at ncc (/app/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js:37:1[86](https://github.com/konstruktoid/ansible-cowrie-rootless/actions/runs/4440664275/jobs/7811907364#step:5:87)0457)
at runCmd (/app/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:55128)
at 819 (/app/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:51698)
at __webpack_require__ (/app/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:5[90](https://github.com/konstruktoid/ansible-cowrie-rootless/actions/runs/4440664275/jobs/7811907364#step:5:91)48)
at /app/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:5[92](https://github.com/konstruktoid/ansible-cowrie-rootless/actions/runs/4440664275/jobs/7811907364#step:5:93)60
at /app/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js:1:5[93](https://github.com/konstruktoid/ansible-cowrie-rootless/actions/runs/4440664275/jobs/7811907364#step:5:94)21
at Object.<anonymous> (/app/node_modules/@vercel/ncc/dist/ncc/cli.js:8:28) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
node:internal/modules/cjs/loader:1078
throw err;
^
Error: Cannot find module '/app/dist/index.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:[107](https://github.com/konstruktoid/ansible-cowrie-rootless/actions/runs/4440664275/jobs/7811907364#step:5:108)5:15)
at Module._load (node:internal/modules/cjs/loader:920:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v18.14.2 |
The fix was related to the KICS github action, not related to KICS engine itself. Seems that you probably are using the v1.6.2 version (or older) of the action and not the v1.6.3(latest). |
Also d237b76 |
Regarding gh-action-kics1.6, this is the image that contains the KICS version that this KICS github action uses, currently, that image contains the version v1.6.11 of KICS engine and in 2 weeks will point to the v1.6.12, etc. In terms of documentation, we will update it. Thanks for pointing this out! Looks like you are using an old version of kics github action, you are using the v1.6. Kindly update it to v1.6.3. |
thanks @gabriel-cx, |
No problem, @konstruktoid ! Yes, the docker image used by this GitHub Action is Thanks for the feedback and feel free to open another issue or contact me directly if you need any kind of support. |
https://github.com/Checkmarx/kics/releases/tag/v1.6.12 was released two days ago.
Version publish workflow failed: https://github.com/Checkmarx/kics-github-action/actions/runs/4425414961/jobs/7760437819
https://github.com/konstruktoid/ansible-cowrie-rootless/actions/runs/4436489949/jobs/7787541620#step:5:66
"A new version 'v1.6.12' of KICS is available, please consider updating"
The text was updated successfully, but these errors were encountered: