Skip to content

Commit 4b4404d

Browse files
committed
comment out params (due to bug in collector)
changed default riskLevel to low
1 parent b3a8be9 commit 4b4404d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

securenative/integration_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ def test_integration_with_server(self):
2828
def build_event(self, id, type, ip):
2929
return Event(event_type=type,
3030
ip=ip,
31-
user=User(user_id=id, user_email='python-sdk@securenative.com', user_name='python sdk'),
32-
params=[CustomParam('key', 'val')]
31+
user=User(user_id=id, user_email='python-sdk@securenative.com', user_name='python sdk')
32+
# params=[CustomParam('key', 'val')]
3333
)

securenative/sdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def flush(self):
4343

4444
def _default_verify_result():
4545
result = dict()
46-
result['riskLevel'] = u'high'
46+
result['riskLevel'] = u'low'
4747
result['score'] = 0
4848
result['triggers'] = []
4949
return result

0 commit comments

Comments
 (0)