Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Bugfix use pyre2 to prevent redos #387

Merged
merged 4 commits into from
Jan 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ version: "2"
services:
dongtai-mysql:
image: dongtai/dongtai-mysql:latest
ports:
- "33060:3306"
restart: always

dongtai-redis:
Expand Down
2 changes: 1 addition & 1 deletion iast/views/sensitive_info_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from django.db.models import Q
from dongtai.models.sensitive_info import IastPatternType,IastSensitiveInfoRule
import jq
import re
import re2 as re
from dongtai.permissions import TalentAdminPermission
from iast.views.utils.commonview import (
BatchStatusUpdateSerializerView,
Expand Down
1 change: 1 addition & 0 deletions requirements-prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ six==1.15.0
urllib3==1.26.2
xlwt==1.3.0
uwsgi==2.0.19.1
pyre2~=0.3.6
jq
ddt
faker
Expand Down
1 change: 1 addition & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ six==1.15.0
urllib3==1.26.2
xlwt==1.3.0
uwsgi==2.0.19.1
pyre2~=0.3.6
https://huoqi-public.oss-cn-beijing.aliyuncs.com/iast/dongtai-test-latest.tar.gz
ddt
faker
Expand Down