diff --git a/src/modules/activity/ActivityDescription.tsx b/src/modules/activity/ActivityDescription.tsx index 0e80d49c0..26247bc1c 100644 --- a/src/modules/activity/ActivityDescription.tsx +++ b/src/modules/activity/ActivityDescription.tsx @@ -564,6 +564,42 @@ export default function ActivityDescription({ event }: Props) { ); } + if (event.activity_code == "integration.enable") { + if (!event.meta.platform) return "Integration enabled"; + return ( +
+ {event.meta.platform}{" "} + integration enabled +
+ ); + } + + if (event.activity_code == "integration.disable") { + if (!event.meta.platform) return "Integration disabled"; + return ( +
+ {event.meta.platform}{" "} + integration disabled +
+ ); + } + + if (event.activity_code == "integration.disable-by-system") { + if (!event.meta.platform) return "Integration disabled by system"; + return ( +
+ {event.meta.platform}{" "} + integration disabled by system + {event.meta.reason && ( + <> + {" "} + due to {event.meta.reason} + + )} +
+ ); + } + /** * DNS */ @@ -636,6 +672,33 @@ export default function ActivityDescription({ event }: Props) { ); + if (event.activity_code == "integrated-validator.api.enabled") + return ( +
+ {m?.platform} integration enabled +
+ ); + + if (event.activity_code == "integrated-validator.api.disabled") + return ( +
+ {m?.platform} integration disabled +
+ ); + + if (event.activity_code == "integrated-validator.api.disabled-by-system") + return ( +
+ {m?.platform} integration disabled by system + {m?.reason && ( + <> + {" "} + due to {m.reason} + + )} +
+ ); + if (event.activity_code == "integrated-validator.host-check.approved") return (