Skip to main content

[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)

Metadata

Release files for XForce 0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for XForce 0.8
File Size Uploaded
XForce-0.8.tar.gz 15.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for XForce 0.8
File Interpreter ABI Platform
XForce-0.8-py3-none-any.whl Python 3 none any Details

Total release size: 30.4 kB

Release files / XForce-0.8.tar.gz

Download URL XForce-0.8.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e36a4bddc2433a4c5cf15e36f86a295db64d8210916f2143a049498280f85255
BLAKE2b-256 checksum
How to use checksums
95b33a5abf3e247b359852811d1f2bbdb67c25cbdd417c2379b613a8601f5860
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / XForce-0.8-py3-none-any.whl

Download URL XForce-0.8-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
214c9afdae045329c056f0179a815116eb303e92423e7e87ca0ebd2f74b58da6
BLAKE2b-256 checksum
How to use checksums
1333eb846d9aa1bdc6cd0a50b7625cf9eec08bd84450e9763e7e956e1f587be3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release history Release notifications | RSS feed

This release

0.8 This release

2 release files

0.7

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page