mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-05-04 18:37:52 +02:00
Merge pull request #7926 from Security-Onion-Solutions/kilo
Add support for analyzers in airgapped environments
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
COMMAND=$1
|
COMMAND=$1
|
||||||
|
SENSORONI_CONTAINER=${SENSORONI_CONTAINER:-so-sensoroni}
|
||||||
|
|
||||||
function ci() {
|
function ci() {
|
||||||
HOME_DIR=$(dirname "$0")
|
HOME_DIR=$(dirname "$0")
|
||||||
@@ -24,7 +25,10 @@ function download() {
|
|||||||
ANALYZERS="*/"
|
ANALYZERS="*/"
|
||||||
fi
|
fi
|
||||||
for ANALYZER in $ANALYZERS; do
|
for ANALYZER in $ANALYZERS; do
|
||||||
docker exec -it so-sensoroni pip download -r /opt/sensoroni/analyzers/$ANALYZER/requirements.txt -d /opt/sensoroni/analyzers/$ANALYZER/source-packages
|
rm -fr $ANALYZER/site-packages
|
||||||
|
mkdir -p $ANALYZER/source-packages
|
||||||
|
rm -fr $ANALYZER/source-packages/*
|
||||||
|
docker exec -it $SENSORONI_CONTAINER pip download -r /opt/sensoroni/analyzers/$ANALYZER/requirements.txt -d /opt/sensoroni/analyzers/$ANALYZER/source-packages
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user