Hi team, I want to create workflow which will take input, perform some operation and then store it into the InsightConnect Artifacts. I have visited the docs but it does not have clear idea with example on how to use the API to create the artifacts. So far, what i have understood is we have to create artifact first, with the help of Create Artifact api endpoint, then we need to get the entity of the created artifact with the help of Get Artifacts api endpoint, and finally we can perform add, edit, or delete operation on the artifact.
But, there is no clear example on how to do this along with the api endpoint, so can someone from the team please provide me some guidance on how to achieve this?
Also, Is it possible to directly create artifact along with the required payload, as i have gone through the docs but did not find such. So, do we have internally such api endpoint then also please help me to simplify the process.
Also, let me know if i am wrong in understanding the things.
To start you will define the schema for your Global Artifact. This can only be done once. You cannot edit the schema after the fact. For your specific use case it might take a few tries to get it right. If you find that you needed something modified, delete the entire Global Artifact and create a new one.
You can add data in manually, meaning open the Global Artifact after creation, and type in entries. You can use the helper step and add data in.
My attached workflow runs every x amount of time, runs a SQL query for Top Remediations in IVM. It checks the Global Artifact to see if an entry is already made for the Solution ID.
If no Solution ID Is found it creates a Jira ticket for that specific solution.