diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9d3dc8e..71b3ca2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - minor: [7, 8, 9] + minor: [8, 9, 10] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v1 diff --git a/Dockerfile b/Dockerfile index c250ee3..8900c39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7 +FROM python:3.9 WORKDIR /app/service COPY ./requirements.txt ./requirements.txt diff --git a/karton/yaramatcher/yaramatcher.py b/karton/yaramatcher/yaramatcher.py index 015ce85..8f32f92 100644 --- a/karton/yaramatcher/yaramatcher.py +++ b/karton/yaramatcher/yaramatcher.py @@ -177,7 +177,7 @@ def process_joesandbox(self, task: Task) -> List[str]: return yara_matches - def process(self, task: Task) -> None: # type: ignore + def process(self, task: Task) -> None: headers = task.headers sample = task.get_resource("sample") yara_matches: List[str] = [] diff --git a/requirements.txt b/requirements.txt index b844523..18bc4af 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -karton-core>=4.2.0,<5.0.0 +karton-core>=5.0.0,<6.0.0 yara-python>=4.0.2