handlers.athereon_handler
Fully configurable single-direction LeanIX > Athereon Connector.
Configuration settings should be self-explanatory. In case of any issues, please contact Aronis support.
conditions =
{'event_types': ['FactSheetCreatedEvent', 'FactSheetUpdatedEvent', 'FactSheetArchivedEvent'], 'fs_types': ['UserGroup', 'Application', 'Process', 'DataObject']}
config_template =
{'tenant': 1, 'mapping': {'UserGroup': {'displayName': 'name', 'description': 'description', 'str:Resource': 'resourcetype', 'location': 'location', 'subscription:Business Contact': 'responsible', 'relation:Application': 'child'}, 'Application': {'displayName': 'name', 'description': 'description', 'str:Application': 'resourcetype', 'subscription:Business Contact': 'responsible', 'businessCriticality': 'custom_data:BusinessCriticality', 'relation:Process': 'child'}, 'Process': {'displayName': 'name', 'description': 'description', 'str:Process': 'resourcetype', 'tag:processCriticality': 'custom_data:ProcessCriticality', 'relation:DataObject': 'child'}, 'DataObject': {'displayName': 'name', 'description': 'description', 'str:Information': 'resourcetype', 'tag:data_classification': 'classification', 'contentType': 'custom_data:ContentType'}}, 'external_id': 'externalId', 'api_endpoint': 'https://backend.staging.demo.athereon.tech/api/v3/', 'api_token': 'my_token'}
def
handle(self, event, fs, **kwargs):
Called automatically whenever a relevant event comes in via webhook.
Inherited Members
- handlers.eventhandler.EventHandler
- supports_initial_sync
- get_trigger
- get_event_types
- get_fs_types
- get
- all
- lx_client
- data_requirements
- initial_sync_event
- update_with_uniqueness_check
- facet_matches
- is_tag_key
- SUBSCRIPTION_TYPES
- parse_subscription_key
- get_mapped_subscriptions
- get_notification_users
- get_send_email_for_users
- get_email_callback
- get_due_date