handlers.itcomponent_catalog_status_handler

class ItcomponentCatalogStatusHandler(handlers.eventhandler.EventHandler):

Whenever an IT Component is updated, we calculate its catalog status based on its lifecycle, security and strategy conformance.
Customer-specific automation, requires a special data model. Should not be used for testing.

name = 'Set IT Component Catalog Status'
description = 'Whenever an IT Component is updated, we calculate its catalog status based on its properties.'
conditions = {'event_types': ['FactSheetUpdatedEvent'], 'fs_types': ['ITComponent']}
config_template = {}
def handle(self, event, itcomponent, **kwargs):

Called automatically whenever a FactSheetUpdated event comes in via webhook.