Skip to content

Commit

Permalink
add: Add generic db_interface module #2462
Browse files Browse the repository at this point in the history
  • Loading branch information
jmv74211 committed Jan 27, 2022
1 parent 165f564 commit 8780647
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deps/wazuh_testing/wazuh_testing/db_interface/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
QUEUE_DB_PATH = os.path.join(wazuh_testing.WAZUH_PATH, 'queue', 'db')
WAZUH_DB_SOCKET_PATH = os.path.join(QUEUE_DB_PATH, 'wdb')

CVE_DB_PATH = os.path.join(wazuh_testing.WAZUH_PATH, 'queue', 'vulnerabilities', 'cve.db')



def query_wdb(command):
"""Make queries to wazuh-db using the wdb socket.
Expand Down

0 comments on commit 8780647

Please sign in to comment.