Skip to content

Commit 6a3d264

Browse files
committed
new: [build] Show required STIX dependencies versions
1 parent 75b0e2a commit 6a3d264

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/build-test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ python ./../app/files/scripts/generate_file_objects.py -c | python3 -c 'import s
1111
# Try to extract data from file
1212
python ./../app/files/scripts/generate_file_objects.py -p /bin/ls | python3 -c 'import sys, json; data = json.load(sys.stdin); sys.exit(0 if "objects" in data else 1)'
1313

14+
# Show dependency version for STIX
15+
python ./../app/files/scripts/stixtest.py
16+
1417
# Test converting stix1 to MISP format
1518
curl -sS --compressed https://stixproject.github.io/documentation/idioms/c2-indicator/indicator-for-c2-ip-address.xml > ./../app/files/scripts/tmp/test-stix1.xml
1619
python ./../app/files/scripts/stix2misp.py test-stix1.xml 1 1 ./../app/files/scripts/synonymsToTagNames.json | python3 -c 'import sys, json; data = json.load(sys.stdin); print(data); sys.exit(0 if data["success"] == 1 else 1)'

0 commit comments

Comments
 (0)