{"id":21070229,"url":"https://github.com/jul10l1r4/x-force","last_synced_at":"2025-05-16T05:30:42.573Z","repository":{"id":65350053,"uuid":"590577053","full_name":"Jul10l1r4/X-force","owner":"Jul10l1r4","description":"IBM Security utilitary library in python. Search and query all sources: threat_activities and groups, malware_analysis, industries","archived":false,"fork":false,"pushed_at":"2023-01-30T01:35:07.000Z","size":36,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-22T11:44:45.556Z","etag":null,"topics":["cti","exchange","otx","pypi","python-library","python3","threat-intelligence","xforce"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/XForce/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jul10l1r4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-01-18T18:22:00.000Z","updated_at":"2024-08-12T20:29:23.000Z","dependencies_parsed_at":"2023-02-16T02:30:28.482Z","dependency_job_id":null,"html_url":"https://github.com/Jul10l1r4/X-force","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jul10l1r4%2FX-force","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jul10l1r4%2FX-force/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jul10l1r4%2FX-force/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jul10l1r4%2FX-force/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jul10l1r4","download_url":"https://codeload.github.com/Jul10l1r4/X-force/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254473740,"owners_count":22077160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cti","exchange","otx","pypi","python-library","python3","threat-intelligence","xforce"],"created_at":"2024-11-19T18:44:47.429Z","updated_at":"2025-05-16T05:30:41.595Z","avatar_url":"https://github.com/Jul10l1r4.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [IBM X-Force Exchange library]\n|![](https://exchange.xforce.ibmcloud.com/favicon.ico)|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](//exchange.xforce.ibmcloud.com)|\n|---|---|\n\n# Install\n```pip\npip3 install XForce\n```\n\n# Use\nUsing you API_KEY make a basic authentication. See ![documentation](https://api.xforce.ibmcloud.com/doc/). After make a base64 code → Key + : + Password:\n```sh\nprintf \"d2f5f0f9-2995-42c6-b1dd-4c92252da129:06c41d5e-0604-4c7c-a599-300c367d2090\" | base64\n# ZDJmNWYwZjktMjk5NS00MmM2LWIxZGQtNGM5MjI1MmRhMTI5OjA2YzQxZDVlLTA2MDQtNGM3Yy1hNTk5LTMwMGMzNjdkMjA5MAo=\n``` \nUsing API_KEY, call functions. See ![best praticles](https://medium.com/geekculture/python-separate-code-and-sensitive-information-elegantly-ae21cec5fae2) for key storage\n\n## Call functions\n```python3\nimport XForce\n\n# Args: 1 - Term of search, 2 - API KEY\n\n# Threat activity search return in string\nXForce.threat_activities(Term, API_KEY)\n\n# Malware analysis search return in string\nXForce.malware_analysis(Term, API_KEY)\n\n# Threat groups search return in string\nXForce.threat_groups(Term, API_KEY)\n\n# Industries search return in string\nXForce.industries(Term, API_KEY)\n\n# All categories search return in list with dict\nXForce.industries(Term, API_KEY)\n```\n\nFor see more details of consult, run:\n```python3\nfrom XForce import details\n\n# Args: 1 - GUID, 2 - API KEY \n# IMPORTANT: all GUID are correspondent to category\n# All function of details have:\n# url → with x-force exchange panel\ndetails.activity(Id, API_KEY)\ndetails.group(Id, API_KEY)\ndetails.malware(Id, API_KEY)\ndetails.industry(Id, API_KEY)\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjul10l1r4%2Fx-force","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjul10l1r4%2Fx-force","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjul10l1r4%2Fx-force/lists"}