From 5863a4ac6fb80775d06fa4d5377fcb8ce4e982a1 Mon Sep 17 00:00:00 2001 From: Stefano Ortolani Date: Mon, 3 Mar 2025 10:44:07 +0000 Subject: [PATCH] no message --- documentation/mkdocs/expansion.md | 24 ------------------------ poetry.lock | 2 +- pyproject.toml | 11 ++++++++++- 3 files changed, 11 insertions(+), 26 deletions(-) diff --git a/documentation/mkdocs/expansion.md b/documentation/mkdocs/expansion.md index 7a1cf9c4..a9907072 100644 --- a/documentation/mkdocs/expansion.md +++ b/documentation/mkdocs/expansion.md @@ -977,30 +977,6 @@ Google safe browsing expansion module ----- -#### [Google Search](https://github.com/MISP/misp-modules/tree/main/misp_modules/modules/expansion/google_search.py) - - - -An expansion hover module to expand google search information about an URL -[[source code](https://github.com/MISP/misp-modules/tree/main/misp_modules/modules/expansion/google_search.py)] - -- **features**: ->The module takes an url as input to query the Google search API. The result of the query is then return as raw text. - -- **input**: ->An url attribute. - -- **output**: ->Text containing the result of a Google search on the input url. - -- **references**: ->https://github.com/abenassi/Google-Search-API - -- **requirements**: ->The python Google Search API library - ------ - #### [Google Threat Intelligence Lookup](https://github.com/MISP/misp-modules/tree/main/misp_modules/modules/expansion/google_threat_intelligence.py) diff --git a/poetry.lock b/poetry.lock index 3e9dd538..5b31afb4 100644 --- a/poetry.lock +++ b/poetry.lock @@ -865,7 +865,7 @@ files = [ {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] -markers = {main = "platform_system == \"Linux\" and platform_machine == \"aarch64\" and extra == \"all\"", docs = "platform_system == \"Linux\" and platform_machine == \"aarch64\"", test = "platform_system == \"Linux\" and platform_machine == \"aarch64\" and (platform_system == \"Windows\" or sys_platform == \"win32\")"} +markers = {main = "platform_system == \"Linux\" and platform_machine == \"aarch64\" and extra == \"all\"", docs = "platform_system == \"Linux\" and platform_machine == \"aarch64\"", test = "platform_system == \"Linux\" and platform_machine == \"aarch64\" and (sys_platform == \"win32\" or platform_system == \"Windows\")"} [[package]] name = "colorclass" diff --git a/pyproject.toml b/pyproject.toml index 36154c1f..c42e736f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "misp-modules" -version = "2.4.201" +version = "3.0.0" description = "MISP modules are autonomous modules that can be used for expansion and other services in MISP" authors = [ {name = "Alexandre Dulaunoy", email = "alexandre.dulaunoy@circl.lu"} @@ -141,3 +141,12 @@ line-length = 120 target-version = ["py39"] preview = true enable-unstable-feature = ["string_processing"] + +[tool.pytest.ini_options] +filterwarnings = [ + "ignore:.*deprecated to return a value that is not None.*:DeprecationWarning:", +] +log_cli = true +log_cli_level = "INFO" +log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)" +log_cli_date_format = "%Y-%m-%d %H:%M:%S"