Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analyser Yeti wrong api request #2309

Open
CyberAbwehr opened this issue May 13, 2024 · 4 comments
Open

Analyser Yeti wrong api request #2309

CyberAbwehr opened this issue May 13, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@CyberAbwehr
Copy link

What happened

Error: "404 Client Error: Not Found for url: http://192.168.1.45/api/v2/observablesearch/"

api_app/analyzers_manager/observable_analyzers/yeti.py
url = f"{self._url_key_name}/observablesearch/"

the request must be

Screenshot 2024-05-13 at 16-59-18 FastAPI - Swagger UI

Screenshot 2024-05-13 at 17-01-38 FastAPI - Swagger UI

Environment

  1. OS: Ubuntu
  2. IntelOwl version: [v5.2.3]

What did you expect to happen

Can query yeti

How to reproduce your issue

Error messages and logs

@CyberAbwehr CyberAbwehr added the bug Something isn't working label May 13, 2024
@mlodic
Copy link
Member

mlodic commented May 14, 2024

I think it would be enough for you to just add "api/v2" in the URL name.

@mlodic
Copy link
Member

mlodic commented May 14, 2024

Anyway I have just pushed a fix both for this analyzer and the connector in the develop branch. If you could please try whether that works or not, I don't have a local YETI instance:

  • I added "api/v2" in the URL composition in the analyzer
  • I added "api/v2" in the URL composition in the connector + the final missing "s" at the end

git checkout develop
./start test up -- --build

@CyberAbwehr
Copy link
Author

We have two issues with YETI,

One is the connector #2120
Second the analyzer and here are many changes in the API to search for observable. #2309

YETI_schema_API_Observales_Search

see also the open api json file from YETI

yeti_openapi.json

@mlodic
Copy link
Member

mlodic commented May 14, 2024

thanks for reporting but please remember that we rely on the community help and we are not here to maintain and solve all the use cases, we are not paid for that. So please, we are talking about few lines of python code and a yeti instance you already have in place, submit a pull request if possible. We don't have the time to do that on our own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants