Skip to main content

IBM Security utilitary library in python. Search and query all sources: threat_activities and groups, malware_analysis, industries

Project description

[IBM X-Force Exchange library]

IBM Security X-FORCE Exchange library in Python 3. Search: threat_activities, threat_groups, malware_analysis, collector and industries. For others applications. See X-Force Exchange

Install

pip3 install XForce

Use

Using you API_KEY make a basic authentication. See documentation. After make a base64 code → Key + : + Password:

printf "d2f5f0f9-2995-42c6-b1dd-4c92252da129:06c41d5e-0604-4c7c-a599-300c367d2090" | base64
# ZDJmNWYwZjktMjk5NS00MmM2LWIxZGQtNGM5MjI1MmRhMTI5OjA2YzQxZDVlLTA2MDQtNGM3Yy1hNTk5LTMwMGMzNjdkMjA5MAo=

Using API_KEY, call functions. See best praticles for key storage

Call functions

import XForce

# Args: 1 - Term of search, 2 - API KEY

# Threat activity search return in string
XForce.threat_activities(Term, API_KEY)

# Malware analysis search return in string
XForce.malware_analysis(Term, API_KEY)

# Threat groups search return in string
XForce.threat_groups(Term, API_KEY)

# Industries search return in string
XForce.industries(Term, API_KEY)

# All categories search return in list with dict
XForce.industries(Term, API_KEY)

For see more details of consult, run:

from XForce import details

# Args: 1 - GUID, 2 - API KEY 
# IMPORTANT: all GUID are correspondent to category
# All function of details have:
# url → with x-force exchange panel
details.activity(Id, API_KEY)
details.group(Id, API_KEY)
details.malware(Id, API_KEY)
details.industry(Id, API_KEY)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

XForce-0.8.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

XForce-0.8-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file XForce-0.8.tar.gz.

File metadata

  • Download URL: XForce-0.8.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for XForce-0.8.tar.gz
Algorithm Hash digest
SHA256 e36a4bddc2433a4c5cf15e36f86a295db64d8210916f2143a049498280f85255
MD5 5ba02d8781b43518964aa91ba345d28c
BLAKE2b-256 95b33a5abf3e247b359852811d1f2bbdb67c25cbdd417c2379b613a8601f5860

See more details on using hashes here.

File details

Details for the file XForce-0.8-py3-none-any.whl.

File metadata

  • Download URL: XForce-0.8-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for XForce-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 214c9afdae045329c056f0179a815116eb303e92423e7e87ca0ebd2f74b58da6
MD5 67de24dfce16676be4df660cf22e9e57
BLAKE2b-256 1333eb846d9aa1bdc6cd0a50b7625cf9eec08bd84450e9763e7e956e1f587be3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page