prisma-cloud-scan icon indicating copy to clipboard operation
prisma-cloud-scan copied to clipboard

Add ability to enable twistcli debug mode

Open raoganeshr opened this issue 11 months ago • 3 comments

Currently some of the scans with this action take more than 4 minutes. I wanted to enable debug logs so that we can understand what is contributing to the delay. I believe twistlock does have a debug flag but I have not found a way to enable that using this action.

Can you add this feature and if already present add the steps to enable it to the readme for this action.

raoganeshr avatar Feb 28 '24 14:02 raoganeshr

I'm not a contributor, but I'm afraid if you would like anything to be done in this direction you might need to do at least the minimum effort of verifying if such debug mode really exist in the cli:

I've found the docs for you: https://docs.prismacloud.io/en/classic/compute-admin-guide/tools/twistcli

mikocot avatar Apr 08 '24 17:04 mikocot

@mikocot twistcli does have a --debug flag that logs much more details than what twistcli currently does as part of the action.

raoganeshr avatar Apr 10 '24 08:04 raoganeshr

next step -> your first PR, you can look up previous ones as such changes have been done before

mikocot avatar Apr 11 '24 07:04 mikocot