First, to start use the JFrog Spoke, you must be an Admin of your JFrog Platform Instance so you can create the initial webhook needed for Xray.
If you do not already have an Xray Watch and Policy created, this will be required to setup violations.
Next, in your organization's ServiceNow instance, go to Integration Hub > Flow Designer > New > Flow
Create a New Flow.
Next, for the Trigger > select Created
Select the table Impacted Artifacts:
Once that is done, the flow should be able to interact with data that is being sent to ServiceNow through the URL mentioned above.
Now we can do some cool things with this data using the actions in the JFrog Spoke.
Next, select Actions to create a flow such as this example, “For Each” Impacted Artifact where the severity is high, take an action:
Action: JFrog Xray Generate Violations Report
Next, you can use that action to create a flow such as this example, “For Each” Violation Record where the severity is medium, take an action:
Action JFrog Artifactory Set Item Properties
Next, you can use that action to create a flow such as this example, “For Each” Violation Record where the severity is low, take an action:
Action JFrog Xray Create Ignore Rules
Now you can save your flow! You will need to activate the flow before the flow does anything. The flow will start working as expected after a violation is sent to ServiceNow after the flow is activated.