Cloud Skyline

Skyline Insights API – Get Affected Objects Example

The Insights API has just been released. We are getting some questions on more detail examples on how to use it. One example, in particular, is getting the “affected objects” from each Findings. Here, we will show you how simple it is to do so. We will break this down to two sections (1 – how to get a list, 2 – how to get the “affected objects” from the list).

To get the list of Findings in your particular Skyline environment, run this code. Be sure to add YOUR-TOKEN.

Next we will get the “affected objects” from one entry on the list. The code is as follow.

The results will show all of the “affected objects”. Here is the video on this in action.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *