actually make it optional

main
Florent Daigniere 2 years ago
parent cea533ae57
commit 6241fbeb78

@ -1,3 +1,4 @@
{% if SCAN_MACROS == 'True' %}
OLETOOLS_MACRO_MRAPTOR { OLETOOLS_MACRO_MRAPTOR {
expression = "(OLETOOLS_A & OLETOOLS_W) | (OLETOOLS_A & OLETOOLS_X) | (OLETOOLS_W & OLETOOLS_X)"; expression = "(OLETOOLS_A & OLETOOLS_W) | (OLETOOLS_A & OLETOOLS_X) | (OLETOOLS_W & OLETOOLS_X)";
message = "Rejected (malicious macro - mraptor)"; message = "Rejected (malicious macro - mraptor)";
@ -10,3 +11,4 @@ OLETOOLS_MACRO_SUSPICIOUS {
policy = "leave"; policy = "leave";
score = 20.0; score = 20.0;
} }
{% endif %}

@ -1,3 +1,4 @@
{% if SCAN_MACROS == 'True' %}
oletools { oletools {
# default olefy settings # default olefy settings
servers = "{{ OLETOOLS_ADDRESS }}" servers = "{{ OLETOOLS_ADDRESS }}"
@ -60,3 +61,4 @@ oletools {
slk = "slk"; slk = "slk";
} }
} }
{% endif %}

@ -1,3 +1,4 @@
{% if SCAN_MACROS == 'True' %}
# local.d/external_services_group.conf # local.d/external_services_group.conf
description = "Oletools content rules"; description = "Oletools content rules";
@ -36,3 +37,4 @@ symbols = {
one_shot = true; one_shot = true;
}, },
} }
{% endif %}

Loading…
Cancel
Save