CycodeLabs / cimon-action

Runtime Security Solution for your CI/CD Pipeline
https://cimon.build
Apache License 2.0
87 stars 3 forks source link

Azure DevOps - Node 6 runtime #70

Closed gerritlansing closed 12 months ago

gerritlansing commented 12 months ago

Hello,

It looks like when run in Azure DevOps that the task utilizes the Node 6 runtime, which we've disabled. Could you please update to use Node 16?

image

Thanks, Gerrit

alex-ilgayev commented 12 months ago

Hey, @gerritlansing , thanks for raising this issue. I've updated the Node runtime to 16. Let me know if that works for you. Pay attention that the Cimon task should be at version 0.9.9. Sometimes it takes some time for it to be updated to the latest version.

gerritlansing commented 12 months ago

Hi @alex-ilgayev, thanks for the quick response. Can confirm that 0.9.9 is deployed and running. Is it expected that it is no longer running as a "pre-job" task?

With 0.9.7:

image

With 0.9.9:

image
alex-ilgayev commented 12 months ago

Glad it worked! The behavior you indicated is intended. We changed the Azure task to work similarly to the Github task. Means - previously, it didn't matter when you started the task, it would run from the start using a pre task execution. Now (similar to Github behavior), it starts the moment you define the Cimon task to the end of the job.

gerritlansing commented 12 months ago

Hi @alex-ilgayev, got it, thanks for the update. I did like it running pre-task execution to be sure that all pipeline steps were caught.