From 6d39ee351b1d2f813ba584a00bacb531b939bf33 Mon Sep 17 00:00:00 2001 From: Marsell Kukuljevic Date: Fri, 6 Dec 2024 13:05:14 +0100 Subject: [PATCH] Switch to using single-row summaries for all the Defender alerts. Move the extra into into the details section. --- check_mk-azure/azure-spearhead-0.4.0.mkp | Bin 6159 -> 0 bytes check_mk-azure/azure-spearhead-0.5.0.mkp | Bin 0 -> 6431 bytes .../base/plugins/agent_based/azure_common.py | 80 ++++++++++++------ 3 files changed, 54 insertions(+), 26 deletions(-) delete mode 100755 check_mk-azure/azure-spearhead-0.4.0.mkp create mode 100755 check_mk-azure/azure-spearhead-0.5.0.mkp diff --git a/check_mk-azure/azure-spearhead-0.4.0.mkp b/check_mk-azure/azure-spearhead-0.4.0.mkp deleted file mode 100755 index 9e94118863d3bd069bc2976c6bfce107b5a34093..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6159 zcma)=Wl$6jx5h!byOk~hX(UC!m2MEEyOHirft6HBvUGzI3VFUe5C{0#Vk14>voa|`+4K>u>&wV9Od3Ag zIIVNKHMFjtqB|x_1WMDv;Z~&zybOc=Y4ev_PwnmM0$;_n7R#WO%Xr#UU;adCwYO}F z=6-JO(K^eB??iw)86`XR@CrS>ydKxwmf~SLvOptHlb{?Rm)aaN>?mkR^yd4p(ACR0 z3pqc9Xxo4Tuakiby>%p4(y<5Sw7u0fAo~Vw);smc)bcVuIp-A29&0VxrC<56yCzX- zOcd@I@?F=4dY)kU*4^NQqDRJG@2%0y{0yf3UKIs3d?_|Rrkeib6Vq z&qBz8X9C(me#@)o{qY-fTt_-Z48Cn@xG()@LZsBAV@iU$i7=!Z-w46SBO;OhPX|_T z*jacm$>qdNxH}l^aE6Lr30KP@aM?1pdsSB%yM!%Bok(O$d4M$@hbi`VCr*$jP}N?L zS#AA`g4^7-W1@oJT+YV_`I83?wP}+GQ^`+OP<#rIYhg}d9g??JP}1n3YAGt|2eyV9 zy<1v`Em+86+Ayats56Rwc}k79T8i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YxS+b@o$RGd^wdE#8kc^a|iW4 zW*spGH-ug*&0Xyqeh8dtg#Gg&wiM`355zrSLQn05~R_r{2Q@@iJ zeNz>yQ~o}oxBJSj4<03!kJDo4WH9$Q?rP?`9}ISdx>9UD7^81Elgh@UP2{JGQ%3ww z+lWDZaSvunM}k{0Nd})T!v={~8$&ZRR>C(&F@OWlzl!}oj>Ug(xc{>`QaTESMaZ_X Jibji$_AlZ07T^E? diff --git a/check_mk-azure/azure-spearhead-0.5.0.mkp b/check_mk-azure/azure-spearhead-0.5.0.mkp new file mode 100755 index 0000000000000000000000000000000000000000..de229ec922d182eba51419f0ba372e27f5cc35aa GIT binary patch literal 6431 zcmai&Ra6v!x38r}k(5p;kpXE2NeLNhkQh?BVQ8d#24rg4N;(FHl$IRk z{?A(X<*aq@Id6OI{q}p<>-&C8vCp2!p)_r=F~{#5+?T&M-qxCiG#(d$(yJm(Q9i{s z0lCd*qwbEaU&OlThJ8<#pr zG$vn?zZvVFm)8yE$pyw+yxm`2T;hH;Z?*Gy_21jlljGx)cPz&oiBD)%R&lEX&N1Z9 zjv^`?Pzxr~dr-NvU{Rf-TD?A`A}%+-<9m*x_ud&(z5Ll~B~#J$$5MsV%u}?(RsxK7&QoL*mu_BFaV8zr zaf*tdOPE`$CYyATo-^sn*I7lsz}Tz`p<3sWE+t75_UeQImK$Mc z??(&h&D9aypXnU&4-R)}bvnY7EW%@R2o8G;Ykr- zm0g4;sq82`qlTU#yvX`+Xh8f~6En=fVhtOKup^+aP}L~*4Df0scII|+Yb2idDn{>c zm6O50BI(}iY}u7n&kw)#z!R>^&dji?!G|e-&$j#ag5TVXKzE#47yj0e9Uf0kO#FG6 z3A4%=z#ETI^M`vc#9@Ym#XNmsx8DD}m+vq@jF)$N5}ZDNInUYq9=fAGlDc`h4e3}u z@7B6Gi_{%TnGa|B4)amoa^SDt^g32_qZnL>md-CN4VqHbKk4V5Q#+tMm?QrMiO1j}YGf_-)Oa0|#l%@n4!J)kaE4Y57Q3I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?)n0%do%fyKGf7u6TK8>9c9i$U{&$q9wt{h2L z-W^X=thgVoqKV=Ue6}C`>%17dqVxH>*!_C)- State.OK.value: + region_details.append(f"{severity}: {info}: {url}") yield Result( - state=state, - summary=f"{severity}: {status}: {info}: {url}" + state=final_state, + summary=f"High: {num_high}, Medium: {num_med}, Low: {num_low}, Informational: {num_info}", + details="\n".join(region_details) ) @@ -276,5 +304,5 @@ register.check_plugin( check_default_parameters={}, check_ruleset_name="azure_defender", - discovery_function=discover, + discovery_function=discover_defender, )