stix2arango 1.1.0__tar.gz → 1.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stix2arango might be problematic. Click here for more details.
- {stix2arango-1.1.0 → stix2arango-1.1.1}/.github/workflows/run-tests.yml +16 -12
- {stix2arango-1.1.0 → stix2arango-1.1.1}/PKG-INFO +1 -1
- {stix2arango-1.1.0 → stix2arango-1.1.1}/pyproject.toml +1 -1
- {stix2arango-1.1.0 → stix2arango-1.1.1}/.env.example +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/.env.markdown +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/.github/workflows/create-release.yml +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/.gitignore +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/LICENSE +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/README.md +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/docs/README.md +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/docs/stix2arango.png +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/requirements.txt +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/stix2arango/__init__.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/stix2arango/__main__.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/stix2arango/config.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/stix2arango/services/__init__.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/stix2arango/services/arangodb_service.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/stix2arango/services/version_annotator.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/stix2arango/stix2arango/__init__.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/stix2arango/stix2arango/bundle_loader.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/stix2arango/stix2arango/stix2arango.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/stix2arango/templates/marking-definition.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/stix2arango/utils.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/stix2arango.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/README.md +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/custom-sco-original.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/custom-sco-updated.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/custom-sdo-original.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/custom-sdo-updated.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/duplicate-objects-all-properties-same.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/duplicate-objects-properties-different.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/embedded-ref-object-removed.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/embedded-ref-object-updated.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/embedded-ref-object.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/embedded-ref-sdo-sco-sro-smo.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/nested-embedded-ref.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/non-standard-embedded-relationship.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/sco-original.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/sco-updated.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/sigma-rule-bundle-another.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/sigma-rule-bundle-condensed-original.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/sigma-rule-bundle-condensed-update-1.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/sigma-rule-bundle-condensed-update-2.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/sigma-rule-bundle-yet-another.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/sigma-rule-bundle.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/smo-embedded-ref-1.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/smo-embedded-ref-2.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/smo-original.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/smo-updated-2.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/smo-updated.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/source-object-does-not-exist.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/sro-original.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/sro-updated.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/target-object-does-not-exist.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/update_with_diff_modified_times_1.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/update_with_diff_modified_times_2.json +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/requirements.txt +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/__init__.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/base_test.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_00-basic-import-logic-with-embedded.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_01-basic-import-no-embedded.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_02-basic-import-no-stix2arango_note.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_03-import-with-no-update-detected.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_04-update-detected-because-of-stix2arango-note.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_05-update-detected-because-of-modified-time-change.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_06-update-detected-because-of-modified-time-change-not-in-order.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_07-test-default-imported-objects.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_08-duplicate-objects-in-bundle-all-identical.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_09-duplicate-objects-but-diff-times-in-bundle.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_10-updating-object-no-modified-time.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_11-custom-sdos.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_12-custom-scos.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_13-updating-smos.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_14-non-standard-embedded-relationship.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_15-testing-when-sro-target-not-in-collection.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_16-testing-when-sro-source-not-in-collection.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_17-testing-update-of-embedded-refs.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_18-testing-nested-embedded-ref.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_19_update_with_diff_created_times.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_20-embedded-sro-update-for-sdo.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_21-embedded-sro-update-for-sco.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_22-embedded-sro-update-for-smo.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_23-embedded-sro-removed.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_24-test-hidden-properties.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_25-ignore-embedded-rels-smo.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_26-ignore-embedded-rels-sro.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/test_bundle_loader.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/test_stix2arango.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/tests/tests.env +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/README.md +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_atlas.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_attack_enterprise.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_attack_ics.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_attack_mobile.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_capec.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_cwe.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_disarm.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_locations.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_sigma_rules.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_tlp.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_yara_rules.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cve_processor/README.md +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cve_processor/insert_archive_cve.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cve_processor/manager.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/stix2arango/add_ref_types.py +0 -0
- {stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/stix2arango/update_taxii_index_with_date_transform.py +0 -0
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
name: Run Tests
|
|
2
2
|
|
|
3
|
+
permissions:
|
|
4
|
+
contents: read
|
|
5
|
+
|
|
3
6
|
on:
|
|
4
7
|
push:
|
|
5
8
|
branches:
|
|
6
9
|
- main
|
|
7
10
|
pull_request:
|
|
8
|
-
|
|
9
|
-
|
|
11
|
+
types:
|
|
12
|
+
- opened
|
|
13
|
+
- synchronize
|
|
10
14
|
|
|
11
15
|
jobs:
|
|
12
|
-
|
|
16
|
+
test-pipeline:
|
|
13
17
|
runs-on: ubuntu-latest
|
|
14
18
|
environment: test_pipeline
|
|
15
19
|
|
|
@@ -24,10 +28,10 @@ jobs:
|
|
|
24
28
|
with:
|
|
25
29
|
python-version: "3.11"
|
|
26
30
|
|
|
27
|
-
- name:
|
|
31
|
+
- name: Start ArangoDB
|
|
32
|
+
id: start_arango_db
|
|
28
33
|
run: |
|
|
29
34
|
docker run --name s2a-action-arangodb -d -p 8529:8529 -e ARANGO_ROOT_PASSWORD= arangodb/arangodb:latest
|
|
30
|
-
|
|
31
35
|
RETRY_DELAY=3
|
|
32
36
|
RETRY_COUNT=10
|
|
33
37
|
echo "Waiting for server to start"
|
|
@@ -37,31 +41,31 @@ jobs:
|
|
|
37
41
|
exit 1
|
|
38
42
|
fi
|
|
39
43
|
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
- name: Setup environment
|
|
45
|
+
id: setup_environment
|
|
42
46
|
run: |
|
|
43
47
|
set -a;
|
|
44
48
|
source tests/tests.env
|
|
45
49
|
set +a;
|
|
46
|
-
|
|
47
50
|
cp tests/tests.env .env
|
|
48
51
|
|
|
49
|
-
- name:
|
|
50
|
-
id:
|
|
52
|
+
- name: Run tests
|
|
53
|
+
id: run_tests
|
|
51
54
|
run: |
|
|
52
55
|
pip install -r tests/requirements.txt
|
|
53
56
|
pip install -e .
|
|
54
|
-
|
|
55
57
|
pytest --cov --cov-branch --cov-report=xml --junitxml=junit.xml -o junit_family=legacy tests/
|
|
56
58
|
|
|
57
59
|
- name: Upload coverage reports to Codecov
|
|
60
|
+
id: upload_unit_test_coverage
|
|
58
61
|
if: ${{ !cancelled() }}
|
|
59
62
|
uses: codecov/codecov-action@v5
|
|
60
63
|
with:
|
|
61
64
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
62
65
|
|
|
63
66
|
- name: Upload test results to Codecov
|
|
67
|
+
id: upload_unit_test_results
|
|
64
68
|
if: ${{ !cancelled() }}
|
|
65
69
|
uses: codecov/test-results-action@v1
|
|
66
70
|
with:
|
|
67
|
-
token: ${{ secrets.CODECOV_TOKEN }}
|
|
71
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: stix2arango
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.1
|
|
4
4
|
Summary: stix2arango is a command line tool that takes a group of STIX 2.1 objects in a bundle and inserts them into ArangoDB. It can also handle updates to existing objects in ArangoDB imported in a bundle.
|
|
5
5
|
Project-URL: Homepage, https://github.com/muchdogesec/stix2arango
|
|
6
6
|
Project-URL: Issues, https://github.com/muchdogesec/stix2arango/issues
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/embedded-ref-object-removed.json
RENAMED
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/embedded-ref-object-updated.json
RENAMED
|
File without changes
|
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/embedded-ref-sdo-sco-sro-smo.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/sigma-rule-bundle-another.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/sigma-rule-bundle-yet-another.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/source-object-does-not-exist.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/tests/files/stix2arango/target-object-does-not-exist.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_01-basic-import-no-embedded.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_18-testing-nested-embedded-ref.py
RENAMED
|
File without changes
|
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_20-embedded-sro-update-for-sdo.py
RENAMED
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_21-embedded-sro-update-for-sco.py
RENAMED
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_22-embedded-sro-update-for-smo.py
RENAMED
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_23-embedded-sro-removed.py
RENAMED
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_24-test-hidden-properties.py
RENAMED
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_25-ignore-embedded-rels-smo.py
RENAMED
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/tests/src/full_tests/test_26-ignore-embedded-rels-sro.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_atlas.py
RENAMED
|
File without changes
|
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_attack_ics.py
RENAMED
|
File without changes
|
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_capec.py
RENAMED
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_cwe.py
RENAMED
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_disarm.py
RENAMED
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_locations.py
RENAMED
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_sigma_rules.py
RENAMED
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_tlp.py
RENAMED
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cti_processor/insert_archive_yara_rules.py
RENAMED
|
File without changes
|
|
File without changes
|
{stix2arango-1.1.0 → stix2arango-1.1.1}/utilities/arango_cve_processor/insert_archive_cve.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|