Closed himynamesdave closed 3 months ago
https://github.com/muchdogesec/arango_cti_processor/blob/adding-tests/tests/README.md#test-60-validate-cve-indicator---cpe-software-relationship-cve-cpe
(arango_cti_processor-venv) dgreenwood@Davids-MBP-2 arango_cti_processor % python3 -m unittest tests/test_6_0_cve_to_cpe.py [2024-07-31 - 11:24:02] INFO - Establishing connection... [2024-07-31 - 11:24:02] INFO - _system database - OK [2024-07-31 - 11:24:02] INFO - ArangoDB Connected now! [2024-07-31 - 11:24:02] INFO - Processing default objects now [2024-07-31 - 11:24:02] INFO - Checking: nvd_cve_vertex_collection 100%|████████████████████████████████████████████| 2/2 [00:00<00:00, 598.29it/s] [2024-07-31 - 11:24:03] INFO - Inserting objects into database. Total objects: 2 [2024-07-31 - 11:24:03] INFO - removed 0 duplicates from imported objects. 50%|██████████████████████ | 1/2 [00:00<00:00, 230.19it/s] [2024-07-31 - 11:24:03] INFO - Updating _is_latest for 2 newly inserted items 50%|██████████████████████ | 1/2 [00:00<00:00, 399.38it/s] [2024-07-31 - 11:24:03] INFO - Checking: nvd_cpe_vertex_collection 100%|████████████████████████████████████████████| 2/2 [00:00<00:00, 393.94it/s] [2024-07-31 - 11:24:03] INFO - Inserting objects into database. Total objects: 2 [2024-07-31 - 11:24:03] INFO - removed 0 duplicates from imported objects. 50%|██████████████████████ | 1/2 [00:00<00:00, 254.14it/s] [2024-07-31 - 11:24:03] INFO - Updating _is_latest for 2 newly inserted items 50%|██████████████████████ | 1/2 [00:00<00:00, 258.52it/s] [2024-07-31 - 11:24:03] INFO - Processing relationships now [2024-07-31 - 11:24:03] INFO - adding reltionships for cve-cpe [2024-07-31 - 11:24:03] INFO - Checking: nvd_cve_vertex_collection 0%| | 0/24 [00:00<?, ?it/s][2024-07-31 - 11:24:03] ERROR - ArangoProcessor.filter_objects_in_collection_using_custom_query() got an unexpected keyword argument 'collection_name' Traceback (most recent call last): File "/Users/dgreenwood/Documents/repos/dogesec/arango_cti_processor/arango_cti_processor/utils.py", line 150, in relate_cve_to_cpe results = db.filter_objects_in_collection_using_custom_query( TypeError: ArangoProcessor.filter_objects_in_collection_using_custom_query() got an unexpected keyword argument 'collection_name' [2024-07-31 - 11:24:03] ERROR - ArangoProcessor.filter_objects_in_collection_using_custom_query() got an unexpected keyword argument 'collection_name' Traceback (most recent call last): File "/Users/dgreenwood/Documents/repos/dogesec/arango_cti_processor/arango_cti_processor/utils.py", line 150, in relate_cve_to_cpe results = db.filter_objects_in_collection_using_custom_query( TypeError: ArangoProcessor.filter_objects_in_collection_using_custom_query() got an unexpected keyword argument 'collection_name' [2024-07-31 - 11:24:03] ERROR - ArangoProcessor.filter_objects_in_collection_using_custom_query() got an unexpected keyword argument 'collection_name' Traceback (most recent call last): File "/Users/dgreenwood/Documents/repos/dogesec/arango_cti_processor/arango_cti_processor/utils.py", line 150, in relate_cve_to_cpe results = db.filter_objects_in_collection_using_custom_query( TypeError: ArangoProcessor.filter_objects_in_collection_using_custom_query() got an unexpected keyword argument 'collection_name' [2024-07-31 - 11:24:03] ERROR - ArangoProcessor.filter_objects_in_collection_using_custom_query() got an unexpected keyword argument 'collection_name' Traceback (most recent call last): File "/Users/dgreenwood/Documents/repos/dogesec/arango_cti_processor/arango_cti_processor/utils.py", line 150, in relate_cve_to_cpe results = db.filter_objects_in_collection_using_custom_query( TypeError: ArangoProcessor.filter_objects_in_collection_using_custom_query() got an unexpected keyword argument 'collection_name' 100%|████████████████████████████████████████| 24/24 [00:00<00:00, 11293.99it/s] [2024-07-31 - 11:24:03] INFO - inserting 0 items into nvd_cve_edge_collection [2024-07-31 - 11:24:03] INFO - removed 0 duplicates from imported objects. 0it [00:00, ?it/s] [2024-07-31 - 11:24:03] INFO - removed 0 already existing object [2024-07-31 - 11:24:03] INFO - Updating _is_latest for 0 newly inserted items 0it [00:00, ?it/s] .FFFF.
https://github.com/muchdogesec/arango_cti_processor/blob/adding-tests/tests/README.md#test-60-validate-cve-indicator---cpe-software-relationship-cve-cpe