Skip to content

Commit 0939602

Browse files
committed
management of particular dependencies (#2736)
1 parent fcc0d3c commit 0939602

File tree

4 files changed

+25
-5
lines changed

4 files changed

+25
-5
lines changed

docker/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ ENV LOG_PATH=/var/log/intel_owl
2222
ARG REPO_DOWNLOADER_ENABLED=true
2323
ARG WATCHMAN=false
2424
ENV watch_logs_cmd="watch -n1 tail -n10 /var/log/intel_owl/django/api_app.log"
25-
ARG PYCTI_VERSION=6.1.0
25+
# This is required to allow compatibility with different OpenCTI instances
26+
ARG PYCTI_VERSION=6.5.1
2627

2728
RUN mkdir -p ${LOG_PATH} \
2829
${LOG_PATH}/django \

integrations/malware_tools_analyzers/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ RUN useradd -ms /bin/bash ${USER} \
2424
WORKDIR ${PROJECT_PATH}
2525

2626
# Install Box-js
27-
RUN npm install [email protected].17 --global --production \
27+
RUN npm install [email protected].27 --global --production \
2828
&& mkdir -p /tmp/boxjs \
2929
&& chown -R ${USER}:${USER} /tmp/boxjs
3030

3131
# Install CAPA
3232
WORKDIR ${PROJECT_PATH}/capa
33-
RUN wget -q https://github.com/mandiant/capa/releases/download/v8.0.0/capa-v8.0.0-linux.zip \
34-
&& unzip capa-v8.0.0-linux.zip \
33+
RUN wget -q https://github.com/mandiant/capa/releases/download/v9.0.0/capa-v9.0.0-linux.zip \
34+
&& unzip capa-v9.0.0-linux.zip \
3535
&& ln -s ${PROJECT_PATH}/capa/capa /usr/local/bin/capa
3636

3737
# Install Floss
@@ -76,7 +76,7 @@ RUN python3 -m venv venv \
7676

7777
# Install GoReSym
7878
WORKDIR ${PROJECT_PATH}/goresym
79-
RUN wget -q https://github.com/mandiant/GoReSym/releases/download/v2.7.4/GoReSym-linux.zip \
79+
RUN wget -q https://github.com/mandiant/GoReSym/releases/download/v3.0.2/GoReSym-linux.zip \
8080
&& unzip GoReSym-linux.zip \
8181
&& chmod +x GoReSym \
8282
&& ln -s ${PROJECT_PATH}/goresym/GoReSym /usr/local/bin/goresym
@@ -105,6 +105,7 @@ RUN python3 -m venv venv \
105105
COPY ./droidlysis/general.conf ${PROJECT_PATH}/droidlysis/conf/general.conf
106106

107107
# Install artifacts
108+
# there is no version management on this project so we just pull the most recent changes
108109
WORKDIR ${PROJECT_PATH}/artifacts
109110
RUN python3 -m venv venv \
110111
&& . venv/bin/activate \
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
# they do not make releases
2+
# if you update this, you should take into considerations all the other dependencies in the Dockerfile too
13
git+https://github.com/cryptax/droidlysis@c1645a5
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# This file is used exclusively to trigger dependabot PR.
2+
# The update of the dependencies here has no actual effect.
3+
# For each updated dependency here you have to update its relative version hardcoded in the code.
4+
# So please add a comment for each dependency explaining where the related code must be updated.
5+
6+
# docker/Dockerfile
7+
pycti==6.5.1
8+
# integrations/malware_tools_analyzers/Dockerfile
9+
flare-capa==9.0.0
10+
flare-floss==3.1.1
11+
12+
# other unmanaged versions
13+
# droydlys - they make no new versions, we pin the commit
14+
# goresym - they create releases in the repo
15+
# boxjs - we can get that info from npm packages
16+
# detect it easy - multi arch builds and releases in the repo

0 commit comments

Comments
 (0)