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

[Cape Sandbox] Cape URL variable not being utilised #2355

Closed
human4357 opened this issue Jul 16, 2024 · 2 comments · Fixed by #2356
Closed

[Cape Sandbox] Cape URL variable not being utilised #2355

human4357 opened this issue Jul 16, 2024 · 2 comments · Fixed by #2356
Labels
bug use for describing something not working as expected solved use to identify issue that has been solved (must be linked to the solving PR)
Milestone

Comments

@human4357
Copy link

human4357 commented Jul 16, 2024

Description

The enrichment connector does not utilize the API URL from the config file, resulting in the connector not working.

Environment

  1. OS (where OpenCTI server runs): Ubuntu 24.04 LTS
  2. OpenCTI version: 6.2.5
  3. OpenCTI client: Python (probably)
  4. Other environment details: N/A

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Enter domain/IP in the docker-compose.yml
  2. Attempt to perform analysis via enrichment in the OpenCTI front end

Expected Output

Artifact is sent to Cape for analysis

Actual Output

Connector throws multiple errors which shows the URL not being pass, and the handling of that error results in a type error.

Additional information

In the file cape-sandbox,py in the container, entering the address of cape on line 47 fixes the issue.

Screenshots (optional)

image
image

@human4357 human4357 added bug use for describing something not working as expected needs triage use to identify issue needing triage from Filigran Product team labels Jul 16, 2024
@romain-filigran
Copy link
Member

Hello @human4357. I think there is a mistake in the docker-compose.yml file. Can you try to rename "CAPE_SANDBOX_API_URL" by "CAPE_SANDBOX_URL"

@romain-filigran romain-filigran added needs more info Intel needed about the use case and removed needs triage use to identify issue needing triage from Filigran Product team labels Jul 16, 2024
@human4357
Copy link
Author

Hi @romain-filigran, thank you for the speedy response, that has solved this issue.

Now I am faced with a different issue, I will open a different issue for this.

@romain-filigran romain-filigran removed the needs more info Intel needed about the use case label Jul 16, 2024
@SamuelHassine SamuelHassine added the solved use to identify issue that has been solved (must be linked to the solving PR) label Jul 16, 2024
@romain-filigran romain-filigran linked a pull request Jul 16, 2024 that will close this issue
@helene-nguyen helene-nguyen added this to the Release 6.3.0 milestone Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug use for describing something not working as expected solved use to identify issue that has been solved (must be linked to the solving PR)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants