Skip to content

Commit ce26856

Browse files
committed
Add new "ai_op"
1 parent 808be08 commit ce26856

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

aikido_zen/storage/statistics/operations.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"fs_op",
66
"exec_op",
77
"deserialize_op",
8+
"ai_op",
89
]
910

1011

aikido_zen/storage/statistics/operations_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def test_register_call(operations):
3535

3636
def test_on_detected_attack(operations):
3737
operation = "test_op"
38-
kind = "sql_op"
38+
kind = "ai_op"
3939
operations.ensure_operation(operation, kind)
4040
operations.on_detected_attack(blocked=True, operation=operation)
4141
assert operations[operation]["attacksDetected"]["total"] == 1

0 commit comments

Comments
 (0)