Skip to content
This repository was archived by the owner on Apr 24, 2019. It is now read-only.

Commit 488dc28

Browse files
committed
Synced with deep-security-py commit deep-security/deep-security-py@0bdc22f
1 parent de4aef8 commit 488dc28

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/deepsecurity/manager.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -1062,11 +1062,11 @@ def get_recommended_rules_for_computer(self, computer_id):
10621062
'LOGINSPECTIONRULE': 'log_inspection',
10631063
}
10641064
recommendation_rule_types = {
1065-
'APPLICATIONTYPE': 0,
1066-
'PAYLOADFILTER': 1,
1067-
'FIREWALLRULE': 2,
1068-
'INTEGRITYRULE': 3,
1069-
'LOGINSPECTIONRULE': 4,
1065+
'APPLICATIONTYPE': 1,
1066+
'PAYLOADFILTER': 2,
1067+
'FIREWALLRULE': 3,
1068+
'INTEGRITYRULE': 4,
1069+
'LOGINSPECTIONRULE': 5,
10701070
}
10711071
for rule_type, rule_type_id in recommendation_rule_types.items():
10721072
call = self._get_call_structure()

0 commit comments

Comments
 (0)