24 Oct 2024 11:42 AM - last edited on 25 Oct 2024 07:44 AM by MaciejNeumann
Dear All,
What is the process for obtaining updated deployment data for the past week or month, including all property details such as entity name, description, event label, and so forth?
Regards,
Babar
24 Oct 2024 01:14 PM - edited 24 Oct 2024 01:15 PM
27 Oct 2024 05:37 AM
Hello @Peter_Youssef
Thank you for your contribution. I am seeking detailed information on environment-level entities related to the event type DEPLOYMENT_CHANGED_CHANGE, DEPLOYMENT_CHANGED_NEW, DEPLOYMENT_CHANGED_REMOVED, as specified in the initial discussion. The required details include the entity name, description, path, and label. So we can generate a weekly or monthly Excel reports.
Regards,
Babar
28 Oct 2024 12:24 AM
Hey @Babar_Qayyum
Just tested this and the details should be accessible with DQL (assuming this is on SaaS). To see the events you can query for the events and filter for the type required.
fetch events
| filter event.type == "DEPLOYMENT_CHANGED_CHANGE" or event.type == "DEPLOYMENT_CHANGED_NEW" or event.type == "DEPLOYMENT_CHANGED_REMOVED"
Within the events there is a wealth of information including entity IDs allowing you to look up many other attributes as required.
On managed unfortunately I'm not too familiar but there is an API for listing events which contains robust filters. Docs for which can be found here. Looking into event types supported it seems to include the deployment change events.
Hope the above is what you're after!
28 Oct 2024 04:03 AM
Hello @Fin_Ubels
Thank you for the information provided. We operate under a managed setup, and despite my attempts with the available APIs, I was unable to achieve the desired results.
Regards,
Babar