checkmarx-ts / checkmarx-cxflow-github-action

Checkmarx CxFlow GitHub Action with SARIF output
GNU General Public License v3.0
52 stars 53 forks source link

[Question] get project id url from action as output #60

Closed codebydant closed 1 year ago

codebydant commented 1 year ago

Hi folks,

Greetings.

I was wondering if there is a way to get the project ID in order to construct the url as follows:

Screenshot from 2023-02-27 11-17-34

Or, if there is a way to get that url printed as PR comment when running the action in a workflow.

mark-strasser-nnl commented 1 year ago

@dtcMLOps There is a way to parse the scan ID from the output, I assume it's the same for project ID.

https://github.com/checkmarx-ltd/cx-flow/wiki/Configuration#outputscanid

EDIT: Never mind, that's for the old plugin. Apparently some of the links in the README point to the old version. :100:

codebydant commented 1 year ago

I have created a PR comment with the above link providing the project ID as input parameter