OpenCTI-Platform / connectors

OpenCTI Connectors
https://www.opencti.io
Apache License 2.0
383 stars 415 forks source link

[Connectors] When pulling Splunk docker image after release, context build error #2977

Closed helene-nguyen closed 4 days ago

helene-nguyen commented 4 days ago

Description

When pulling Splunk docker image after release, context build error

Issue:

/entrypoint.sh: cd: line 4: can't cd to /opt/opencti-connector-qradar: No such file or directory
python3: can't open file '//qradar.py': [Errno 2] No such file or directory

When checking the image:

Image

╰─ docker run -it --rm --entrypoint=sh opencti/connector-splunk:6.3.12
/ # cat entrypoint.sh
#!/bin/sh

# Go to the right directory
cd /opt/opencti-connector-qradar

# Launch the worker
python3 qradar.py
/ #

Environment

  1. OS (where OpenCTI server runs): { e.g. Mac OS 10, Windows 10, Ubuntu 16.4, etc. }
  2. OpenCTI version: { e.g. OpenCTI 1.0.2 }
  3. OpenCTI client: { e.g. frontend or python }
  4. Other environment details:

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. { e.g. Run ... }
  2. { e.g. Click ... }
  3. { e.g. Error ... }

Expected Output

Actual Output

Additional information

Screenshots (optional)