diff --git a/src/modules/activity/ActivityDescription.tsx b/src/modules/activity/ActivityDescription.tsx index 137ab985..78b8902d 100644 --- a/src/modules/activity/ActivityDescription.tsx +++ b/src/modules/activity/ActivityDescription.tsx @@ -477,15 +477,46 @@ export default function ActivityDescription({ event }: Props) { ); - // TODO add activity texts - // rule.add - // rule.update - // rule.delete - // setupkey.update - // setupkey.overuse - // group.update - // group.delete - // user.peer.login + if (event.activity_code == "transferred.owner.role") + return
Owner role was transferred
; + + /** + * EDR + */ + if (event.activity_code == "integrated-validator.api.created") + return ( +
+ {m?.platform} integration created +
+ ); + + if (event.activity_code == "integrated-validator.api.updated") + return ( +
+ {m?.platform} integration updated +
+ ); + + if (event.activity_code == "integrated-validator.api.deleted") + return ( +
+ {m?.platform} integration deleted +
+ ); + + if (event.activity_code == "integrated-validator.host-check.approved") + return ( +
+ Peer approved by {m?.platform} integration +
+ ); + + if (event.activity_code == "integrated-validator.host-check.denied") + return ( +
+ Peer rejected by {m?.platform} integration +
+ ); return (
diff --git a/src/modules/activity/ActivityTypeIcon.tsx b/src/modules/activity/ActivityTypeIcon.tsx index e42667d5..a26fa2fb 100644 --- a/src/modules/activity/ActivityTypeIcon.tsx +++ b/src/modules/activity/ActivityTypeIcon.tsx @@ -3,6 +3,7 @@ import { ArrowLeftRight, Blocks, Cog, + CreditCardIcon, FolderGit2, Globe, HelpCircleIcon, @@ -10,6 +11,7 @@ import { LogIn, MonitorSmartphoneIcon, NetworkIcon, + RefreshCcw, Server, Shield, ShieldCheck, @@ -71,10 +73,22 @@ export default function ActivityTypeIcon({ return ; } else if (code.startsWith("service")) { return ; + } else if (code.startsWith("billing")) { + return ( + + ); + } else if (code.startsWith("integrated")) { + return ( + + ); } else if (code.startsWith("posture")) { return ( ); + } else if (code.startsWith("transferred")) { + return ( + + ); } else { return (